Skip to content

RFC tests/intel/xe_exec_reset: Filter expected timeout dmesg during reset tests

Sobin Thomas igt-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1RFC tests/intel/xe_exec_reset: Filter expected timeout dmesg during reset teststests/intel/xe_exec_reset.c+41 -82 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH i-g-t 0/1] RFC tests/intel/xe_exec_reset: Filter expected timeout dmesg during reset tests

During reset testing there are timedout messages with lrc seq no and seqno coming in CI Dmesg. These logs are causing CI warnings.

Since we are intentionally causing the GPU reset, so timeout messages are expected behavior rather than actual test failures. These messages filtered by CI and incorrectly flagged as errors.

This change adds ignore_timeout_dmesg() function that registers a regex pattern to filter out expected timeout-related dmesg messages:
- "Timedout"
- "timeout"

The function is strategically called before operations that trigger resets to proactively filter expected messages:
- GT reset operations (xe_force_gt_reset_async/sync)
- Legacy test modes involving resets
- Compute mode tests with GT reset flags
- Thread-based reset testing scenarios

This ensures cleaner test output by suppressing expected noise while preserving genuine error reporting for actual test failures.

Sobin Thomas (1):
RFC tests/intel/xe_exec_reset: Filter expected timeout dmesg during
reset tests

 tests/intel/xe_exec_reset.c | 49 +++++++++++++++++++++++++++++++------
 1 file changed, 41 insertions(+), 8 deletions(-)
Signature · 1 line
2.51.0