]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Find errors in dig output in system tests
authorTom Krizek <tkrizek@isc.org>
Mon, 13 Mar 2023 12:36:24 +0000 (13:36 +0100)
committerTom Krizek <tkrizek@isc.org>
Mon, 3 Apr 2023 11:06:37 +0000 (13:06 +0200)
Facilitate faster system test failure identification and debugging by
checking any dig outputs for errors, which are typically indicative of
CI runner network / load issues.

(cherry picked from commit 940e160c06e95c10ac58c3495dbd63daef1797b9)

.gitlab-ci.yml

index ad1d7f0b11440b708990a2c4e95ff9f1f7232a21..7d2f7ba0c7b44545f8c00cc076b389d3f4d51559 100644 (file)
@@ -323,6 +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_python
     - >
       "$PYTHON" "$REALSOURCEDIR"/bin/tests/convert-trs-to-junit.py . > "$CI_PROJECT_DIR"/junit.xml
@@ -345,6 +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_python
     - *parse_tsan
     - >