Skip to content

Fix ptest timeout errors

Joshua Watt yocto 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5Revert "Change test timeout to be total elapsed time"tests/data/hang/ptest/run-ptest tests/utils.c utils.c+12 -140 replies
2/5Only collect system state on timeoututils.c+11 -140 replies
3/5Report test failure on timeoututils.c+12 -150 replies
4/5Remove _child_reader singletonutils.c+48 -600 replies
5/5Flush stdout and stderr after testutils.c+6 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [ptest-runner][PATCH 0/5] Fix ptest timeout errors

e50f217 ("Change test timeout to be total elapsed time") was misguided in that the timeout is actually the timeout between receiving output from the process and not the total test timeout. Fix this and also a few other bugs that were noticed as being different between the old ptest-runner and the new one.

Joshua Watt (5):
Revert "Change test timeout to be total elapsed time" Only collect system state on timeout
Report test failure on timeout
Remove _child_reader singleton
Flush stdout and stderr after test

 tests/data/hang/ptest/run-ptest |   1 -
 tests/utils.c                   |   2 +-
 utils.c                         | 179 +++++++++++++++-----------------
 3 files changed, 84 insertions(+), 98 deletions(-)
Signature · 1 line
2.33.0