| 1 | metadata: |
| 2 | format: Lava-Test Test Definition 1.0 |
| 3 | name: lttng-kernel-test |
| 4 | description: "Run kernel test suite" |
| 5 | params: |
| 6 | JENKINS_BUILD_ID: "invalid_jenkins_build_id" |
| 7 | LTTNG_VERSION_STRING: "invalid_version_string" |
| 8 | run: |
| 9 | steps: |
| 10 | - git clone "${CI_REPO}" --branch="${CI_BRANCH}" ci |
| 11 | - export TMPDIR="/tmp" |
| 12 | - mkdir -p /tmp/coredump |
| 13 | - echo "/tmp/coredump/core.%e.%p.%h.%t" > /proc/sys/kernel/core_pattern |
| 14 | - ulimit -c unlimited |
| 15 | - source /root/lttngvenv/activate |
| 16 | - pushd /root/lttngvenv/src/lttng-tools |
| 17 | - lava-test-case build-test-suite --shell "make" |
| 18 | - lava-test-case run-tests --shell "$(dirs -l +1)/ci/scripts/system-tests/run-test-suites.sh ${LTTNG_VERSION_STRING}" |
| 19 | - popd |