The following test failed in the JDK17 CI:
compiler/ciReplay/TestVMNoCompLevel.java
Here's a snippet from the log file:
#section:main
----------messages:(5/448)----------
command: main -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI compiler.ciReplay.TestVMNoCompLevel
reason: User specified action: run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI compiler.ciReplay.TestVMNoCompLevel
Mode: othervm [/othervm specified]
Additional options from @modules: --add-modules java.base --add-exports java.base/jdk.internal.misc=ALL-UNNAMED
elapsed time (seconds): 2.402
----------configuration:(4/111)----------
Boot Layer
add modules: java.base
add exports: java.base/jdk.internal.misc ALL-UNNAMED
----------System.out:(24/10245)----------
Command line: [/opt/mach5/mesos/work_dir/jib-master/install/jdk-17+11-777/linux-x64-debug.jdk/jdk-17/fastdebug/bin/java -cp /opt/mach5/mesos/work_dir/slaves/35ca6ea2-bf72-41ef-89b8-0c013c60cac4-S204/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/178b0bda-7f0c-49c4-a1ab-af7220b7cb88/runs/99419c83-0aba-48e2-87c9-6874df8b4f8f/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/classes/1/compiler/ciReplay/TestVMNoCompLevel.d:/opt/mach5/mesos/work_dir/jib-master/install/jdk-17+11-777/src.full/open/test/hotspot/jtreg/compiler/ciReplay:/opt/mach5/mesos/work_dir/slaves/35ca6ea2-bf72-41ef-89b8-0c013c60cac4-S204/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/178b0bda-7f0c-49c4-a1ab-af7220b7cb88/runs/99419c83-0aba-48e2-87c9-6874df8b4f8f/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/classes/1:/opt/mach5/mesos/work_dir/jib-master/install/jdk-17+11-777/src.full/open/test/hotspot/jtreg:/opt/mach5/mesos/work_dir/slaves/35ca6ea2-bf72-41ef-89b8-0c013c60cac4-S204/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/178b0bda-7f0c-49c4-a1ab-af7220b7cb88/runs/99419c83-0aba-48e2-87c9-6874df8b4f8f/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/classes/1/test/lib:/opt/mach5/mesos/work_dir/jib-master/install/jdk-17+11-777/src.full/open/test/lib:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/javatest.jar:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/jtreg.jar -XX:MaxRAMPercentage=6 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/35ca6ea2-bf72-41ef-89b8-0c013c60cac4-S204/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/178b0bda-7f0c-49c4-a1ab-af7220b7cb88/runs/99419c83-0aba-48e2-87c9-6874df8b4f8f/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/tmp -XX:+CreateCoredumpOnCrash -XX:+UseZGC -client -version ]
[2021-02-19T21:50:01.023205039Z] Gathering output for process 25328
[2021-02-19T21:50:01.351520426Z] Waiting for completion for process 25328
[2021-02-19T21:50:01.351752244Z] Waiting for completion finished for process 25328
Output and diagnostic info for process 25328 was saved into 'pid-25328-output.log'
Command line: [/opt/mach5/mesos/work_dir/jib-master/install/jdk-17+11-777/linux-x64-debug.jdk/jdk-17/fastdebug/bin/java -cp /opt/mach5/mesos/work_dir/slaves/35ca6ea2-bf72-41ef-89b8-0c013c60cac4-S204/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/178b0bda-7f0c-49c4-a1ab-af7220b7cb88/runs/99419c83-0aba-48e2-87c9-6874df8b4f8f/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/classes/1/compiler/ciReplay/TestVMNoCompLevel.d:/opt/mach5/mesos/work_dir/jib-master/install/jdk-17+11-777/src.full/open/test/hotspot/jtreg/compiler/ciReplay:/opt/mach5/mesos/work_dir/slaves/35ca6ea2-bf72-41ef-89b8-0c013c60cac4-S204/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/178b0bda-7f0c-49c4-a1ab-af7220b7cb88/runs/99419c83-0aba-48e2-87c9-6874df8b4f8f/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/classes/1:/opt/mach5/mesos/work_dir/jib-master/install/jdk-17+11-777/src.full/open/test/hotspot/jtreg:/opt/mach5/mesos/work_dir/slaves/35ca6ea2-bf72-41ef-89b8-0c013c60cac4-S204/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/178b0bda-7f0c-49c4-a1ab-af7220b7cb88/runs/99419c83-0aba-48e2-87c9-6874df8b4f8f/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/classes/1/test/lib:/opt/mach5/mesos/work_dir/jib-master/install/jdk-17+11-777/src.full/open/test/lib:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/javatest.jar:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/jtreg.jar -XX:MaxRAMPercentage=6 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/35ca6ea2-bf72-41ef-89b8-0c013c60cac4-S204/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/178b0bda-7f0c-49c4-a1ab-af7220b7cb88/runs/99419c83-0aba-48e2-87c9-6874df8b4f8f/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/tmp -XX:+CreateCoredumpOnCrash -XX:+UseZGC -server -version ]
[2021-02-19T21:50:01.371674317Z] Gathering output for process 25397
[2021-02-19T21:50:01.709210635Z] Waiting for completion for process 25397
[2021-02-19T21:50:01.709466330Z] Waiting for completion finished for process 25397
Output and diagnostic info for process 25397 was saved into 'pid-25397-output.log'
Command line: [/opt/mach5/mesos/work_dir/jib-master/install/jdk-17+11-777/linux-x64-debug.jdk/jdk-17/fastdebug/bin/java -cp /opt/mach5/mesos/work_dir/slaves/35ca6ea2-bf72-41ef-89b8-0c013c60cac4-S204/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/178b0bda-7f0c-49c4-a1ab-af7220b7cb88/runs/99419c83-0aba-48e2-87c9-6874df8b4f8f/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/classes/1/compiler/ciReplay/TestVMNoCompLevel.d:/opt/mach5/mesos/work_dir/jib-master/install/jdk-17+11-777/src.full/open/test/hotspot/jtreg/compiler/ciReplay:/opt/mach5/mesos/work_dir/slaves/35ca6ea2-bf72-41ef-89b8-0c013c60cac4-S204/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/178b0bda-7f0c-49c4-a1ab-af7220b7cb88/runs/99419c83-0aba-48e2-87c9-6874df8b4f8f/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/classes/1:/opt/mach5/mesos/work_dir/jib-master/install/jdk-17+11-777/src.full/open/test/hotspot/jtreg:/opt/mach5/mesos/work_dir/slaves/35ca6ea2-bf72-41ef-89b8-0c013c60cac4-S204/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/178b0bda-7f0c-49c4-a1ab-af7220b7cb88/runs/99419c83-0aba-48e2-87c9-6874df8b4f8f/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/classes/1/test/lib:/opt/mach5/mesos/work_dir/jib-master/install/jdk-17+11-777/src.full/open/test/lib:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/javatest.jar:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/jtreg.jar -XX:MaxRAMPercentage=6 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/35ca6ea2-bf72-41ef-89b8-0c013c60cac4-S204/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/178b0bda-7f0c-49c4-a1ab-af7220b7cb88/runs/99419c83-0aba-48e2-87c9-6874df8b4f8f/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/tmp -XX:+CreateCoredumpOnCrash -XX:+UseZGC -Xms128m -Xmx128m -XX:MetaspaceSize=4m -XX:MaxMetaspaceSize=16m -XX:InitialCodeCacheSize=512k -XX:ReservedCodeCacheSize=4m -XX:ThreadStackSize=512 -XX:VMThreadStackSize=512 -XX:CompilerThreadStackSize=512 -XX:ParallelGCThreads=1 -XX:CICompilerCount=2 -XX:-BackgroundCompilation -XX:CompileCommand=inline,java.io.PrintStream::* -XX:+IgnoreUnrecognizedVMOptions -XX:TypeProfileLevel=222 -XX:CICrashAt=1 -XX:+DumpReplayDataOnError -XX:+PreferInterpreterNativeStubs -XX:ReplayDataFile=test_replay.txt -XX:-CreateCoredumpOnCrash -XX:CompileOnly=compiler.ciReplay.CiReplayBase$TestMain::test compiler.ciReplay.CiReplayBase$TestMain ]
[2021-02-19T21:50:01.736132860Z] Gathering output for process 25513
[2021-02-19T21:50:02.057636122Z] Waiting for completion for process 25513
[2021-02-19T21:50:02.057878630Z] Waiting for completion finished for process 25513
Output and diagnostic info for process 25513 was saved into 'pid-25513-output.log'
[2021-02-19T21:50:02.059670851Z] Waiting for completion for process 25513
[2021-02-19T21:50:02.059862302Z] Waiting for completion finished for process 25513
Command line: [/opt/mach5/mesos/work_dir/jib-master/install/jdk-17+11-777/linux-x64-debug.jdk/jdk-17/fastdebug/bin/java -cp /opt/mach5/mesos/work_dir/slaves/35ca6ea2-bf72-41ef-89b8-0c013c60cac4-S204/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/178b0bda-7f0c-49c4-a1ab-af7220b7cb88/runs/99419c83-0aba-48e2-87c9-6874df8b4f8f/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/classes/1/compiler/ciReplay/TestVMNoCompLevel.d:/opt/mach5/mesos/work_dir/jib-master/install/jdk-17+11-777/src.full/open/test/hotspot/jtreg/compiler/ciReplay:/opt/mach5/mesos/work_dir/slaves/35ca6ea2-bf72-41ef-89b8-0c013c60cac4-S204/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/178b0bda-7f0c-49c4-a1ab-af7220b7cb88/runs/99419c83-0aba-48e2-87c9-6874df8b4f8f/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/classes/1:/opt/mach5/mesos/work_dir/jib-master/install/jdk-17+11-777/src.full/open/test/hotspot/jtreg:/opt/mach5/mesos/work_dir/slaves/35ca6ea2-bf72-41ef-89b8-0c013c60cac4-S204/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/178b0bda-7f0c-49c4-a1ab-af7220b7cb88/runs/99419c83-0aba-48e2-87c9-6874df8b4f8f/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/classes/1/test/lib:/opt/mach5/mesos/work_dir/jib-master/install/jdk-17+11-777/src.full/open/test/lib:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/javatest.jar:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/jtreg.jar -XX:MaxRAMPercentage=6 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/35ca6ea2-bf72-41ef-89b8-0c013c60cac4-S204/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/178b0bda-7f0c-49c4-a1ab-af7220b7cb88/runs/99419c83-0aba-48e2-87c9-6874df8b4f8f/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/tmp -XX:+CreateCoredumpOnCrash -XX:+UseZGC -XX:-CreateCoredumpOnCrash -XX:+IgnoreUnrecognizedVMOptions -XX:TypeProfileLevel=222 -XX:+ReplayCompiles -XX:ReplayDataFile=test_replay.txt -XX:-TieredCompilation -server ]
[2021-02-19T21:50:02.132003361Z] Gathering output for process 25548
[2021-02-19T21:50:02.548573161Z] Waiting for completion for process 25548
[2021-02-19T21:50:02.554937380Z] Waiting for completion finished for process 25548
Output and diagnostic info for process 25548 was saved into 'pid-25548-output.log'
[2021-02-19T21:50:02.556629280Z] Waiting for completion for process 25548
[2021-02-19T21:50:02.556790034Z] Waiting for completion finished for process 25548
----------System.err:(19/1427)----------
java.lang.RuntimeException: Unexpected exit code for positive case: [-XX:-TieredCompilation, -server]: expected 1 to equal 0
at jdk.test.lib.Asserts.fail(Asserts.java:594)
at jdk.test.lib.Asserts.assertEquals(Asserts.java:205)
at jdk.test.lib.Asserts.assertEQ(Asserts.java:178)
at compiler.ciReplay.CiReplayBase.positiveTest(CiReplayBase.java:241)
at compiler.ciReplay.TestVMNoCompLevel.testAction(TestVMNoCompLevel.java:74)
at compiler.ciReplay.CiReplayBase.runTest(CiReplayBase.java:118)
at compiler.ciReplay.TestVMNoCompLevel.main(TestVMNoCompLevel.java:48)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:831)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Unexpected exit code for positive case: [-XX:-TieredCompilation, -server]: expected 1 to equal 0
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Unexpected exit code for positive case: [-XX:-TieredCompilation, -server]: expected 1 to equal 0
----------rerun:(42/8394)*----------
<snip>
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Unexpected exit code for positive case: [-XX:-TieredCompilation, -server]: expected 1 to equal 0
An "exit code == 1" failure with no other error messages is
usually an indicator of the OomKiller on Linux-X64 machines.
The test task's JVM args are: -XX:+CreateCoredumpOnCrash -XX:+UseZGC