Skip to content

run-vmtest: fail selftest runs that produce kernel splats - #229

Open
mykyta5 wants to merge 1 commit into
libbpf:mainfrom
mykyta5:main
Open

run-vmtest: fail selftest runs that produce kernel splats#229
mykyta5 wants to merge 1 commit into
libbpf:mainfrom
mykyta5:main

Conversation

@mykyta5

@mykyta5 mykyta5 commented Aug 10, 2026

Copy link
Copy Markdown
Collaborator

A non-fatal splat (WARN, KASAN report, lockdep, hung task) leaves the VM running, so the selftest binary still exits 0 and CI goes green on a kernel that just hit a real bug. We have no signal for these today.

Scan dmesg after the run and add a kernel_splats row to the existing exitstatus aggregator. A scan that cannot run fails the row rather than reporting clean, otherwise a typo in a pattern file would quietly turn the check off. splat-allowlist-file and skip-kernel-splat-check provide an escape hatch for known-benign matches.

A non-fatal splat (WARN, KASAN report, lockdep, hung task) leaves the VM
running, so the selftest binary still exits 0 and CI goes green on a
kernel that just hit a real bug. We have no signal for these today.

Scan dmesg after the run and add a kernel_splats row to the existing
exitstatus aggregator. A scan that cannot run fails the row rather than
reporting clean, otherwise a typo in a pattern file would quietly turn
the check off. splat-allowlist-file and skip-kernel-splat-check provide
an escape hatch for known-benign matches.

Assisted-by: Claude:claude-opus-4-7
Signed-off-by: Mykyta Yatsenko <yatsenko@meta.com>
@mykyta5
mykyta5 requested a review from theihor August 10, 2026 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant