Module: Mesa
Branch: main
Commit: 93e3d37b47c77b19b330e3d5c6d2440108636952
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=93e3d37b47c77b19b330e3d5c6d2440108636952

Author: Guilherme Gallo <[email protected]>
Date:   Mon Mar 13 18:42:11 2023 -0300

ci: Add piglit traces hidden jobs

To better organize traces and traces-performance jobs that uses piglit
to replay traces.

Signed-off-by: Guilherme Gallo <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22065>

---

 .gitlab-ci/test-source-dep.yml | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/.gitlab-ci/test-source-dep.yml b/.gitlab-ci/test-source-dep.yml
index e027aeb08c5..da7eb5b91a9 100644
--- a/.gitlab-ci/test-source-dep.yml
+++ b/.gitlab-ci/test-source-dep.yml
@@ -82,6 +82,44 @@
   # even start until the separate script triggers on it).
   allow_failure: true
 
+.piglit-performance-base:
+  allow_failure: true
+  variables:
+    LAVA_JOB_PRIORITY: 40
+    PIGLIT_REPLAY_SUBCOMMAND: "profile"
+    PIGLIT_REPLAY_EXTRA_ARGS: "--db-path ${CI_PROJECT_DIR}/replayer-db/"
+    # More than this can hit OOM due to BOs leaked during the replay of the 
last frame
+    PIGLIT_REPLAY_LOOP_TIMES: 150
+    # We don't want for more than one workload to be submitted to the GPU at a 
time
+    FDO_CI_CONCURRENT: 1
+    # Piglit is very sparse in its status output and downloads of big traces 
can take a while
+    LAVA_DEVICE_HANGING_TIMEOUT_SEC: 600
+    GIT_STRATEGY: none
+    HWCI_FREQ_MAX: "true"
+    # Always use the same device
+    LAVA_TAGS: "cbg-0"
+    # Ensure that we are using the release build artifact
+    MINIO_ARTIFACT_NAME: mesa-${ARCH}-release
+  # Reset dependencies in performance jobs to enforce the release build 
artifact
+  dependencies: null
+  # Don't run in parallel. It is okay to performance jobs to take a little
+  # longer to finish, as they don't block marge from merging an MR.
+  parallel: null
+
+.piglit-performance:arm64:
+  extends:
+    - .piglit-performance-base
+  needs:
+    - debian/arm64_test
+    - debian-arm64-release
+
+.piglit-performance:amd64:
+  extends:
+    - .piglit-performance-base
+  needs:
+    - kernel+rootfs_amd64
+    - debian-release
+
 # Mesa source file dependencies that may impact any GL driver test job.
 .gl-rules:
   rules:

Reply via email to