X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=scripts%2Fsystem-tests%2Frun-kvm-tests.sh;h=e6ceac3046a378b85ee5fb815060e26f7d3570b8;hb=5e79a3e048d695c8c455c5533d3cd31fb0f9bcfc;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..e6ceac3 100644 --- a/scripts/system-tests/run-kvm-tests.sh +++ b/scripts/system-tests/run-kvm-tests.sh @@ -19,25 +19,27 @@ 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 - -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 +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 "$S3_URL_KERNEL_IMAGE" \ - -km "$S3_URL_LINUX_MODULES" \ -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" \ + -r "$ROOTFS_URL" \ + --ci-repo "$LTTNG_CI_REPO" \ + --ci-branch "$LTTNG_CI_BRANCH" + +set +eu deactivate +set -eu rm -rf "$venv"