TEST: runtime/cds/DeterministicDump.java TEST JDK: /Users/runner/work/jdk-ysd/jdk-ysd/bundles/jdk/jdk-24/fastdebug ACTION: build -- Passed. Build successful REASON: Named class compiled on demand TIME: 0.643 seconds messages: command: build DeterministicDump reason: Named class compiled on demand started: Wed Aug 21 04:07:59 UTC 2024 Test directory: compile: DeterministicDump finished: Wed Aug 21 04:08:00 UTC 2024 elapsed time (seconds): 0.643 ACTION: compile -- Passed. Compilation successful REASON: .class file out of date or does not exist TIME: 0.643 seconds messages: command: compile /Users/runner/work/jdk-ysd/jdk-ysd/test/hotspot/jtreg/runtime/cds/DeterministicDump.java reason: .class file out of date or does not exist started: Wed Aug 21 04:07:59 UTC 2024 Mode: agentvm Agent id: 1 finished: Wed Aug 21 04:08:00 UTC 2024 elapsed time (seconds): 0.643 configuration: Boot Layer (javac runtime environment) class path: /Users/runner/work/jdk-ysd/jdk-ysd/jtreg/installed/lib/javatest.jar /Users/runner/work/jdk-ysd/jdk-ysd/jtreg/installed/lib/jtreg.jar patch: java.base /Users/runner/work/jdk-ysd/jdk-ysd/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_runtime/patches/java.base javac compilation environment source path: /Users/runner/work/jdk-ysd/jdk-ysd/test/hotspot/jtreg/runtime/cds /Users/runner/work/jdk-ysd/jdk-ysd/test/lib class path: /Users/runner/work/jdk-ysd/jdk-ysd/test/hotspot/jtreg/runtime/cds /Users/runner/work/jdk-ysd/jdk-ysd/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_runtime/classes/1/runtime/cds/DeterministicDump.d /Users/runner/work/jdk-ysd/jdk-ysd/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_runtime/classes/1/test/lib rerun: cd /Users/runner/work/jdk-ysd/jdk-ysd/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_runtime/scratch/1 && \ HOME=/Users/runner \ LANG=en_US.UTF-8 \ LC_ALL=C \ LC_CTYPE=en_US.UTF-8 \ PATH=/bin:/usr/bin:/usr/sbin \ TEST_IMAGE_DIR=/Users/runner/work/jdk-ysd/jdk-ysd/bundles/tests \ /Users/runner/work/jdk-ysd/jdk-ysd/bundles/jdk/jdk-24/fastdebug/bin/javac \ -J-XX:MaxRAMPercentage=12.5 \ -J-Dtest.boot.jdk=/Users/runner/work/jdk-ysd/jdk-ysd/bootjdk/jdk \ -J-Djava.io.tmpdir=/Users/runner/work/jdk-ysd/jdk-ysd/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_runtime/tmp \ -J-Dtest.vm.opts='-XX:MaxRAMPercentage=12.5 -Dtest.boot.jdk=/Users/runner/work/jdk-ysd/jdk-ysd/bootjdk/jdk -Djava.io.tmpdir=/Users/runner/work/jdk-ysd/jdk-ysd/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_runtime/tmp' \ -J-Dtest.tool.vm.opts='-J-XX:MaxRAMPercentage=12.5 -J-Dtest.boot.jdk=/Users/runner/work/jdk-ysd/jdk-ysd/bootjdk/jdk -J-Djava.io.tmpdir=/Users/runner/work/jdk-ysd/jdk-ysd/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_runtime/tmp' \ -J-Dtest.compiler.opts= \ -J-Dtest.java.opts=-XX:-CreateCoredumpOnCrash \ -J-Dtest.jdk=/Users/runner/work/jdk-ysd/jdk-ysd/bundles/jdk/jdk-24/fastdebug \ -J-Dcompile.jdk=/Users/runner/work/jdk-ysd/jdk-ysd/bundles/jdk/jdk-24/fastdebug \ -J-Dtest.timeout.factor=4.0 \ -J-Dtest.nativepath=/Users/runner/work/jdk-ysd/jdk-ysd/bundles/tests/hotspot/jtreg/native \ -J-Dtest.root=/Users/runner/work/jdk-ysd/jdk-ysd/test/hotspot/jtreg \ -J-Dtest.name=runtime/cds/DeterministicDump.java \ -J-Dtest.file=/Users/runner/work/jdk-ysd/jdk-ysd/test/hotspot/jtreg/runtime/cds/DeterministicDump.java \ -J-Dtest.src=/Users/runner/work/jdk-ysd/jdk-ysd/test/hotspot/jtreg/runtime/cds \ -J-Dtest.src.path=/Users/runner/work/jdk-ysd/jdk-ysd/test/hotspot/jtreg/runtime/cds:/Users/runner/work/jdk-ysd/jdk-ysd/test/lib \ -J-Dtest.classes=/Users/runner/work/jdk-ysd/jdk-ysd/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_runtime/classes/1/runtime/cds/DeterministicDump.d \ -J-Dtest.class.path=/Users/runner/work/jdk-ysd/jdk-ysd/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_runtime/classes/1/runtime/cds/DeterministicDump.d:/Users/runner/work/jdk-ysd/jdk-ysd/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_runtime/classes/1/test/lib \ -J-Dtest.class.path.prefix=/Users/runner/work/jdk-ysd/jdk-ysd/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_runtime/classes/1/runtime/cds/DeterministicDump.d:/Users/runner/work/jdk-ysd/jdk-ysd/test/hotspot/jtreg/runtime/cds:/Users/runner/work/jdk-ysd/jdk-ysd/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_runtime/classes/1/test/lib \ -d /Users/runner/work/jdk-ysd/jdk-ysd/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_runtime/classes/1/runtime/cds/DeterministicDump.d \ -sourcepath /Users/runner/work/jdk-ysd/jdk-ysd/test/hotspot/jtreg/runtime/cds:/Users/runner/work/jdk-ysd/jdk-ysd/test/lib \ -classpath /Users/runner/work/jdk-ysd/jdk-ysd/test/hotspot/jtreg/runtime/cds:/Users/runner/work/jdk-ysd/jdk-ysd/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_runtime/classes/1/runtime/cds/DeterministicDump.d:/Users/runner/work/jdk-ysd/jdk-ysd/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_runtime/classes/1/test/lib /Users/runner/work/jdk-ysd/jdk-ysd/test/hotspot/jtreg/runtime/cds/DeterministicDump.java direct: Note: /Users/runner/work/jdk-ysd/jdk-ysd/test/lib/jdk/test/lib/Asserts.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. ACTION: driver -- Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: File content different at byte #4, b0 = 96, b1 = 80 REASON: User specified action: run driver DeterministicDump TIME: 20.419 seconds messages: command: driver DeterministicDump reason: User specified action: run driver DeterministicDump started: Wed Aug 21 04:08:00 UTC 2024 Mode: agentvm Agent id: 3 finished: Wed Aug 21 04:08:21 UTC 2024 elapsed time (seconds): 20.419 configuration: Boot Layer class path: /Users/runner/work/jdk-ysd/jdk-ysd/jtreg/installed/lib/javatest.jar /Users/runner/work/jdk-ysd/jdk-ysd/jtreg/installed/lib/jtreg.jar /Users/runner/work/jdk-ysd/jdk-ysd/jtreg/installed/lib/junit-platform-console-standalone-1.10.2.jar /Users/runner/work/jdk-ysd/jdk-ysd/jtreg/installed/lib/testng-7.3.0.jar /Users/runner/work/jdk-ysd/jdk-ysd/jtreg/installed/lib/guice-5.1.0.jar /Users/runner/work/jdk-ysd/jdk-ysd/jtreg/installed/lib/jcommander-1.82.jar patch: java.base /Users/runner/work/jdk-ysd/jdk-ysd/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_runtime/patches/java.base Test Layer class path: /Users/runner/work/jdk-ysd/jdk-ysd/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_runtime/classes/1/runtime/cds/DeterministicDump.d /Users/runner/work/jdk-ysd/jdk-ysd/test/hotspot/jtreg/runtime/cds /Users/runner/work/jdk-ysd/jdk-ysd/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_runtime/classes/1/test/lib /Users/runner/work/jdk-ysd/jdk-ysd/test/lib rerun: cd /Users/runner/work/jdk-ysd/jdk-ysd/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_runtime/scratch/1 && \ HOME=/Users/runner \ LANG=en_US.UTF-8 \ LC_ALL=C \ LC_CTYPE=en_US.UTF-8 \ PATH=/bin:/usr/bin:/usr/sbin \ TEST_IMAGE_DIR=/Users/runner/work/jdk-ysd/jdk-ysd/bundles/tests \ /Users/runner/work/jdk-ysd/jdk-ysd/bundles/jdk/jdk-24/fastdebug/bin/java \ -Dtest.vm.opts='-XX:MaxRAMPercentage=12.5 -Dtest.boot.jdk=/Users/runner/work/jdk-ysd/jdk-ysd/bootjdk/jdk -Djava.io.tmpdir=/Users/runner/work/jdk-ysd/jdk-ysd/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_runtime/tmp' \ -Dtest.tool.vm.opts='-J-XX:MaxRAMPercentage=12.5 -J-Dtest.boot.jdk=/Users/runner/work/jdk-ysd/jdk-ysd/bootjdk/jdk -J-Djava.io.tmpdir=/Users/runner/work/jdk-ysd/jdk-ysd/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_runtime/tmp' \ -Dtest.compiler.opts= \ -Dtest.java.opts=-XX:-CreateCoredumpOnCrash \ -Dtest.jdk=/Users/runner/work/jdk-ysd/jdk-ysd/bundles/jdk/jdk-24/fastdebug \ -Dcompile.jdk=/Users/runner/work/jdk-ysd/jdk-ysd/bundles/jdk/jdk-24/fastdebug \ -Dtest.timeout.factor=4.0 \ -Dtest.nativepath=/Users/runner/work/jdk-ysd/jdk-ysd/bundles/tests/hotspot/jtreg/native \ -Dtest.root=/Users/runner/work/jdk-ysd/jdk-ysd/test/hotspot/jtreg \ -Dtest.name=runtime/cds/DeterministicDump.java \ -Dtest.file=/Users/runner/work/jdk-ysd/jdk-ysd/test/hotspot/jtreg/runtime/cds/DeterministicDump.java \ -Dtest.src=/Users/runner/work/jdk-ysd/jdk-ysd/test/hotspot/jtreg/runtime/cds \ -Dtest.src.path=/Users/runner/work/jdk-ysd/jdk-ysd/test/hotspot/jtreg/runtime/cds:/Users/runner/work/jdk-ysd/jdk-ysd/test/lib \ -Dtest.classes=/Users/runner/work/jdk-ysd/jdk-ysd/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_runtime/classes/1/runtime/cds/DeterministicDump.d \ -Dtest.class.path=/Users/runner/work/jdk-ysd/jdk-ysd/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_runtime/classes/1/runtime/cds/DeterministicDump.d:/Users/runner/work/jdk-ysd/jdk-ysd/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_runtime/classes/1/test/lib \ -Dtest.class.path.prefix=/Users/runner/work/jdk-ysd/jdk-ysd/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_runtime/classes/1/runtime/cds/DeterministicDump.d:/Users/runner/work/jdk-ysd/jdk-ysd/test/hotspot/jtreg/runtime/cds:/Users/runner/work/jdk-ysd/jdk-ysd/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_runtime/classes/1/test/lib \ -classpath /Users/runner/work/jdk-ysd/jdk-ysd/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_runtime/classes/1/runtime/cds/DeterministicDump.d:/Users/runner/work/jdk-ysd/jdk-ysd/test/hotspot/jtreg/runtime/cds:/Users/runner/work/jdk-ysd/jdk-ysd/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_runtime/classes/1/test/lib:/Users/runner/work/jdk-ysd/jdk-ysd/test/lib:/Users/runner/work/jdk-ysd/jdk-ysd/jtreg/installed/lib/javatest.jar:/Users/runner/work/jdk-ysd/jdk-ysd/jtreg/installed/lib/jtreg.jar \ DeterministicDump STDOUT: Command line: [/Users/runner/work/jdk-ysd/jdk-ysd/bundles/jdk/jdk-24/fastdebug/bin/java -cp /Users/runner/work/jdk-ysd/jdk-ysd/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_runtime/classes/1/runtime/cds/DeterministicDump.d:/Users/runner/work/jdk-ysd/jdk-ysd/test/hotspot/jtreg/runtime/cds:/Users/runner/work/jdk-ysd/jdk-ysd/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_runtime/classes/1/test/lib:/Users/runner/work/jdk-ysd/jdk-ysd/jtreg/installed/lib/javatest.jar:/Users/runner/work/jdk-ysd/jdk-ysd/jtreg/installed/lib/jtreg.jar:/Users/runner/work/jdk-ysd/jdk-ysd/jtreg/installed/lib/junit-platform-console-standalone-1.10.2.jar:/Users/runner/work/jdk-ysd/jdk-ysd/jtreg/installed/lib/testng-7.3.0.jar:/Users/runner/work/jdk-ysd/jdk-ysd/jtreg/installed/lib/guice-5.1.0.jar:/Users/runner/work/jdk-ysd/jdk-ysd/jtreg/installed/lib/jcommander-1.82.jar -XX:MaxRAMPercentage=12.5 -Dtest.boot.jdk=/Users/runner/work/jdk-ysd/jdk-ysd/bootjdk/jdk -Djava.io.tmpdir=/Users/runner/work/jdk-ysd/jdk-ysd/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_runtime/tmp -XX:-CreateCoredumpOnCrash -Xint -Xlog:cds=debug -Xlog:cds+map*=trace:file=SharedArchiveFile0.map:none:filesize=0 -Xshare:dump -Xlog:cds,cds+hashtables -XX:SharedArchiveFile=SharedArchiveFile0.jsa -Xmx128M -XX:-UseCompressedOops ] [2024-08-21T04:08:00.642470Z] Gathering output for process 5348 [ELAPSED: 7119 ms] [logging stdout to /Users/runner/work/jdk-ysd/jdk-ysd/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_runtime/scratch/1/runtime.cds.DeterministicDump.java-0000-dump.stdout] [logging stderr to /Users/runner/work/jdk-ysd/jdk-ysd/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_runtime/scratch/1/runtime.cds.DeterministicDump.java-0000-dump.stderr] [STDERR] [2024-08-21T04:08:07.758427Z] Waiting for completion for process 5348 [2024-08-21T04:08:07.758628Z] Waiting for completion finished for process 5348 Command line: [/Users/runner/work/jdk-ysd/jdk-ysd/bundles/jdk/jdk-24/fastdebug/bin/java -cp /Users/runner/work/jdk-ysd/jdk-ysd/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_runtime/classes/1/runtime/cds/DeterministicDump.d:/Users/runner/work/jdk-ysd/jdk-ysd/test/hotspot/jtreg/runtime/cds:/Users/runner/work/jdk-ysd/jdk-ysd/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_runtime/classes/1/test/lib:/Users/runner/work/jdk-ysd/jdk-ysd/jtreg/installed/lib/javatest.jar:/Users/runner/work/jdk-ysd/jdk-ysd/jtreg/installed/lib/jtreg.jar:/Users/runner/work/jdk-ysd/jdk-ysd/jtreg/installed/lib/junit-platform-console-standalone-1.10.2.jar:/Users/runner/work/jdk-ysd/jdk-ysd/jtreg/installed/lib/testng-7.3.0.jar:/Users/runner/work/jdk-ysd/jdk-ysd/jtreg/installed/lib/guice-5.1.0.jar:/Users/runner/work/jdk-ysd/jdk-ysd/jtreg/installed/lib/jcommander-1.82.jar -XX:MaxRAMPercentage=12.5 -Dtest.boot.jdk=/Users/runner/work/jdk-ysd/jdk-ysd/bootjdk/jdk -Djava.io.tmpdir=/Users/runner/work/jdk-ysd/jdk-ysd/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_runtime/tmp -XX:-CreateCoredumpOnCrash -Xint -Xlog:cds=debug -Xlog:cds+map*=trace:file=SharedArchiveFile1.map:none:filesize=0 -Xshare:dump -Xlog:cds,cds+hashtables -XX:SharedArchiveFile=SharedArchiveFile1.jsa -Xmx128M -XX:-UseCompressedOops ] [2024-08-21T04:08:07.766629Z] Gathering output for process 5354 [ELAPSED: 6040 ms] [logging stdout to /Users/runner/work/jdk-ysd/jdk-ysd/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_runtime/scratch/1/runtime.cds.DeterministicDump.java-0001-dump.stdout] [logging stderr to /Users/runner/work/jdk-ysd/jdk-ysd/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_runtime/scratch/1/runtime.cds.DeterministicDump.java-0001-dump.stderr] [STDERR] [2024-08-21T04:08:13.807069Z] Waiting for completion for process 5354 [2024-08-21T04:08:13.807161Z] Waiting for completion finished for process 5354 File contents are the same: 16924672 bytes Command line: [/Users/runner/work/jdk-ysd/jdk-ysd/bundles/jdk/jdk-24/fastdebug/bin/java -cp /Users/runner/work/jdk-ysd/jdk-ysd/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_runtime/classes/1/runtime/cds/DeterministicDump.d:/Users/runner/work/jdk-ysd/jdk-ysd/test/hotspot/jtreg/runtime/cds:/Users/runner/work/jdk-ysd/jdk-ysd/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_runtime/classes/1/test/lib:/Users/runner/work/jdk-ysd/jdk-ysd/jtreg/installed/lib/javatest.jar:/Users/runner/work/jdk-ysd/jdk-ysd/jtreg/installed/lib/jtreg.jar:/Users/runner/work/jdk-ysd/jdk-ysd/jtreg/installed/lib/junit-platform-console-standalone-1.10.2.jar:/Users/runner/work/jdk-ysd/jdk-ysd/jtreg/installed/lib/testng-7.3.0.jar:/Users/runner/work/jdk-ysd/jdk-ysd/jtreg/installed/lib/guice-5.1.0.jar:/Users/runner/work/jdk-ysd/jdk-ysd/jtreg/installed/lib/jcommander-1.82.jar -XX:MaxRAMPercentage=12.5 -Dtest.boot.jdk=/Users/runner/work/jdk-ysd/jdk-ysd/bootjdk/jdk -Djava.io.tmpdir=/Users/runner/work/jdk-ysd/jdk-ysd/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_runtime/tmp -XX:-CreateCoredumpOnCrash -Xint -Xlog:cds=debug -Xlog:cds+map*=trace:file=SharedArchiveFile2.map:none:filesize=0 -Xshare:dump -Xlog:cds,cds+hashtables -XX:SharedArchiveFile=SharedArchiveFile2.jsa -Xmx128M -XX:-UseCompressedOops -XX:+UnlockDiagnosticVMOptions -XX:ArchiveRelocationMode=1 ] [2024-08-21T04:08:13.869268Z] Gathering output for process 5383 [ELAPSED: 7113 ms] [logging stdout to /Users/runner/work/jdk-ysd/jdk-ysd/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_runtime/scratch/1/runtime.cds.DeterministicDump.java-0002-dump.stdout] [logging stderr to /Users/runner/work/jdk-ysd/jdk-ysd/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_runtime/scratch/1/runtime.cds.DeterministicDump.java-0002-dump.stderr] [STDERR] [2024-08-21T04:08:20.983855Z] Waiting for completion for process 5383 [2024-08-21T04:08:20.984264Z] Waiting for completion finished for process 5383 STDERR: java.lang.RuntimeException: File content different at byte #4, b0 = 96, b1 = 80 at DeterministicDump.compare(DeterministicDump.java:114) at DeterministicDump.doTest(DeterministicDump.java:73) at DeterministicDump.main(DeterministicDump.java:42) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:573) at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333) at java.base/java.lang.Thread.run(Thread.java:1575) JavaTest Message: Test threw exception: java.lang.RuntimeException JavaTest Message: shutting down test TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: File content different at byte #4, b0 = 96, b1 = 80