From: himanshu.girotra@intel.com
To: igt-dev@lists.freedesktop.org
Subject: [PATCH i-g-t] tests/intel/xe_exec_threads: whitelist expected multi-queue hang dmesg warns
Date: Tue, 21 Jul 2026 18:34:05 +0530 [thread overview]
Message-ID: <20260721130405.25573-1-himanshu.girotra@intel.com> (raw)
From: Himanshu Girotra <himanshu.girotra@intel.com>
Multi-queue hang subtests hang one queue and reset the whole group.
Sibling jobs that never started get logged by the KMD as
"Check job timeout: ... not started" at warn level, which shows up as a
dmesg-warn in CI even though the test passes.
These warnings are expected for multi-queue hangs (single-queue hangs
don't hit this path), so whitelist them when the subtest has both
MULTI_QUEUE and HANG set.
Signed-off-by: Himanshu Girotra <himanshu.girotra@intel.com>
---
tests/intel/xe_exec_threads.c | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/tests/intel/xe_exec_threads.c b/tests/intel/xe_exec_threads.c
index 0480df779..21529e863 100644
--- a/tests/intel/xe_exec_threads.c
+++ b/tests/intel/xe_exec_threads.c
@@ -1468,6 +1468,19 @@ static void threads(int fd, int flags)
pthread_barrier_destroy(&barrier);
}
+/*
+ * Multi-queue hang subtests hang one queue of a group. The group's queues
+ * are scheduled together, so sibling jobs stay queued behind the hung one and
+ * never start; when the TDR resets the group, the KMD reports each unstarted
+ * sibling as "Check job timeout: ... not started". These warns are expected
+ * (single-queue hangs don't hit this path); whitelist them to avoid spurious
+ * dmesg-warn in CI.
+ */
+static void ignore_multi_queue_hang_warnings_in_dmesg(void)
+{
+ igt_emit_ignore_dmesg_regex("Check job timeout: .*not started");
+}
+
int igt_main()
{
const struct section {
@@ -1735,6 +1748,9 @@ int igt_main()
igt_assert(!(s->flags & BALANCER));
}
+ if ((s->flags & MULTI_QUEUE) && (s->flags & HANG))
+ ignore_multi_queue_hang_warnings_in_dmesg();
+
threads(fd, s->flags);
}
}
--
2.50.1
next reply other threads:[~2026-07-21 13:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-21 13:04 himanshu.girotra [this message]
2026-07-21 19:49 ` ✓ Xe.CI.BAT: success for tests/intel/xe_exec_threads: whitelist expected multi-queue hang dmesg warns Patchwork
2026-07-21 20:04 ` ✓ i915.CI.BAT: " Patchwork
2026-07-22 5:26 ` [PATCH i-g-t] " Dandamudi, Priyanka
2026-07-22 7:23 ` ✓ Xe.CI.FULL: success for " Patchwork
2026-07-22 10:02 ` [PATCH i-g-t] " Kamil Konieczny
2026-07-22 16:21 ` ✗ i915.CI.Full: failure for " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260721130405.25573-1-himanshu.girotra@intel.com \
--to=himanshu.girotra@intel.com \
--cc=igt-dev@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox