[PATCH] drm/ci: Default to UART for logging
From: Rob Clark
Date: Fri Oct 06 2023 - 13:32:14 EST
From: Rob Clark <robdclark@xxxxxxxxxxxx>
ssh logging is the default for mesa, as it is generally more reliable.
But if there are kernel issues, especially at boot, UART logging is
infinitely more useful.
Signed-off-by: Rob Clark <robdclark@xxxxxxxxxxxx>
---
drivers/gpu/drm/ci/gitlab-ci.yml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/drivers/gpu/drm/ci/gitlab-ci.yml b/drivers/gpu/drm/ci/gitlab-ci.yml
index 2c4df53f5dfe..7c55f02f7313 100644
--- a/drivers/gpu/drm/ci/gitlab-ci.yml
+++ b/drivers/gpu/drm/ci/gitlab-ci.yml
@@ -27,6 +27,12 @@ variables:
LAVA_JOB_PRIORITY: 30
+ # Default to UART logging. Mesa uses ssh by default, as that is more
+ # reliable if you have a stable kernel. But kernel CI is more likely
+ # to encounter unstable kernels (and has lower volume of CI jobs so is
+ # less likely to be troubled by occasional UART flakes)
+ LAVA_FORCE_UART: 1
+
default:
before_script:
- export SCRIPTS_DIR=$(mktemp -d)
--
2.41.0