RFR: 8320691: Timeout handler on Windows takes 2 hours to complete

Jaikiran Pai jpai at openjdk.org
Fri Nov 24 09:20:11 UTC 2023


On Fri, 24 Nov 2023 09:05:15 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

> Notice the absence of "params" part in that key. I wonder if that is playing a role here and whether we should fix this key.

Actually ignore that part. I had a look at the internal logs that you referenced. It appears that this form of specifying the timeout (through the use of `params` key) seems to work too. The reason why it took 2 hours is because it ran that command against 2 separate processes and each one timed out after one hour:


[2023-11-23 21:45:40] [cdb.exe, -c, ".dump, /f, core.12345;qd", -p, 12345] timeout=3600000
...
0:001> WARNING: tool timed out: killed process after 3600000 ms
----------------------------------------
[2023-11-23 22:45:40] exit code: -2 time: 3600006 ms
----------------------------------------


----------------------------------------
[2023-11-23 22:47:36] [cdb.exe, -c, ".dump, /f, core.6789;qd", -p, 6789] timeout=3600000
----------------------------------------

...
0:063> WARNING: tool timed out: killed process after 3600000 ms
----------------------------------------
[2023-11-23 23:47:36] exit code: -2 time: 3599996 ms
----------------------------------------

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/16806#discussion_r1404118909


More information about the build-dev mailing list