jjb: lava: fix benchmark clone path
[lttng-ci.git] / lava / baremetal-tests / failing-open-efault.yml
index d560d6a4bcaa834d24cf7f1b4e1ec1dc6253a3fb..b8a5ca96c4a19d5233f7201051347abacf8515ca 100644 (file)
@@ -10,9 +10,6 @@ install:
                 - python3-pandas
                 - python3-numpy
         git-repos:
-                - url: https://github.com/frdeso/syscall-bench-it.git
-                  destination: benchmarks
-                  branch: master
                 - url: https://github.com/lttng/lttng-ci
                   destination: ci
                   branch: master
@@ -24,13 +21,17 @@ install:
 run:
         steps:
                 - source /root/lttngvenv/activate
-                - cd benchmarks
+                - export BENCHMARK_DIR=$(mktemp --directory)/bm
+                - git clone https://github.com/frdeso/syscall-bench-it.git $BENCHMARK_DIR
+                - cd $BENCHMARK_DIR
                 - lava-test-case build-benchmarks --shell "make"
-                - lava-test-case run-benchmarks --shell "./run.sh failing-open-efault"
+                - lava-test-case run-benchmarks --shell "./run.sh failing-open-efault sys_open"
                 - lava-test-case-attach run-benchmarks "./results.csv"
                 - cd -
                 - cd ci
-                - python3 ./scripts/lttng-baremetal-tests/parse-results.py ../benchmarks/results.csv
+                - python3 ./scripts/lttng-baremetal-tests/parse-results.py $BENCHMARK_DIR/results.csv
+                - mv ./processed_results.csv ../processed_results_open_efault.csv
                 - cd -
                 - tar czf coredump.tar.gz coredump
                 - lava-test-case-attach run-benchmarks coredump.tar.gz
+                - lava-test-case-attach run-benchmarks "./processed_results_open_efault.csv"
This page took 0.022927 seconds and 4 git commands to generate.