drm/ci: Default to UART for logging
Subsystems (3)
PATCH 1/1 drm/ci: Default to UART for logging
From: Rob Clark <[email protected]>
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.
--- drivers/gpu/drm/ci/gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+)
drivers/gpu/drm/ci/gitlab-ci.yml +6 -0
@@ -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)
Signature · 1 line
2.41.0
cc +guilherme
Quoted 28 lines · Rob Clark
From: Rob Clark <[email protected]>
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 <[email protected]>--- drivers/gpu/drm/ci/gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+)drivers/gpu/drm/ci/gitlab-ci.yml +6
-0@@ -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)
Quoted 3 lines · Rob Clark
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.
Hmm, we should still be capturing the UART boot logs regardless. Those go into a collapsed 'LAVA boot' section but they don't just disappear ... ?
Quoted 9 lines · Daniel Stone
Quoted 3 lines · Rob Clark
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.
Hmm, we should still be capturing the UART boot logs regardless. Those go into a collapsed 'LAVA boot' section but they don't just disappear ... ?
Hmm, I wasn't seeing anything in the raw log, which doesn't collapse sections..
That said, I still think uart is preferable to ssh for kernel CI.. we aren't running jobs at the scale of mesa CI jobs so even if we get UART flakes 1/1000 (or even 1/100) times, that is an acceptable trade-off for the fact that uart can still work when things are too fubar for ssh.
BR,
-R