SUSE / rookcheck

Apache License 2.0
4 stars 11 forks source link

tmp directory not created #119

Closed swiftgist closed 4 years ago

swiftgist commented 4 years ago

With the latest addition of TMPDIR having /tmp appended, the directory doesn't exist and the build fails.

E               subprocess.CalledProcessError: Command 'PATH=/home/rookcheck/tmp/rookcheck/rookcheck-rookcheck-3478/rook_build/go/bin:$PATH GOPATH=/home/rookcheck/tmp/rookcheck/rookcheck-rookcheck-3478/rook_build TMPDIR=/home/rookcheck/tmp/rookcheck/tmp make --directory='/home/rookcheck/tmp/rookcheck/rookcheck-rookcheck-3478/rook_build/src/github.com/rook/rook' -j BUILD_REGISTRY='rook-build' IMAGES='ceph' build' returned non-zero exit status 2.

tests/lib/common.py:173: CalledProcessError

In my case, /home/rookcheck/tmp/rookcheck does get created, but /home/rookcheck/tmp/rookcheck/tmp does not. If I create the directory manually and rerun tox -e py37 tests/test_basic.py, then the test completes successfully.