ci: Enable IRC flake reporting on freedreno baremetal boards.
authorEric Anholt <eric@anholt.net>
Fri, 1 May 2020 16:57:00 +0000 (09:57 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 6 May 2020 18:34:38 +0000 (18:34 +0000)
The IRC channel is useful for me to track and ban flaky tests before they
irritate people too much.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2654
Reviewed-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4896>

.gitlab-ci.yml
.gitlab-ci/bare-metal/fastboot.sh
.gitlab-ci/bare-metal/init.sh
.gitlab-ci/create-rootfs.sh

index 409ed8ef60938726fbc316b7fd38b4544930de11..660fa377bbb8499792290ca0354a02c5234f00b7 100644 (file)
@@ -174,7 +174,7 @@ arm_build:
     - .fdo.container-build@debian@arm64v8
     - .container
   variables:
-    FDO_DISTRIBUTION_TAG: &arm_build "2020-04-01-jflags"
+    FDO_DISTRIBUTION_TAG: &arm_build "2020-05-01-netcat"
 
 .use-arm_build:
   variables:
@@ -825,6 +825,7 @@ arm64_a306_gles2:
     BM_DTB: /lava-files/apq8016-sbc.dtb
     BM_ROOTFS: /lava-files/rootfs-arm64
     BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8"
+    FLAKES_CHANNEL: "#freedreno-ci"
     DEQP_EXPECTED_FAILS: deqp-freedreno-a307-fails.txt
     DEQP_SKIPS: deqp-freedreno-a307-skips.txt
     DEQP_VER: gles2
index 5d2d1de176cd64807cfae8b5f3d76860df9ac8c0..8b0577ce0827d671d1c77a15206113e0d796451b 100755 (executable)
@@ -55,11 +55,17 @@ cp $BM/init.sh rootfs/init
 touch rootfs/set-job-env-vars.sh
 chmod +x rootfs/set-job-env-vars.sh
 for var in \
+    CI_JOB_URL \
+    CI_MERGE_REQUEST_SOURCE_BRANCH_NAME \
+    CI_MERGE_REQUEST_TITLE \
     CI_NODE_INDEX \
     CI_NODE_TOTAL \
+    CI_PIPELINE_ID \
+    CI_RUNNER_DESCRIPTION \
     DEQP_EXPECTED_RENDERER \
     DEQP_PARALLEL \
     DEQP_VER \
+    FLAKES_CHANNEL \
     ; do
   val=`echo ${!var} | sed 's|"||g'`
   echo "export $var=\"${val}\"" >> rootfs/set-job-env-vars.sh
index edaaa9692cdac3ead66f17a55d8fb63ea150229f..ae3e071a52c06401d8183a367e35e06849c11d21 100644 (file)
@@ -11,6 +11,8 @@ mount -t devpts devpts /dev/pts
 export DEQP_NO_SAVE_RESULTS=1
 . /set-job-env-vars.sh
 
+echo "nameserver 8.8.8.8" > /etc/resolv.conf
+
 export DEQP_SKIPS=deqp-skips.txt
 if [ -e /install/deqp-expected-fails.txt ]; then
   export DEQP_EXPECTED_FAILS=deqp-expected-fails.txt
index 89d50d3f5a119eb64effbdafae9d1e1cd8f0ffd6..aa6449e097e80c2f02ecde626cbca23d089d407e 100644 (file)
@@ -12,6 +12,7 @@ apt-get -y install --no-install-recommends \
     libdrm2 \
     libdrm-nouveau2 \
     firmware-qcom-media \
+    netcat-openbsd \
     wget \
     xz-utils
 passwd root -d