to address the regression introduced by
e302eaabb977f3e93b1a7005c879f4b2eba581fc, which failed to create venv
after removing the global `$(mktemp -td venv.XXXXXXXXXX)` call.
Signed-off-by: Kefu Chai <kchai@redhat.com>
cd $WORKSPACE/tests
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
# the method exists in scripts/build_utils.sh
teardown_vagrant_tests $VENV
cd $WORKSPACE/tests
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
# the method exists in scripts/build_utils.sh
teardown_vagrant_tests $VENV
cd $WORKSPACE/tests
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
# the method exists in scripts/build_utils.sh
teardown_vagrant_tests $VENV
scenarios=$(find . | grep vagrant_ssh_config | xargs -r dirname)
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
# the method exists in scripts/build_utils.sh
teardown_vagrant_tests $VENV
cd $WORKSPACE/src/ceph-volume/ceph_volume/tests/functional
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
# the method exists in scripts/build_utils.sh
teardown_vagrant_tests $VENV
cd "${WORKSPACE}"/tests
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
# the method exists in scripts/build_utils.sh
teardown_vagrant_tests $VENV