The following test fails in the Valhalla CI when the --enable-preview option
is used:
runtime/cds/appcds/cacheObject/ArchivedIntegerCacheTest.java
Here's a snippet from the log file:
#section:main
----------messages:(7/444)----------
command: main -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:./WhiteBox.jar ArchivedIntegerCacheTest
reason: User specified action: run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:./WhiteBox.jar ArchivedIntegerCacheTest
started: Thu Jan 08 13:21:50.154 UTC 2026
Mode: othervm [/othervm specified]
Process id: 513613
finished: Thu Jan 08 13:21:54.496 UTC 2026
elapsed time (seconds): 4.342
----------configuration:(0/0)----------
----------System.out:(24/10621)----------
Command line: [/opt/mach5/mesos/work_dir/jib-master/install/jdk-27-valhalla+1-20/linux-aarch64-debug.jdk/jdk-27/fastdebug/bin/java -cp /opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S28313/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a503bd43-6bee-41aa-a467-6c178a9ec6ef/runs/112bf0d2-7ee1-46e9-92d9-3d18a49a0f1c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/classes/3/runtime/cds/appcds/cacheObject/ArchivedIntegerCacheTest.d:/opt/mach5/mesos/work_dir/jib-master/install/jdk-27-valhalla+1-20/src.full/open/test/hotspot/jtreg/runtime/cds/appcds/cacheObject:/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S28313/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a503bd43-6bee-41aa-a467-6c178a9ec6ef/runs/112bf0d2-7ee1-46e9-92d9-3d18a49a0f1c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/classes/3/runtime/cds/appcds/cacheObject/ArchivedIntegerCacheTest.d/test/jdk/lib/testlibrary:/opt/mach5/mesos/work_dir/jib-master/install/jdk-27-valhalla+1-20/src.full/open/test/jdk/lib/testlibrary:/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S28313/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a503bd43-6bee-41aa-a467-6c178a9ec6ef/runs/112bf0d2-7ee1-46e9-92d9-3d18a49a0f1c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/classes/3/runtime/cds/appcds/cacheObject/ArchivedIntegerCacheTest.d/test/lib:/opt/mach5/mesos/work_dir/jib-master/install/jdk-27-valhalla+1-20/src.full/open/test/lib:/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S28313/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a503bd43-6bee-41aa-a467-6c178a9ec6ef/runs/112bf0d2-7ee1-46e9-92d9-3d18a49a0f1c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/classes/3/runtime/cds/appcds/cacheObject/ArchivedIntegerCacheTest.d/test/hotspot/jtreg/runtime/cds/appcds:/opt/mach5/mesos/work_dir/jib-master/install/jdk-27-valhalla+1-20/src.full/open/test/hotspot/jtreg/runtime/cds/appcds:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/8.1/1/bundles/jtreg-8.1+1.zip/jtreg/lib/jtreg.jar -XX:MaxRAMPercentage=6.25 -Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/25/37/bundles/linux-aarch64/jdk-25_linux-aarch64_bin.tar.gz/jdk-25 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S28313/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a503bd43-6bee-41aa-a467-6c178a9ec6ef/runs/112bf0d2-7ee1-46e9-92d9-3d18a49a0f1c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/tmp --enable-preview -cp /opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S28313/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a503bd43-6bee-41aa-a467-6c178a9ec6ef/runs/112bf0d2-7ee1-46e9-92d9-3d18a49a0f1c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/scratch/3/boxCache.jar -Xshare:dump -Xlog:cds -XX:SharedArchiveFile=/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S28313/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a503bd43-6bee-41aa-a467-6c178a9ec6ef/runs/112bf0d2-7ee1-46e9-92d9-3d18a49a0f1c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/scratch/3/appcds-13h21m50s900.jsa -XX:ExtraSharedClassListFile=/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S28313/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a503bd43-6bee-41aa-a467-6c178a9ec6ef/runs/112bf0d2-7ee1-46e9-92d9-3d18a49a0f1c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/scratch/3/runtime.cds.appcds.cacheObject.ArchivedIntegerCacheTest.java-test.classlist --add-exports java.base/jdk.internal.misc=ALL-UNNAMED -Xbootclasspath/a:/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S28313/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a503bd43-6bee-41aa-a467-6c178a9ec6ef/runs/112bf0d2-7ee1-46e9-92d9-3d18a49a0f1c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/scratch/3/boxCache-boot.jar -XX:+IgnoreUnrecognizedVMOptions -XX:ArchiveHeapTestClass=ArchivedIntegerHolder ]
[2026-01-08T13:21:51.196587314Z] Gathering output for process 513674
[ELAPSED: 2629 ms]
[logging stdout to /opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S28313/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a503bd43-6bee-41aa-a467-6c178a9ec6ef/runs/112bf0d2-7ee1-46e9-92d9-3d18a49a0f1c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/scratch/3/runtime.cds.appcds.cacheObject.ArchivedIntegerCacheTest.java-0000-dump.stdout]
[logging stderr to /opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S28313/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a503bd43-6bee-41aa-a467-6c178a9ec6ef/runs/112bf0d2-7ee1-46e9-92d9-3d18a49a0f1c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/scratch/3/runtime.cds.appcds.cacheObject.ArchivedIntegerCacheTest.java-0000-dump.stderr]
[STDERR]
[2026-01-08T13:21:53.828661872Z] Waiting for completion for process 513674
[2026-01-08T13:21:53.828925434Z] Waiting for completion finished for process 513674
----------------------- Test case 1 ----------------------
Command line: [/opt/mach5/mesos/work_dir/jib-master/install/jdk-27-valhalla+1-20/linux-aarch64-debug.jdk/jdk-27/fastdebug/bin/java -cp /opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S28313/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a503bd43-6bee-41aa-a467-6c178a9ec6ef/runs/112bf0d2-7ee1-46e9-92d9-3d18a49a0f1c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/classes/3/runtime/cds/appcds/cacheObject/ArchivedIntegerCacheTest.d:/opt/mach5/mesos/work_dir/jib-master/install/jdk-27-valhalla+1-20/src.full/open/test/hotspot/jtreg/runtime/cds/appcds/cacheObject:/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S28313/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a503bd43-6bee-41aa-a467-6c178a9ec6ef/runs/112bf0d2-7ee1-46e9-92d9-3d18a49a0f1c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/classes/3/runtime/cds/appcds/cacheObject/ArchivedIntegerCacheTest.d/test/jdk/lib/testlibrary:/opt/mach5/mesos/work_dir/jib-master/install/jdk-27-valhalla+1-20/src.full/open/test/jdk/lib/testlibrary:/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S28313/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a503bd43-6bee-41aa-a467-6c178a9ec6ef/runs/112bf0d2-7ee1-46e9-92d9-3d18a49a0f1c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/classes/3/runtime/cds/appcds/cacheObject/ArchivedIntegerCacheTest.d/test/lib:/opt/mach5/mesos/work_dir/jib-master/install/jdk-27-valhalla+1-20/src.full/open/test/lib:/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S28313/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a503bd43-6bee-41aa-a467-6c178a9ec6ef/runs/112bf0d2-7ee1-46e9-92d9-3d18a49a0f1c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/classes/3/runtime/cds/appcds/cacheObject/ArchivedIntegerCacheTest.d/test/hotspot/jtreg/runtime/cds/appcds:/opt/mach5/mesos/work_dir/jib-master/install/jdk-27-valhalla+1-20/src.full/open/test/hotspot/jtreg/runtime/cds/appcds:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/8.1/1/bundles/jtreg-8.1+1.zip/jtreg/lib/jtreg.jar -XX:MaxRAMPercentage=6.25 -Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/25/37/bundles/linux-aarch64/jdk-25_linux-aarch64_bin.tar.gz/jdk-25 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S28313/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a503bd43-6bee-41aa-a467-6c178a9ec6ef/runs/112bf0d2-7ee1-46e9-92d9-3d18a49a0f1c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/tmp --enable-preview -Xshare:on -showversion -XX:SharedArchiveFile=/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S28313/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a503bd43-6bee-41aa-a467-6c178a9ec6ef/runs/112bf0d2-7ee1-46e9-92d9-3d18a49a0f1c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/scratch/3/appcds-13h21m50s900.jsa -Dtest.timeout.factor=4.0 -cp /opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S28313/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a503bd43-6bee-41aa-a467-6c178a9ec6ef/runs/112bf0d2-7ee1-46e9-92d9-3d18a49a0f1c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/scratch/3/boxCache.jar --add-exports java.base/jdk.internal.misc=ALL-UNNAMED -Xbootclasspath/a:/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S28313/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a503bd43-6bee-41aa-a467-6c178a9ec6ef/runs/112bf0d2-7ee1-46e9-92d9-3d18a49a0f1c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/scratch/3/boxCache-boot.jar -XX:+IgnoreUnrecognizedVMOptions -XX:ArchiveHeapTestClass=ArchivedIntegerHolder CheckIntegerCacheApp 127 ]
[2026-01-08T13:21:53.850453340Z] Gathering output for process 513776
[ELAPSED: 512 ms]
[logging stdout to /opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S28313/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a503bd43-6bee-41aa-a467-6c178a9ec6ef/runs/112bf0d2-7ee1-46e9-92d9-3d18a49a0f1c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/scratch/3/runtime.cds.appcds.cacheObject.ArchivedIntegerCacheTest.java-0001-exec.stdout]
[logging stderr to /opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S28313/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a503bd43-6bee-41aa-a467-6c178a9ec6ef/runs/112bf0d2-7ee1-46e9-92d9-3d18a49a0f1c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/scratch/3/runtime.cds.appcds.cacheObject.ArchivedIntegerCacheTest.java-0001-exec.stderr]
[STDERR]
java version "27-valhalla" 2026-09-15
Java(TM) SE Runtime Environment (fastdebug build 27-valhalla+1-20)
Java HotSpot(TM) 64-Bit Server VM (fastdebug build 27-valhalla+1-20, mixed mode, sharing)
Exception in thread "main" java.lang.RuntimeException: FAILED. Value not expected to be retrieved from cache: 127
at CheckIntegerCacheApp.main(CheckIntegerCacheApp.java:86)
[2026-01-08T13:21:54.362462149Z] Waiting for completion for process 513776
[2026-01-08T13:21:54.362770790Z] Waiting for completion finished for process 513776
----------System.err:(23/1364)----------
stdout: [];
stderr: [java version "27-valhalla" 2026-09-15
Java(TM) SE Runtime Environment (fastdebug build 27-valhalla+1-20)
Java HotSpot(TM) 64-Bit Server VM (fastdebug build 27-valhalla+1-20, mixed mode, sharing)
Exception in thread "main" java.lang.RuntimeException: FAILED. Value not expected to be retrieved from cache: 127
at CheckIntegerCacheApp.main(CheckIntegerCacheApp.java:86)
]
exitValue = 1
java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [1]
at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:549)
at jdk.test.lib.cds.CDSTestUtils.checkExec(CDSTestUtils.java:478)
at jdk.test.lib.cds.CDSTestUtils.checkExec(CDSTestUtils.java:467)
at ArchivedIntegerCacheTest.main(ArchivedIntegerCacheTest.java:81)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1516)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [1]
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [1]
----------rerun:(44/10888)*----------
The key piece of output from the test appears to be this snippet:
FAILED. Value not expected to be retrieved from cache: 127
There are currently nine sightings in the Valhalla CI on various
platforms. The most recently finished Tier7 (jdk-27-valhalla+1-20)
executed the test 19 times and only the config with --enable-preview
failed.
is used:
runtime/cds/appcds/cacheObject/ArchivedIntegerCacheTest.java
Here's a snippet from the log file:
#section:main
----------messages:(7/444)----------
command: main -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:./WhiteBox.jar ArchivedIntegerCacheTest
reason: User specified action: run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:./WhiteBox.jar ArchivedIntegerCacheTest
started: Thu Jan 08 13:21:50.154 UTC 2026
Mode: othervm [/othervm specified]
Process id: 513613
finished: Thu Jan 08 13:21:54.496 UTC 2026
elapsed time (seconds): 4.342
----------configuration:(0/0)----------
----------System.out:(24/10621)----------
Command line: [/opt/mach5/mesos/work_dir/jib-master/install/jdk-27-valhalla+1-20/linux-aarch64-debug.jdk/jdk-27/fastdebug/bin/java -cp /opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S28313/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a503bd43-6bee-41aa-a467-6c178a9ec6ef/runs/112bf0d2-7ee1-46e9-92d9-3d18a49a0f1c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/classes/3/runtime/cds/appcds/cacheObject/ArchivedIntegerCacheTest.d:/opt/mach5/mesos/work_dir/jib-master/install/jdk-27-valhalla+1-20/src.full/open/test/hotspot/jtreg/runtime/cds/appcds/cacheObject:/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S28313/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a503bd43-6bee-41aa-a467-6c178a9ec6ef/runs/112bf0d2-7ee1-46e9-92d9-3d18a49a0f1c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/classes/3/runtime/cds/appcds/cacheObject/ArchivedIntegerCacheTest.d/test/jdk/lib/testlibrary:/opt/mach5/mesos/work_dir/jib-master/install/jdk-27-valhalla+1-20/src.full/open/test/jdk/lib/testlibrary:/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S28313/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a503bd43-6bee-41aa-a467-6c178a9ec6ef/runs/112bf0d2-7ee1-46e9-92d9-3d18a49a0f1c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/classes/3/runtime/cds/appcds/cacheObject/ArchivedIntegerCacheTest.d/test/lib:/opt/mach5/mesos/work_dir/jib-master/install/jdk-27-valhalla+1-20/src.full/open/test/lib:/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S28313/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a503bd43-6bee-41aa-a467-6c178a9ec6ef/runs/112bf0d2-7ee1-46e9-92d9-3d18a49a0f1c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/classes/3/runtime/cds/appcds/cacheObject/ArchivedIntegerCacheTest.d/test/hotspot/jtreg/runtime/cds/appcds:/opt/mach5/mesos/work_dir/jib-master/install/jdk-27-valhalla+1-20/src.full/open/test/hotspot/jtreg/runtime/cds/appcds:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/8.1/1/bundles/jtreg-8.1+1.zip/jtreg/lib/jtreg.jar -XX:MaxRAMPercentage=6.25 -Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/25/37/bundles/linux-aarch64/jdk-25_linux-aarch64_bin.tar.gz/jdk-25 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S28313/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a503bd43-6bee-41aa-a467-6c178a9ec6ef/runs/112bf0d2-7ee1-46e9-92d9-3d18a49a0f1c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/tmp --enable-preview -cp /opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S28313/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a503bd43-6bee-41aa-a467-6c178a9ec6ef/runs/112bf0d2-7ee1-46e9-92d9-3d18a49a0f1c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/scratch/3/boxCache.jar -Xshare:dump -Xlog:cds -XX:SharedArchiveFile=/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S28313/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a503bd43-6bee-41aa-a467-6c178a9ec6ef/runs/112bf0d2-7ee1-46e9-92d9-3d18a49a0f1c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/scratch/3/appcds-13h21m50s900.jsa -XX:ExtraSharedClassListFile=/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S28313/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a503bd43-6bee-41aa-a467-6c178a9ec6ef/runs/112bf0d2-7ee1-46e9-92d9-3d18a49a0f1c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/scratch/3/runtime.cds.appcds.cacheObject.ArchivedIntegerCacheTest.java-test.classlist --add-exports java.base/jdk.internal.misc=ALL-UNNAMED -Xbootclasspath/a:/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S28313/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a503bd43-6bee-41aa-a467-6c178a9ec6ef/runs/112bf0d2-7ee1-46e9-92d9-3d18a49a0f1c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/scratch/3/boxCache-boot.jar -XX:+IgnoreUnrecognizedVMOptions -XX:ArchiveHeapTestClass=ArchivedIntegerHolder ]
[2026-01-08T13:21:51.196587314Z] Gathering output for process 513674
[ELAPSED: 2629 ms]
[logging stdout to /opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S28313/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a503bd43-6bee-41aa-a467-6c178a9ec6ef/runs/112bf0d2-7ee1-46e9-92d9-3d18a49a0f1c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/scratch/3/runtime.cds.appcds.cacheObject.ArchivedIntegerCacheTest.java-0000-dump.stdout]
[logging stderr to /opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S28313/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a503bd43-6bee-41aa-a467-6c178a9ec6ef/runs/112bf0d2-7ee1-46e9-92d9-3d18a49a0f1c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/scratch/3/runtime.cds.appcds.cacheObject.ArchivedIntegerCacheTest.java-0000-dump.stderr]
[STDERR]
[2026-01-08T13:21:53.828661872Z] Waiting for completion for process 513674
[2026-01-08T13:21:53.828925434Z] Waiting for completion finished for process 513674
----------------------- Test case 1 ----------------------
Command line: [/opt/mach5/mesos/work_dir/jib-master/install/jdk-27-valhalla+1-20/linux-aarch64-debug.jdk/jdk-27/fastdebug/bin/java -cp /opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S28313/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a503bd43-6bee-41aa-a467-6c178a9ec6ef/runs/112bf0d2-7ee1-46e9-92d9-3d18a49a0f1c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/classes/3/runtime/cds/appcds/cacheObject/ArchivedIntegerCacheTest.d:/opt/mach5/mesos/work_dir/jib-master/install/jdk-27-valhalla+1-20/src.full/open/test/hotspot/jtreg/runtime/cds/appcds/cacheObject:/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S28313/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a503bd43-6bee-41aa-a467-6c178a9ec6ef/runs/112bf0d2-7ee1-46e9-92d9-3d18a49a0f1c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/classes/3/runtime/cds/appcds/cacheObject/ArchivedIntegerCacheTest.d/test/jdk/lib/testlibrary:/opt/mach5/mesos/work_dir/jib-master/install/jdk-27-valhalla+1-20/src.full/open/test/jdk/lib/testlibrary:/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S28313/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a503bd43-6bee-41aa-a467-6c178a9ec6ef/runs/112bf0d2-7ee1-46e9-92d9-3d18a49a0f1c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/classes/3/runtime/cds/appcds/cacheObject/ArchivedIntegerCacheTest.d/test/lib:/opt/mach5/mesos/work_dir/jib-master/install/jdk-27-valhalla+1-20/src.full/open/test/lib:/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S28313/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a503bd43-6bee-41aa-a467-6c178a9ec6ef/runs/112bf0d2-7ee1-46e9-92d9-3d18a49a0f1c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/classes/3/runtime/cds/appcds/cacheObject/ArchivedIntegerCacheTest.d/test/hotspot/jtreg/runtime/cds/appcds:/opt/mach5/mesos/work_dir/jib-master/install/jdk-27-valhalla+1-20/src.full/open/test/hotspot/jtreg/runtime/cds/appcds:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/8.1/1/bundles/jtreg-8.1+1.zip/jtreg/lib/jtreg.jar -XX:MaxRAMPercentage=6.25 -Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/25/37/bundles/linux-aarch64/jdk-25_linux-aarch64_bin.tar.gz/jdk-25 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S28313/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a503bd43-6bee-41aa-a467-6c178a9ec6ef/runs/112bf0d2-7ee1-46e9-92d9-3d18a49a0f1c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/tmp --enable-preview -Xshare:on -showversion -XX:SharedArchiveFile=/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S28313/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a503bd43-6bee-41aa-a467-6c178a9ec6ef/runs/112bf0d2-7ee1-46e9-92d9-3d18a49a0f1c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/scratch/3/appcds-13h21m50s900.jsa -Dtest.timeout.factor=4.0 -cp /opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S28313/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a503bd43-6bee-41aa-a467-6c178a9ec6ef/runs/112bf0d2-7ee1-46e9-92d9-3d18a49a0f1c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/scratch/3/boxCache.jar --add-exports java.base/jdk.internal.misc=ALL-UNNAMED -Xbootclasspath/a:/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S28313/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a503bd43-6bee-41aa-a467-6c178a9ec6ef/runs/112bf0d2-7ee1-46e9-92d9-3d18a49a0f1c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/scratch/3/boxCache-boot.jar -XX:+IgnoreUnrecognizedVMOptions -XX:ArchiveHeapTestClass=ArchivedIntegerHolder CheckIntegerCacheApp 127 ]
[2026-01-08T13:21:53.850453340Z] Gathering output for process 513776
[ELAPSED: 512 ms]
[logging stdout to /opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S28313/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a503bd43-6bee-41aa-a467-6c178a9ec6ef/runs/112bf0d2-7ee1-46e9-92d9-3d18a49a0f1c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/scratch/3/runtime.cds.appcds.cacheObject.ArchivedIntegerCacheTest.java-0001-exec.stdout]
[logging stderr to /opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S28313/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a503bd43-6bee-41aa-a467-6c178a9ec6ef/runs/112bf0d2-7ee1-46e9-92d9-3d18a49a0f1c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/scratch/3/runtime.cds.appcds.cacheObject.ArchivedIntegerCacheTest.java-0001-exec.stderr]
[STDERR]
java version "27-valhalla" 2026-09-15
Java(TM) SE Runtime Environment (fastdebug build 27-valhalla+1-20)
Java HotSpot(TM) 64-Bit Server VM (fastdebug build 27-valhalla+1-20, mixed mode, sharing)
Exception in thread "main" java.lang.RuntimeException: FAILED. Value not expected to be retrieved from cache: 127
at CheckIntegerCacheApp.main(CheckIntegerCacheApp.java:86)
[2026-01-08T13:21:54.362462149Z] Waiting for completion for process 513776
[2026-01-08T13:21:54.362770790Z] Waiting for completion finished for process 513776
----------System.err:(23/1364)----------
stdout: [];
stderr: [java version "27-valhalla" 2026-09-15
Java(TM) SE Runtime Environment (fastdebug build 27-valhalla+1-20)
Java HotSpot(TM) 64-Bit Server VM (fastdebug build 27-valhalla+1-20, mixed mode, sharing)
Exception in thread "main" java.lang.RuntimeException: FAILED. Value not expected to be retrieved from cache: 127
at CheckIntegerCacheApp.main(CheckIntegerCacheApp.java:86)
]
exitValue = 1
java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [1]
at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:549)
at jdk.test.lib.cds.CDSTestUtils.checkExec(CDSTestUtils.java:478)
at jdk.test.lib.cds.CDSTestUtils.checkExec(CDSTestUtils.java:467)
at ArchivedIntegerCacheTest.main(ArchivedIntegerCacheTest.java:81)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1516)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [1]
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [1]
----------rerun:(44/10888)*----------
The key piece of output from the test appears to be this snippet:
FAILED. Value not expected to be retrieved from cache: 127
There are currently nine sightings in the Valhalla CI on various
platforms. The most recently finished Tier7 (jdk-27-valhalla+1-20)
executed the test 19 times and only the config with --enable-preview
failed.
There are no Sub-Tasks for this issue.