projects
/
lttng-ci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge changes from topic "system_tests-trigger_failure"
[lttng-ci.git]
/
lava
/
system-tests
/
destructive-tests.yml
diff --git
a/lava/system-tests/destructive-tests.yml
b/lava/system-tests/destructive-tests.yml
index f864bfeac0d1b98d4fcc1a022b5acd88cf53571e..b1b4f27e7fb98f455a7a0f53c8d96c6bbb7620cd 100644
(file)
--- a/
lava/system-tests/destructive-tests.yml
+++ b/
lava/system-tests/destructive-tests.yml
@@
-2,23
+2,18
@@
metadata:
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"
-install:
- deps:
- - curl
- git-repos:
- - url: https://github.com/lttng/lttng-ci
- destination: ci
- branch: master
+params:
+ JENKINS_BUILD_ID: "invalid_jenkins_build_id"
+ LTTNG_VERSION_STRING: "invalid_version_string"
+run:
steps:
steps:
+ - apt install -y curl
+ - git clone "${CI_REPO}" --branch="${CI_BRANCH}" ci
- export TMPDIR="/tmp"
- systemctl stop systemd-timesyncd.service
- export TMPDIR="/tmp"
- systemctl stop systemd-timesyncd.service
- - ulimit -c unlimited
- mkdir -p coredump
- echo "$(pwd)/coredump/core.%e.%p.%h.%t" > /proc/sys/kernel/core_pattern
- 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
- lava-test-case build-test-suite --shell "make"
- source /root/lttngvenv/activate
- pushd /root/lttngvenv/src/lttng-tools
- lava-test-case build-test-suite --shell "make"
@@
-27,5
+22,6
@@
run:
#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 --nocolor --verbose --merge --exec '' - < root_destructive_tests; else echo 'root_destructive_tests not found'; fi"
- popd
#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 --nocolor --verbose --merge --exec '' - < root_destructive_tests; else echo 'root_destructive_tests not found'; fi"
- popd
+ - systemctl start systemd-timesyncd.service
- 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"
This page took
0.022375 seconds
and
4
git commands to generate.