fdf4d72c5f5deca16440097fdb5df4e67bb3314a
[lttng-ci.git] / lava / baremetal-tests / destructive-tests.yml
1 metadata:
2 format: Lava-Test Test Definition 1.0
3 name: lttng-destructive-tests
4 description: "Run root destructive test suite"
5 install:
6 steps:
7 - export TMPDIR="/tmp"
8 - cd
9 - systemctl stop systemd-timesyncd.service
10 - ulimit -c unlimited
11 - mkdir -p coredump
12 - echo "$(pwd)/coredump/core.%e.%p.%h.%t" > /proc/sys/kernel/core_pattern
13 run:
14 steps:
15 - source /root/lttngvenv/activate
16 - cd /root/lttngvenv/src/lttng-tools
17 - lava-test-case build-test-suite --shell "make"
18 - export LTTNG_ENABLE_DESTRUCTIVE_TESTS="will-break-my-system"
19 - cd tests
20 #Need to check if the file is present for branches where the testcase was not backported
21 - 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"
22 - cd
23 - tar czf coredump.tar.gz coredump
24 - lava-test-case-attach run-benchmarks coredump.tar.gz
This page took 0.030313 seconds and 3 git commands to generate.