format: Lava-Test Test Definition 1.0
name: lttng-destructive-tests
description: "Run root destructive test suite"
-install:
- deps:
- - curl
- git-repos:
- - url: https://github.com/lttng/lttng-ci
- destination: ci
- branch: master
+params:
+ JENKINS_BUILD_ID: "invalid_jenkins_build_id"
+run:
steps:
+ - apt install -y curl
+ - git clone https://github.com/lttng/lttng-ci ci
- export TMPDIR="/tmp"
- systemctl stop systemd-timesyncd.service
- mkdir -p coredump
- echo "$(pwd)/coredump/core.%e.%p.%h.%t" > /proc/sys/kernel/core_pattern
-params:
- JENKINS_BUILD_ID: "invalid_jenkins_build_id"
-run:
- steps:
- ulimit -c unlimited
- source /root/lttngvenv/activate
- pushd /root/lttngvenv/src/lttng-tools
description: "Perform syscall tracing benchmark of failing close"
params:
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
- branch: master
+run:
steps:
+ - apt install -y python3-pandas python3-numpy curl
+ - git clone https://github.com/lttng/lttng-ci ci
- export TMPDIR="/tmp"
- 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
description: "Perform syscall tracing benchmark of failing ioctl"
params:
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
- branch: master
+run:
steps:
+ - apt install -y python3-pandas python3-numpy
+ - git clone https://github.com/lttng/lttng-ci ci
- export TMPDIR="/tmp"
- 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
description: "Perform syscall tracing benchmark of failing open-efault"
params:
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
- branch: master
+run:
steps:
+ - apt install -y python3-pandas python3-numpy
+ - git clone https://github.com/lttng/lttng-ci ci
- export TMPDIR="/tmp"
- 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
description: "Perform syscall tracing benchmark of failing open-enoent"
params:
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
- branch: master
+run:
steps:
+ - apt install -y python3-pandas python3-numpy
+ - git clone https://github.com/lttng/lttng-ci ci
- export TMPDIR="/tmp"
- 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
description: "Run kernel test suite"
params:
JENKINS_BUILD_ID: "invalid_jenkins_build_id"
-
-install:
- deps:
- - curl
- git-repos:
- - url: https://github.com/lttng/lttng-ci
- destination: ci
- branch: master
+run:
steps:
+ - apt install -y curl
+ - git clone https://github.com/lttng/lttng-ci ci
- export TMPDIR="/tmp"
- 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
- pushd /root/lttngvenv/src/lttng-tools
format: Lava-Test Test Definition 1.0
name: lttng-fuzzing-kprobe-generate-data
description: "Run kprobe fuzzing data generation"
-install:
- git-repos:
- - url: https://github.com/lttng/lttng-ci
- destination: ci
- branch: master
params:
RANDOM_SEED: 12345
run:
steps:
+ - git clone https://github.com/lttng/lttng-ci ci
- cd ci/
- lava-test-case generate-fuzzing-data --shell "python3 ./scripts/system-tests/run-kprobe-generate-instr-points.py $RANDOM_SEED"
- sync
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
params:
ROUND_NB: 0
run:
steps:
+ - git clone https://github.com/lttng/lttng-ci ci
- lava-test-case run-fuzzing --shell "python3 ./ci/scripts/system-tests/run-kprobe-fuzzing.py /root/instr_points.txt.gz $ROUND_NB"
description: "Perform syscall tracing benchmark of the lttng-test-filter"
params:
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
- branch: master
+run:
steps:
+ - apt install -y python3-pandas python3-numpy curl
+ - git clone https://github.com/lttng/lttng-ci ci
- export TMPDIR="/tmp"
- 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
description: "Run perf regression test suite"
params:
JENKINS_BUILD_ID: "invalid_jenkins_build_id"
-install:
- deps:
- - libpfm4-dev
- - curl
- git-repos:
- - url: https://github.com/lttng/lttng-ci
- destination: ci
- branch: master
+run:
steps:
+ - apt install -y libpfm4-dev curl
+ - git clone https://github.com/lttng/lttng-ci ci
- export TMPDIR="/tmp"
- 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
- pushd /root/lttngvenv/src/lttng-tools
description: "Perform syscall tracing benchmark of the raw syscall getpid"
params:
JENKINS_BUILD_ID: "invalid_jenkins_build_id"
-
-install:
- deps:
- - python3-pandas
- - python3-numpy
- git-repos:
- - url: https://github.com/lttng/lttng-ci
- destination: ci
- branch: master
+run:
steps:
+ - apt install -y python3-pandas python3-numpy
+ - git clone https://github.com/lttng/lttng-ci ci
- export TMPDIR="/tmp"
- 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
description: "Perform syscall tracing benchmark of successful dup and close"
params:
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
- branch: master
+run:
steps:
+ - apt install -y python3-pandas python3-numpy curl
+ - git clone https://github.com/lttng/lttng-ci ci
- export TMPDIR="/tmp"
- 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