]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Looking for errors in dig output files must not fail
authorMichal Nowak <mnowak@isc.org>
Thu, 6 Apr 2023 07:36:21 +0000 (09:36 +0200)
committerMichal Nowak <mnowak@isc.org>
Thu, 6 Apr 2023 09:04:14 +0000 (11:04 +0200)
If no errors in dig output files of failed tests are found, TSAN file
parsing won't occur.

(cherry picked from commit 28a0df308198231bf5f9a05d0d35804bc1c25e2a)

.gitlab-ci.yml

index 7d2f7ba0c7b44545f8c00cc076b389d3f4d51559..64a38c62ceb8e3fdeb36026bb4624878f74576b5 100644 (file)
@@ -323,7 +323,7 @@ stages:
     - REALSOURCEDIR="$PWD"
     - test -n "${OUT_OF_TREE_WORKSPACE}" && cd "${OUT_OF_TREE_WORKSPACE}"
     - cat bin/tests/system/test-suite.log
-    - find bin/tests/system -name "*dig.*" | xargs grep "error"
+    - find bin/tests/system -name "*dig.*" | xargs grep "error" || true
     - *find_python
     - >
       "$PYTHON" "$REALSOURCEDIR"/bin/tests/convert-trs-to-junit.py . > "$CI_PROJECT_DIR"/junit.xml
@@ -346,7 +346,7 @@ stages:
   <<: *system_test_common
   after_script:
     - cat bin/tests/system/test-suite.log
-    - find bin/tests/system -name "*dig.*" | xargs grep "error"
+    - find bin/tests/system -name "*dig.*" | xargs grep "error" || true
     - *find_python
     - *parse_tsan
     - >