Details
-
Bug
-
Resolution: External
-
P4
-
None
-
21
-
x86_64
-
linux
Description
The following three tests timed out in the JDK21 CI:
com/sun/jdi/SourceNameFilterTest.java
com/sun/jdi/SetLocalWhileThreadInNative.java
com/sun/jdi/OomDebugTest.java
Here's a snippet from the SourceNameFilterTest.java log file:
#section:compile
----------messages:(11/494)----------
command: compile -g:none /opt/mach5/mesos/work_dir/jib-master/install/jdk-21+27-2332/src.full/open/test/jdk/com/sun/jdi/SourceNameFilterTest.java
reason: User specified action: run compile -g:none SourceNameFilterTest.java
started: Fri Jun 16 06:38:13 UTC 2023
Additional options from @modules: --add-modules jdk.jdi
Mode: agentvm
Agent id: 18
Timeout refired 1200 times
Timeout information:
--- Timeout information end.
finished: Fri Jun 16 08:27:31 UTC 2023
elapsed time (seconds): 6558.107
----------configuration:(10/1074)----------
<snip>
result: Error. Agent error: java.lang.Exception: Agent 18 timed out with a timeout of 1200 seconds; check console log for any additional details
Please note that SourceNameFilterTest.java timed out during the
compilation phase of the test.
Here's a log file snippet from the WhileThreadInNative.java log file:
#section:driver
----------messages:(10/599)----------
command: driver SetLocalWhileThreadInNative -Xbatch -XX:-TieredCompilation -XX:CICompilerCount=1 -XX:+UnlockDiagnosticVMOptions -XX:CompilerDirectivesFile=compilerDirectives.json
reason: User specified action: run driver SetLocalWhileThreadInNative -Xbatch -XX:-TieredCompilation -XX:CICompilerCount=1 -XX:+UnlockDiagnosticVMOptions -XX:CompilerDirectivesFile=compilerDirectives.json
started: Fri Jun 16 06:38:13 UTC 2023
Mode: agentvm
Agent id: 49
Timeout refired 1200 times
Timeout information:
--- Timeout information end.
finished: Fri Jun 16 08:27:57 UTC 2023
elapsed time (seconds): 6584.284
----------configuration:(14/1821)----------
<snip>
----------System.out:(24/1532)----------
vmOpts: '-Xmx768m -XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/20/36/bundles/linux-x64/jdk-20_linux-x64_bin.tar.gz/jdk-20 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/741e9afd-8c02-45c3-b2e2-9db1450d0832-S96179/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/3d9cafac-13d3-406b-b20e-28d1b44df910/runs/3e1f225e-3355-4879-9627-3507fd0fc738/testoutput/test-support/jtreg_open_test_jdk_jdk_jdi/tmp -ea -esa'
javaOpts: '-Xcomp -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:-TieredCompilation -XX:-DoEscapeAnalysis'
JVM version:21-ea
1 compiler directives added
JDI version: 21.0
JVM description: Java Debug Interface (Reference Implementation) version 21.0
Java Debug Wire Protocol (Reference Implementation) version 21.0
JVM Debug Interface version 21.0
JVM version 21-ea (Java HotSpot(TM) 64-Bit Server VM, compiled mode, sharing)
SetLocalWhileThreadInNativeTarget is up and running.
Called test method 16384 times
Called test method 32768 times
debugee has read 43776 of 100000
Called test method 49152 times
Called test method 65536 times
Called test method 81920 times
Called test method 98304 times
debugee has read 100000 of 100000
Debuggee Stack:
frame[0]: java.io.FileInputStream.read0()
frame[1]: java.io.FileInputStream.read()
frame[2]: SetLocalWhileThreadInNativeTarget.dontinline_testMethod()
frame[3]: SetLocalWhileThreadInNativeTarget.main(java.lang.String[])
Debuggee: received STOP message
----------System.err:(5/275)----------
[2ms] run args: [-Xbatch, -XX:-TieredCompilation, -XX:CICompilerCount=1, -XX:+UnlockDiagnosticVMOptions, -XX:CompilerDirectivesFile=compilerDirectives.json, SetLocalWhileThreadInNativeTarget]
[6406750ms] SetLocalWhileThreadInNative: passed
JavaTest Message: Test complete.
result: Error. Agent error: java.lang.Exception: Agent 49 timed out with a timeout of 1200 seconds; check console log for any additional details
The WhileThreadInNative.java failure looks like the test
finished based on this mess: "Debuggee: received STOP message"
but the JTREG agent still timed out.
Here's a log file snippet from the OomDebugTest.java log file:
#section:main
----------messages:(10/345)----------
command: main OomDebugTest OomDebugTestTarget test4
reason: User specified action: run main OomDebugTest OomDebugTestTarget test4
started: Fri Jun 16 06:33:01 UTC 2023
Mode: agentvm
Agent id: 39
Timeout refired 1200 times
Timeout information:
--- Timeout information end.
finished: Fri Jun 16 08:27:31 UTC 2023
elapsed time (seconds): 6870.294
----------configuration:(14/1813)----------
<snip>
----------System.out:(43/1918)----------
vmOpts: '-Xmx40m'
javaOpts: '-Xcomp -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:-TieredCompilation -XX:-DoEscapeAnalysis'
JVM version:21-ea
JDI version: 21.0
JVM description: Java Debug Interface (Reference Implementation) version 21.0
Java Debug Wire Protocol (Reference Implementation) version 21.0
JVM Debug Interface version 21.0
JVM version 21-ea (Java HotSpot(TM) 64-Bit Server VM, compiled mode, sharing)
DEBUG: OomDebugTestTarget.main
DEBUG: invoked constructor
DEBUG: ------------> Running test4
DEBUG: invoked 'FooCls testFooClsRetval()'
DEBUG: Done invoking method via debugger.
DEBUG: invoked 'FooCls testFooClsRetval()'
DEBUG: Done invoking method via debugger.
DEBUG: invoked 'FooCls testFooClsRetval()'
DEBUG: Done invoking method via debugger.
DEBUG: invoked 'FooCls testFooClsRetval()'
DEBUG: Done invoking method via debugger.
DEBUG: invoked 'FooCls testFooClsRetval()'
DEBUG: Done invoking method via debugger.
DEBUG: invoked 'FooCls testFooClsRetval()'
DEBUG: Done invoking method via debugger.
DEBUG: invoked 'FooCls testFooClsRetval()'
DEBUG: Done invoking method via debugger.
DEBUG: invoked 'FooCls testFooClsRetval()'
DEBUG: Done invoking method via debugger.
DEBUG: invoked 'FooCls testFooClsRetval()'
DEBUG: Done invoking method via debugger.
DEBUG: invoked 'FooCls testFooClsRetval()'
DEBUG: Done invoking method via debugger.
DEBUG: invoked 'FooCls testFooClsRetval()'
DEBUG: Done invoking method via debugger.
DEBUG: invoked 'FooCls testFooClsRetval()'
DEBUG: Done invoking method via debugger.
DEBUG: invoked 'FooCls testFooClsRetval()'
DEBUG: Done invoking method via debugger.
DEBUG: invoked 'FooCls testFooClsRetval()'
DEBUG: Done invoking method via debugger.
DEBUG: invoked 'FooCls testFooClsRetval()'
DEBUG: Done invoking method via debugger.
DEBUG: Finished running test 'test4'.
DEBUG: More tests to run. Coninuing.
----------System.err:(4/100)----------
[16ms] run args: [OomDebugTestTarget, OomDebugTestTarget, test4]
JavaTest Message: Test complete.
result: Error. Agent error: java.lang.Exception: Agent 39 timed out with a timeout of 1200 seconds; check console log for any additional details
The OomDebugTest.java log looks like a "normal" ran-out-of-time
test failure.
com/sun/jdi/SourceNameFilterTest.java
com/sun/jdi/SetLocalWhileThreadInNative.java
com/sun/jdi/OomDebugTest.java
Here's a snippet from the SourceNameFilterTest.java log file:
#section:compile
----------messages:(11/494)----------
command: compile -g:none /opt/mach5/mesos/work_dir/jib-master/install/jdk-21+27-2332/src.full/open/test/jdk/com/sun/jdi/SourceNameFilterTest.java
reason: User specified action: run compile -g:none SourceNameFilterTest.java
started: Fri Jun 16 06:38:13 UTC 2023
Additional options from @modules: --add-modules jdk.jdi
Mode: agentvm
Agent id: 18
Timeout refired 1200 times
Timeout information:
--- Timeout information end.
finished: Fri Jun 16 08:27:31 UTC 2023
elapsed time (seconds): 6558.107
----------configuration:(10/1074)----------
<snip>
result: Error. Agent error: java.lang.Exception: Agent 18 timed out with a timeout of 1200 seconds; check console log for any additional details
Please note that SourceNameFilterTest.java timed out during the
compilation phase of the test.
Here's a log file snippet from the WhileThreadInNative.java log file:
#section:driver
----------messages:(10/599)----------
command: driver SetLocalWhileThreadInNative -Xbatch -XX:-TieredCompilation -XX:CICompilerCount=1 -XX:+UnlockDiagnosticVMOptions -XX:CompilerDirectivesFile=compilerDirectives.json
reason: User specified action: run driver SetLocalWhileThreadInNative -Xbatch -XX:-TieredCompilation -XX:CICompilerCount=1 -XX:+UnlockDiagnosticVMOptions -XX:CompilerDirectivesFile=compilerDirectives.json
started: Fri Jun 16 06:38:13 UTC 2023
Mode: agentvm
Agent id: 49
Timeout refired 1200 times
Timeout information:
--- Timeout information end.
finished: Fri Jun 16 08:27:57 UTC 2023
elapsed time (seconds): 6584.284
----------configuration:(14/1821)----------
<snip>
----------System.out:(24/1532)----------
vmOpts: '-Xmx768m -XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/20/36/bundles/linux-x64/jdk-20_linux-x64_bin.tar.gz/jdk-20 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/741e9afd-8c02-45c3-b2e2-9db1450d0832-S96179/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/3d9cafac-13d3-406b-b20e-28d1b44df910/runs/3e1f225e-3355-4879-9627-3507fd0fc738/testoutput/test-support/jtreg_open_test_jdk_jdk_jdi/tmp -ea -esa'
javaOpts: '-Xcomp -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:-TieredCompilation -XX:-DoEscapeAnalysis'
JVM version:21-ea
1 compiler directives added
JDI version: 21.0
JVM description: Java Debug Interface (Reference Implementation) version 21.0
Java Debug Wire Protocol (Reference Implementation) version 21.0
JVM Debug Interface version 21.0
JVM version 21-ea (Java HotSpot(TM) 64-Bit Server VM, compiled mode, sharing)
SetLocalWhileThreadInNativeTarget is up and running.
Called test method 16384 times
Called test method 32768 times
debugee has read 43776 of 100000
Called test method 49152 times
Called test method 65536 times
Called test method 81920 times
Called test method 98304 times
debugee has read 100000 of 100000
Debuggee Stack:
frame[0]: java.io.FileInputStream.read0()
frame[1]: java.io.FileInputStream.read()
frame[2]: SetLocalWhileThreadInNativeTarget.dontinline_testMethod()
frame[3]: SetLocalWhileThreadInNativeTarget.main(java.lang.String[])
Debuggee: received STOP message
----------System.err:(5/275)----------
[2ms] run args: [-Xbatch, -XX:-TieredCompilation, -XX:CICompilerCount=1, -XX:+UnlockDiagnosticVMOptions, -XX:CompilerDirectivesFile=compilerDirectives.json, SetLocalWhileThreadInNativeTarget]
[6406750ms] SetLocalWhileThreadInNative: passed
JavaTest Message: Test complete.
result: Error. Agent error: java.lang.Exception: Agent 49 timed out with a timeout of 1200 seconds; check console log for any additional details
The WhileThreadInNative.java failure looks like the test
finished based on this mess: "Debuggee: received STOP message"
but the JTREG agent still timed out.
Here's a log file snippet from the OomDebugTest.java log file:
#section:main
----------messages:(10/345)----------
command: main OomDebugTest OomDebugTestTarget test4
reason: User specified action: run main OomDebugTest OomDebugTestTarget test4
started: Fri Jun 16 06:33:01 UTC 2023
Mode: agentvm
Agent id: 39
Timeout refired 1200 times
Timeout information:
--- Timeout information end.
finished: Fri Jun 16 08:27:31 UTC 2023
elapsed time (seconds): 6870.294
----------configuration:(14/1813)----------
<snip>
----------System.out:(43/1918)----------
vmOpts: '-Xmx40m'
javaOpts: '-Xcomp -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:-TieredCompilation -XX:-DoEscapeAnalysis'
JVM version:21-ea
JDI version: 21.0
JVM description: Java Debug Interface (Reference Implementation) version 21.0
Java Debug Wire Protocol (Reference Implementation) version 21.0
JVM Debug Interface version 21.0
JVM version 21-ea (Java HotSpot(TM) 64-Bit Server VM, compiled mode, sharing)
DEBUG: OomDebugTestTarget.main
DEBUG: invoked constructor
DEBUG: ------------> Running test4
DEBUG: invoked 'FooCls testFooClsRetval()'
DEBUG: Done invoking method via debugger.
DEBUG: invoked 'FooCls testFooClsRetval()'
DEBUG: Done invoking method via debugger.
DEBUG: invoked 'FooCls testFooClsRetval()'
DEBUG: Done invoking method via debugger.
DEBUG: invoked 'FooCls testFooClsRetval()'
DEBUG: Done invoking method via debugger.
DEBUG: invoked 'FooCls testFooClsRetval()'
DEBUG: Done invoking method via debugger.
DEBUG: invoked 'FooCls testFooClsRetval()'
DEBUG: Done invoking method via debugger.
DEBUG: invoked 'FooCls testFooClsRetval()'
DEBUG: Done invoking method via debugger.
DEBUG: invoked 'FooCls testFooClsRetval()'
DEBUG: Done invoking method via debugger.
DEBUG: invoked 'FooCls testFooClsRetval()'
DEBUG: Done invoking method via debugger.
DEBUG: invoked 'FooCls testFooClsRetval()'
DEBUG: Done invoking method via debugger.
DEBUG: invoked 'FooCls testFooClsRetval()'
DEBUG: Done invoking method via debugger.
DEBUG: invoked 'FooCls testFooClsRetval()'
DEBUG: Done invoking method via debugger.
DEBUG: invoked 'FooCls testFooClsRetval()'
DEBUG: Done invoking method via debugger.
DEBUG: invoked 'FooCls testFooClsRetval()'
DEBUG: Done invoking method via debugger.
DEBUG: invoked 'FooCls testFooClsRetval()'
DEBUG: Done invoking method via debugger.
DEBUG: Finished running test 'test4'.
DEBUG: More tests to run. Coninuing.
----------System.err:(4/100)----------
[16ms] run args: [OomDebugTestTarget, OomDebugTestTarget, test4]
JavaTest Message: Test complete.
result: Error. Agent error: java.lang.Exception: Agent 39 timed out with a timeout of 1200 seconds; check console log for any additional details
The OomDebugTest.java log looks like a "normal" ran-out-of-time
test failure.