[PATCH i-g-t 0/1] Runner: sync files and dirs after execution
Kamil Konieczny
kamil.konieczny at linux.intel.com
Wed Apr 9 12:55:42 UTC 2025
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 at intel.com>
Cc: Peter Senna Tschudin <peter.senna at 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
More information about the igt-dev
mailing list