projects
/
lttng-ci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: set ulimit when running test
[lttng-ci.git]
/
lava
/
system-tests
/
kernel-tests.yml
diff --git
a/lava/system-tests/kernel-tests.yml
b/lava/system-tests/kernel-tests.yml
index 35ee979103dadac432e3eb3582e3a32ed66e25b3..e4e2054d45c972cf58725212c2e0af3c332c9baa 100644
(file)
--- a/
lava/system-tests/kernel-tests.yml
+++ b/
lava/system-tests/kernel-tests.yml
@@
-2,20
+2,28
@@
metadata:
format: Lava-Test Test Definition 1.0
name: lttng-kernel-test
description: "Run kernel test suite"
format: Lava-Test Test Definition 1.0
name: lttng-kernel-test
description: "Run kernel test suite"
+params:
+ JENKINS_BUILD_ID: "invalid_jenkins_build_id"
+
install:
install:
+ deps:
+ - curl
+ git-repos:
+ - url: https://github.com/lttng/lttng-ci
+ destination: ci
+ branch: master
steps:
- export TMPDIR="/tmp"
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:
- 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
- source /root/lttngvenv/activate
- -
c
d /root/lttngvenv/src/lttng-tools
+ -
push
d /root/lttngvenv/src/lttng-tools
- lava-test-case build-test-suite --shell "make"
- cd tests
- lava-test-case build-test-suite --shell "make"
- cd tests
- - lava-test-case run-tests --shell "prove --verbose --merge --exec '' - < root_regression"
- -
c
d
+ - lava-test-case run-tests --shell "prove --
nocolor --
verbose --merge --exec '' - < root_regression"
+ -
pop
d
- tar czf coredump.tar.gz coredump
- tar czf coredump.tar.gz coredump
- -
lava-test-case-attach run-benchmarks coredump.tar.gz
+ -
./ci/lava/upload_artifact.sh coredump.tar.gz coredump.tar.gz "results/${JENKINS_BUILD_ID}/${TESTRUN_ID}-coredump.tar.gz"
This page took
0.023224 seconds
and
4
git commands to generate.