The following test failed in the JDK19 CI:
applications/renaissance/RenaissanceStressTest.java
Here's a snippet from the log file:
[stress.process.err] --------------------------------------------------------------------------------
[stress.process.err] Unexpected Exception in thread RenaissanceStressModule.
[stress.process.err] java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
[stress.process.err] at applications.kitchensink.process.stress.modules.StressModule.run(StressModule.java:112)
[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.RenaissanceStressModule.execute(RenaissanceStressModule.java:91)
[stress.process.err] at applications.kitchensink.process.stress.modules.StressModule.run(StressModule.java:99)
[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:1906)
[stress.process.err] at org.renaissance.core.Launcher.launchHarnessClass(Launcher.java:45)
[stress.process.err] at org.renaissance.core.Launcher.main(Launcher.java:25)
[stress.process.err] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
[stress.process.err] ... 4 more
[stress.process.err] Iteration done: ThreadDumper at Fri Jul 08 05:30:51 UTC 2022
[stress.process.err] Jul 08, 2022 5:30:51 AM org.renaissance.core.Launcher launchHarnessClass
[stress.process.err] SEVERE: Harness failed with exception: 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:1906)
[stress.process.err] at scala.sys.package$.exit(package.scala:43)
[stress.process.err] at org.renaissance.harness.RenaissanceSuite$.runBenchmarks(RenaissanceSuite.scala:130)
[stress.process.err] at org.renaissance.harness.RenaissanceSuite$.main(RenaissanceSuite.scala:80)
[stress.process.err] at org.renaissance.harness.RenaissanceSuite.main(RenaissanceSuite.scala)
[stress.process.err] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
[stress.process.err] at java.base/java.lang.reflect.Method.invoke(Method.java:578)
[stress.process.err] at org.renaissance.core.Launcher.launchHarnessClass(Launcher.java:37)
[stress.process.err] at org.renaissance.core.Launcher.main(Launcher.java:25)
[stress.process.err] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
[stress.process.err] at java.base/java.lang.reflect.Method.invoke(Method.java:578)
[stress.process.err] at applications.kitchensink.process.stress.modules.RenaissanceStressModule.execute(RenaissanceStressModule.java:91)
[stress.process.err] at applications.kitchensink.process.stress.modules.StressModule.run(StressModule.java:99)
[stress.process.err] at java.base/java.lang.Thread.run(Thread.java:1589)
[stress.process.err]
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)
[Fri Jul 08 05:31:21 UTC 2022] (1657258281402) 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 [Fri Jul 08 05:31:21 UTC 2022]: Jstat
Picker module finished at [Fri Jul 08 05:31:21 UTC 2022]: NMT
Picker module finished at [Fri Jul 08 05:31:21 UTC 2022]: Perfmon
Picker module finished at [Fri Jul 08 05:31:21 UTC 2022]: Jcmd
Picker module finished at [Fri Jul 08 05:31:21 UTC 2022]: Jfr
Picker module finished at [Fri Jul 08 05:31:21 UTC 2022]: Monitor
[Fri Jul 08 05:31:21 UTC 2022] (1657258281429) Picker module has been shutdown
[Fri Jul 08 05:31:21 UTC 2022] (1657258281429) Stress process is about to shutdown
Going to request to stop or kill stress process: 1835716
WARNING: The process 1835716 has already finished.
[Fri Jul 08 05:31:21 UTC 2022] (1657258281430) Stress process has been shutdown
[Fri Jul 08 05:31:21 UTC 2022] Execution finished.
----------rerun:(35/7843)*----------
<snip>
result: Failed. Unexpected exit from test [exit code: 74]
There are lots of exceptions and error msgs in this run, but it's
hard to figure what is the real problem. For now, I've settled on
the "exit code: 74" error.
I'm starting this bug off in hotspot/test for initial triage.