-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
18
-
x86_64
-
windows
The following test timed out in the JDK18 CI:
jdk/jfr/startupargs/TestMemoryOptions.java
Here's a snippet from the log file:
#section:main
----------messages:(9/395)----------
command: main jdk.jfr.startupargs.TestMemoryOptions
reason: User specified action: run main/timeout=900 jdk.jfr.startupargs.TestMemoryOptions
Mode: agentvm
Agent id: 32
Additional exports to unnamed modules from @modules: jdk.jfr/jdk.jfr.internal java.base/jdk.internal.misc
Timeout refired 3600 times
Timeout information:
--- Timeout information end.
elapsed time (seconds): 3641.131
----------configuration:(18/1571)*----------
Boot Layer
class path: C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6\\1\\bundles\\jtreg-6+1.zip\\jtreg\\lib\\javatest.jar
C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6\\1\\bundles\\jtreg-6+1.zip\\jtreg\\lib\\jtreg.jar
C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6\\1\\bundles\\jtreg-6+1.zip\\jtreg\\lib\\junit.jar
C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6\\1\\bundles\\jtreg-6+1.zip\\jtreg\\lib\\hamcrest.jar
C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6\\1\\bundles\\jtreg-6+1.zip\\jtreg\\lib\\testng.jar
C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6\\1\\bundles\\jtreg-6+1.zip\\jtreg\\lib\\jcommander.jar
C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6\\1\\bundles\\jtreg-6+1.zip\\jtreg\\lib\\guice.jar
patch: java.base T:\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_jfr\\patches\\java.base
Test Layer
add exports: java.base/jdk.internal.misc ALL-UNNAMED
jdk.jfr/jdk.jfr.internal ALL-UNNAMED
class path: T:\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_jfr\\classes\\2\\jdk\\jfr\\startupargs\\TestMemoryOptions.d
C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-18+11-518\\src.full\\open\\test\\jdk\\jdk\\jfr\\startupargs
T:\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_jfr\\classes\\2\\test\\lib
C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-18+11-518\\src.full\\open\\test\\lib
----------rerun:(35/4803)*----------
<snip>
----------stderr:(4/484)----------
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by com.sun.javatest.regtest.agent.RegressionSecurityManager (file:/C:/ade/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/jtreg.jar)
WARNING: Please consider reporting this to the maintainers of com.sun.javatest.regtest.agent.RegressionSecurityManager
WARNING: System::setSecurityManager will be removed in a future release
----------System.out:(118/11939)*----------
Testing 24 number of testcases
Command line: [c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-18+11-518\\windows-x64-debug.jdk\\jdk-18\\fastdebug\\bin\\java.exe -cp T:\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_jfr\\classes\\2\\jdk\\jfr\\startupargs\\TestMemoryOptions.d;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-18+11-518\\src.full\\open\\test\\jdk\\jdk\\jfr\\startupargs;T:\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_jfr\\classes\\2\\test\\lib;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6\\1\\bundles\\jtreg-6+1.zip\\jtreg\\lib\\javatest.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6\\1\\bundles\\jtreg-6+1.zip\\jtreg\\lib\\jtreg.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6\\1\\bundles\\jtreg-6+1.zip\\jtreg\\lib\\junit.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6\\1\\bundles\\jtreg-6+1.zip\\jtreg\\lib\\hamcrest.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6\\1\\bundles\\jtreg-6+1.zip\\jtreg\\lib\\testng.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6\\1\\bundles\\jtreg-6+1.zip\\jtreg\\lib\\jcommander.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6\\1\\bundles\\jtreg-6+1.zip\\jtreg\\lib\\guice.jar -Xmx768m -XX:MaxRAMPercentage=4.16667 -Djava.io.tmpdir=t:\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_jfr\\tmp -ea -esa --add-exports=jdk.jfr/jdk.jfr.internal=ALL-UNNAMED --add-exports=java.base/jdk.internal.misc=ALL-UNNAMED -XX:StartFlightRecording jdk.jfr.startupargs.TestMemoryOptions$SUT DefaultOptionsPositive ]
null
SUT VM is expected to start
<snip>
Parameter name: globalbuffersize
null
Input value: N/A
Predicted to start VM: true
Parameter name: numglob
result: Error. Agent error: java.lang.Exception: Agent 32 timed out with a timeout of 3600 seconds; check console log for any additional details
test result: Error. Agent error: java.lang.Exception: Agent 32 timed out with a timeout of 3600 seconds; check console log for any additional details
It looks like the test simply took too long to run, but with a 60
minute timeout that seems like that shouldn't have happened.
jdk/jfr/startupargs/TestMemoryOptions.java
Here's a snippet from the log file:
#section:main
----------messages:(9/395)----------
command: main jdk.jfr.startupargs.TestMemoryOptions
reason: User specified action: run main/timeout=900 jdk.jfr.startupargs.TestMemoryOptions
Mode: agentvm
Agent id: 32
Additional exports to unnamed modules from @modules: jdk.jfr/jdk.jfr.internal java.base/jdk.internal.misc
Timeout refired 3600 times
Timeout information:
--- Timeout information end.
elapsed time (seconds): 3641.131
----------configuration:(18/1571)*----------
Boot Layer
class path: C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6\\1\\bundles\\jtreg-6+1.zip\\jtreg\\lib\\javatest.jar
C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6\\1\\bundles\\jtreg-6+1.zip\\jtreg\\lib\\jtreg.jar
C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6\\1\\bundles\\jtreg-6+1.zip\\jtreg\\lib\\junit.jar
C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6\\1\\bundles\\jtreg-6+1.zip\\jtreg\\lib\\hamcrest.jar
C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6\\1\\bundles\\jtreg-6+1.zip\\jtreg\\lib\\testng.jar
C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6\\1\\bundles\\jtreg-6+1.zip\\jtreg\\lib\\jcommander.jar
C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6\\1\\bundles\\jtreg-6+1.zip\\jtreg\\lib\\guice.jar
patch: java.base T:\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_jfr\\patches\\java.base
Test Layer
add exports: java.base/jdk.internal.misc ALL-UNNAMED
jdk.jfr/jdk.jfr.internal ALL-UNNAMED
class path: T:\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_jfr\\classes\\2\\jdk\\jfr\\startupargs\\TestMemoryOptions.d
C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-18+11-518\\src.full\\open\\test\\jdk\\jdk\\jfr\\startupargs
T:\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_jfr\\classes\\2\\test\\lib
C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-18+11-518\\src.full\\open\\test\\lib
----------rerun:(35/4803)*----------
<snip>
----------stderr:(4/484)----------
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by com.sun.javatest.regtest.agent.RegressionSecurityManager (file:/C:/ade/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/jtreg.jar)
WARNING: Please consider reporting this to the maintainers of com.sun.javatest.regtest.agent.RegressionSecurityManager
WARNING: System::setSecurityManager will be removed in a future release
----------System.out:(118/11939)*----------
Testing 24 number of testcases
Command line: [c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-18+11-518\\windows-x64-debug.jdk\\jdk-18\\fastdebug\\bin\\java.exe -cp T:\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_jfr\\classes\\2\\jdk\\jfr\\startupargs\\TestMemoryOptions.d;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-18+11-518\\src.full\\open\\test\\jdk\\jdk\\jfr\\startupargs;T:\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_jfr\\classes\\2\\test\\lib;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6\\1\\bundles\\jtreg-6+1.zip\\jtreg\\lib\\javatest.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6\\1\\bundles\\jtreg-6+1.zip\\jtreg\\lib\\jtreg.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6\\1\\bundles\\jtreg-6+1.zip\\jtreg\\lib\\junit.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6\\1\\bundles\\jtreg-6+1.zip\\jtreg\\lib\\hamcrest.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6\\1\\bundles\\jtreg-6+1.zip\\jtreg\\lib\\testng.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6\\1\\bundles\\jtreg-6+1.zip\\jtreg\\lib\\jcommander.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6\\1\\bundles\\jtreg-6+1.zip\\jtreg\\lib\\guice.jar -Xmx768m -XX:MaxRAMPercentage=4.16667 -Djava.io.tmpdir=t:\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_jfr\\tmp -ea -esa --add-exports=jdk.jfr/jdk.jfr.internal=ALL-UNNAMED --add-exports=java.base/jdk.internal.misc=ALL-UNNAMED -XX:StartFlightRecording jdk.jfr.startupargs.TestMemoryOptions$SUT DefaultOptionsPositive ]
null
SUT VM is expected to start
<snip>
Parameter name: globalbuffersize
null
Input value: N/A
Predicted to start VM: true
Parameter name: numglob
result: Error. Agent error: java.lang.Exception: Agent 32 timed out with a timeout of 3600 seconds; check console log for any additional details
test result: Error. Agent error: java.lang.Exception: Agent 32 timed out with a timeout of 3600 seconds; check console log for any additional details
It looks like the test simply took too long to run, but with a 60
minute timeout that seems like that shouldn't have happened.
- relates to
-
JDK-8251849 jdk/jfr/startupargs/TestDumpOnExit.java failed with "exitValue = -1073741819"
- Open