Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t v3 0/1] lib/igt_core: capture logs for child processes
@ 2025-03-21 12:03 Pawel Sikora
  2025-03-21 12:03 ` [PATCH i-g-t v3 1/1] " Pawel Sikora
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Pawel Sikora @ 2025-03-21 12:03 UTC (permalink / raw)
  To: igt-dev
  Cc: Kamil Konieczny, Zbigniew Kempczynski, Petri Latvala,
	Ashutosh Dixit

Add a fix for proper log collection from child processes by the IGT runner.

This change addresses the issue of missing logs for child
processes in the IGT runner:
https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/2178

The '_igt_log_buffer_dump()' function is now called before
exiting child processes, ensuring that logs are properly
captured and not lost when IGT fails and child processes
dump logs before exiting.

Also, removing unnecessary comment about silent exit.

v2: Make the dump conditional based on active comms (Kamil)
v3: add info about closing issue 2178 in xe kernel

Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/2178

Pawel Sikora (1):
  lib/igt_core: capture logs for child processes

 lib/igt_core.c | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-03-24 11:02 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-21 12:03 [PATCH i-g-t v3 0/1] lib/igt_core: capture logs for child processes Pawel Sikora
2025-03-21 12:03 ` [PATCH i-g-t v3 1/1] " Pawel Sikora
2025-03-21 18:28   ` Kamil Konieczny
2025-03-21 20:15 ` ✓ Xe.CI.BAT: success for lib/igt_core: capture logs for child processes (rev4) Patchwork
2025-03-21 20:19 ` ✓ i915.CI.BAT: " Patchwork
2025-03-21 22:14 ` ✗ Xe.CI.Full: failure " Patchwork
2025-03-24 11:02   ` Pawel Sikora
2025-03-22  0:48 ` ✗ i915.CI.Full: " Patchwork
2025-03-24 11:00   ` Pawel Sikora

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox