Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8298251 | 17.0.7-oracle | Dukebot | P4 | Resolved | Fixed | b01 |
JDK-8298348 | 11.0.19-oracle | Dukebot | P4 | Resolved | Fixed | b01 |
JDK-8327266 | 8u421 | Kavya K S | P4 | Resolved | Fixed | b01 |
Description
The following test failed in the JDK20 CI:
applications/dacapo/Dacapo.java
Here's a snippet from the log file:
[stress.process.err] Iteration start: MBean at Wed Sep 14 13:36:51 UTC 2022
[stress.process.err] Iteration done: MBean at Wed Sep 14 13:36:51 UTC 2022
[stress.process.err] Iteration done: Jni at Wed Sep 14 13:36:51 UTC 2022
[stress.process.err] Iteration start: Jni at Wed Sep 14 13:36:51 UTC 2022
[stress.process.err] Iteration start: Compiler at Wed Sep 14 13:36:51 UTC 2022
[stress.process.err] Unexpected Exception in thread Thread-17.
[stress.process.err] java.lang.RuntimeException: Failed to run benchmark: pmd
[stress.process.err] at applications.kitchensink.process.stress.modules.Runner$BenchmarkRunner.run(DacapoStressModule.java:171)
[stress.process.err] at java.base/java.lang.Thread.run(Thread.java:1589)
[stress.process.err] Caused by: java.lang.reflect.InvocationTargetException
[stress.process.err] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:119)
[stress.process.err] at java.base/java.lang.reflect.Method.invoke(Method.java:578)
[stress.process.err] at applications.kitchensink.process.stress.modules.Runner$BenchmarkRunner.run(DacapoStressModule.java:166)
[stress.process.err] ... 1 more
[stress.process.err] Caused by: java.lang.SecurityException: NoSystemExitSecurityManager: System.exit() is not allowed.
[stress.process.err] at applications.kitchensink.utils.NoSystemExitSecurityManager.checkExit(NoSystemExitSecurityManager.java:28)
[stress.process.err] at java.base/java.lang.Runtime.exit(Runtime.java:113)
[stress.process.err] at java.base/java.lang.System.exit(System.java:1908)
[stress.process.err] at org.dacapo.harness.TestHarness.main(TestHarness.java:184)
[stress.process.err] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
[stress.process.err] ... 3 more
[stress.process.err] Iteration done: Compiler at Wed Sep 14 13:36:51 UTC 2022
[stress.process.err] Iteration start: ThreadDumper at Wed Sep 14 13:36:51 UTC 2022
[stress.process.err] Iteration done: ThreadDumper at Wed Sep 14 13:36:51 UTC 2022
java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
at java.base/java.util.Arrays$ArrayList.get(Arrays.java:4165)
at applications.kitchensink.process.picker.modules.Toolkit$LinuxToolkit.setMetrics(MonitorPickerModule.java:223)
at applications.kitchensink.process.picker.modules.Toolkit.getSystemMetrics(MonitorPickerModule.java:123)
at applications.kitchensink.process.picker.modules.MonitorPickerModule.execute(MonitorPickerModule.java:64)
at applications.kitchensink.process.picker.modules.PickerModule.run(PickerModule.java:140)
at java.base/java.lang.Thread.run(Thread.java:1589)
[Wed Sep 14 13:37:21 UTC 2022] (1663162641683) Picker module is about to shutdown
Picker module expected time before shutdown for: Jcmd: 30s
Picker module expected time before shutdown for: Jfr: 3m 20s
Picker module expected time before shutdown for: Jstat: 5m
Picker module expected time before shutdown for: Monitor: 1m
Picker module expected time before shutdown for: NMT: 1m
Picker module expected time before shutdown for: Perfmon: 5m
Picker module finished at [Wed Sep 14 13:37:21 UTC 2022]: Monitor
Picker module finished at [Wed Sep 14 13:37:21 UTC 2022]: Perfmon
Picker module finished at [Wed Sep 14 13:37:21 UTC 2022]: Jstat
Picker module finished at [Wed Sep 14 13:37:21 UTC 2022]: Jfr
Picker module finished at [Wed Sep 14 13:37:21 UTC 2022]: Jcmd
Picker module finished at [Wed Sep 14 13:37:21 UTC 2022]: NMT
[Wed Sep 14 13:37:21 UTC 2022] (1663162641694) Picker module has been shutdown
[Wed Sep 14 13:37:21 UTC 2022] (1663162641694) Stress process is about to shutdown
Going to request to stop or kill stress process: 5348
WARNING: The process 5348 has already finished.
[Wed Sep 14 13:37:21 UTC 2022] (1663162641694) Stress process has been shutdown
[Wed Sep 14 13:37:21 UTC 2022] Execution finished.
[Wed Sep 14 13:37:21 UTC 2022] Analyzer failed with: java.lang.RuntimeException: Failed to run benchmark: pmd
at applications.kitchensink.process.stress.modules.Runner$BenchmarkRunner.run(DacapoStressModule.java:171)
at java.base/java.lang.Thread.run(Thread.java:1589)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:119)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at applications.kitchensink.process.stress.modules.Runner$BenchmarkRunner.run(DacapoStressModule.java:166)
... 1 more
Caused by: java.lang.SecurityException: NoSystemExitSecurityManager: System.exit() is not allowed.
at applications.kitchensink.utils.NoSystemExitSecurityManager.checkExit(NoSystemExitSecurityManager.java:28)
at java.base/java.lang.Runtime.exit(Runtime.java:113)
at java.base/java.lang.System.exit(System.java:1908)
at org.dacapo.harness.TestHarness.main(TestHarness.java:184)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
... 3 more
java.lang.RuntimeException: java.lang.RuntimeException: Failed to run benchmark: pmd
at applications.kitchensink.process.stress.modules.Runner$BenchmarkRunner.run(DacapoStressModule.java:171)
at java.base/java.lang.Thread.run(Thread.java:1589)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:119)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at applications.kitchensink.process.stress.modules.Runner$BenchmarkRunner.run(DacapoStressModule.java:166)
... 1 more
Caused by: java.lang.SecurityException: NoSystemExitSecurityManager: System.exit() is not allowed.
at applications.kitchensink.utils.NoSystemExitSecurityManager.checkExit(NoSystemExitSecurityManager.java:28)
at java.base/java.lang.Runtime.exit(Runtime.java:113)
at java.base/java.lang.System.exit(System.java:1908)
at org.dacapo.harness.TestHarness.main(TestHarness.java:184)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
... 3 more
at applications.kitchensink.process.glue.Main.analyzeResults(Main.java:387)
at applications.kitchensink.process.glue.Main.main(Main.java:224)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:125)
at java.base/java.lang.Thread.run(Thread.java:1589)
JavaTest Message: Test threw exception: java.lang.RuntimeException: java.lang.RuntimeException: Failed to run benchmark: pmd
at applications.kitchensink.process.stress.modules.Runner$BenchmarkRunner.run(DacapoStressModule.java:171)
at java.base/java.lang.Thread.run(Thread.java:1589)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:119)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at applications.kitchensink.process.stress.modules.Runner$BenchmarkRunner.run(DacapoStressModule.java:166)
... 1 more
Caused by: java.lang.SecurityException: NoSystemExitSecurityManager: System.exit() is not allowed.
at applications.kitchensink.utils.NoSystemExitSecurityManager.checkExit(NoSystemExitSecurityManager.java:28)
at java.base/java.lang.Runtime.exit(Runtime.java:113)
at java.base/java.lang.System.exit(System.java:1908)
at org.dacapo.harness.TestHarness.main(TestHarness.java:184)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
... 3 more
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: java.lang.RuntimeException: Failed to run benchmark: pmd at applications.kitchensink.process.stress.modules.Runner$BenchmarkRunner.run(DacapoStressModule.java:171) at java.base/java.lang.Thread.run(Thread.java:1589) Caused by: java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:119) at java.base/java.lang.reflect.Method.invoke(Method.java:578) at applications.kitchensink.process.stress.modules.Runner$BenchmarkRunner.run(DacapoStressModule.java:166) ... 1 more Caused by: java.lang.SecurityException: NoSystemExitSecurityManager: System.exit() is not allowed. at applications.kitchensink.utils.NoSystemExitSecurityManager.checkExit(NoSystemExitSecurityManager.java:28) at java.base/java.lang.Runtime.exit(Runtime.java:113) at java.base/java.lang.System.exit(System.java:1908) at org.dacapo.harness.TestHarness.main(TestHarness.java:184) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) ... 3 more
It's not clear to me whether this is an issue with the test
framework or not so I'm starting this bug in hotspot/test.
applications/dacapo/Dacapo.java
Here's a snippet from the log file:
[stress.process.err] Iteration start: MBean at Wed Sep 14 13:36:51 UTC 2022
[stress.process.err] Iteration done: MBean at Wed Sep 14 13:36:51 UTC 2022
[stress.process.err] Iteration done: Jni at Wed Sep 14 13:36:51 UTC 2022
[stress.process.err] Iteration start: Jni at Wed Sep 14 13:36:51 UTC 2022
[stress.process.err] Iteration start: Compiler at Wed Sep 14 13:36:51 UTC 2022
[stress.process.err] Unexpected Exception in thread Thread-17.
[stress.process.err] java.lang.RuntimeException: Failed to run benchmark: pmd
[stress.process.err] at applications.kitchensink.process.stress.modules.Runner$BenchmarkRunner.run(DacapoStressModule.java:171)
[stress.process.err] at java.base/java.lang.Thread.run(Thread.java:1589)
[stress.process.err] Caused by: java.lang.reflect.InvocationTargetException
[stress.process.err] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:119)
[stress.process.err] at java.base/java.lang.reflect.Method.invoke(Method.java:578)
[stress.process.err] at applications.kitchensink.process.stress.modules.Runner$BenchmarkRunner.run(DacapoStressModule.java:166)
[stress.process.err] ... 1 more
[stress.process.err] Caused by: java.lang.SecurityException: NoSystemExitSecurityManager: System.exit() is not allowed.
[stress.process.err] at applications.kitchensink.utils.NoSystemExitSecurityManager.checkExit(NoSystemExitSecurityManager.java:28)
[stress.process.err] at java.base/java.lang.Runtime.exit(Runtime.java:113)
[stress.process.err] at java.base/java.lang.System.exit(System.java:1908)
[stress.process.err] at org.dacapo.harness.TestHarness.main(TestHarness.java:184)
[stress.process.err] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
[stress.process.err] ... 3 more
[stress.process.err] Iteration done: Compiler at Wed Sep 14 13:36:51 UTC 2022
[stress.process.err] Iteration start: ThreadDumper at Wed Sep 14 13:36:51 UTC 2022
[stress.process.err] Iteration done: ThreadDumper at Wed Sep 14 13:36:51 UTC 2022
java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
at java.base/java.util.Arrays$ArrayList.get(Arrays.java:4165)
at applications.kitchensink.process.picker.modules.Toolkit$LinuxToolkit.setMetrics(MonitorPickerModule.java:223)
at applications.kitchensink.process.picker.modules.Toolkit.getSystemMetrics(MonitorPickerModule.java:123)
at applications.kitchensink.process.picker.modules.MonitorPickerModule.execute(MonitorPickerModule.java:64)
at applications.kitchensink.process.picker.modules.PickerModule.run(PickerModule.java:140)
at java.base/java.lang.Thread.run(Thread.java:1589)
[Wed Sep 14 13:37:21 UTC 2022] (1663162641683) Picker module is about to shutdown
Picker module expected time before shutdown for: Jcmd: 30s
Picker module expected time before shutdown for: Jfr: 3m 20s
Picker module expected time before shutdown for: Jstat: 5m
Picker module expected time before shutdown for: Monitor: 1m
Picker module expected time before shutdown for: NMT: 1m
Picker module expected time before shutdown for: Perfmon: 5m
Picker module finished at [Wed Sep 14 13:37:21 UTC 2022]: Monitor
Picker module finished at [Wed Sep 14 13:37:21 UTC 2022]: Perfmon
Picker module finished at [Wed Sep 14 13:37:21 UTC 2022]: Jstat
Picker module finished at [Wed Sep 14 13:37:21 UTC 2022]: Jfr
Picker module finished at [Wed Sep 14 13:37:21 UTC 2022]: Jcmd
Picker module finished at [Wed Sep 14 13:37:21 UTC 2022]: NMT
[Wed Sep 14 13:37:21 UTC 2022] (1663162641694) Picker module has been shutdown
[Wed Sep 14 13:37:21 UTC 2022] (1663162641694) Stress process is about to shutdown
Going to request to stop or kill stress process: 5348
WARNING: The process 5348 has already finished.
[Wed Sep 14 13:37:21 UTC 2022] (1663162641694) Stress process has been shutdown
[Wed Sep 14 13:37:21 UTC 2022] Execution finished.
[Wed Sep 14 13:37:21 UTC 2022] Analyzer failed with: java.lang.RuntimeException: Failed to run benchmark: pmd
at applications.kitchensink.process.stress.modules.Runner$BenchmarkRunner.run(DacapoStressModule.java:171)
at java.base/java.lang.Thread.run(Thread.java:1589)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:119)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at applications.kitchensink.process.stress.modules.Runner$BenchmarkRunner.run(DacapoStressModule.java:166)
... 1 more
Caused by: java.lang.SecurityException: NoSystemExitSecurityManager: System.exit() is not allowed.
at applications.kitchensink.utils.NoSystemExitSecurityManager.checkExit(NoSystemExitSecurityManager.java:28)
at java.base/java.lang.Runtime.exit(Runtime.java:113)
at java.base/java.lang.System.exit(System.java:1908)
at org.dacapo.harness.TestHarness.main(TestHarness.java:184)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
... 3 more
java.lang.RuntimeException: java.lang.RuntimeException: Failed to run benchmark: pmd
at applications.kitchensink.process.stress.modules.Runner$BenchmarkRunner.run(DacapoStressModule.java:171)
at java.base/java.lang.Thread.run(Thread.java:1589)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:119)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at applications.kitchensink.process.stress.modules.Runner$BenchmarkRunner.run(DacapoStressModule.java:166)
... 1 more
Caused by: java.lang.SecurityException: NoSystemExitSecurityManager: System.exit() is not allowed.
at applications.kitchensink.utils.NoSystemExitSecurityManager.checkExit(NoSystemExitSecurityManager.java:28)
at java.base/java.lang.Runtime.exit(Runtime.java:113)
at java.base/java.lang.System.exit(System.java:1908)
at org.dacapo.harness.TestHarness.main(TestHarness.java:184)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
... 3 more
at applications.kitchensink.process.glue.Main.analyzeResults(Main.java:387)
at applications.kitchensink.process.glue.Main.main(Main.java:224)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:125)
at java.base/java.lang.Thread.run(Thread.java:1589)
JavaTest Message: Test threw exception: java.lang.RuntimeException: java.lang.RuntimeException: Failed to run benchmark: pmd
at applications.kitchensink.process.stress.modules.Runner$BenchmarkRunner.run(DacapoStressModule.java:171)
at java.base/java.lang.Thread.run(Thread.java:1589)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:119)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at applications.kitchensink.process.stress.modules.Runner$BenchmarkRunner.run(DacapoStressModule.java:166)
... 1 more
Caused by: java.lang.SecurityException: NoSystemExitSecurityManager: System.exit() is not allowed.
at applications.kitchensink.utils.NoSystemExitSecurityManager.checkExit(NoSystemExitSecurityManager.java:28)
at java.base/java.lang.Runtime.exit(Runtime.java:113)
at java.base/java.lang.System.exit(System.java:1908)
at org.dacapo.harness.TestHarness.main(TestHarness.java:184)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
... 3 more
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: java.lang.RuntimeException: Failed to run benchmark: pmd at applications.kitchensink.process.stress.modules.Runner$BenchmarkRunner.run(DacapoStressModule.java:171) at java.base/java.lang.Thread.run(Thread.java:1589) Caused by: java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:119) at java.base/java.lang.reflect.Method.invoke(Method.java:578) at applications.kitchensink.process.stress.modules.Runner$BenchmarkRunner.run(DacapoStressModule.java:166) ... 1 more Caused by: java.lang.SecurityException: NoSystemExitSecurityManager: System.exit() is not allowed. at applications.kitchensink.utils.NoSystemExitSecurityManager.checkExit(NoSystemExitSecurityManager.java:28) at java.base/java.lang.Runtime.exit(Runtime.java:113) at java.base/java.lang.System.exit(System.java:1908) at org.dacapo.harness.TestHarness.main(TestHarness.java:184) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) ... 3 more
It's not clear to me whether this is an issue with the test
framework or not so I'm starting this bug in hotspot/test.
Attachments
Issue Links
- backported by
-
JDK-8298251 Dacapo.java failed with "RuntimeException: Failed to run benchmark: pmd"
- Resolved
-
JDK-8298348 Dacapo.java failed with "RuntimeException: Failed to run benchmark: pmd"
- Resolved
-
JDK-8327266 Dacapo.java failed with "RuntimeException: Failed to run benchmark: pmd"
- Resolved