From 92f6539d715a0c5ac7260cebb1544cfe69ba11e7 Mon Sep 17 00:00:00 2001 From: Tapani Pihlajakuja Date: Wed, 13 Sep 2023 08:12:08 +0300 Subject: [PATCH] Add missing check for non-be test failures. --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e2f7e16c81..b8812f55fd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1106,6 +1106,9 @@ test-long-self-test: timeout: "50 minutes" rules: - if: $CI_PIPELINE_SOURCE == 'web' && $MANUAL_PIPELINE_TYPE == 'test-long-self-test' + allow_failure: + exit_codes: + - 123 script: - *print-common-info - *update-ltv-repo @@ -1148,6 +1151,7 @@ test-long-self-test: - zero_errors=$(cat report-junit-ltv.xml | grep -c 'errors="0"') || true - if [ $zero_errors != 1 ]; then echo "Run errors encountered!"; exit $EXIT_CODE_FAIL; fi + - if [ $exit_code -eq 1 ]; then echo "Non-bitexact cases encountered!"; exit $EXIT_CODE_NON_BE; fi - exit 0 -- GitLab