X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=scripts%2Fsystem-tests%2Frun-kvm-fuzzing-tests.sh;h=ae1cb36eafb54f05c97339e96d62ef75d59c87b8;hb=a76a58f3a90663a5a9494f399eea63720b8d257c;hp=9a405fdcc9481f32888982e9b9a199e5b3fd46e5;hpb=79913cab64cb761cf428b731aec13f982cb33655;p=lttng-ci.git diff --git a/scripts/system-tests/run-kvm-fuzzing-tests.sh b/scripts/system-tests/run-kvm-fuzzing-tests.sh index 9a405fd..ae1cb36 100644 --- a/scripts/system-tests/run-kvm-fuzzing-tests.sh +++ b/scripts/system-tests/run-kvm-fuzzing-tests.sh @@ -16,11 +16,32 @@ 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-fuzzing-tests \ + -j "$JOB_NAME" \ + -k "$S3_URL_KERNEL_IMAGE" \ + -lm "$S3_URL_LTTNG_MODULES" \ + -tc "$LTTNG_TOOLS_COMMIT_ID" \ + -uc "$LTTNG_UST_COMMIT_ID" \ + --debug + +python -u "$LTTNG_CI_PATH"/scripts/system-tests/lava-submit.py \ -t kvm-fuzzing-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"