X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=lava%2Fsystem-tests%2Ffailing-ioctl.yml;h=695999d221b08dc97f400c3e66b7e12ca3abe643;hb=6b35e57c434006884c10febcd85f8e77b66ae13d;hp=0ea287247c273848926eeddfd1efd95f28793c2b;hpb=3868791dff578a02f2a8d2e0b155aa7d4ef9361f;p=lttng-ci.git diff --git a/lava/system-tests/failing-ioctl.yml b/lava/system-tests/failing-ioctl.yml index 0ea2872..695999d 100644 --- a/lava/system-tests/failing-ioctl.yml +++ b/lava/system-tests/failing-ioctl.yml @@ -3,12 +3,13 @@ metadata: name: benchmark-syscall-failing-ioctl description: "Perform syscall tracing benchmark of failing ioctl" params: - JENKINS_JOBNAME: "default jobname" + JENKINS_BUILD_ID: "invalid_jenkins_build_id" install: deps: - python3-pandas - python3-numpy + - curl git-repos: - url: https://github.com/lttng/lttng-ci destination: ci @@ -23,15 +24,13 @@ run: - source /root/lttngvenv/activate - export BENCHMARK_DIR=$(mktemp --directory)/bm - git clone https://github.com/frdeso/syscall-bench-it.git $BENCHMARK_DIR - - cd $BENCHMARK_DIR + - pushd $BENCHMARK_DIR - lava-test-case build-benchmarks --shell "make" - lava-test-case run-benchmarks --shell "./run.sh failing-ioctl sys_ioctl" - - lava-test-case-attach run-benchmarks "./results.csv" - - cd - - - cd ci - - python3 ./scripts/system-tests/parse-results.py $BENCHMARK_DIR/results.csv - - mv ./processed_results.csv ../processed_results_ioctl.csv - - cd - + - popd + - python3 ./ci/scripts/system-tests/parse-results.py $BENCHMARK_DIR/results.csv + - mv ./processed_results.csv ./processed_results_ioctl.csv - tar czf coredump.tar.gz coredump - - lava-test-case-attach run-benchmarks coredump.tar.gz - - lava-test-case-attach run-benchmarks "./processed_results_ioctl.csv" + - ./ci/lava/upload_artifact.sh coredump.tar.gz "results/${JENKINS_BUILD_ID}/${TESTRUN_ID}-coredump.tar.gz" + - ./ci/lava/upload_artifact.sh "${BENCHMARK_DIR}/results.csv" "results/${JENKINS_BUILD_ID}/results_ioctl.csv" + - ./ci/lava/upload_artifact.sh processed_results_ioctl.csv "results/${JENKINS_BUILD_ID}/processed_results_ioctl.csv"