JDK-8293068 : serviceability/sa/ClhsdbCDSCore.java timed out on macOS
  • Type: Bug
  • Component: hotspot
  • Sub-Component: svc-agent
  • Affected Version: 11.0.18
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: os_x
  • Submitted: 2022-08-30
  • Updated: 2023-09-04
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.
Other
tbdUnresolved
Related Reports
Relates :  
Relates :  
Description
The following test timed out in the JDK11u cpu

serviceability/sa/ClhsdbCDSCore.java

Here's a snippet from the log file:

----------System.out:(115/13056)----------
Starting ClhsdbCDSCore test
Command line: [/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-11.0.18+1-59/macosx-x64-debug.jdk/jdk-11.0.18/fastdebug/bin/java -cp /System/Volumes/Data/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S77111/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/f64d26b4-e6ca-4041-9855-9c439ebe3ba8/runs/44ae06a1-2aa2-47e9-b15b-257678c29cf3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_serviceability/classes/4/serviceability/sa/ClhsdbCDSCore.d:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-11.0.18+1-59/src.full/open/test/hotspot/jtreg/serviceability/sa:/System/Volumes/Data/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S77111/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/f64d26b4-e6ca-4041-9855-9c439ebe3ba8/runs/44ae06a1-2aa2-47e9-b15b-257678c29cf3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_serviceability/classes/4/test/lib:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-11.0.18+1-59/src.full/open/test/lib:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/javatest.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/jtreg.jar -XX:MaxRAMPercentage=4 -Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S77111/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/f64d26b4-e6ca-4041-9855-9c439ebe3ba8/runs/44ae06a1-2aa2-47e9-b15b-257678c29cf3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_serviceability/tmp -Xshare:dump -Xlog:cds,cds+hashtables -XX:SharedArchiveFile=./ArchiveForClhsdbCDSCore.jsa ]
[ELAPSED: 2890 ms]
[STDERR]

[STDOUT]
[0.031s][info][cds] Dumptime region_alignment: 16384
narrow_klass_base = 0x0000000800000000, narrow_klass_shift = 3
Allocated temporary class space: 1073741824 bytes at 0x00000008c0000000
Allocated shared space: 3221225472 bytes at 0x0000000800000000
[0.035s][info][cds] Expanding shared spaces by 1048576 bytes [total   1048576 bytes ending at 0x800100000]
Loading classes to share ...
Loading classes to share: done.
[1.552s][info][cds] Shared spaces: preloaded 1140 classes
Rewriting and linking classes ...
Rewriting and linking classes: done

----------rerun:(35/7281)*----------
cd /System/Volumes/Data/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S77111/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/f64d26b4-e6ca-4041-9855-9c439ebe3ba8/runs/44ae06a1-2aa2-47e9-b15b-257678c29cf3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_serviceability/scratch/3 && \\
HOME=/var/folders/0j/75zkw_ws45135jvq47jwsg0w0000gp/T/sparky-temp-home-3471555344991109270/user_home \\
JDK8_HOME=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk/10/46/bundles/osx-x64/jdk-10_osx-x64_bin.tar.gz/jdk-10.jdk/Contents/Home \\
JIB_DATA_DIR=/System/Volumes/Data/mesos/work_dir/jib-master \\
JIB_HOME=/System/Volumes/Data/mesos/work_dir/jib-master/install/com/oracle/java/jib/jib/3.0-SNAPSHOT/jib-3.0-20220817.235223-495-distribution.zip/jib-3.0-SNAPSHOT-distribution \\
JTREG_KEYWORDS="!headful" \\
LC_ALL=C \\
PATH=/bin:/usr/bin:/usr/sbin \\
TEST_IMAGE_DIR=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-11.0.18+1-59/macosx-x64-debug.test \\
CLASSPATH=/System/Volumes/Data/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S77111/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/f64d26b4-e6ca-4041-9855-9c439ebe3ba8/runs/44ae06a1-2aa2-47e9-b15b-257678c29cf3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_serviceability/classes/4/serviceability/sa/ClhsdbCDSCore.d:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-11.0.18+1-59/src.full/open/test/hotspot/jtreg/serviceability/sa:/System/Volumes/Data/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S77111/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/f64d26b4-e6ca-4041-9855-9c439ebe3ba8/runs/44ae06a1-2aa2-47e9-b15b-257678c29cf3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_serviceability/classes/4/test/lib:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-11.0.18+1-59/src.full/open/test/lib:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/javatest.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/jtreg.jar \\
    /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-11.0.18+1-59/macosx-x64-debug.jdk/jdk-11.0.18/fastdebug/bin/java \\
        -Dtest.vm.opts='-XX:MaxRAMPercentage=4 -Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S77111/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/f64d26b4-e6ca-4041-9855-9c439ebe3ba8/runs/44ae06a1-2aa2-47e9-b15b-257678c29cf3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_serviceability/tmp' \\
        -Dtest.tool.vm.opts='-J-XX:MaxRAMPercentage=4 -J-Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S77111/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/f64d26b4-e6ca-4041-9855-9c439ebe3ba8/runs/44ae06a1-2aa2-47e9-b15b-257678c29cf3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_serviceability/tmp' \\
        -Dtest.compiler.opts= \\
        -Dtest.java.opts= \\
        -Dtest.jdk=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-11.0.18+1-59/macosx-x64-debug.jdk/jdk-11.0.18/fastdebug \\
        -Dcompile.jdk=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-11.0.18+1-59/macosx-x64-debug.jdk/jdk-11.0.18/fastdebug \\
        -Dtest.timeout.factor=4.0 \\
        -Dtest.nativepath=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-11.0.18+1-59/macosx-x64-debug.test/hotspot/jtreg/native \\
        -Dtest.root=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-11.0.18+1-59/src.full/open/test/hotspot/jtreg \\
        -Dtest.name=serviceability/sa/ClhsdbCDSCore.java \\
        -Dtest.file=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-11.0.18+1-59/src.full/open/test/hotspot/jtreg/serviceability/sa/ClhsdbCDSCore.java \\
        -Dtest.src=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-11.0.18+1-59/src.full/open/test/hotspot/jtreg/serviceability/sa \\
        -Dtest.src.path=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-11.0.18+1-59/src.full/open/test/hotspot/jtreg/serviceability/sa:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-11.0.18+1-59/src.full/open/test/lib \\
        -Dtest.classes=/System/Volumes/Data/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S77111/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/f64d26b4-e6ca-4041-9855-9c439ebe3ba8/runs/44ae06a1-2aa2-47e9-b15b-257678c29cf3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_serviceability/classes/4/serviceability/sa/ClhsdbCDSCore.d \\
        -Dtest.class.path=/System/Volumes/Data/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S77111/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/f64d26b4-e6ca-4041-9855-9c439ebe3ba8/runs/44ae06a1-2aa2-47e9-b15b-257678c29cf3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_serviceability/classes/4/serviceability/sa/ClhsdbCDSCore.d:/System/Volumes/Data/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S77111/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/f64d26b4-e6ca-4041-9855-9c439ebe3ba8/runs/44ae06a1-2aa2-47e9-b15b-257678c29cf3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_serviceability/classes/4/test/lib \\
        -Dtest.class.path.prefix=/System/Volumes/Data/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S77111/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/f64d26b4-e6ca-4041-9855-9c439ebe3ba8/runs/44ae06a1-2aa2-47e9-b15b-257678c29cf3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_serviceability/classes/4/serviceability/sa/ClhsdbCDSCore.d:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-11.0.18+1-59/src.full/open/test/hotspot/jtreg/serviceability/sa:/System/Volumes/Data/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S77111/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/f64d26b4-e6ca-4041-9855-9c439ebe3ba8/runs/44ae06a1-2aa2-47e9-b15b-257678c29cf3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_serviceability/classes/4/test/lib \\
        -Dtest.modules=java.base/jdk.internal.misc \\
        --add-modules java.base \\
        --add-exports java.base/jdk.internal.misc=ALL-UNNAMED \\
        -XX:MaxRAMPercentage=4 \\
        -Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S77111/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/f64d26b4-e6ca-4041-9855-9c439ebe3ba8/runs/44ae06a1-2aa2-47e9-b15b-257678c29cf3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_serviceability/tmp \\
        -Djava.library.path=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-11.0.18+1-59/macosx-x64-debug.test/hotspot/jtreg/native \\
        -Xmx1g \\
        com.sun.javatest.regtest.agent.MainWrapper /System/Volumes/Data/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S77111/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/f64d26b4-e6ca-4041-9855-9c439ebe3ba8/runs/44ae06a1-2aa2-47e9-b15b-257678c29cf3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_serviceability/serviceability/sa/ClhsdbCDSCore.d/main.0.jta
result: Error. Program `/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-11.0.18+1-59/macosx-x64-debug.jdk/jdk-11.0.18/fastdebug/bin/java' timed out (timeout set to 9600000ms, elapsed time including timeout handling was 9640530ms).

Comments
It probably is JDK-8267433. You are also going to start seeing issues with macOS 12, which is covered by JDK-8294316.
08-11-2022