jjb: lava: fix benchmark clone path
[lttng-ci.git] / lava / baremetal-tests / failing-open-enoent.yml
1 metadata:
2 format: Lava-Test Test Definition 1.0
3 name: benchmark-syscall-failing-open-enoent
4 description: "Perform syscall tracing benchmark of failing open-enoent"
5 params:
6 JENKINS_JOBNAME: "default jobname"
7
8 install:
9 deps:
10 - python3-pandas
11 - python3-numpy
12 git-repos:
13 - url: https://github.com/lttng/lttng-ci
14 destination: ci
15 branch: master
16 steps:
17 - export TMPDIR="/tmp"
18 - ulimit -c unlimited
19 - mkdir -p coredump
20 - echo "$(pwd)/coredump/core.%e.%p.%h.%t" > /proc/sys/kernel/core_pattern
21 run:
22 steps:
23 - source /root/lttngvenv/activate
24 - export BENCHMARK_DIR=$(mktemp --directory)/bm
25 - git clone https://github.com/frdeso/syscall-bench-it.git $BENCHMARK_DIR
26 - cd $BENCHMARK_DIR
27 - lava-test-case build-benchmarks --shell "make"
28 - lava-test-case run-benchmarks --shell "./run.sh failing-open-enoent sys_open"
29 - lava-test-case-attach run-benchmarks "./results.csv"
30 - cd -
31 - cd ci
32 - python3 ./scripts/lttng-baremetal-tests/parse-results.py $BENCHMARK_DIR/results.csv
33 - mv ./processed_results.csv ../processed_results_open_enoent.csv
34 - cd -
35 - tar czf coredump.tar.gz coredump
36 - lava-test-case-attach run-benchmarks coredump.tar.gz
37 - lava-test-case-attach run-benchmarks "./processed_results_open_enoent.csv"
This page took 0.031117 seconds and 4 git commands to generate.