diff options
| author | Denys Fedoryshchenko <denys.f@collabora.com> | 2026-05-02 15:06:44 +0300 |
|---|---|---|
| committer | Denys Fedoryshchenko <denys.f@collabora.com> | 2026-05-02 15:07:57 +0300 |
| commit | 8ee09f05d15276b295ea199f08fb3bc2e2d16121 (patch) | |
| tree | 58d8c41582dc6652aaccdc69cc6455cbe0080994 /tests/accel-cmd/test_cmd_basic.py | |
| parent | ca68d8c427d6654a73e018ab85d6191d6bfb191e (diff) | |
| download | accel-ppp-8ee09f05d15276b295ea199f08fb3bc2e2d16121.tar.gz accel-ppp-8ee09f05d15276b295ea199f08fb3bc2e2d16121.zip | |
ci: fail workflows on kernel issues found in dmesg
Recently i wasted several hours searching bug in workflows/userspace.
Turned out in dmesg we had highly visible WARNING that we dont watch.
After each test run, dump dmesg and grep for canonical kernel-issue
markers (WARNING, BUG, Oops, kernel panic, GPF, KASAN, kernel UBSAN,
soft/hard lockup, hung tasks, bad page state, invalid opcode). Fail
the job if any are present, with a GitHub Actions error annotation.
Until now, kernel WARNs from out-of-tree drivers (e.g. vlan_mon
tripping the new ETH_P_ALL ptype_head WARN_ON in 6.6+) were silently
swallowed by the existing 'Display processes and dmesg after tests'
steps -- visible only if a human inspected the log. The check runs
with if: always() so it triggers both on test failure and on test
completion.
Applied to all four workflows that load kernel modules:
run-tests-asan-ubsan.yml, run-tests.yml (Test-in-Qemu, Test-in-Alpine,
Test-in-GH, Test-in-GH-Coverage), run-tests-32bit.yml, and
run-tests-bigendian.yml.
P.S. Some whitespace churn included.
Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
Diffstat (limited to 'tests/accel-cmd/test_cmd_basic.py')
0 files changed, 0 insertions, 0 deletions
