[PATCH i-g-t v1 0/6] TEST: runner: Enable ignoring dmesg warnings
Kamil Konieczny
kamil.konieczny at linux.intel.com
Thu Jul 25 11:21:22 UTC 2024
Test xe_wedged in subtests wedged-at-any-timeout and basic-wedged
cause a wedged GPU so driver reports this in dmesg, later on tests
resets GPU and they end as success. Unfortunatly, igt_runner reads
dmesg and when it finds, for example:
ERROR CRITICAL: Xe has declared device 0000:00:02.0 as wedged
it reports this in results.json as dmesg-warn, ignore success reported
by subtest and turns subtest result as a fail.
Allow subtest to inform igt_runner about expected driver warns
so it will relay on subtest exit results and could report is correctly.
Kamil Konieczny (6):
runner/resultgen: Add dynamically ignored dmesg messages
lib/igt_core: Add ignored regex for runner
tests/intel/xe_wedged: Inform runner about expected error
DO_NOT_MERGE: core_getversion: test runner for xe_wedged
DO_NOT_MERGE: runner/resultgen: treat HAX: in dmesg as kernel warning
HAX/DO_NOT_MERGE: fast-feedback: test dyn ignored warn in dmesg
lib/igt_core.c | 14 +++
lib/igt_core.h | 2 +
runner/output_strings.h | 8 ++
runner/resultgen.c | 77 ++++++++++--
tests/core_getversion.c | 37 ++++++
tests/intel-ci/fast-feedback.testlist | 174 ++------------------------
tests/intel/xe_wedged.c | 10 ++
7 files changed, 148 insertions(+), 174 deletions(-)
--
2.43.0
More information about the Intel-gfx-trybot
mailing list