projects
/
lttng-ci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
jjb: Delete remaining bionic-amd64 jobs
[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 e4e2054d45c972cf58725212c2e0af3c332c9baa..07275eb6cd396b1a32323c89c55288645062cefe 100644
(file)
--- a/
lava/system-tests/kernel-tests.yml
+++ b/
lava/system-tests/kernel-tests.yml
@@
-4,26
+4,21
@@
metadata:
description: "Run kernel test suite"
params:
JENKINS_BUILD_ID: "invalid_jenkins_build_id"
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
- steps:
- - export TMPDIR="/tmp"
- - mkdir -p coredump
- - echo "$(pwd)/coredump/core.%e.%p.%h.%t" > /proc/sys/kernel/core_pattern
+ LTTNG_VERSION_STRING: "invalid_version_string"
run:
steps:
run:
steps:
+ - apt install -y curl
+ - git clone "${CI_REPO}" --branch="${CI_BRANCH}" ci
+ - export TMPDIR="/tmp"
+ - mkdir -p /tmp/coredump
+ - echo "/tmp/coredump/core.%e.%p.%h.%t" > /proc/sys/kernel/core_pattern
- ulimit -c unlimited
- source /root/lttngvenv/activate
- pushd /root/lttngvenv/src/lttng-tools
- lava-test-case build-test-suite --shell "make"
- ulimit -c unlimited
- source /root/lttngvenv/activate
- pushd /root/lttngvenv/src/lttng-tools
- lava-test-case build-test-suite --shell "make"
- - cd tests
- - lava-test-case run-tests --shell "prove --nocolor --verbose --merge --exec '' - < root_regression"
+ - systemctl stop systemd-timesyncd.service
+ - lava-test-case run-tests --shell "$(dirs -l +1)/ci/scripts/system-tests/run-test-suites.sh ${LTTNG_VERSION_STRING}"
+ - systemctl start systemd-timesyncd.service
- popd
- popd
- - tar czf coredump.tar.gz coredump
+ - tar czf coredump.tar.gz
/tmp/
coredump
- ./ci/lava/upload_artifact.sh coredump.tar.gz coredump.tar.gz "results/${JENKINS_BUILD_ID}/${TESTRUN_ID}-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.023309 seconds
and
4
git commands to generate.