format: Lava-Test Test Definition 1.0
name: lttng-destructive-tests
description: "Run root destructive test suite"
format: Lava-Test Test Definition 1.0
name: lttng-destructive-tests
description: "Run root destructive test suite"
- source /root/lttngvenv/activate
- pushd /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
- source /root/lttngvenv/activate
- pushd /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
- tar czf coredump.tar.gz coredump
- ./ci/lava/upload_artifact.sh coredump.tar.gz "results/${JENKINS_BUILD_ID}/coredump.tar.gz"
- tar czf coredump.tar.gz coredump
- ./ci/lava/upload_artifact.sh coredump.tar.gz "results/${JENKINS_BUILD_ID}/coredump.tar.gz"