]> 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 08:25:31 +0000 (10:25 +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.

.gitlab-ci.yml

index 34d603156ca61c1b8ff5b284bda2c2198cde4341..687054ed5b0d76b488840214ba18460998c34967 100644 (file)
@@ -321,6 +321,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
@@ -343,6 +344,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
     - >