X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=scripts%2Fsystem-tests%2Frun-kvm-tests.sh;h=8b9722bbd2a978dc4ac8c3907d31302cc5c328ec;hb=6b35e57c434006884c10febcd85f8e77b66ae13d;hp=c1100fcd5445785d4fcf1807f1c536c2cc081b0b;hpb=b33f21f4806f3fbabd3f8d3837d627d5edb16bac;p=lttng-ci.git diff --git a/scripts/system-tests/run-kvm-tests.sh b/scripts/system-tests/run-kvm-tests.sh index c1100fc..8b9722b 100644 --- a/scripts/system-tests/run-kvm-tests.sh +++ b/scripts/system-tests/run-kvm-tests.sh @@ -16,11 +16,33 @@ echo 'At this point, we built the modules and kernel if we needed to.' echo 'We can now launch the lava job using those artefacts' -python3 -u "$LTTNG_CI_PATH"/scripts/lttng-baremetal-tests/lava-submit.py \ + +venv=$(mktemp -d) +virtualenv -p python3 "$venv" +set +eu +source "${venv}/bin/activate" +set -eu +pip install pyyaml Jinja2 + +python -u "$LTTNG_CI_PATH"/scripts/system-tests/lava2-submit.py \ + -t kvm-tests \ + -j "$JOB_NAME" \ + -k "$S3_URL_KERNEL_IMAGE" \ + -lm "$S3_URL_LTTNG_MODULES" \ + -tc "$LTTNG_TOOLS_COMMIT_ID" \ + -uc "$LTTNG_UST_COMMIT_ID" \ + -id "$BUILD_TAG" \ + --debug + +python -u "$LTTNG_CI_PATH"/scripts/system-tests/lava-submit.py \ -t kvm-tests \ -j "$JOB_NAME" \ -k "$STORAGE_KERNEL_IMAGE" \ - -km "$STORAGE_LINUX_MODULES" \ -lm "$STORAGE_LTTNG_MODULES" \ -tc "$LTTNG_TOOLS_COMMIT_ID" \ -uc "$LTTNG_UST_COMMIT_ID" + +set +eu +deactivate +set -eu +rm -rf "$venv"