Details
-
Bug
-
Resolution: Fixed
-
P4
-
13
-
b20
-
x86_64
-
linux
Description
The following test failed in the JDK13 CI:
runtime/Shutdown/ShutdownTest.java
Here's a snippet of the log file:
----------System.out:(1/1363)----------
Command line: [/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-13-929/linux-x64-debug.jdk/jdk-13/fastdebug/bin/java -cp /scratch/opt/mach5/mesos/work_dir/slaves/df27b84d-b5c1-4760-9e48-df95fd33274c-S221/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/c6850648-dfd3-45b4-a385-648d20bc66e5/runs/8e617429-ccf5-4569-8ee1-c1a712568b0c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/classes/0/runtime/Shutdown/ShutdownTest.d:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-13-929/src.full/open/test/hotspot/jtreg/runtime/Shutdown:/scratch/opt/mach5/mesos/work_dir/slaves/df27b84d-b5c1-4760-9e48-df95fd33274c-S221/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/c6850648-dfd3-45b4-a385-648d20bc66e5/runs/8e617429-ccf5-4569-8ee1-c1a712568b0c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/classes/0/test/lib:/scratch/opt/mach5/mesos/work_dir/jib-master/install/java/re/jtreg/4.2/promoted/all/b14/bundles/jtreg_bin-4.2.zip/jtreg/lib/javatest.jar:/scratch/opt/mach5/mesos/work_dir/jib-master/install/java/re/jtreg/4.2/promoted/all/b14/bundles/jtreg_bin-4.2.zip/jtreg/lib/jtreg.jar -XX:MaxRAMPercentage=8 -XX:+UnlockExperimentalVMOptions -XX:+UseZGC -XX:+IgnoreUnrecognizedVMOptions -Xmx2500k -XX:+UnlockDiagnosticVMOptions -XX:+VerifyBeforeExit ShutdownTest$ShutdownTestThread ]
----------System.err:(21/991)----------
stdout: [Error occurred during initialization of VM
java.lang.OutOfMemoryError: Java heap too small
];
stderr: []
exitValue = 1
java.lang.RuntimeException: '- ShutdownTest -' missing from stdout/stderr
at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:162)
at ShutdownTest.startVM(ShutdownTest.java:73)
at ShutdownTest.main(ShutdownTest.java:88)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
at java.base/java.lang.Thread.run(Thread.java:830)
JavaTest Message: Test threw exception: java.lang.RuntimeException
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: '- ShutdownTest -' missing from stdout/stderr
test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: '- ShutdownTest -' missing from stdout/stderr
The following two options caught my eye: -Xmx2500k -XX:+UseZGC
Don't know if that config might be the cause, but...
runtime/Shutdown/ShutdownTest.java
Here's a snippet of the log file:
----------System.out:(1/1363)----------
Command line: [/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-13-929/linux-x64-debug.jdk/jdk-13/fastdebug/bin/java -cp /scratch/opt/mach5/mesos/work_dir/slaves/df27b84d-b5c1-4760-9e48-df95fd33274c-S221/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/c6850648-dfd3-45b4-a385-648d20bc66e5/runs/8e617429-ccf5-4569-8ee1-c1a712568b0c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/classes/0/runtime/Shutdown/ShutdownTest.d:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-13-929/src.full/open/test/hotspot/jtreg/runtime/Shutdown:/scratch/opt/mach5/mesos/work_dir/slaves/df27b84d-b5c1-4760-9e48-df95fd33274c-S221/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/c6850648-dfd3-45b4-a385-648d20bc66e5/runs/8e617429-ccf5-4569-8ee1-c1a712568b0c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/classes/0/test/lib:/scratch/opt/mach5/mesos/work_dir/jib-master/install/java/re/jtreg/4.2/promoted/all/b14/bundles/jtreg_bin-4.2.zip/jtreg/lib/javatest.jar:/scratch/opt/mach5/mesos/work_dir/jib-master/install/java/re/jtreg/4.2/promoted/all/b14/bundles/jtreg_bin-4.2.zip/jtreg/lib/jtreg.jar -XX:MaxRAMPercentage=8 -XX:+UnlockExperimentalVMOptions -XX:+UseZGC -XX:+IgnoreUnrecognizedVMOptions -Xmx2500k -XX:+UnlockDiagnosticVMOptions -XX:+VerifyBeforeExit ShutdownTest$ShutdownTestThread ]
----------System.err:(21/991)----------
stdout: [Error occurred during initialization of VM
java.lang.OutOfMemoryError: Java heap too small
];
stderr: []
exitValue = 1
java.lang.RuntimeException: '- ShutdownTest -' missing from stdout/stderr
at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:162)
at ShutdownTest.startVM(ShutdownTest.java:73)
at ShutdownTest.main(ShutdownTest.java:88)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
at java.base/java.lang.Thread.run(Thread.java:830)
JavaTest Message: Test threw exception: java.lang.RuntimeException
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: '- ShutdownTest -' missing from stdout/stderr
test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: '- ShutdownTest -' missing from stdout/stderr
The following two options caught my eye: -Xmx2500k -XX:+UseZGC
Don't know if that config might be the cause, but...