Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 0/1] Runner: sync files and dirs after execution
@ 2025-04-09 12:55 Kamil Konieczny
  2025-04-09 12:55 ` [PATCH i-g-t 1/1] runner/executor: sync outputs after tests end Kamil Konieczny
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Kamil Konieczny @ 2025-04-09 12:55 UTC (permalink / raw)
  To: igt-dev; +Cc: Kamil Konieczny, Krzysztof Karas, Peter Senna Tschudin

In runs with crashes or reboots some dmesg files collected by
igt_runner are truncated. They are saved in folders NNN/ where NNN
is a number of a test in testlist, started with 0.

If such crash happens then after a reboot one could run igt_result
to recreate valid result.json file. It turns out that few last tests
are marked as incompletes, as their NNN/dmesg.txt files are cut.

Try to remediate this and make additional file and dir sync to disk
just after a test was run. This should help us unless there is a
bug in kernel filesystem code.

For reference these problems could be seen in:

https://intel-gfx-ci.01.org/tree/drm-tip/IGT_8281/shard-dg2-10/igt@gem_ctx_shared@q-smoketest@ccs0.html

https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8271/shard-dg2-435/igt@xe_exec_compute_mode@many-userptr-invalidate-race.html

Cc: Krzysztof Karas <krzysztof.karas@intel.com>
Cc: Peter Senna Tschudin <peter.senna@linux.intel.com>

Kamil Konieczny (1):
  runner/executor: sync outputs after tests end

 runner/executor.c | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

-- 
2.49.0


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

end of thread, other threads:[~2025-04-10 10:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-09 12:55 [PATCH i-g-t 0/1] Runner: sync files and dirs after execution Kamil Konieczny
2025-04-09 12:55 ` [PATCH i-g-t 1/1] runner/executor: sync outputs after tests end Kamil Konieczny
2025-04-09 13:57   ` [i-g-t,1/1] " Knop, Ryszard
2025-04-10  9:12   ` [PATCH i-g-t 1/1] " Peter Senna Tschudin
2025-04-09 13:47 ` ✓ i915.CI.BAT: success for Runner: sync files and dirs after execution Patchwork
2025-04-09 14:01 ` ✓ Xe.CI.BAT: " Patchwork
2025-04-09 15:43 ` ✓ Xe.CI.Full: " Patchwork
2025-04-09 23:08 ` ✗ i915.CI.Full: failure " Patchwork
2025-04-10 10:15   ` Kamil Konieczny

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