JDK-8259501 : TestSAServer.java fails with java.lang.Error: Couldn't find core file location in: ...
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 16,17
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2021-01-08
  • Updated: 2021-08-05
  • Resolved: 2021-08-05
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 17
17Resolved
Related Reports
Duplicate :  
Description
Test compiler/ciReplay/TestSAServer.java fails with following log:

java.lang.Error: Couldn't find core file location in: '    253    1    b        java.lang.invoke.MethodHandle::<clinit> (45 bytes)
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc:  SuppressErrorAt=/compileBroker.cpp:2158
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S15041/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/c20df3c0-059e-413e-91fe-9e25426305e3/runs/cab62660-5f4c-4b10-8ea2-d9758ae0109c/workspace/open/src/hotspot/share/compiler/compileBroker.cpp:2158), pid=3759, tid=3774
#  assert(task->compile_id() != CICrashAt) failed: just as planned
#
# JRE version: Java(TM) SE Runtime Environment (16.0+28) (fastdebug build 16-ea+28-2065)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 16-ea+28-2065, compiled mode, compressed oops, g1 gc, linux-aarch64)
# Problematic frame:
# V  [libjvm.so+0x973898]  CompileBroker::post_compile(CompilerThread*, CompileTask*, bool, ciEnv*, int, char const*)+0x184
#
# Core dump will be written. Default location: Core dumps may be processed with "/opt/core.sh %p" (or dumping to /scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S114865/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7e5c9e-e3d3-4f7d-bb5c-e53820c0685c/runs/a83b7832-b37e-4f71-9fd8-e18c7c22ad4e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/scratch/1/core.3759)
#
# An error report file with more information is saved as:
# /scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S114865/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7e5c9e-e3d3-4f7d-bb5c-e53820c0685c/runs/a83b7832-b37e-4f71-9fd8-e18c7c22ad4e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/scratch/1/hs_err_pid3759.log
#
# Compiler replay data is saved as:
# test_replay.txt
#
# If you would like to submit a bug report, please visit:
#   https://bugreport.java.com/bugreport/crash.jsp
#
sh: line 1:  3759 Aborted                 (core dumped) /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/linux-aarch64-debug.jdk/jdk-16/fastdebug/bin/java -cp /scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S114865/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7e5c9e-e3d3-4f7d-bb5c-e53820c0685c/runs/a83b7832-b37e-4f71-9fd8-e18c7c22ad4e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/classes/1/compiler/ciReplay/TestSAServer.d:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/src.full/open/test/hotspot/jtreg/compiler/ciReplay:/scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S114865/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7e5c9e-e3d3-4f7d-bb5c-e53820c0685c/runs/a83b7832-b37e-4f71-9fd8-e18c7c22ad4e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/classes/1:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/src.full/open/test/hotspot/jtreg:/scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S114865/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7e5c9e-e3d3-4f7d-bb5c-e53820c0685c/runs/a83b7832-b37e-4f71-9fd8-e18c7c22ad4e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/classes/1/test/lib:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/src.full/open/test/lib:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/javatest.jar:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/jtreg.jar -XX:MaxRAMPercentage=12 -Djava.io.tmpdir=/scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S114865/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7e5c9e-e3d3-4f7d-bb5c-e53820c0685c/runs/a83b7832-b37e-4f71-9fd8-e18c7c22ad4e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/tmp -XX:+CreateCoredumpOnCrash -XX:-TieredCompilation -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 -Xcomp -XX:CICrashAt=1 -XX:+DumpReplayDataOnError -XX:+PreferInterpreterNativeStubs -XX:+PrintCompilation -XX:ReplayDataFile=test_replay.txt -XX:+CreateCoredumpOnCrash compiler.ciReplay.CiReplayBase$TestMain
'
	at compiler.ciReplay.CiReplayBase.generateReplay(CiReplayBase.java:170)
	at compiler.ciReplay.CiReplayBase.runTest(CiReplayBase.java:106)
	at compiler.ciReplay.SABase.main(SABase.java:44)
	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:567)
	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.Error: Couldn't find core file location in: '    253    1    b        java.lang.invoke.MethodHandle::<clinit> (45 bytes)
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc:  SuppressErrorAt=/compileBroker.cpp:2158
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S15041/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/c20df3c0-059e-413e-91fe-9e25426305e3/runs/cab62660-5f4c-4b10-8ea2-d9758ae0109c/workspace/open/src/hotspot/share/compiler/compileBroker.cpp:2158), pid=3759, tid=3774
#  assert(task->compile_id() != CICrashAt) failed: just as planned
#
# JRE version: Java(TM) SE Runtime Environment (16.0+28) (fastdebug build 16-ea+28-2065)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 16-ea+28-2065, compiled mode, compressed oops, g1 gc, linux-aarch64)
# Problematic frame:
# V  [libjvm.so+0x973898]  CompileBroker::post_compile(CompilerThread*, CompileTask*, bool, ciEnv*, int, char const*)+0x184
#
# Core dump will be written. Default location: Core dumps may be processed with "/opt/core.sh %p" (or dumping to /scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S114865/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7e5c9e-e3d3-4f7d-bb5c-e53820c0685c/runs/a83b7832-b37e-4f71-9fd8-e18c7c22ad4e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/scratch/1/core.3759)
#
# An error report file with more information is saved as:
# /scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S114865/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7e5c9e-e3d3-4f7d-bb5c-e53820c0685c/runs/a83b7832-b37e-4f71-9fd8-e18c7c22ad4e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/scratch/1/hs_err_pid3759.log
#
# Compiler replay data is saved as:
# test_replay.txt
#
# If you would like to submit a bug report, please visit:
#   https://bugreport.java.com/bugreport/crash.jsp
#
sh: line 1:  3759 Aborted                 (core dumped) /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/linux-aarch64-debug.jdk/jdk-16/fastdebug/bin/java -cp /scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S114865/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7e5c9e-e3d3-4f7d-bb5c-e53820c0685c/runs/a83b7832-b37e-4f71-9fd8-e18c7c22ad4e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/classes/1/compiler/ciReplay/TestSAServer.d:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/src.full/open/test/hotspot/jtreg/compiler/ciReplay:/scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S114865/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7e5c9e-e3d3-4f7d-bb5c-e53820c0685c/runs/a83b7832-b37e-4f71-9fd8-e18c7c22ad4e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/classes/1:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/src.full/open/test/hotspot/jtreg:/scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S114865/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7e5c9e-e3d3-4f7d-bb5c-e53820c0685c/runs/a83b7832-b37e-4f71-9fd8-e18c7c22ad4e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/classes/1/test/lib:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/src.full/open/test/lib:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/javatest.jar:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/jtreg.jar -XX:MaxRAMPercentage=12 -Djava.io.tmpdir=/scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S114865/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7e5c9e-e3d3-4f7d-bb5c-e53820c0685c/runs/a83b7832-b37e-4f71-9fd8-e18c7c22ad4e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/tmp -XX:+CreateCoredumpOnCrash -XX:-TieredCompilation -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 -Xcomp -XX:CICrashAt=1 -XX:+DumpReplayDataOnError -XX:+PreferInterpreterNativeStubs -XX:+PrintCompilation -XX:ReplayDataFile=test_replay.txt -XX:+CreateCoredumpOnCrash compiler.ciReplay.CiReplayBase$TestMain
'
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.Error: Couldn't find core file location in: ' 253 1 b java.lang.invoke.MethodHandle::<clinit> (45 bytes) # To suppress the following error report, specify this argument # after -XX: or in .hotspotrc: SuppressErrorAt=/compileBroker.cpp:2158 # # A fatal error has been detected by the Java Runtime Environment: # # Internal Error (/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S15041/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/c20df3c0-059e-413e-91fe-9e25426305e3/runs/cab62660-5f4c-4b10-8ea2-d9758ae0109c/workspace/open/src/hotspot/share/compiler/compileBroker.cpp:2158), pid=3759, tid=3774 # assert(task->compile_id() != CICrashAt) failed: just as planned # # JRE version: Java(TM) SE Runtime Environment (16.0+28) (fastdebug build 16-ea+28-2065) # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 16-ea+28-2065, compiled mode, compressed oops, g1 gc, linux-aarch64) # Problematic frame: # V [libjvm.so+0x973898] CompileBroker::post_compile(CompilerThread*, CompileTask*, bool, ciEnv*, int, char const*)+0x184 # # Core dump will be written. Default location: Core dumps may be processed with "/opt/core.sh %p" (or dumping to /scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S114865/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7e5c9e-e3d3-4f7d-bb5c-e53820c0685c/runs/a83b7832-b37e-4f71-9fd8-e18c7c22ad4e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/scratch/1/core.3759) # # An error report file with more information is saved as: # /scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S114865/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7e5c9e-e3d3-4f7d-bb5c-e53820c0685c/runs/a83b7832-b37e-4f71-9fd8-e18c7c22ad4e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/scratch/1/hs_err_pid3759.log # # Compiler replay data is saved as: # test_replay.txt # # If you would like to submit a bug report, please visit: # https://bugreport.java.com/bugreport/crash.jsp # sh: line 1: 3759 Aborted (core dumped) /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/linux-aarch64-debug.jdk/jdk-16/fastdebug/bin/java -cp /scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S114865/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7e5c9e-e3d3-4f7d-bb5c-e53820c0685c/runs/a83b7832-b37e-4f71-9fd8-e18c7c22ad4e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/classes/1/compiler/ciReplay/TestSAServer.d:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/src.full/open/test/hotspot/jtreg/compiler/ciReplay:/scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S114865/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7e5c9e-e3d3-4f7d-bb5c-e53820c0685c/runs/a83b7832-b37e-4f71-9fd8-e18c7c22ad4e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/classes/1:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/src.full/open/test/hotspot/jtreg:/scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S114865/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7e5c9e-e3d3-4f7d-bb5c-e53820c0685c/runs/a83b7832-b37e-4f71-9fd8-e18c7c22ad4e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/classes/1/test/lib:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/src.full/open/test/lib:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/javatest.jar:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/jtreg.jar -XX:MaxRAMPercentage=12 -Djava.io.tmpdir=/scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S114865/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7e5c9e-e3d3-4f7d-bb5c-e53820c0685c/runs/a83b7832-b37e-4f71-9fd8-e18c7c22ad4e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/tmp -XX:+CreateCoredumpOnCrash -XX:-TieredCompilation -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 -Xcomp -XX:CICrashAt=1 -XX:+DumpReplayDataOnError -XX:+PreferInterpreterNativeStubs -XX:+PrintCompilation -XX:ReplayDataFile=test_replay.txt -XX:+CreateCoredumpOnCrash compiler.ciReplay.CiReplayBase$TestMain '
----------rerun:(43/8803)*----------
cd /scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S114865/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7e5c9e-e3d3-4f7d-bb5c-e53820c0685c/runs/a83b7832-b37e-4f71-9fd8-e18c7c22ad4e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/scratch/1 && \\
HOME=/tmp/sparky-temp-home-4425898163879713750/user_home \\
JDK8_HOME=/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk/15/36/bundles/linux-aarch64/jdk-15_linux-aarch64_bin.tar.gz/jdk-15 \\
JIB_DATA_DIR=/scratch/opt/mach5/mesos/work_dir/jib-master \\
JIB_HOME=/scratch/opt/mach5/mesos/work_dir/jib-master/install/com/oracle/java/jib/jib/3.0-SNAPSHOT/jib-3.0-20201211.160407-447-distribution.zip/jib-3.0-SNAPSHOT-distribution \\
JTREG_KEYWORDS='"!jfr & !headful"' \\
JTREG_RUN_PROBLEM_LISTS=true \\
JTREG_TIMEOUT_FACTOR=8 \\
JTREG_VERBOSE=fail,error,time \\
LC_ALL=C \\
PATH=/bin:/usr/bin:/usr/sbin \\
TEST_IMAGE_DIR=/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/linux-aarch64-debug.test \\
TEST_IMAGE_GRAAL_DIR=/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/linux-aarch64-debug.test/hotspot/jtreg/graal \\
CLASSPATH=/scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S114865/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7e5c9e-e3d3-4f7d-bb5c-e53820c0685c/runs/a83b7832-b37e-4f71-9fd8-e18c7c22ad4e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/classes/1/compiler/ciReplay/TestSAServer.d:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/src.full/open/test/hotspot/jtreg/compiler/ciReplay:/scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S114865/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7e5c9e-e3d3-4f7d-bb5c-e53820c0685c/runs/a83b7832-b37e-4f71-9fd8-e18c7c22ad4e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/classes/1:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/src.full/open/test/hotspot/jtreg:/scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S114865/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7e5c9e-e3d3-4f7d-bb5c-e53820c0685c/runs/a83b7832-b37e-4f71-9fd8-e18c7c22ad4e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/classes/1/test/lib:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/src.full/open/test/lib:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/javatest.jar:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/jtreg.jar \\
    /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/linux-aarch64-debug.jdk/jdk-16/fastdebug/bin/java \\
        -Dtest.vm.opts='-XX:MaxRAMPercentage=12 -Djava.io.tmpdir=/scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S114865/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7e5c9e-e3d3-4f7d-bb5c-e53820c0685c/runs/a83b7832-b37e-4f71-9fd8-e18c7c22ad4e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/tmp' \\
        -Dtest.tool.vm.opts='-J-XX:MaxRAMPercentage=12 -J-Djava.io.tmpdir=/scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S114865/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7e5c9e-e3d3-4f7d-bb5c-e53820c0685c/runs/a83b7832-b37e-4f71-9fd8-e18c7c22ad4e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/tmp' \\
        -Dtest.compiler.opts= \\
        -Dtest.java.opts='-XX:+CreateCoredumpOnCrash -XX:-TieredCompilation' \\
        -Dtest.jdk=/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/linux-aarch64-debug.jdk/jdk-16/fastdebug \\
        -Dcompile.jdk=/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/linux-aarch64-debug.jdk/jdk-16/fastdebug \\
        -Dtest.timeout.factor=8.0 \\
        -Dtest.nativepath=/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/linux-aarch64-debug.test/hotspot/jtreg/native \\
        -Dtest.root=/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/src.full/open/test/hotspot/jtreg \\
        -Dtest.name=compiler/ciReplay/TestSAServer.java \\
        -Dtest.file=/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/src.full/open/test/hotspot/jtreg/compiler/ciReplay/TestSAServer.java \\
        -Dtest.src=/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/src.full/open/test/hotspot/jtreg/compiler/ciReplay \\
        -Dtest.src.path=/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/src.full/open/test/hotspot/jtreg/compiler/ciReplay:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/src.full/open/test/hotspot/jtreg:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/src.full/open/test/lib \\
        -Dtest.classes=/scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S114865/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7e5c9e-e3d3-4f7d-bb5c-e53820c0685c/runs/a83b7832-b37e-4f71-9fd8-e18c7c22ad4e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/classes/1/compiler/ciReplay/TestSAServer.d \\
        -Dtest.class.path=/scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S114865/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7e5c9e-e3d3-4f7d-bb5c-e53820c0685c/runs/a83b7832-b37e-4f71-9fd8-e18c7c22ad4e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/classes/1/compiler/ciReplay/TestSAServer.d:/scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S114865/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7e5c9e-e3d3-4f7d-bb5c-e53820c0685c/runs/a83b7832-b37e-4f71-9fd8-e18c7c22ad4e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/classes/1:/scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S114865/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7e5c9e-e3d3-4f7d-bb5c-e53820c0685c/runs/a83b7832-b37e-4f71-9fd8-e18c7c22ad4e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/classes/1/test/lib \\
        -Dtest.class.path.prefix=/scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S114865/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7e5c9e-e3d3-4f7d-bb5c-e53820c0685c/runs/a83b7832-b37e-4f71-9fd8-e18c7c22ad4e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/classes/1/compiler/ciReplay/TestSAServer.d:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/src.full/open/test/hotspot/jtreg/compiler/ciReplay:/scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S114865/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7e5c9e-e3d3-4f7d-bb5c-e53820c0685c/runs/a83b7832-b37e-4f71-9fd8-e18c7c22ad4e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/classes/1:/scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S114865/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7e5c9e-e3d3-4f7d-bb5c-e53820c0685c/runs/a83b7832-b37e-4f71-9fd8-e18c7c22ad4e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/classes/1/test/lib \\
        -Dtest.modules=java.base/jdk.internal.misc \\
        --add-modules java.base \\
        --add-exports java.base/jdk.internal.misc=ALL-UNNAMED \\
        -XX:MaxRAMPercentage=12 \\
        -Djava.io.tmpdir=/scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S114865/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7e5c9e-e3d3-4f7d-bb5c-e53820c0685c/runs/a83b7832-b37e-4f71-9fd8-e18c7c22ad4e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/tmp \\
        -XX:+CreateCoredumpOnCrash \\
        -XX:-TieredCompilation \\
        -Djava.library.path=/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/linux-aarch64-debug.test/hotspot/jtreg/native \\
        -Xbootclasspath/a:. \\
        -XX:+UnlockDiagnosticVMOptions \\
        -XX:+WhiteBoxAPI \\
        com.sun.javatest.regtest.agent.MainWrapper /scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S114865/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7e5c9e-e3d3-4f7d-bb5c-e53820c0685c/runs/a83b7832-b37e-4f71-9fd8-e18c7c22ad4e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/compiler/ciReplay/TestSAServer.d/main.0.jta server
result: Failed. Execution failed: `main' threw exception: java.lang.Error: Couldn't find core file location in: ' 253 1 b java.lang.invoke.MethodHandle::<clinit> (45 bytes) # To suppress the following error report, specify this argument # after -XX: or in .hotspotrc: SuppressErrorAt=/compileBroker.cpp:2158 # # A fatal error has been detected by the Java Runtime Environment: # # Internal Error (/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S15041/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/c20df3c0-059e-413e-91fe-9e25426305e3/runs/cab62660-5f4c-4b10-8ea2-d9758ae0109c/workspace/open/src/hotspot/share/compiler/compileBroker.cpp:2158), pid=3759, tid=3774 # assert(task->compile_id() != CICrashAt) failed: just as planned # # JRE version: Java(TM) SE Runtime Environment (16.0+28) (fastdebug build 16-ea+28-2065) # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 16-ea+28-2065, compiled mode, compressed oops, g1 gc, linux-aarch64) # Problematic frame: # V [libjvm.so+0x973898] CompileBroker::post_compile(CompilerThread*, CompileTask*, bool, ciEnv*, int, char const*)+0x184 # # Core dump will be written. Default location: Core dumps may be processed with "/opt/core.sh %p" (or dumping to /scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S114865/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7e5c9e-e3d3-4f7d-bb5c-e53820c0685c/runs/a83b7832-b37e-4f71-9fd8-e18c7c22ad4e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/scratch/1/core.3759) # # An error report file with more information is saved as: # /scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S114865/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7e5c9e-e3d3-4f7d-bb5c-e53820c0685c/runs/a83b7832-b37e-4f71-9fd8-e18c7c22ad4e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/scratch/1/hs_err_pid3759.log # # Compiler replay data is saved as: # test_replay.txt # # If you would like to submit a bug report, please visit: # https://bugreport.java.com/bugreport/crash.jsp # sh: line 1: 3759 Aborted (core dumped) /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/linux-aarch64-debug.jdk/jdk-16/fastdebug/bin/java -cp /scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S114865/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7e5c9e-e3d3-4f7d-bb5c-e53820c0685c/runs/a83b7832-b37e-4f71-9fd8-e18c7c22ad4e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/classes/1/compiler/ciReplay/TestSAServer.d:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/src.full/open/test/hotspot/jtreg/compiler/ciReplay:/scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S114865/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7e5c9e-e3d3-4f7d-bb5c-e53820c0685c/runs/a83b7832-b37e-4f71-9fd8-e18c7c22ad4e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/classes/1:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/src.full/open/test/hotspot/jtreg:/scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S114865/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7e5c9e-e3d3-4f7d-bb5c-e53820c0685c/runs/a83b7832-b37e-4f71-9fd8-e18c7c22ad4e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/classes/1/test/lib:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/src.full/open/test/lib:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/javatest.jar:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/jtreg.jar -XX:MaxRAMPercentage=12 -Djava.io.tmpdir=/scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S114865/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7e5c9e-e3d3-4f7d-bb5c-e53820c0685c/runs/a83b7832-b37e-4f71-9fd8-e18c7c22ad4e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/tmp -XX:+CreateCoredumpOnCrash -XX:-TieredCompilation -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 -Xcomp -XX:CICrashAt=1 -XX:+DumpReplayDataOnError -XX:+PreferInterpreterNativeStubs -XX:+PrintCompilation -XX:ReplayDataFile=test_replay.txt -XX:+CreateCoredumpOnCrash compiler.ciReplay.CiReplayBase$TestMain '


test result: Failed. Execution failed: `main' threw exception: java.lang.Error: Couldn't find core file location in: ' 253 1 b java.lang.invoke.MethodHandle::<clinit> (45 bytes) # To suppress the following error report, specify this argument # after -XX: or in .hotspotrc: SuppressErrorAt=/compileBroker.cpp:2158 # # A fatal error has been detected by the Java Runtime Environment: # # Internal Error (/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S15041/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/c20df3c0-059e-413e-91fe-9e25426305e3/runs/cab62660-5f4c-4b10-8ea2-d9758ae0109c/workspace/open/src/hotspot/share/compiler/compileBroker.cpp:2158), pid=3759, tid=3774 # assert(task->compile_id() != CICrashAt) failed: just as planned # # JRE version: Java(TM) SE Runtime Environment (16.0+28) (fastdebug build 16-ea+28-2065) # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 16-ea+28-2065, compiled mode, compressed oops, g1 gc, linux-aarch64) # Problematic frame: # V [libjvm.so+0x973898] CompileBroker::post_compile(CompilerThread*, CompileTask*, bool, ciEnv*, int, char const*)+0x184 # # Core dump will be written. Default location: Core dumps may be processed with "/opt/core.sh %p" (or dumping to /scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S114865/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7e5c9e-e3d3-4f7d-bb5c-e53820c0685c/runs/a83b7832-b37e-4f71-9fd8-e18c7c22ad4e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/scratch/1/core.3759) # # An error report file with more information is saved as: # /scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S114865/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7e5c9e-e3d3-4f7d-bb5c-e53820c0685c/runs/a83b7832-b37e-4f71-9fd8-e18c7c22ad4e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/scratch/1/hs_err_pid3759.log # # Compiler replay data is saved as: # test_replay.txt # # If you would like to submit a bug report, please visit: # https://bugreport.java.com/bugreport/crash.jsp # sh: line 1: 3759 Aborted (core dumped) /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/linux-aarch64-debug.jdk/jdk-16/fastdebug/bin/java -cp /scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S114865/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7e5c9e-e3d3-4f7d-bb5c-e53820c0685c/runs/a83b7832-b37e-4f71-9fd8-e18c7c22ad4e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/classes/1/compiler/ciReplay/TestSAServer.d:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/src.full/open/test/hotspot/jtreg/compiler/ciReplay:/scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S114865/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7e5c9e-e3d3-4f7d-bb5c-e53820c0685c/runs/a83b7832-b37e-4f71-9fd8-e18c7c22ad4e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/classes/1:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/src.full/open/test/hotspot/jtreg:/scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S114865/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7e5c9e-e3d3-4f7d-bb5c-e53820c0685c/runs/a83b7832-b37e-4f71-9fd8-e18c7c22ad4e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/classes/1/test/lib:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/src.full/open/test/lib:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/javatest.jar:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/jtreg.jar -XX:MaxRAMPercentage=12 -Djava.io.tmpdir=/scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S114865/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7e5c9e-e3d3-4f7d-bb5c-e53820c0685c/runs/a83b7832-b37e-4f71-9fd8-e18c7c22ad4e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/tmp -XX:+CreateCoredumpOnCrash -XX:-TieredCompilation -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 -Xcomp -XX:CICrashAt=1 -XX:+DumpReplayDataOnError -XX:+PreferInterpreterNativeStubs -XX:+PrintCompilation -XX:ReplayDataFile=test_replay.txt -XX:+CreateCoredumpOnCrash compiler.ciReplay.CiReplayBase$TestMain '

Comments
the test hasn't been seen failing after JDK-8260296, closing as dup.
05-08-2021

The fixes done for JDK-8260296 included using the new CoreUtils.java support (see my comment above), so I believe this issue is also now fixed and can be closed.
07-04-2021

Last year I did some major improvements to SA support of core files. Different tests were using different approaches to find the core file, with a lot of replication between them. ciReplay tests were among them. I consolidated the code and improved it lot. It's much more robust now and also easier to write tests to use it. See JDK-8248194. However, I did not fix ciReplay as explained during the preliminary review: "I'm not going to update CiReplayBase.java as part of these changes because the two tests that use it both have issues. TestSAServer is problem listed, and when I removed it from the problem list it failed with every run on every platform. There's also TestSAClient, but it relies on client VM, which we don't support anymore. So with neither of these tests running, I'd rather not introduce changes I can't really test." I suggest any attempt to fix this issue should remove the test code that tries to find the core file and instead uses the core file support I added to CoreUtils.java.
22-01-2021

Looks like the test can't find the core file location because the "A fatal error has been detected" output was overwritten by PrintCompilation output. Marking this as testbug for now. ILW = Test fails because core file location of expected VM crash is not found, single quarantined ciReplay test, no workaround = MLH = P4
11-01-2021

The test is problemlisted with another bug: ProblemList.txt:compiler/ciReplay/TestSAServer.java 8029528 generic-all
08-01-2021