Bug 20955 – Test suite times out running tests in dmd/test, but leaves no clue which test hung

Status
NEW
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2020-06-19T00:20:30Z
Last change time
2024-12-13T19:09:25Z
Keywords
TestSuite
Assigned to
No Owner
Creator
Walter Bright
Moved to GitHub: dmd#19726 →

Comments

Comment #0 by bugzilla — 2020-06-19T00:20:30Z
The end of the log looks like this: -------------- ... fail_compilation\warn12809.d -verrors=0 -o- -w () ... fail_compilation\widechars.d -verrors=0 ()!!! [DISABLED on win32] ... fail_compilation\warn13679.d -verrors=0 -w () ... fail_compilation\warn7444.d -verrors=0 -w () ... dshell/dll.d !!! dshell/dll.d is disabled! ... dshell/cpp_header_gen.d !!! dshell/cpp_header_gen.d is disabled! ... dshell/depsprot.d ... dshell/issue20444_SOURCE_DATE_EPOCH.d ... dshell/linker_flag_with_spaces.d !!! dshell/linker_flag_with_spaces.d is disabled! ... dshell/test6952.d !!! dshell/test6952.d is disabled! ... dshell/test9377.d ... dshell/sameenv.d ... dshell/test_shared.d !!! dshell/test_shared.d is disabled! timed out after 3600 seconds, step failed --------------- Can't tell which test hung because these thousand or so tests are run in multiple threads and it doesn't say which hung.
Comment #1 by bugzilla — 2020-06-19T00:21:06Z
Comment #2 by dlang-bugzilla — 2020-08-05T10:54:49Z
Looking at the related code, it doesn't seem like any particular test timed out; rather, the entire test execution timed out. https://github.com/braddr/at-client/blob/8a2a2743716fcfde13d5ab0856bd4b5a0e403851/src/driver-v5.sh#L235 It would be nice to have some timestamps displaying how long each step took. E.g., the output could be piped through the `ts` utility: https://linux.die.net/man/1/ts Here is a D implementation: https://github.com/CyberShadow/misc/blob/master/ts.d
Comment #3 by pro.mathias.lang — 2021-01-09T11:18:19Z
Moving from tools to DMD.
Comment #4 by robert.schadek — 2024-12-13T19:09:25Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/19726 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB