X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=scripts%2Fsystem-tests%2Frun-kvm-tests.sh;h=622cfce371478f86c39d42999b9273153f57ccc4;hb=62a96d0144000d8f08aa522e29019c7102ae15d5;hp=57f462dfd7f3ae70f8ae512b9c3f91901e8ab807;hpb=ceac45b01235d8603d43e5e071fe9a90bd4d8205;p=lttng-ci.git diff --git a/scripts/system-tests/run-kvm-tests.sh b/scripts/system-tests/run-kvm-tests.sh index 57f462d..622cfce 100644 --- a/scripts/system-tests/run-kvm-tests.sh +++ b/scripts/system-tests/run-kvm-tests.sh @@ -19,7 +19,9 @@ echo 'We can now launch the lava job using those artefacts' venv=$(mktemp -d) virtualenv -p python3 "$venv" +set +eu source "${venv}/bin/activate" +set -eu pip install pyyaml python -u "$LTTNG_CI_PATH"/scripts/system-tests/lava-submit.py \ @@ -39,5 +41,7 @@ python -u "$LTTNG_CI_PATH"/scripts/system-tests/lava2-submit.py \ -lm "$S3_URL_LTTNG_MODULES" \ -tc "$LTTNG_TOOLS_COMMIT_ID" \ -uc "$LTTNG_UST_COMMIT_ID" +set +eu deactivate +set -eu rm -rf "$venv"