X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=lava%2Fsystem-tests%2Ffailing-open-enoent.yml;h=9ae9f530a86a0cfdaa1932e1f5efc282815187f8;hb=d373c66efd68e790ef931ef19167fb24d169688b;hp=34c4daca4fdbbbad4410d4953e6fbcfe67e42c43;hpb=3868791dff578a02f2a8d2e0b155aa7d4ef9361f;p=lttng-ci.git diff --git a/lava/system-tests/failing-open-enoent.yml b/lava/system-tests/failing-open-enoent.yml index 34c4dac..9ae9f53 100644 --- a/lava/system-tests/failing-open-enoent.yml +++ b/lava/system-tests/failing-open-enoent.yml @@ -3,35 +3,25 @@ metadata: name: benchmark-syscall-failing-open-enoent description: "Perform syscall tracing benchmark of failing open-enoent" params: - JENKINS_JOBNAME: "default jobname" - -install: - deps: - - python3-pandas - - python3-numpy - git-repos: - - url: https://github.com/lttng/lttng-ci - destination: ci - branch: master + JENKINS_BUILD_ID: "invalid_jenkins_build_id" +run: steps: + - apt install -y python3-pandas python3-numpy + - git clone https://github.com/lttng/lttng-ci ci - export TMPDIR="/tmp" - - ulimit -c unlimited - mkdir -p coredump - echo "$(pwd)/coredump/core.%e.%p.%h.%t" > /proc/sys/kernel/core_pattern -run: - steps: + - ulimit -c unlimited - 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-open-enoent sys_open" - - 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_open_enoent.csv - - cd - + - popd + - python3 ./ci/scripts/system-tests/parse-results.py $BENCHMARK_DIR/results.csv + - mv ./processed_results.csv ./processed_results_open_enoent.csv - tar czf coredump.tar.gz coredump - - lava-test-case-attach run-benchmarks coredump.tar.gz - - lava-test-case-attach run-benchmarks "./processed_results_open_enoent.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_open_enoent.csv" + - ./ci/lava/upload_artifact.sh processed_results_open_enoent.csv "results/${JENKINS_BUILD_ID}/processed_results_open_enoent.csv"