RE: [PATCH i-g-t] tests/intel/xe_exec_threads: whitelist expected multi-queue hang dmesg warns
"Dandamudi, Priyanka" <[email protected]>
| Newsgroups | org.freedesktop.lists.igt-dev |
|---|---|
| Message-ID | <CH3PR11MB8434B927E911FEEF3FA07A808DC12@CH3PR11MB8434.namprd11.prod.outlook.com> |
> -----Original Message----- > From: igt-dev <[email protected]> On Behalf Of > [email protected] > Sent: 21 July 2026 06:34 PM > To: [email protected] > Subject: [PATCH i-g-t] tests/intel/xe_exec_threads: whitelist expected multi- > queue hang dmesg warns > > From: Himanshu Girotra <[email protected]> > > 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 <[email protected]> > --- > 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"); } > + The dmesg warning is of similar to other hang test as well and mean the same, but the print seems little different Tile0: GT0: Check job timeout: seqno=4294967174, lrc_seqno=4294967174, guc_id=18, not started <5> [1657.623342] xe 0000:00:02.0: [drm] Tile0: GT0: Timedout job: seqno=4294967174, lrc_seqno=4294967174, guc_id=18, flags=0x0 in xe_exec_threads [26621] Above both lines mean same since this check job timeout line being caught by CI as dmesg warning it's causing the failure and should be suppressed, code seems correct But the commit description and comments should be generic and in the above meaning. --Priyanka > 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