X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=lava%2Fsystem-tests%2Fperf-tests.yml;h=6cd2e4ee45a7fb09e539eea860e48c301c816cb3;hb=6e5bb7a0a72e27e1ece0370dd23b7a7ff8155dea;hp=0355d825f7e55c54d86cfeb2d9b16ef0ad187d15;hpb=ef50ca2a58c45158ad69f5e1e893aea4766464f4;p=lttng-ci.git diff --git a/lava/system-tests/perf-tests.yml b/lava/system-tests/perf-tests.yml index 0355d82..6cd2e4e 100644 --- a/lava/system-tests/perf-tests.yml +++ b/lava/system-tests/perf-tests.yml @@ -10,8 +10,8 @@ run: - apt install -y libpfm4-dev curl - git clone "${CI_REPO}" --branch="${CI_BRANCH}" ci - export TMPDIR="/tmp" - - mkdir -p coredump - - echo "$(pwd)/coredump/core.%e.%p.%h.%t" > /proc/sys/kernel/core_pattern + - 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 @@ -20,5 +20,5 @@ 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 perf_regression ]; then prove --nocolor --verbose --merge --exec '' - < perf_regression; else echo 'perf_regression not found'; fi" - 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"