projects
/
lttng-ci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update lava-server
[lttng-ci.git]
/
scripts
/
system-tests
/
run-baremetal-benchmarks.sh
diff --git
a/scripts/system-tests/run-baremetal-benchmarks.sh
b/scripts/system-tests/run-baremetal-benchmarks.sh
index 750ac8ccc8cad5b083f7c80be1896e819586d113..0313d3002a822c72233d7fd2596254ba78ebfe1e 100644
(file)
--- a/
scripts/system-tests/run-baremetal-benchmarks.sh
+++ b/
scripts/system-tests/run-baremetal-benchmarks.sh
@@
-16,21
+16,25
@@
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'
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 \
- -t baremetal-benchmarks \
- -j "$JOB_NAME" \
- -k "$STORAGE_KERNEL_IMAGE" \
- -km "$STORAGE_LINUX_MODULES" \
- -lm "$STORAGE_LTTNG_MODULES" \
- -tc "$LTTNG_TOOLS_COMMIT_ID"
-python3 -u "$LTTNG_CI_PATH"/scripts/system-tests/lava2-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 baremetal-benchmarks \
-j "$JOB_NAME" \
-k "$S3_URL_KERNEL_IMAGE" \
-t baremetal-benchmarks \
-j "$JOB_NAME" \
-k "$S3_URL_KERNEL_IMAGE" \
- -km "$S3_URL_LINUX_MODULES" \
-lm "$S3_URL_LTTNG_MODULES" \
-lm "$S3_URL_LTTNG_MODULES" \
- -tc "$LTTNG_TOOLS_COMMIT_ID"
+ -tc "$LTTNG_TOOLS_COMMIT_ID" \
+ -id "$BUILD_TAG"
+set +eu
+deactivate
+set -eu
+rm -rf "$venv"
# Create a results folder for this job
RESULT_STORAGE_FOLDER="$BASE_STORAGE_FOLDER/benchmark-results/$JOB_NAME/$BUILD_NUMBER"
# Create a results folder for this job
RESULT_STORAGE_FOLDER="$BASE_STORAGE_FOLDER/benchmark-results/$JOB_NAME/$BUILD_NUMBER"
This page took
0.023922 seconds
and
4
git commands to generate.