From 288214323c0107b84a7cb4b9025206920b375596 Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Mon, 29 Nov 2021 20:41:20 +0200 Subject: [PATCH] .gitlab.ci: Enable debug for libsteat and for the DRM backend As the drm-smoke test randomly reports having the connector disabled, and with it libseat reports setMaster errors, this enables DRM backend debug messages for the kernel, and for libseat in an attempt to track down the issue, whenever it might happen again. These are pretty harmless, in terms of data being generated as we only have a single DRM test using VKMS, and the libseat debug message aren't that verbose, so we're safe keeping them for the time being. Signed-off-by: Marius Vlad --- .gitlab-ci.yml | 1 + .gitlab-ci/virtme-scripts/run-weston-tests.sh | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index db89c7be..b615a9a7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -198,6 +198,7 @@ aarch64-debian-container_prep: paths: - $BUILDDIR/*.png - $BUILDDIR/meson-logs + - $BUILDDIR/dmesg.log - $BUILDDIR/weston-virtme - $PREFIX reports: diff --git a/.gitlab-ci/virtme-scripts/run-weston-tests.sh b/.gitlab-ci/virtme-scripts/run-weston-tests.sh index e8e82748..c236c37f 100755 --- a/.gitlab-ci/virtme-scripts/run-weston-tests.sh +++ b/.gitlab-ci/virtme-scripts/run-weston-tests.sh @@ -20,10 +20,14 @@ export PATH=$HOME/.local/bin:$PATH export PATH=/usr/local/bin:$PATH export ASAN_OPTIONS=detect_leaks=0,atexit=1 +export SEATD_LOGLEVEL=debug # run the tests and save the exit status # we give ourselves a very generous timeout multiplier due to ASan overhead +echo 0x1f > /sys/module/drm/parameters/debug seatd-launch -- meson test --no-rebuild --timeout-multiplier 4 +dmesg &> dmesg.log +echo 0x00 > /sys/module/drm/parameters/debug TEST_RES=$? # create a file to keep the result of this script: