+++ /dev/null
-metadata:
- format: Lava-Test Test Definition 1.0
- name: lttng-destructive-tests
- description: "Run root destructive test suite"
-install:
- steps:
- - export TMPDIR="/tmp"
- - cd
- - systemctl stop systemd-timesyncd.service
- - 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 /root/lttngvenv/src/lttng-tools
- - lava-test-case build-test-suite --shell "make"
- - export LTTNG_ENABLE_DESTRUCTIVE_TESTS="will-break-my-system"
- - cd tests
- #Need to check if the file is present for branches where the testcase was not backported
- - lava-test-case run-tests --shell "if [ -e root_destructive_tests ]; then prove --verbose --merge --exec '' - < root_destructive_tests; else echo 'root_destructive_tests not found'; fi"
- - cd
- - tar czf coredump.tar.gz coredump
- - lava-test-case-attach run-benchmarks coredump.tar.gz
+++ /dev/null
-metadata:
- format: Lava-Test Test Definition 1.0
- name: benchmark-syscall-failing-close
- description: "Perform syscall tracing benchmark of failing close"
-params:
- JENKINS_JOBNAME: "default jobname"
-
-install:
- deps:
- - python3-pandas
- - python3-numpy
- git-repos:
- - 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
- - 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-close sys_close"
- - 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_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_close.csv"
+++ /dev/null
-metadata:
- format: Lava-Test Test Definition 1.0
- name: benchmark-syscall-failing-ioctl
- description: "Perform syscall tracing benchmark of failing ioctl"
-params:
- JENKINS_JOBNAME: "default jobname"
-
-install:
- deps:
- - python3-pandas
- - python3-numpy
- git-repos:
- - 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
- - 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-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 -
- - 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"
+++ /dev/null
-metadata:
- format: Lava-Test Test Definition 1.0
- name: benchmark-syscall-failing-open-efault
- description: "Perform syscall tracing benchmark of failing open-efault"
-params:
- JENKINS_JOBNAME: "default jobname"
-
-install:
- deps:
- - python3-pandas
- - python3-numpy
- git-repos:
- - 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
- - 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 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_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"
+++ /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/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
- - 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-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 -
- - 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: lttng-kernel-test
- description: "Run kernel test suite"
-install:
- steps:
- - export TMPDIR="/tmp"
- - cd
- - 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 /root/lttngvenv/src/lttng-tools
- - lava-test-case build-test-suite --shell "make"
- - cd tests
- - lava-test-case run-tests --shell "prove --verbose --merge --exec '' - < root_regression"
- - cd
- - tar czf coredump.tar.gz coredump
- - lava-test-case-attach run-benchmarks coredump.tar.gz
+++ /dev/null
-metadata:
- format: Lava-Test Test Definition 1.0
- name: lttng-fuzzing-kprobe-test
- description: "Run kprobe fuzzing test suite"
-install:
- git-repos:
- - url: https://github.com/lttng/lttng-ci
- destination: ci
- branch: master
- steps:
- - export TMPDIR="/tmp"
- - cd
- - 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 ci/
- - lava-test-case run-tests --shell "./scripts/system-tests/kprobe-fuzzing.sh"
- - tar czf coredump.tar.gz coredump
- - lava-test-case-attach run-benchmarks coredump.tar.gz
+++ /dev/null
-metadata:
- format: Lava-Test Test Definition 1.0
- name: benchmark-lttng-test-filter
- description: "Perform syscall tracing benchmark of the lttng-test-filter"
-params:
- JENKINS_JOBNAME: "default jobname"
-
-install:
- deps:
- - python3-pandas
- - python3-numpy
- git-repos:
- - 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
- - export BENCHMARK_DIR=$(mktemp --directory)/bm
- - git clone https://github.com/frdeso/syscall-bench-it.git $BENCHMARK_DIR
- - cd $BENCHMARK_DIR
- - modprobe lttng-test
- - lava-test-case build-benchmarks --shell "make"
- - lava-test-case run-benchmarks --shell "./run.sh lttng-test-filter lttng_test_filter_event"
- - 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_lttng_test_filter.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_lttng_test_filter.csv"
+++ /dev/null
-metadata:
- format: Lava-Test Test Definition 1.0
- name: lttng-perf-tests
- description: "Run perf regression test suite"
-install:
- deps:
- - libpfm4-dev
- steps:
- - export TMPDIR="/tmp"
- - cd
- - 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 /root/lttngvenv/src/lttng-tools
- - lava-test-case build-test-suite --shell "make"
- - cd tests
- #Need to check if the file is present for branches where the testcase was not backported
- - lava-test-case run-tests --shell "if [ -e perf_regression ]; then prove --verbose --merge --exec '' - < perf_regression; else echo 'perf_regression not found'; fi"
- - cd
- - tar czf coredump.tar.gz coredump
- - lava-test-case-attach run-benchmarks coredump.tar.gz
+++ /dev/null
-metadata:
- format: Lava-Test Test Definition 1.0
- name: benchmark-raw-syscall-getpid
- description: "Perform syscall tracing benchmark of the raw syscall getpid"
-params:
- JENKINS_JOBNAME: "default jobname"
-
-install:
- deps:
- - python3-pandas
- - python3-numpy
- git-repos:
- - 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
- - 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 raw-syscall-getpid sys_getpid"
- - 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_raw_syscall_getpid.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_raw_syscall_getpid.csv"
+++ /dev/null
-metadata:
- format: Lava-Test Test Definition 1.0
- name: benchmark-syscall-success-dup-close
- description: "Perform syscall tracing benchmark of successful dup and close"
-params:
- JENKINS_JOBNAME: "default jobname"
-
-install:
- deps:
- - python3-pandas
- - python3-numpy
- git-repos:
- - 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
- - 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 success-dup-close sys_close,sys_dup"
- - 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_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"
--- /dev/null
+metadata:
+ format: Lava-Test Test Definition 1.0
+ name: lttng-destructive-tests
+ description: "Run root destructive test suite"
+install:
+ steps:
+ - export TMPDIR="/tmp"
+ - cd
+ - systemctl stop systemd-timesyncd.service
+ - 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 /root/lttngvenv/src/lttng-tools
+ - lava-test-case build-test-suite --shell "make"
+ - export LTTNG_ENABLE_DESTRUCTIVE_TESTS="will-break-my-system"
+ - cd tests
+ #Need to check if the file is present for branches where the testcase was not backported
+ - lava-test-case run-tests --shell "if [ -e root_destructive_tests ]; then prove --verbose --merge --exec '' - < root_destructive_tests; else echo 'root_destructive_tests not found'; fi"
+ - cd
+ - tar czf coredump.tar.gz coredump
+ - lava-test-case-attach run-benchmarks coredump.tar.gz
--- /dev/null
+metadata:
+ format: Lava-Test Test Definition 1.0
+ name: benchmark-syscall-failing-close
+ description: "Perform syscall tracing benchmark of failing close"
+params:
+ JENKINS_JOBNAME: "default jobname"
+
+install:
+ deps:
+ - python3-pandas
+ - python3-numpy
+ git-repos:
+ - 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
+ - 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-close sys_close"
+ - 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_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_close.csv"
--- /dev/null
+metadata:
+ format: Lava-Test Test Definition 1.0
+ name: benchmark-syscall-failing-ioctl
+ description: "Perform syscall tracing benchmark of failing ioctl"
+params:
+ JENKINS_JOBNAME: "default jobname"
+
+install:
+ deps:
+ - python3-pandas
+ - python3-numpy
+ git-repos:
+ - 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
+ - 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-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 -
+ - 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"
--- /dev/null
+metadata:
+ format: Lava-Test Test Definition 1.0
+ name: benchmark-syscall-failing-open-efault
+ description: "Perform syscall tracing benchmark of failing open-efault"
+params:
+ JENKINS_JOBNAME: "default jobname"
+
+install:
+ deps:
+ - python3-pandas
+ - python3-numpy
+ git-repos:
+ - 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
+ - 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 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_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"
--- /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/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
+ - 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-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 -
+ - 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: lttng-kernel-test
+ description: "Run kernel test suite"
+install:
+ steps:
+ - export TMPDIR="/tmp"
+ - cd
+ - 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 /root/lttngvenv/src/lttng-tools
+ - lava-test-case build-test-suite --shell "make"
+ - cd tests
+ - lava-test-case run-tests --shell "prove --verbose --merge --exec '' - < root_regression"
+ - cd
+ - tar czf coredump.tar.gz coredump
+ - lava-test-case-attach run-benchmarks coredump.tar.gz
--- /dev/null
+metadata:
+ format: Lava-Test Test Definition 1.0
+ name: lttng-fuzzing-kprobe-test
+ description: "Run kprobe fuzzing test suite"
+install:
+ git-repos:
+ - url: https://github.com/lttng/lttng-ci
+ destination: ci
+ branch: master
+ steps:
+ - export TMPDIR="/tmp"
+ - cd
+ - 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 ci/
+ - lava-test-case run-tests --shell "./scripts/system-tests/kprobe-fuzzing.sh"
+ - tar czf coredump.tar.gz coredump
+ - lava-test-case-attach run-benchmarks coredump.tar.gz
--- /dev/null
+metadata:
+ format: Lava-Test Test Definition 1.0
+ name: benchmark-lttng-test-filter
+ description: "Perform syscall tracing benchmark of the lttng-test-filter"
+params:
+ JENKINS_JOBNAME: "default jobname"
+
+install:
+ deps:
+ - python3-pandas
+ - python3-numpy
+ git-repos:
+ - 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
+ - export BENCHMARK_DIR=$(mktemp --directory)/bm
+ - git clone https://github.com/frdeso/syscall-bench-it.git $BENCHMARK_DIR
+ - cd $BENCHMARK_DIR
+ - modprobe lttng-test
+ - lava-test-case build-benchmarks --shell "make"
+ - lava-test-case run-benchmarks --shell "./run.sh lttng-test-filter lttng_test_filter_event"
+ - 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_lttng_test_filter.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_lttng_test_filter.csv"
--- /dev/null
+metadata:
+ format: Lava-Test Test Definition 1.0
+ name: lttng-perf-tests
+ description: "Run perf regression test suite"
+install:
+ deps:
+ - libpfm4-dev
+ steps:
+ - export TMPDIR="/tmp"
+ - cd
+ - 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 /root/lttngvenv/src/lttng-tools
+ - lava-test-case build-test-suite --shell "make"
+ - cd tests
+ #Need to check if the file is present for branches where the testcase was not backported
+ - lava-test-case run-tests --shell "if [ -e perf_regression ]; then prove --verbose --merge --exec '' - < perf_regression; else echo 'perf_regression not found'; fi"
+ - cd
+ - tar czf coredump.tar.gz coredump
+ - lava-test-case-attach run-benchmarks coredump.tar.gz
--- /dev/null
+metadata:
+ format: Lava-Test Test Definition 1.0
+ name: benchmark-raw-syscall-getpid
+ description: "Perform syscall tracing benchmark of the raw syscall getpid"
+params:
+ JENKINS_JOBNAME: "default jobname"
+
+install:
+ deps:
+ - python3-pandas
+ - python3-numpy
+ git-repos:
+ - 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
+ - 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 raw-syscall-getpid sys_getpid"
+ - 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_raw_syscall_getpid.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_raw_syscall_getpid.csv"
--- /dev/null
+metadata:
+ format: Lava-Test Test Definition 1.0
+ name: benchmark-syscall-success-dup-close
+ description: "Perform syscall tracing benchmark of successful dup and close"
+params:
+ JENKINS_JOBNAME: "default jobname"
+
+install:
+ deps:
+ - python3-pandas
+ - python3-numpy
+ git-repos:
+ - 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
+ - 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 success-dup-close sys_close,sys_dup"
+ - 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_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"
{
'git-repo': 'https://github.com/lttng/lttng-ci.git',
'revision': 'master',
- 'testdef': 'lava/baremetal-tests/failing-close.yml'
+ 'testdef': 'lava/system-tests/failing-close.yml'
},
{
'git-repo': 'https://github.com/lttng/lttng-ci.git',
'revision': 'master',
- 'testdef': 'lava/baremetal-tests/failing-ioctl.yml'
+ 'testdef': 'lava/system-tests/failing-ioctl.yml'
},
{
'git-repo': 'https://github.com/lttng/lttng-ci.git',
'revision': 'master',
- 'testdef': 'lava/baremetal-tests/failing-open-efault.yml'
+ 'testdef': 'lava/system-tests/failing-open-efault.yml'
},
{
'git-repo': 'https://github.com/lttng/lttng-ci.git',
'revision': 'master',
- 'testdef': 'lava/baremetal-tests/success-dup-close.yml'
+ 'testdef': 'lava/system-tests/success-dup-close.yml'
},
{
'git-repo': 'https://github.com/lttng/lttng-ci.git',
'revision': 'master',
- 'testdef': 'lava/baremetal-tests/raw-syscall-getpid.yml'
+ 'testdef': 'lava/system-tests/raw-syscall-getpid.yml'
},
{
'git-repo': 'https://github.com/lttng/lttng-ci.git',
'revision': 'master',
- 'testdef': 'lava/baremetal-tests/failing-open-enoent.yml'
+ 'testdef': 'lava/system-tests/failing-open-enoent.yml'
},
{
'git-repo': 'https://github.com/lttng/lttng-ci.git',
'revision': 'master',
- 'testdef': 'lava/baremetal-tests/lttng-test-filter.yml'
+ 'testdef': 'lava/system-tests/lttng-test-filter.yml'
}
],
'timeout': 7200
{
'git-repo': 'https://github.com/lttng/lttng-ci.git',
'revision': 'master',
- 'testdef': 'lava/baremetal-tests/perf-tests.yml'
+ 'testdef': 'lava/system-tests/perf-tests.yml'
}
],
'timeout': 3600
{
'git-repo': 'https://github.com/lttng/lttng-ci.git',
'revision': 'master',
- 'testdef': 'lava/baremetal-tests/kernel-tests.yml'
+ 'testdef': 'lava/system-tests/kernel-tests.yml'
},
{
'git-repo': 'https://github.com/lttng/lttng-ci.git',
'revision': 'master',
- 'testdef': 'lava/baremetal-tests/destructive-tests.yml'
+ 'testdef': 'lava/system-tests/destructive-tests.yml'
}
],
'timeout': 7200
{
'git-repo': 'https://github.com/lttng/lttng-ci.git',
'revision': 'master',
- 'testdef': 'lava/baremetal-tests/kprobe-fuzzing-tests.yml'
+ 'testdef': 'lava/system-tests/kprobe-fuzzing-tests.yml'
}
],
'timeout': 7200