freedreno/ci: Isolate dEQP-EGL reset_context tests
authorRob Clark <robdclark@chromium.org>
Fri, 30 Apr 2021 19:48:42 +0000 (12:48 -0700)
committerMarge Bot <eric+marge@anholt.net>
Sat, 1 May 2021 02:37:05 +0000 (02:37 +0000)
To reduce flakes, separate out the dEQP-EGL tests that are intentionally
triggering GPU hangs.  This avoids some kernel side issues with bad
handling of ringbuffer-full scenarios, causing innocent tests to flake.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10560>

.gitlab-ci/bare-metal/arm64_a630_egl.sh [new file with mode: 0755]
src/freedreno/ci/gitlab-ci.yml

diff --git a/.gitlab-ci/bare-metal/arm64_a630_egl.sh b/.gitlab-ci/bare-metal/arm64_a630_egl.sh
new file mode 100755 (executable)
index 0000000..b97dc1e
--- /dev/null
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+# This test script groups together a bunch of fast dEQP variant runs
+# to amortize the cost of rebooting the board.
+
+set -ex
+
+EXIT=0
+
+# Run reset tests without parallelism:
+if ! env \
+  DEQP_RESULTS_DIR=results/reset \
+  DEQP_PARALLEL=1 \
+  DEQP_CASELIST_FILTER='.*reset.*' \
+  /install/deqp-runner.sh; then
+    EXIT=1
+fi
+
+# Then run everything else with parallelism:
+if ! env \
+  DEQP_RESULTS_DIR=results/nonrobustness \
+  DEQP_CASELIST_INV_FILTER='.*reset.*' \
+  /install/deqp-runner.sh; then
+    EXIT=1
+fi
+
index e56b194..7aa2632 100644 (file)
@@ -194,6 +194,7 @@ a630_egl:
   variables:
     DEQP_VER: egl
     BM_START_XORG: 1
+    BARE_METAL_TEST_SCRIPT: "/install/bare-metal/arm64_a630_egl.sh"
 
 a630_gles_others:
   extends: