X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=scripts%2Fsystem-tests%2Frun-baremetal-tests.sh;h=f1afabc1938245066ebe35b300dd1a02c0375d03;hb=c3326b18fb8982681a93822d4242c0276cf090db;hp=3d60872c42a07cd1338cbc522a57f3e48e6fdd3d;hpb=ceac45b01235d8603d43e5e071fe9a90bd4d8205;p=lttng-ci.git diff --git a/scripts/system-tests/run-baremetal-tests.sh b/scripts/system-tests/run-baremetal-tests.sh index 3d60872..f1afabc 100644 --- a/scripts/system-tests/run-baremetal-tests.sh +++ b/scripts/system-tests/run-baremetal-tests.sh @@ -19,8 +19,11 @@ echo 'We can now launch the lava job using those artefacts' venv=$(mktemp -d) virtualenv -p python3 "$venv" + +set +eu source "${venv}/bin/activate" -pip install pyyaml +set -eu +pip install pyyaml Jinja2 python -u "$LTTNG_CI_PATH"/scripts/system-tests/lava-submit.py \ -t baremetal-tests \ @@ -38,6 +41,9 @@ python -u "$LTTNG_CI_PATH"/scripts/system-tests/lava2-submit.py \ -km "$S3_URL_LINUX_MODULES" \ -lm "$S3_URL_LTTNG_MODULES" \ -tc "$LTTNG_TOOLS_COMMIT_ID" \ - -uc "$LTTNG_UST_COMMIT_ID" + -uc "$LTTNG_UST_COMMIT_ID" \ + --debug +set +eu deactivate +set -eu rm -rf "$venv"