]> 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:50:54 +0000 (09:50 +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

(cherry picked from commit 9559eb3b21fec007c53c314be2ebcaf6a12782b2)
Adapted for v9_16 branch.

.gitlab-ci.yml

index e1577798657459bfa1a6a501b632f62033bc8117..1071869cc8c783137e59090c7ad91cc60a994559 100644 (file)
@@ -337,7 +337,7 @@ stages:
 .system_test_tsan: &system_test_tsan_job
   <<: *system_test_common
   after_script:
-    - find bin -name 'tsan.*' -exec python3 util/parse_tsan.py {} \;
+    - find -name 'tsan.*' -exec python3 util/parse_tsan.py {} \;
   artifacts:
     expire_in: "1 day"
     untracked: true
@@ -396,16 +396,10 @@ stages:
   <<: *unit_test_common
   after_script:
     - *kyua_report_html
-    - for f in tsan.* ; do test -f "$f" && python3 util/parse_tsan.py "$f" ; done
-    - find lib -name 'tsan.*' -exec python3 util/parse_tsan.py {} \;
+    - find -name 'tsan.*' -exec python3 util/parse_tsan.py {} \;
   artifacts:
+    untracked: true
     expire_in: "1 day"
-    paths:
-      - lib/*/tests/tsan.*
-      - tsan/
-      - kyua.log
-      - kyua.results
-      - kyua_html/
     when: on_failure
 
 .respdiff: &respdiff_job