Module: Mesa
Branch: master
Commit: 88fc3e24d3c0d907f234ed9063d4bb6d5e944fb3
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=88fc3e24d3c0d907f234ed9063d4bb6d5e944fb3

Author: Alexandros Frantzis <[email protected]>
Date:   Fri Sep  4 13:53:41 2020 +0300

gitlab-ci: Enable unit test reports for lava traces jobs

Download from minio the JUnit XML file that tracie produces and inform
gitlab about it, so that the pipeline page can present more detailed
information about tracie test results.

Signed-off-by: Alexandros Frantzis <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6598>

---

 .gitlab-ci/lava-gitlab-ci.yml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/.gitlab-ci/lava-gitlab-ci.yml b/.gitlab-ci/lava-gitlab-ci.yml
index fe7ac4a3fcf..431ed554739 100644
--- a/.gitlab-ci/lava-gitlab-ci.yml
+++ b/.gitlab-ci/lava-gitlab-ci.yml
@@ -131,23 +131,34 @@ kernel+rootfs_armhf:
     - kernel+rootfs_amd64
     - meson-testing
 
+.lava-traces-base:
+  after_script:
+    - mkdir -p artifacts
+    - wget -O "artifacts/junit.xml" 
"https://minio-packet.freedesktop.org/artifacts/${CI_PROJECT_PATH}/${CI_PIPELINE_ID}/${CI_JOB_ID}/traces/junit.xml";
+  artifacts:
+    reports:
+      junit: artifacts/junit.xml
+
 .lava-traces:amd64:
   variables:
     TEST_SUITE: "tracie"
   extends:
     - .lava-test:amd64
+    - .lava-traces-base
 
 .lava-traces:armhf:
   variables:
     TEST_SUITE: "tracie"
   extends:
     - .lava-test:armhf
+    - .lava-traces-base
 
 .lava-traces:arm64:
   variables:
     TEST_SUITE: "tracie"
   extends:
     - .lava-test:arm64
+    - .lava-traces-base
 
 panfrost-t720-gles2:arm64:
   extends:

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to