From f9e9b4ca126ac5328c7275aee28b52741aaca132 Mon Sep 17 00:00:00 2001 From: knj Date: Mon, 12 Sep 2022 13:13:53 +0200 Subject: [PATCH 1/2] add artifacts for selftests sanitizers and timeout for EVS BE test --- .gitlab-ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 10a68952bc..b05efbe433 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -219,6 +219,12 @@ msan-on-merge-request-linux: - python3 scripts/self_test.py --create | tee test_output.txt - run_errors=$(cat test_output.txt | grep -ic "run errors") || true - if [ $run_errors != 0 ] ; then echo "Run errors in self_test.py with Clang memory-sanitizer"; exit 1; fi + artifacts: + name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--stage-$CI_JOB_STAGE--results" + paths: + - CLANG1/logs/ + - test_output.txt + expose_as: 'Msan selftest results' # code selftest testvectors with address-sanitizer binaries @@ -235,6 +241,12 @@ asan-on-merge-request-linux: - python3 scripts/self_test.py --create | tee test_output.txt - run_errors=$(cat test_output.txt | grep -ic "run errors") || true - if [ $run_errors != 0 ] ; then echo "Run errors in self_test.py with Clang address-sanitizer"; exit 1; fi + artifacts: + name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--stage-$CI_JOB_STAGE--results" + paths: + - CLANG3/logs/ + - test_output.txt + expose_as: 'Asan selftest results' # compare bit exactness between target and source branch @@ -343,6 +355,7 @@ be-2-evs-linux: - be-2-evs-temp stage: test needs: [ "build-codec-linux-cmake" ] + timeout: "20 minutes" # To be revisited script: - *print-common-info -- GitLab From 7c206bf6fb92f38065da03f12e7c880860908eda Mon Sep 17 00:00:00 2001 From: knj Date: Mon, 12 Sep 2022 13:32:15 +0200 Subject: [PATCH 2/2] correct paths for artifacts in sanitizer selftest jobs --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b05efbe433..624322e87b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -222,7 +222,7 @@ msan-on-merge-request-linux: artifacts: name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--stage-$CI_JOB_STAGE--results" paths: - - CLANG1/logs/ + - scripts/ref/logs/ - test_output.txt expose_as: 'Msan selftest results' @@ -244,7 +244,7 @@ asan-on-merge-request-linux: artifacts: name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--stage-$CI_JOB_STAGE--results" paths: - - CLANG3/logs/ + - scripts/ref/logs/ - test_output.txt expose_as: 'Asan selftest results' -- GitLab