-
-
Notifications
You must be signed in to change notification settings - Fork 335
Closed
Description
This relatively new test expects a cds archive to be present, but we do not produce one on this platform because we are cross-compiling (reference related: temurin-build issue).
Found in Sept 2025 dry-run triage in #6555 (comment) (trss log)
12:58:57 STDOUT:
12:58:57 ============== Cloned JDK at /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.openjdk_x86-64_mac_testList_1/aqa-tests/TKG/output_17570911304966/hotspot_tier1_runtime_0/work/scratch/0/moved_jdk
12:58:57 [ /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.openjdk_x86-64_mac_testList_1/aqa-tests/TKG/output_17570911304966/hotspot_tier1_runtime_0/work/scratch/0/moved_jdk/bin/java -Xshare:on -Xlog:cds -version ]
12:58:57 [2025-09-05T16:58:31.593486Z] Gathering output for process 4564
12:58:57 [ELAPSED: 11364 ms]
12:58:57 [logging stdout to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.openjdk_x86-64_mac_testList_1/aqa-tests/TKG/output_17570911304966/hotspot_tier1_runtime_0/work/scratch/0/runtime.cds.NonJVMVariantLocation.java-0000-exec-dst.stdout]
12:58:57 [logging stderr to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.openjdk_x86-64_mac_testList_1/aqa-tests/TKG/output_17570911304966/hotspot_tier1_runtime_0/work/scratch/0/runtime.cds.NonJVMVariantLocation.java-0000-exec-dst.stderr]
12:58:57 [STDERR]
12:58:57
12:58:57 [2025-09-05T16:58:42.956387Z] Waiting for completion for process 4564
12:58:57 [2025-09-05T16:58:42.982336Z] Waiting for completion finished for process 4564
12:58:57 STDERR:
12:58:57 stdout: [[0.331s][info][cds] trying to map /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.openjdk_x86-64_mac_testList_1/aqa-tests/TKG/output_17570911304966/hotspot_tier1_runtime_0/work/scratch/0/moved_jdk/lib/release/classes.jsa
12:58:57 [0.332s][info][cds] Specified shared archive file not found (/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.openjdk_x86-64_mac_testList_1/aqa-tests/TKG/output_17570911304966/hotspot_tier1_runtime_0/work/scratch/0/moved_jdk/lib/release/classes.jsa)
12:58:57 [0.332s][info][cds] An error has occurred while processing the shared archive file. Run with -Xlog:aot,cds for details.
12:58:57 [0.332s][info][cds] Loading static archive failed.
12:58:57 [0.332s][info][cds] Unable to map shared spaces
12:58:57 Error occurred during initialization of VM
12:58:57 Unable to use shared archive.
12:58:57 ];
12:58:57 stderr: []
12:58:57 exitValue = 1
12:58:57
12:58:57 java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [1]
12:58:57 at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:522)
12:58:57 at NonJVMVariantLocation.main(NonJVMVariantLocation.java:75)
12:58:57 at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
12:58:57 at java.base/java.lang.reflect.Method.invoke(Method.java:565)
12:58:57 at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:335)
12:58:57 at java.base/java.lang.Thread.run(Thread.java:1474)
12:58:57
12:58:57 JavaTest Message: Test threw exception: java.lang.RuntimeException
12:58:57 JavaTest Message: shutting down test
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done