X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=scripts%2Fsystem-tests%2Frun-kvm-tests.sh;h=657810e1648fce27fda441601088e41aa8f7e0b0;hb=e216783123ba9985250e6a7334c868ec35773570;hp=b0f87513414ab3d146351fd6744dda0486662f70;hpb=79913cab64cb761cf428b731aec13f982cb33655;p=lttng-ci.git diff --git a/scripts/system-tests/run-kvm-tests.sh b/scripts/system-tests/run-kvm-tests.sh index b0f8751..657810e 100644 --- a/scripts/system-tests/run-kvm-tests.sh +++ b/scripts/system-tests/run-kvm-tests.sh @@ -16,11 +16,27 @@ 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/system-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 \ + -lv "$LTTNG_VERSION" \ -j "$JOB_NAME" \ - -k "$STORAGE_KERNEL_IMAGE" \ - -km "$STORAGE_LINUX_MODULES" \ - -lm "$STORAGE_LTTNG_MODULES" \ + -k "$S3_URL_KERNEL_IMAGE" \ + -lm "$S3_URL_LTTNG_MODULES" \ + -tu "$LTTNG_TOOLS_REPO" \ + -uu "$LTTNG_UST_REPO" \ -tc "$LTTNG_TOOLS_COMMIT_ID" \ - -uc "$LTTNG_UST_COMMIT_ID" + -uc "$LTTNG_UST_COMMIT_ID" \ + -id "$BUILD_TAG" + +set +eu +deactivate +set -eu +rm -rf "$venv"