You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
run-vmtest: make kernel_splat detection optional (#235)
* run-vmtest: make splat detection opt-in
Existing action users do not necessarily carry kernel splat allowlist
and denylist files. Treating a missing denylist as a detector failure
therefore breaks those users when the v4 tag advances.
Skip the detector when neither configured list path exists, while
continuing to fail partial or invalid configurations once either file
exists. With file presence as the feature gate, remove the
test_progs-only check so configured test_maps and test_verifier runs
are scanned too.
Add regression coverage for configured paths with no list files.
Assisted-by: Codex:GPT-5
Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
* run-vmtest: surface kernel splat details in job log
The detector runs inside the outer vmtest log group, so its matched
context remains collapsed even though it emits a GitHub error.
Write a short diagnostic excerpt next to exitstatus and print it from
the host after the vmtest group closes. Use its first line for the
error annotation so the failure is visible immediately, while
retaining dmesg.txt as the full-log artifact.
Build the excerpt from the already allowlist-filtered hits. The
previous second grep used the raw denylist again, reintroducing
allowed matches and potentially printing thousands of unrelated lines.
Add coverage for saved excerpts and a log containing both allowed and
unallowed splats.
Assisted-by: Codex:GPT-5
Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
* run-vmtest: reduce shell trace noise
Global xtrace in the run-vmtest entry points logs every variable
assignment and helper invocation. Recent test jobs gained 317 to 340
trace lines each, amounting to roughly 8,000 lines across a full
workflow.
The scripts already print the useful commands, selected list files,
and final results. Drop global xtrace from run.sh,
prepare-bpf-selftests.sh, and run-bpf-selftests.sh while retaining
errexit, nounset, and pipefail. The focused xtrace around veristat
commands remains.
Assisted-by: Codex:GPT-5
Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
---------
Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
0 commit comments