]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix TSAN artifact gathering in CI
authorPetr Špaček <pspacek@isc.org>
Tue, 4 Oct 2022 14:14:00 +0000 (16:14 +0200)
committerPetr Špaček <pspacek@isc.org>
Wed, 5 Oct 2022 07:43:07 +0000 (09:43 +0200)
Fixup for 2c3b2dabe9a6b3c4a10f6498a1169f39ed031eed.

We forgot to update TSAN paths when moving all the unit tests to
/tests/.  Let's remove paths from find to make it less dependent on
exact location, and store all untracked files as we do in the normal
unit test template.

Related: !6243

.gitlab-ci.yml

index 3d7e9eab3ad5f2fdef2012258fb19dd42fbb4899..1072902ae3dc7a280050043504298c26b11f1231 100644 (file)
@@ -333,12 +333,12 @@ stages:
   after_script:
     - cat bin/tests/system/test-suite.log
     - *find_python
-    - find bin -name 'tsan.*' -exec "$PYTHON" util/parse_tsan.py {} \;
+    - find -name 'tsan.*' -exec "$PYTHON" util/parse_tsan.py {} \;
     - >
       "$PYTHON" bin/tests/convert-trs-to-junit.py . > "$CI_PROJECT_DIR"/junit.xml
   artifacts:
-    expire_in: "1 day"
     untracked: true
+    expire_in: "1 day"
     when: always
     reports:
       junit: junit.xml
@@ -378,15 +378,12 @@ stages:
   <<: *unit_test_common
   after_script:
     - *find_python
-    - find lib -name 'tsan.*' -exec "$PYTHON" util/parse_tsan.py {} \;
+    - find -name 'tsan.*' -exec "$PYTHON" util/parse_tsan.py {} \;
     - >
       "$PYTHON" bin/tests/convert-trs-to-junit.py . > "$CI_PROJECT_DIR"/junit.xml
   artifacts:
+    untracked: true
     expire_in: "1 day"
-    paths:
-      - tests/*/tsan.*
-      - tsan/
-      - junit.xml
     when: always
     reports:
       junit: junit.xml