RFR: 8367365: java/math/BigInteger/BigIntegerTest.java failed in jtreg timeout
Raffaello Giulietti
rgiulietti at openjdk.org
Thu Sep 11 13:12:21 UTC 2025
On Thu, 11 Sep 2025 12:56:33 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:
>> Yes - the observed timeout was 120s - so it must have been the first `@run`. That first `@run` was added by [JDK-8078672](https://bugs.openjdk.org/browse/JDK-8078672) - I'm not sure why - that might have been a left over from debugging...
>
> Hello Raffaello,
>
>> The JBS issue shows a timeout after 120 seconds, so I guess this was due to the first @run line without an explicit timeout.
>
> More as a general note than a review of this change - when a test action times out, jtreg prints the timeout information in that test action's "section" (each test action has a "section" of its own in the jtr report file). That section will additionally also include the literal definition of the test action. In the case of this timeout failure that happened in our CI, that section looks like:
>
>
> #section:main
> ----------messages:(11/327)----------
> command: main BigIntegerTest
> reason: User specified action: run main BigIntegerTest
> started: Wed Sep 10 17:58:16 UTC 2025
> ...
> Timeout signalled after 120 seconds
> Timeout information:
> --- Timeout information end.
> finished: Wed Sep 10 18:01:11 UTC 2025
> elapsed time (seconds): 174.678
>
> Notice the "reason" in that section, that's where the test action's literal definition is printed. In this case (as you note), it was the `@run main BigIntegerTest` which timed out.
Thank Jai for the explanation.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27211#discussion_r2340781288
More information about the core-libs-dev
mailing list