+++ /dev/null
-metadata:
- format: Lava-Test Test Definition 1.0
- 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/frdeso/syscall-bench-it.git
- destination: benchmarks
- branch: master
- - url: https://github.com/lttng/lttng-ci
- destination: ci
- branch: master
- steps:
- - export TMPDIR="/tmp"
- - ulimit -c unlimited
- - mkdir -p coredump
- - echo "$(pwd)/coredump/core.%e.%p.%h.%t" > /proc/sys/kernel/core_pattern
-run:
- steps:
- - source /root/lttngvenv/activate
- - cd benchmarks
- - lava-test-case build-benchmarks --shell "make"
- - lava-test-case run-benchmarks --shell "./run.sh failing-open-enoent"
- - lava-test-case-attach run-benchmarks "./results.csv"
- - cd -
- - cd ci
- - python3 ./scripts/lttng-baremetal-tests/parse-results.py ../benchmarks/results.csv
- - mv ./processed_results.csv ../processed_results_open_enoent.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_enoent.csv"
--- /dev/null
+metadata:
+ format: Lava-Test Test Definition 1.0
+ name: benchmark-syscall-success-dup-close
+ 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/frdeso/syscall-bench-it.git
+ destination: benchmarks
+ branch: master
+ - url: https://github.com/lttng/lttng-ci
+ destination: ci
+ branch: master
+ steps:
+ - export TMPDIR="/tmp"
+ - ulimit -c unlimited
+ - mkdir -p coredump
+ - echo "$(pwd)/coredump/core.%e.%p.%h.%t" > /proc/sys/kernel/core_pattern
+run:
+ steps:
+ - source /root/lttngvenv/activate
+ - cd benchmarks
+ - lava-test-case build-benchmarks --shell "make"
+ - lava-test-case run-benchmarks --shell "./run.sh success-dup-close"
+ - lava-test-case-attach run-benchmarks "./results.csv"
+ - cd -
+ - cd ci
+ - python3 ./scripts/lttng-baremetal-tests/parse-results.py ../benchmarks/results.csv
+ - mv ./processed_results.csv ../processed_results_dup_close.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_dup_close.csv"
# save them as CSV files localy
def fetch_benchmark_results(server, job):
content = get_job_bundle_content(server, job)
- testcases = ['processed_results_close.csv', 'processed_results_open_enoent.csv', 'processed_results_open_efault.csv']
+ testcases = ['processed_results_close.csv',
+ 'processed_results_open_efault.csv',
+ 'processed_results_dup_close.csv']
# The result bundle is a large JSON containing the results of every testcase
# of the LAVA job as well as the files that were attached during the run.
{
'git-repo': 'https://github.com/lttng/lttng-ci.git',
'revision': 'master',
- 'testdef': 'lava/baremetal-tests/failing-open-enoent.yml'
+ 'testdef': 'lava/baremetal-tests/success-dup-close.yml'
}
],
'timeout': 18000
# Copy the result files for each benchmark and metadata on storage server
$SCP_COMMAND ./processed_results_close.csv "$STORAGE_USER@$STORAGE_HOST:$RESULT_STORAGE_FOLDER/close.csv"
$SCP_COMMAND ./processed_results_open_efault.csv "$STORAGE_USER@$STORAGE_HOST:$RESULT_STORAGE_FOLDER/open-efault.csv"
-$SCP_COMMAND ./processed_results_open_enoent.csv "$STORAGE_USER@$STORAGE_HOST:$RESULT_STORAGE_FOLDER/open-enoent.csv"
+$SCP_COMMAND ./processed_results_dup_close.csv "$STORAGE_USER@$STORAGE_HOST:$RESULT_STORAGE_FOLDER/dup-close.csv"
$SCP_COMMAND ./metadata.csv "$STORAGE_USER@$STORAGE_HOST:$RESULT_STORAGE_FOLDER/metadata.csv"