#Test Results (version 2) #Fri Aug 25 04:07:35 UTC 2023 #-----testdescription----- $file=/home/runner/work/jdk/jdk/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchiveUpgrade.java $root=/home/runner/work/jdk/jdk/test/hotspot/jtreg keywords=driver library=/test/lib requires=vm.cds & vm.bits \=\= "64" run=USER_SPECIFIED compile -source 1.8 -target 1.8 ../test-classes/HelloJDK8.java\nUSER_SPECIFIED driver jdk.test.lib.helpers.ClassFileInstaller -jar Hello.jar HelloJDK8\nUSER_SPECIFIED driver TestAutoCreateSharedArchiveUpgrade\n source=TestAutoCreateSharedArchiveUpgrade.java title=Check that -XX\:+AutoCreateSharedArchive automatically recreates an archive when you change the JDK version. #-----environment----- #-----testresult----- description=file\:/home/runner/work/jdk/jdk/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchiveUpgrade.java elapsed=1707 0\:00\:01.707 end=Fri Aug 25 04\:07\:35 UTC 2023 environment=regtest execStatus=Failed. Execution failed\: `main' threw exception\: java.io.IOException\: Cannot run program "bootjdk/jdk/bin/java"\: error\=2, No such file or directory harnessLoaderMode=Classpath Loader harnessVariety=Full Bundle hostname=fv-az950-974.epqt45w5x45uregolfk5k5zmld.jx.internal.cloudapp.net javatestOS=Linux 5.15.0-1041-azure (amd64) javatestVersion=6.0-ea+b24-2023-08-22-${BUILT_FROM_COMMIT} jtregVersion=jtreg 7.3.1 dev 0 script=com.sun.javatest.regtest.exec.RegressionScript sections=script_messages compile build driver build compile driver start=Fri Aug 25 04\:07\:33 UTC 2023 test=runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchiveUpgrade.java testJDK=/home/runner/work/jdk/jdk/bundles/jdk/jdk-22/fastdebug testJDK_OS=[name\:Linux,arch\:amd64,version\:5.15.0-1041-azure,family\:linux,simple_arch\:x64,simple_version\:5.15,processors\:2,maxMemory\:7268679680,maxSwap\:4294963200] testJDK_os.arch=amd64 testJDK_os.name=Linux testJDK_os.version=5.15.0-1041-azure totalTime=1708 user.name=runner work=/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/runtime/cds/appcds/dynamicArchive #section:script_messages ----------messages:(7/567)---------- JDK under test: /home/runner/work/jdk/jdk/bundles/jdk/jdk-22/fastdebug openjdk version "22-internal" 2024-03-19 OpenJDK Runtime Environment (fastdebug build 22-internal-navyxliu-4c494d98730834d3b771369ff456de225814989d) OpenJDK 64-Bit Server VM (fastdebug build 22-internal-navyxliu-4c494d98730834d3b771369ff456de225814989d, mixed mode, sharing) Library /test/lib; kind: packages source directory: /home/runner/work/jdk/jdk/test/lib class directory: /home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/classes/test/lib #section:compile ----------messages:(7/383)---------- command: compile -source 1.8 -target 1.8 /home/runner/work/jdk/jdk/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/../test-classes/HelloJDK8.java reason: User specified action: run compile -source 1.8 -target 1.8 ../test-classes/HelloJDK8.java started: Fri Aug 25 04:07:33 UTC 2023 Mode: agentvm Agent id: 1 finished: Fri Aug 25 04:07:33 UTC 2023 elapsed time (seconds): 0.212 ----------configuration:(12/904)---------- Boot Layer (javac runtime environment) class path: /home/runner/work/jdk/jdk/jtreg/installed/lib/javatest.jar /home/runner/work/jdk/jdk/jtreg/installed/lib/jtreg.jar patch: java.base /home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/patches/java.base javac compilation environment source path: /home/runner/work/jdk/jdk/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive /home/runner/work/jdk/jdk/test/lib class path: /home/runner/work/jdk/jdk/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive /home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/classes/runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchiveUpgrade.d /home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/classes/test/lib ----------rerun:(34/3871)*---------- cd /home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/scratch && \\ HOME=/home/runner \\ LANG=C.UTF-8 \\ LC_ALL=C \\ PATH=/bin:/usr/bin:/usr/sbin \\ TEST_IMAGE_DIR=/home/runner/work/jdk/jdk/bundles/tests \\ XDG_CONFIG_HOME=/home/runner/.config \\ XDG_RUNTIME_DIR=/run/user/1001 \\ _JVM_DWARF_PATH=/home/runner/work/jdk/jdk/bundles/symbols/jdk-22/fastdebug \\ /home/runner/work/jdk/jdk/bundles/jdk/jdk-22/fastdebug/bin/javac \\ -J-XX:MaxRAMPercentage=25 \\ -J-Dtest.boot.jdk=bootjdk/jdk \\ -J-Djava.io.tmpdir=/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/tmp \\ -J-Dtest.vm.opts='-XX:MaxRAMPercentage=25 -Dtest.boot.jdk=bootjdk/jdk -Djava.io.tmpdir=/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/tmp' \\ -J-Dtest.tool.vm.opts='-J-XX:MaxRAMPercentage=25 -J-Dtest.boot.jdk=bootjdk/jdk -J-Djava.io.tmpdir=/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/tmp' \\ -J-Dtest.compiler.opts= \\ -J-Dtest.java.opts='-XX:-CreateCoredumpOnCrash -XX:+UnlockExperimentalVMOptions -XX:+DoPartialEscapeAnalysis' \\ -J-Dtest.jdk=/home/runner/work/jdk/jdk/bundles/jdk/jdk-22/fastdebug \\ -J-Dcompile.jdk=/home/runner/work/jdk/jdk/bundles/jdk/jdk-22/fastdebug \\ -J-Dtest.timeout.factor=4.0 \\ -J-Dtest.nativepath=/home/runner/work/jdk/jdk/bundles/tests/hotspot/jtreg/native \\ -J-Dtest.root=/home/runner/work/jdk/jdk/test/hotspot/jtreg \\ -J-Dtest.name=runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchiveUpgrade.java \\ -J-Dtest.file=/home/runner/work/jdk/jdk/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchiveUpgrade.java \\ -J-Dtest.src=/home/runner/work/jdk/jdk/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive \\ -J-Dtest.src.path=/home/runner/work/jdk/jdk/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive:/home/runner/work/jdk/jdk/test/lib \\ -J-Dtest.classes=/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/classes/runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchiveUpgrade.d \\ -J-Dtest.class.path=/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/classes/runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchiveUpgrade.d:/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/classes/test/lib \\ -J-Dtest.class.path.prefix=/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/classes/runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchiveUpgrade.d:/home/runner/work/jdk/jdk/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive:/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/classes/test/lib \\ -d /home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/classes/runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchiveUpgrade.d \\ -sourcepath /home/runner/work/jdk/jdk/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive:/home/runner/work/jdk/jdk/test/lib \\ -classpath /home/runner/work/jdk/jdk/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive:/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/classes/runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchiveUpgrade.d:/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/classes/test/lib \\ -source 1.8 \\ -target 1.8 /home/runner/work/jdk/jdk/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/../test-classes/HelloJDK8.java ----------direct:(5/346)---------- warning: [options] bootstrap class path not set in conjunction with -source 8 warning: [options] source value 8 is obsolete and will be removed in a future release warning: [options] target value 8 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 4 warnings result: Passed. Compilation successful #section:build ----------messages:(5/199)---------- command: build jdk.test.lib.helpers.ClassFileInstaller reason: Named class compiled on demand started: Fri Aug 25 04:07:33 UTC 2023 finished: Fri Aug 25 04:07:33 UTC 2023 elapsed time (seconds): 0.0 result: Passed. All files up to date #section:driver ----------messages:(7/323)---------- command: driver jdk.test.lib.helpers.ClassFileInstaller -jar Hello.jar HelloJDK8 reason: User specified action: run driver jdk.test.lib.helpers.ClassFileInstaller -jar Hello.jar HelloJDK8 started: Fri Aug 25 04:07:33 UTC 2023 Mode: agentvm Agent id: 33 finished: Fri Aug 25 04:07:33 UTC 2023 elapsed time (seconds): 0.051 ----------configuration:(15/1100)---------- Boot Layer class path: /home/runner/work/jdk/jdk/jtreg/installed/lib/javatest.jar /home/runner/work/jdk/jdk/jtreg/installed/lib/jtreg.jar /home/runner/work/jdk/jdk/jtreg/installed/lib/junit-platform-console-standalone-1.9.2.jar /home/runner/work/jdk/jdk/jtreg/installed/lib/testng-7.3.0.jar /home/runner/work/jdk/jdk/jtreg/installed/lib/guice-5.1.0.jar /home/runner/work/jdk/jdk/jtreg/installed/lib/jcommander-1.82.jar patch: java.base /home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/patches/java.base Test Layer class path: /home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/classes/runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchiveUpgrade.d /home/runner/work/jdk/jdk/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive /home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/classes/test/lib /home/runner/work/jdk/jdk/test/lib ----------rerun:(28/3378)*---------- cd /home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/scratch && \\ HOME=/home/runner \\ LANG=C.UTF-8 \\ LC_ALL=C \\ PATH=/bin:/usr/bin:/usr/sbin \\ TEST_IMAGE_DIR=/home/runner/work/jdk/jdk/bundles/tests \\ XDG_CONFIG_HOME=/home/runner/.config \\ XDG_RUNTIME_DIR=/run/user/1001 \\ _JVM_DWARF_PATH=/home/runner/work/jdk/jdk/bundles/symbols/jdk-22/fastdebug \\ /home/runner/work/jdk/jdk/bundles/jdk/jdk-22/fastdebug/bin/java \\ -Dtest.vm.opts='-XX:MaxRAMPercentage=25 -Dtest.boot.jdk=bootjdk/jdk -Djava.io.tmpdir=/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/tmp' \\ -Dtest.tool.vm.opts='-J-XX:MaxRAMPercentage=25 -J-Dtest.boot.jdk=bootjdk/jdk -J-Djava.io.tmpdir=/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/tmp' \\ -Dtest.compiler.opts= \\ -Dtest.java.opts='-XX:-CreateCoredumpOnCrash -XX:+UnlockExperimentalVMOptions -XX:+DoPartialEscapeAnalysis' \\ -Dtest.jdk=/home/runner/work/jdk/jdk/bundles/jdk/jdk-22/fastdebug \\ -Dcompile.jdk=/home/runner/work/jdk/jdk/bundles/jdk/jdk-22/fastdebug \\ -Dtest.timeout.factor=4.0 \\ -Dtest.nativepath=/home/runner/work/jdk/jdk/bundles/tests/hotspot/jtreg/native \\ -Dtest.root=/home/runner/work/jdk/jdk/test/hotspot/jtreg \\ -Dtest.name=runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchiveUpgrade.java \\ -Dtest.file=/home/runner/work/jdk/jdk/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchiveUpgrade.java \\ -Dtest.src=/home/runner/work/jdk/jdk/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive \\ -Dtest.src.path=/home/runner/work/jdk/jdk/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive:/home/runner/work/jdk/jdk/test/lib \\ -Dtest.classes=/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/classes/runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchiveUpgrade.d \\ -Dtest.class.path=/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/classes/runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchiveUpgrade.d:/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/classes/test/lib \\ -Dtest.class.path.prefix=/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/classes/runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchiveUpgrade.d:/home/runner/work/jdk/jdk/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive:/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/classes/test/lib \\ -classpath /home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/classes/runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchiveUpgrade.d:/home/runner/work/jdk/jdk/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive:/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/classes/test/lib:/home/runner/work/jdk/jdk/test/lib:/home/runner/work/jdk/jdk/jtreg/installed/lib/javatest.jar:/home/runner/work/jdk/jdk/jtreg/installed/lib/jtreg.jar \\ jdk.test.lib.helpers.ClassFileInstaller -jar Hello.jar HelloJDK8 ----------System.err:(3/35)---------- JavaTest Message: Test complete. result: Passed. Execution successful #section:build ----------messages:(7/257)---------- command: build TestAutoCreateSharedArchiveUpgrade reason: Named class compiled on demand started: Fri Aug 25 04:07:33 UTC 2023 Test directory: compile: TestAutoCreateSharedArchiveUpgrade finished: Fri Aug 25 04:07:34 UTC 2023 elapsed time (seconds): 0.36 result: Passed. Build successful #section:compile ----------messages:(7/318)---------- command: compile /home/runner/work/jdk/jdk/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchiveUpgrade.java reason: .class file out of date or does not exist started: Fri Aug 25 04:07:33 UTC 2023 Mode: agentvm Agent id: 1 finished: Fri Aug 25 04:07:34 UTC 2023 elapsed time (seconds): 0.36 ----------configuration:(12/904)---------- Boot Layer (javac runtime environment) class path: /home/runner/work/jdk/jdk/jtreg/installed/lib/javatest.jar /home/runner/work/jdk/jdk/jtreg/installed/lib/jtreg.jar patch: java.base /home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/patches/java.base javac compilation environment source path: /home/runner/work/jdk/jdk/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive /home/runner/work/jdk/jdk/test/lib class path: /home/runner/work/jdk/jdk/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive /home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/classes/runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchiveUpgrade.d /home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/classes/test/lib ----------rerun:(32/3834)*---------- cd /home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/scratch && \\ HOME=/home/runner \\ LANG=C.UTF-8 \\ LC_ALL=C \\ PATH=/bin:/usr/bin:/usr/sbin \\ TEST_IMAGE_DIR=/home/runner/work/jdk/jdk/bundles/tests \\ XDG_CONFIG_HOME=/home/runner/.config \\ XDG_RUNTIME_DIR=/run/user/1001 \\ _JVM_DWARF_PATH=/home/runner/work/jdk/jdk/bundles/symbols/jdk-22/fastdebug \\ /home/runner/work/jdk/jdk/bundles/jdk/jdk-22/fastdebug/bin/javac \\ -J-XX:MaxRAMPercentage=25 \\ -J-Dtest.boot.jdk=bootjdk/jdk \\ -J-Djava.io.tmpdir=/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/tmp \\ -J-Dtest.vm.opts='-XX:MaxRAMPercentage=25 -Dtest.boot.jdk=bootjdk/jdk -Djava.io.tmpdir=/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/tmp' \\ -J-Dtest.tool.vm.opts='-J-XX:MaxRAMPercentage=25 -J-Dtest.boot.jdk=bootjdk/jdk -J-Djava.io.tmpdir=/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/tmp' \\ -J-Dtest.compiler.opts= \\ -J-Dtest.java.opts='-XX:-CreateCoredumpOnCrash -XX:+UnlockExperimentalVMOptions -XX:+DoPartialEscapeAnalysis' \\ -J-Dtest.jdk=/home/runner/work/jdk/jdk/bundles/jdk/jdk-22/fastdebug \\ -J-Dcompile.jdk=/home/runner/work/jdk/jdk/bundles/jdk/jdk-22/fastdebug \\ -J-Dtest.timeout.factor=4.0 \\ -J-Dtest.nativepath=/home/runner/work/jdk/jdk/bundles/tests/hotspot/jtreg/native \\ -J-Dtest.root=/home/runner/work/jdk/jdk/test/hotspot/jtreg \\ -J-Dtest.name=runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchiveUpgrade.java \\ -J-Dtest.file=/home/runner/work/jdk/jdk/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchiveUpgrade.java \\ -J-Dtest.src=/home/runner/work/jdk/jdk/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive \\ -J-Dtest.src.path=/home/runner/work/jdk/jdk/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive:/home/runner/work/jdk/jdk/test/lib \\ -J-Dtest.classes=/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/classes/runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchiveUpgrade.d \\ -J-Dtest.class.path=/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/classes/runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchiveUpgrade.d:/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/classes/test/lib \\ -J-Dtest.class.path.prefix=/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/classes/runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchiveUpgrade.d:/home/runner/work/jdk/jdk/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive:/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/classes/test/lib \\ -d /home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/classes/runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchiveUpgrade.d \\ -sourcepath /home/runner/work/jdk/jdk/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive:/home/runner/work/jdk/jdk/test/lib \\ -classpath /home/runner/work/jdk/jdk/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive:/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/classes/runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchiveUpgrade.d:/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/classes/test/lib /home/runner/work/jdk/jdk/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchiveUpgrade.java ----------direct:(4/220)---------- Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. result: Passed. Compilation successful #section:driver ----------messages:(7/263)---------- command: driver TestAutoCreateSharedArchiveUpgrade reason: User specified action: run driver TestAutoCreateSharedArchiveUpgrade started: Fri Aug 25 04:07:34 UTC 2023 Mode: agentvm Agent id: 33 finished: Fri Aug 25 04:07:35 UTC 2023 elapsed time (seconds): 1.083 ----------configuration:(15/1100)---------- Boot Layer class path: /home/runner/work/jdk/jdk/jtreg/installed/lib/javatest.jar /home/runner/work/jdk/jdk/jtreg/installed/lib/jtreg.jar /home/runner/work/jdk/jdk/jtreg/installed/lib/junit-platform-console-standalone-1.9.2.jar /home/runner/work/jdk/jdk/jtreg/installed/lib/testng-7.3.0.jar /home/runner/work/jdk/jdk/jtreg/installed/lib/guice-5.1.0.jar /home/runner/work/jdk/jdk/jtreg/installed/lib/jcommander-1.82.jar patch: java.base /home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/patches/java.base Test Layer class path: /home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/classes/runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchiveUpgrade.d /home/runner/work/jdk/jdk/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive /home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/classes/test/lib /home/runner/work/jdk/jdk/test/lib ----------rerun:(28/3348)*---------- cd /home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/scratch && \\ HOME=/home/runner \\ LANG=C.UTF-8 \\ LC_ALL=C \\ PATH=/bin:/usr/bin:/usr/sbin \\ TEST_IMAGE_DIR=/home/runner/work/jdk/jdk/bundles/tests \\ XDG_CONFIG_HOME=/home/runner/.config \\ XDG_RUNTIME_DIR=/run/user/1001 \\ _JVM_DWARF_PATH=/home/runner/work/jdk/jdk/bundles/symbols/jdk-22/fastdebug \\ /home/runner/work/jdk/jdk/bundles/jdk/jdk-22/fastdebug/bin/java \\ -Dtest.vm.opts='-XX:MaxRAMPercentage=25 -Dtest.boot.jdk=bootjdk/jdk -Djava.io.tmpdir=/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/tmp' \\ -Dtest.tool.vm.opts='-J-XX:MaxRAMPercentage=25 -J-Dtest.boot.jdk=bootjdk/jdk -J-Djava.io.tmpdir=/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/tmp' \\ -Dtest.compiler.opts= \\ -Dtest.java.opts='-XX:-CreateCoredumpOnCrash -XX:+UnlockExperimentalVMOptions -XX:+DoPartialEscapeAnalysis' \\ -Dtest.jdk=/home/runner/work/jdk/jdk/bundles/jdk/jdk-22/fastdebug \\ -Dcompile.jdk=/home/runner/work/jdk/jdk/bundles/jdk/jdk-22/fastdebug \\ -Dtest.timeout.factor=4.0 \\ -Dtest.nativepath=/home/runner/work/jdk/jdk/bundles/tests/hotspot/jtreg/native \\ -Dtest.root=/home/runner/work/jdk/jdk/test/hotspot/jtreg \\ -Dtest.name=runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchiveUpgrade.java \\ -Dtest.file=/home/runner/work/jdk/jdk/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchiveUpgrade.java \\ -Dtest.src=/home/runner/work/jdk/jdk/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive \\ -Dtest.src.path=/home/runner/work/jdk/jdk/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive:/home/runner/work/jdk/jdk/test/lib \\ -Dtest.classes=/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/classes/runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchiveUpgrade.d \\ -Dtest.class.path=/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/classes/runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchiveUpgrade.d:/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/classes/test/lib \\ -Dtest.class.path.prefix=/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/classes/runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchiveUpgrade.d:/home/runner/work/jdk/jdk/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive:/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/classes/test/lib \\ -classpath /home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/classes/runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchiveUpgrade.d:/home/runner/work/jdk/jdk/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive:/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/classes/test/lib:/home/runner/work/jdk/jdk/test/lib:/home/runner/work/jdk/jdk/jtreg/installed/lib/javatest.jar:/home/runner/work/jdk/jdk/jtreg/installed/lib/jtreg.jar \\ TestAutoCreateSharedArchiveUpgrade ----------System.out:(132/11508)---------- JDK_VERSIONS not specified Using newJVM = /home/runner/work/jdk/jdk/bundles/jdk/jdk-22/fastdebug/bin/java Using oldJVM = bootjdk/jdk/bin/java Command line: [/home/runner/work/jdk/jdk/bundles/jdk/jdk-22/fastdebug/bin/java -XX:+AutoCreateSharedArchive -XX:SharedArchiveFile=/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/scratch/Hello.jsa -Xlog:cds -cp /home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/scratch/Hello.jar HelloJDK8] [2023-08-25T04:07:34.272361268Z] Gathering output for process 91601 [2023-08-25T04:07:35.046385089Z] Waiting for completion for process 91601 [2023-08-25T04:07:35.046629400Z] Waiting for completion finished for process 91601 Output and diagnostic info for process 91601 was saved into 'pid-91601-output.log' [0.001s][info][cds] Specified shared archive not found (/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/scratch/Hello.jsa) [0.023s][info][cds] trying to map /home/runner/work/jdk/jdk/bundles/jdk/jdk-22/fastdebug/lib/server/classes.jsa [0.023s][info][cds] Opened archive /home/runner/work/jdk/jdk/bundles/jdk/jdk-22/fastdebug/lib/server/classes.jsa. [0.023s][info][cds] Archive was created with UseCompressedOops = 1, UseCompressedClassPointers = 1 [0.023s][info][cds] Core region alignment: 4096 [0.023s][info][cds] Reserved archive_space_rs [0x0000000800000000 - 0x0000000801000000] (16777216) bytes [0.023s][info][cds] Reserved class_space_rs [0x0000000801000000 - 0x0000000841000000] (1073741824) bytes [0.023s][info][cds] Mapped static region #0 at base 0x0000000800000000 top 0x0000000800506000 (ReadWrite) [0.024s][info][cds] Mapped static region #1 at base 0x0000000800506000 top 0x0000000800d30000 (ReadOnly) [0.024s][info][cds] ArchiveRelocationMode == 1: always map archive(s) at an alternative address [0.024s][info][cds] Unmapping region #0 at base 0x0000000800000000 (ReadWrite) [0.024s][info][cds] Unmapping region #1 at base 0x0000000800506000 (ReadOnly) [0.024s][info][cds] Try to map archive(s) at an alternative address [0.024s][info][cds] Reserved archive_space_rs [0x00007f24c3000000 - 0x00007f24c4000000] (16777216) bytes [0.024s][info][cds] Reserved class_space_rs [0x00007f24c4000000 - 0x00007f2504000000] (1073741824) bytes [0.024s][info][cds] Mapped static region #0 at base 0x00007f24c3000000 top 0x00007f24c3506000 (ReadWrite) [0.024s][info][cds] Mapped static region #1 at base 0x00007f24c3506000 top 0x00007f24c3d30000 (ReadOnly) [0.024s][info][cds] Mapped static region #2 at base 0x00007f254005b000 top 0x00007f254009b000 (Bitmap) [0.043s][info][cds] CDS archive was created with max heap size = 128M, and the following configuration: [0.043s][info][cds] narrow_klass_base at mapping start address, narrow_klass_shift = 0 [0.043s][info][cds] narrow_oop_mode = 0, narrow_oop_base = 0x0000000000000000, narrow_oop_shift = 0 [0.043s][info][cds] The current max heap size = 1734M, HeapRegion::GrainBytes = 1048576 [0.043s][info][cds] narrow_klass_base = 0x00007f24c3000000, narrow_klass_shift = 0 [0.043s][info][cds] narrow_oop_mode = 0, narrow_oop_base = 0x0000000000000000, narrow_oop_shift = 0 [0.043s][info][cds] heap range = [0x0000000093a00000 - 0x0000000100000000] [0.043s][info][cds] Preferred address to map heap data (to avoid relocation) is 0x00000000ffe00000 [0.043s][info][cds] Heap data mapped at 0x00000000ffe00000, size = 1078560 bytes [0.043s][info][cds] CDS heap data relocation delta = 0 bytes [0.043s][info][cds] optimized module handling: enabled [0.043s][info][cds] full module graph: enabled [0.043s][info][cds] use_full_module_graph = true; java.base = 0x00007f24c3501320 [0.044s][info][cds] Unmapping region #2 at base 0x00007f254005b000 (Bitmap) This class is compiled by JDK 8 [0.123s][info][cds] Regenerate MethodHandle Holder classes... [0.391s][info][cds] Regenerate MethodHandle Holder classes...done [0.403s][info][cds] Verify Before CDS dynamic dump [0.525s][info][cds] Gathering all archivable objects ... [0.525s][info][cds] Gathering classes and symbols ... [0.527s][info][cds] _estimated_hashtable_bytes = 1872 + 600 = 2472 [0.527s][info][cds] _estimated_metaspaceobj_bytes = 122304 [0.527s][info][cds] total estimate bytes = 132968 [0.527s][info][cds] Reserved output buffer space at 0x00007f254000a000 [135168 bytes] [0.527s][info][cds] Allocating RW objects ... [0.527s][info][cds] done (457 objects) [0.527s][info][cds] Allocating RO objects ... [0.528s][info][cds] done (861 objects) [0.528s][info][cds] Relocating embedded pointers in core regions ... [0.528s][info][cds] MetaspaceObjs estimate = 122304 used = 122304; diff = 0 bytes [0.528s][info][cds] Hashtables estimate = 2472 used = 832; diff = 1640 bytes [0.528s][info][cds] Make classes shareable [0.529s][info][cds] Number of classes 8 [0.529s][info][cds] instance classes = 8 [0.529s][info][cds] boot = 7 [0.529s][info][cds] app = 1 [0.529s][info][cds] platform = 0 [0.529s][info][cds] unregistered = 0 [0.529s][info][cds] (hidden) = 3 [0.529s][info][cds] (unlinked) = 0 [0.529s][info][cds] obj array classes = 0 [0.529s][info][cds] type array classes = 0 [0.529s][info][cds] symbols = 6 [0.529s][info][cds] Adjust lambda proxy class dictionary [0.529s][info][cds] Dumping shared data to file: [0.529s][info][cds] /home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/scratch/Hello.jsa [0.529s][info][cds] Shared file region (rw) 0: 60776 bytes, addr 0x0000000800d30000 file offset 0x00001000 crc 0x709c405c [0.529s][info][cds] Shared file region (ro) 1: 62360 bytes, addr 0x0000000800d3f000 file offset 0x00010000 crc 0x570b3481 [0.529s][info][cds] Shared file region (bm) 2: 1936 bytes, addr 0x0000000000000000 file offset 0x00020000 crc 0x1f6f05dc [0.529s][info][cds] Verify After CDS dynamic dump [2023-08-25T04:07:35.051785152Z] Waiting for completion for process 91601 [2023-08-25T04:07:35.051840654Z] Waiting for completion finished for process 91601 Command line: [/home/runner/work/jdk/jdk/bundles/jdk/jdk-22/fastdebug/bin/java -XX:+AutoCreateSharedArchive -XX:SharedArchiveFile=/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/scratch/Hello.jsa -Xlog:cds -cp /home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/scratch/Hello.jar HelloJDK8] [2023-08-25T04:07:35.053117417Z] Gathering output for process 91622 [2023-08-25T04:07:35.207513841Z] Waiting for completion for process 91622 [2023-08-25T04:07:35.207683749Z] Waiting for completion finished for process 91622 Output and diagnostic info for process 91622 was saved into 'pid-91622-output.log' [0.016s][info][cds] trying to map /home/runner/work/jdk/jdk/bundles/jdk/jdk-22/fastdebug/lib/server/classes.jsa [0.016s][info][cds] Opened archive /home/runner/work/jdk/jdk/bundles/jdk/jdk-22/fastdebug/lib/server/classes.jsa. [0.016s][info][cds] Archive was created with UseCompressedOops = 1, UseCompressedClassPointers = 1 [0.016s][info][cds] Core region alignment: 4096 [0.016s][info][cds] trying to map /home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/scratch/Hello.jsa [0.016s][info][cds] Opened archive /home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/scratch/Hello.jsa. [0.016s][info][cds] Archive was created with UseCompressedOops = 1, UseCompressedClassPointers = 1 [0.016s][info][cds] Reserved archive_space_rs [0x0000000800000000 - 0x0000000801000000] (16777216) bytes [0.016s][info][cds] Reserved class_space_rs [0x0000000801000000 - 0x0000000841000000] (1073741824) bytes [0.016s][info][cds] Mapped static region #0 at base 0x0000000800000000 top 0x0000000800506000 (ReadWrite) [0.016s][info][cds] Mapped static region #1 at base 0x0000000800506000 top 0x0000000800d30000 (ReadOnly) [0.016s][info][cds] Mapped dynamic region #0 at base 0x0000000800d30000 top 0x0000000800d3f000 (ReadWrite) [0.016s][info][cds] Mapped dynamic region #1 at base 0x0000000800d3f000 top 0x0000000800d4f000 (ReadOnly) [0.016s][info][cds] ArchiveRelocationMode == 1: always map archive(s) at an alternative address [0.017s][info][cds] Unmapping region #0 at base 0x0000000800000000 (ReadWrite) [0.017s][info][cds] Unmapping region #1 at base 0x0000000800506000 (ReadOnly) [0.017s][info][cds] Unmapping region #0 at base 0x0000000800d30000 (ReadWrite) [0.017s][info][cds] Unmapping region #1 at base 0x0000000800d3f000 (ReadOnly) [0.017s][info][cds] Try to map archive(s) at an alternative address [0.017s][info][cds] Reserved archive_space_rs [0x00007fdec3000000 - 0x00007fdec4000000] (16777216) bytes [0.017s][info][cds] Reserved class_space_rs [0x00007fdec4000000 - 0x00007fdf04000000] (1073741824) bytes [0.017s][info][cds] Mapped static region #0 at base 0x00007fdec3000000 top 0x00007fdec3506000 (ReadWrite) [0.017s][info][cds] Mapped static region #1 at base 0x00007fdec3506000 top 0x00007fdec3d30000 (ReadOnly) [0.017s][info][cds] Mapped static region #2 at base 0x00007fdf3cfbe000 top 0x00007fdf3cffe000 (Bitmap) [0.036s][info][cds] Mapped dynamic region #0 at base 0x00007fdec3d30000 top 0x00007fdec3d3f000 (ReadWrite) [0.037s][info][cds] Mapped dynamic region #1 at base 0x00007fdec3d3f000 top 0x00007fdec3d4f000 (ReadOnly) [0.037s][info][cds] Mapped dynamic region #2 at base 0x00007fdf423ef000 top 0x00007fdf423f0000 (Bitmap) [0.037s][info][cds] CDS archive was created with max heap size = 128M, and the following configuration: [0.037s][info][cds] narrow_klass_base at mapping start address, narrow_klass_shift = 0 [0.037s][info][cds] narrow_oop_mode = 0, narrow_oop_base = 0x0000000000000000, narrow_oop_shift = 0 [0.037s][info][cds] The current max heap size = 1734M, HeapRegion::GrainBytes = 1048576 [0.037s][info][cds] narrow_klass_base = 0x00007fdec3000000, narrow_klass_shift = 0 [0.037s][info][cds] narrow_oop_mode = 0, narrow_oop_base = 0x0000000000000000, narrow_oop_shift = 0 [0.037s][info][cds] heap range = [0x0000000093a00000 - 0x0000000100000000] [0.037s][info][cds] Preferred address to map heap data (to avoid relocation) is 0x00000000ffe00000 [0.037s][info][cds] Heap data mapped at 0x00000000ffe00000, size = 1078560 bytes [0.037s][info][cds] CDS heap data relocation delta = 0 bytes [0.037s][info][cds] optimized module handling: enabled [0.037s][info][cds] full module graph: enabled [0.037s][info][cds] use_full_module_graph = true; java.base = 0x00007fdec3501320 [0.038s][info][cds] Unmapping region #2 at base 0x00007fdf3cfbe000 (Bitmap) [0.038s][info][cds] Unmapping region #2 at base 0x00007fdf423ef000 (Bitmap) This class is compiled by JDK 8 [2023-08-25T04:07:35.208302179Z] Waiting for completion for process 91622 [2023-08-25T04:07:35.208345381Z] Waiting for completion finished for process 91622 Command line: [bootjdk/jdk/bin/java -XX:+AutoCreateSharedArchive -XX:SharedArchiveFile=/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/scratch/Hello.jsa -Xlog:cds -cp /home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/scratch/Hello.jar HelloJDK8] executeProcess() failed: java.io.IOException: Cannot run program "bootjdk/jdk/bin/java": error=2, No such file or directory ----------System.err:(33/2200)---------- --- ProcessLog --- cmd: bootjdk/jdk/bin/java -XX:+AutoCreateSharedArchive -XX:SharedArchiveFile=/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/scratch/Hello.jsa -Xlog:cds -cp /home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier2/scratch/Hello.jar HelloJDK8 exitvalue: null stderr: null stdout: null java.io.IOException: Cannot run program "bootjdk/jdk/bin/java": error=2, No such file or directory at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1170) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1089) at java.base/java.security.AccessController.doPrivileged(AccessController.java:571) at jdk.test.lib.process.ProcessTools.privilegedStart(ProcessTools.java:790) at jdk.test.lib.process.ProcessTools.executeProcess(ProcessTools.java:621) at jdk.test.lib.process.ProcessTools.executeProcess(ProcessTools.java:600) at jdk.test.lib.process.ProcessTools.executeProcess(ProcessTools.java:587) at jdk.test.lib.process.ProcessTools.executeProcess(ProcessTools.java:668) at jdk.test.lib.process.ProcessTools.executeCommand(ProcessTools.java:716) at TestAutoCreateSharedArchiveUpgrade.run(TestAutoCreateSharedArchiveUpgrade.java:152) at TestAutoCreateSharedArchiveUpgrade.doTest(TestAutoCreateSharedArchiveUpgrade.java:136) at TestAutoCreateSharedArchiveUpgrade.main(TestAutoCreateSharedArchiveUpgrade.java:83) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333) at java.base/java.lang.Thread.run(Thread.java:1570) Caused by: java.io.IOException: error=2, No such file or directory at java.base/java.lang.ProcessImpl.forkAndExec(Native Method) at java.base/java.lang.ProcessImpl.(ProcessImpl.java:295) at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:225) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1126) ... 15 more JavaTest Message: Test threw exception: java.io.IOException JavaTest Message: shutting down test result: Failed. Execution failed: `main' threw exception: java.io.IOException: Cannot run program "bootjdk/jdk/bin/java": error=2, No such file or directory test result: Failed. Execution failed: `main' threw exception: java.io.IOException: Cannot run program "bootjdk/jdk/bin/java": error=2, No such file or directory