Jlink_ReqMod_1

[2025-02-19T21:01:39.541Z] Running test Jlink_ReqMod_1 ... [2025-02-19T21:01:39.541Z] =============================================== [2025-02-19T21:01:39.541Z] Jlink_ReqMod_1 Start Time: Wed Feb 19 16:01:39 2025 Epoch Time (ms): 1739998899295 [2025-02-19T21:01:39.541Z] variation: Mode650 [2025-02-19T21:01:39.541Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-02-19T21:01:39.541Z] { \ [2025-02-19T21:01:39.541Z] echo ""; echo "TEST SETUP:"; \ [2025-02-19T21:01:39.541Z] echo "Nothing to be done for setup."; \ [2025-02-19T21:01:39.541Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/../TKG/output_17399987675411/Jlink_ReqMod_1"; \ [2025-02-19T21:01:39.541Z] cd "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/../TKG/output_17399987675411/Jlink_ReqMod_1"; \ [2025-02-19T21:01:39.541Z] echo ""; echo "TESTING:"; \ [2025-02-19T21:01:39.541Z] perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/../../testDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/../TKG/output_17399987675411/Jlink_ReqMod_1" -test=JlinkTest -test-args="variant=ReqdMod"; \ [2025-02-19T21:01:39.541Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "Jlink_ReqMod_1""_PASSED"; echo "-----------------------------------"; cd /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/..; rm -f -r "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/../TKG/output_17399987675411/Jlink_ReqMod_1"; else echo "-----------------------------------"; echo "Jlink_ReqMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-02-19T21:01:39.541Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-02-19T21:01:39.541Z] echo "Nothing to be done for teardown."; \ [2025-02-19T21:01:39.541Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/../TKG/output_17399987675411/TestTargetResult"; [2025-02-19T21:01:39.541Z] [2025-02-19T21:01:39.541Z] TEST SETUP: [2025-02-19T21:01:39.541Z] Nothing to be done for setup. [2025-02-19T21:01:39.541Z] [2025-02-19T21:01:39.541Z] TESTING: [2025-02-19T21:01:39.541Z] STF 16:01:39.335 - ========================= S T F ========================= [2025-02-19T21:01:39.541Z] systemtest-prereqs has been processed, and set to: /Users/admin/workspace/testDependency/system_libRetrieving amount of free space on drive containing /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/../TKG/output_17399987675411/Jlink_ReqMod_1 [2025-02-19T21:01:39.541Z] There is 28457 Mb free [2025-02-19T21:01:39.542Z] STF 16:01:39.340 - ================== G E N E R A T I O N ================== [2025-02-19T21:01:39.542Z] STF 16:01:39.341 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2025-02-19T21:01:39.542Z] STF 16:01:39.341 - Starting process to generate scripts: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/..//bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/../../testDependency/system_lib//asm/asm.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/../../testDependency/system_lib//asm/asm-commons.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/../../testDependency/system_lib//log4j/log4j-api.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/../../testDependency/system_lib//log4j/log4j-core.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/../TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/stf_parameters.properties, , /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/../TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest" [2025-02-19T21:01:39.542Z] GEN [0.003s][warning][cds] Archived non-system classes are disabled because the java.system.class.loader property is specified (value = "net.adoptopenjdk.stf.runner.StfClassLoader"). To use archived non-system classes, this property must not be set [2025-02-19T21:01:39.542Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-19T21:01:39.933Z] GEN 16:01:39.691 - Found test. Project: 'openjdk.test.modularity' class: 'JlinkTest.class' Dir: '/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-02-19T21:01:39.933Z] GEN 16:01:39.697 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.JlinkTest' [2025-02-19T21:01:39.933Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-02-19T21:01:39.933Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-02-19T21:01:39.933Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-02-19T21:01:39.933Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-02-19T21:01:39.933Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-02-19T21:01:39.933Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-02-19T21:01:39.933Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-02-19T21:01:39.933Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-02-19T21:01:39.933Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-02-19T21:01:39.933Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-02-19T21:01:39.934Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-02-19T21:01:39.934Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-02-19T21:01:39.934Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-02-19T21:01:39.934Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-02-19T21:01:39.934Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-02-19T21:01:39.934Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-02-19T21:01:39.934Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/jvmtest/system/STF/stf.core/bin [2025-02-19T21:01:39.934Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-api.jar [2025-02-19T21:01:39.934Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-core.jar [2025-02-19T21:01:39.934Z] GEN /Users/admin/workspace/testDependency/system_lib/junit/junit.jar [2025-02-19T21:01:39.934Z] GEN 16:01:39.765 - Using Mode NoOptions. Values = '' [2025-02-19T21:01:39.934Z] GEN 16:01:39.805 - [2025-02-19T21:01:39.934Z] GEN 16:01:39.805 - Test command summary: [2025-02-19T21:01:39.934Z] GEN 16:01:39.805 - Step Stage Command Description [2025-02-19T21:01:39.934Z] GEN 16:01:39.805 - -----+--------+-----------------+------------ [2025-02-19T21:01:39.934Z] GEN 16:01:39.805 - 1 setUp cpDir Copying com.test.jlink [2025-02-19T21:01:39.934Z] GEN 16:01:39.805 - 2 setUp rm Removing natives folder from com.test.jLinkDirCopy [2025-02-19T21:01:39.934Z] GEN 16:01:39.805 - 3 setUp jar Create com.test.jlink jar [2025-02-19T21:01:39.934Z] GEN 16:01:39.805 - 4 setUp jar Create com.hello jar [2025-02-19T21:01:39.934Z] GEN 16:01:39.805 - 5 setUp fileCheck Check com.test.jlink modular jar created [2025-02-19T21:01:39.934Z] GEN 16:01:39.805 - 6 setUp fileCheck Check com.hello modular jar created [2025-02-19T21:01:39.934Z] GEN 16:01:39.805 - 7 setUp rm Removing conf folder from com.test.jLinkDirCopy [2025-02-19T21:01:39.934Z] GEN 16:01:39.805 - 8 setUp cpDir Copying .so from com.test.jlink/native [2025-02-19T21:01:39.934Z] GEN 16:01:39.805 - 9 setUp jmod Creating jmod of com.test.jlink module [2025-02-19T21:01:39.934Z] GEN 16:01:39.806 - 10 setUp jmod Creating jmod for com.hello module [2025-02-19T21:01:39.934Z] GEN 16:01:39.806 - 11 setUp fileCheck Check com.test.jlink jmod created [2025-02-19T21:01:39.934Z] GEN 16:01:39.806 - 12 setUp fileCheck Check com.hello jmod created [2025-02-19T21:01:39.934Z] GEN 16:01:39.806 - 13 execute jlink Create runtime image [2025-02-19T21:01:39.934Z] GEN 16:01:39.806 - 14 execute Run java Running listmods [2025-02-19T21:01:39.934Z] GEN 16:01:39.806 - 15 execute count Check output [2025-02-19T21:01:39.934Z] GEN 16:01:39.806 - 16 execute count Check output [2025-02-19T21:01:39.934Z] GEN 16:01:39.806 - 17 execute count Check output [2025-02-19T21:01:39.934Z] GEN 16:01:39.806 - 18 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-19T21:01:39.934Z] GEN 16:01:39.806 - 19 execute jlink Create runtime image [2025-02-19T21:01:39.934Z] GEN 16:01:39.806 - 20 execute Run java Running listmods [2025-02-19T21:01:39.934Z] GEN 16:01:39.806 - 21 execute count Check output [2025-02-19T21:01:39.934Z] GEN 16:01:39.806 - 22 execute count Check output [2025-02-19T21:01:39.934Z] GEN 16:01:39.806 - 23 execute count Check output [2025-02-19T21:01:39.934Z] GEN 16:01:39.806 - 24 execute Run java Running adoptopenjdk.test.modularity.jlink.JniTest [2025-02-19T21:01:39.934Z] GEN 16:01:39.806 - 25 execute jlink Create runtime image [2025-02-19T21:01:39.934Z] GEN 16:01:39.806 - 26 execute Run java Running listmods [2025-02-19T21:01:39.934Z] GEN 16:01:39.806 - 27 execute count Check output [2025-02-19T21:01:39.934Z] GEN 16:01:39.806 - 28 execute count Check output [2025-02-19T21:01:39.934Z] GEN 16:01:39.806 - 29 execute count Check output [2025-02-19T21:01:39.934Z] GEN 16:01:39.806 - 30 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-19T21:01:39.934Z] STF 16:01:39.818 - [2025-02-19T21:01:39.934Z] STF 16:01:39.818 - Script generation completed [2025-02-19T21:01:39.934Z] STF 16:01:39.818 - [2025-02-19T21:01:39.934Z] STF 16:01:39.818 - [2025-02-19T21:01:39.934Z] STF 16:01:39.818 - ======================= S E T U P ======================= [2025-02-19T21:01:39.934Z] STF 16:01:39.818 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/../TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/setUp.pl [2025-02-19T21:01:39.934Z] STF 16:01:39.856 - [2025-02-19T21:01:39.934Z] STF 16:01:39.856 - +------ Step 1 - Copying com.test.jlink [2025-02-19T21:01:39.934Z] STF 16:01:39.856 - | Copy a directory to a new directory [2025-02-19T21:01:39.934Z] STF 16:01:39.856 - | Source dir: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink [2025-02-19T21:01:39.934Z] STF 16:01:39.856 - | Dest dir: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/com.test.jLinkDirCopy [2025-02-19T21:01:39.934Z] STF 16:01:39.856 - | [2025-02-19T21:01:39.934Z] STF 16:01:39.860 - [2025-02-19T21:01:39.934Z] STF 16:01:39.860 - +------ Step 2 - Removing natives folder from com.test.jLinkDirCopy [2025-02-19T21:01:39.934Z] STF 16:01:39.860 - | Recursively delete a directory [2025-02-19T21:01:39.934Z] STF 16:01:39.860 - | Directory: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/com.test.jLinkDirCopy/native [2025-02-19T21:01:39.934Z] STF 16:01:39.860 - | [2025-02-19T21:01:39.934Z] STF 16:01:39.861 - [2025-02-19T21:01:39.934Z] STF 16:01:39.861 - +------ Step 3 - Create com.test.jlink jar [2025-02-19T21:01:39.934Z] STF 16:01:39.861 - | Create modular jar [2025-02-19T21:01:39.934Z] STF 16:01:39.861 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test.jlink [2025-02-19T21:01:39.934Z] STF 16:01:39.861 - | ModuleVersion: null [2025-02-19T21:01:39.934Z] STF 16:01:39.861 - | MainClass: null [2025-02-19T21:01:39.934Z] STF 16:01:39.861 - | HashModules: null [2025-02-19T21:01:39.934Z] STF 16:01:39.861 - | [2025-02-19T21:01:39.934Z] STF 16:01:39.861 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/modules/3.com.test.jlink.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink . [2025-02-19T21:01:39.934Z] STF 16:01:39.861 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/results/3.CMJ.stderr [2025-02-19T21:01:39.934Z] STF 16:01:39.861 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/results/3.CMJ.stdout [2025-02-19T21:01:39.934Z] STF 16:01:39.868 - Monitoring processes: CMJ [2025-02-19T21:01:40.323Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-19T21:01:40.323Z] STF 16:01:40.009 - Monitoring Report Summary: [2025-02-19T21:01:40.323Z] STF 16:01:40.009 - o Process CMJ ended with the expected exit code (0) [2025-02-19T21:01:40.323Z] STF 16:01:40.009 - Created modular jar: 3.com.test.jlink.jar [2025-02-19T21:01:40.323Z] STF 16:01:40.009 - [2025-02-19T21:01:40.323Z] STF 16:01:40.009 - +------ Step 4 - Create com.hello jar [2025-02-19T21:01:40.323Z] STF 16:01:40.009 - | Create modular jar [2025-02-19T21:01:40.323Z] STF 16:01:40.009 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-02-19T21:01:40.323Z] STF 16:01:40.009 - | ModuleVersion: null [2025-02-19T21:01:40.323Z] STF 16:01:40.009 - | MainClass: null [2025-02-19T21:01:40.323Z] STF 16:01:40.009 - | HashModules: null [2025-02-19T21:01:40.323Z] STF 16:01:40.009 - | [2025-02-19T21:01:40.323Z] STF 16:01:40.009 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/modules/4.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-02-19T21:01:40.323Z] STF 16:01:40.009 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/results/4.CMJ.stderr [2025-02-19T21:01:40.323Z] STF 16:01:40.009 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/results/4.CMJ.stdout [2025-02-19T21:01:40.323Z] STF 16:01:40.010 - Monitoring processes: CMJ [2025-02-19T21:01:40.323Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-19T21:01:40.323Z] STF 16:01:40.152 - Monitoring Report Summary: [2025-02-19T21:01:40.323Z] STF 16:01:40.152 - o Process CMJ ended with the expected exit code (0) [2025-02-19T21:01:40.323Z] STF 16:01:40.152 - Created modular jar: 4.com.hello.jar [2025-02-19T21:01:40.323Z] STF 16:01:40.152 - [2025-02-19T21:01:40.323Z] STF 16:01:40.152 - +------ Step 5 - Check com.test.jlink modular jar created [2025-02-19T21:01:40.323Z] STF 16:01:40.152 - | Validate file exists [2025-02-19T21:01:40.323Z] STF 16:01:40.152 - | File: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/modules/3.com.test.jlink.jar [2025-02-19T21:01:40.323Z] STF 16:01:40.152 - | [2025-02-19T21:01:40.323Z] STF 16:01:40.152 - [2025-02-19T21:01:40.323Z] STF 16:01:40.152 - +------ Step 6 - Check com.hello modular jar created [2025-02-19T21:01:40.323Z] STF 16:01:40.152 - | Validate file exists [2025-02-19T21:01:40.323Z] STF 16:01:40.152 - | File: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/modules/4.com.hello.jar [2025-02-19T21:01:40.323Z] STF 16:01:40.152 - | [2025-02-19T21:01:40.323Z] STF 16:01:40.152 - [2025-02-19T21:01:40.323Z] STF 16:01:40.152 - +------ Step 7 - Removing conf folder from com.test.jLinkDirCopy [2025-02-19T21:01:40.323Z] STF 16:01:40.152 - | Recursively delete a directory [2025-02-19T21:01:40.323Z] STF 16:01:40.152 - | Directory: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/com.test.jLinkDirCopy/conf [2025-02-19T21:01:40.323Z] STF 16:01:40.152 - | [2025-02-19T21:01:40.323Z] STF 16:01:40.152 - [2025-02-19T21:01:40.323Z] STF 16:01:40.152 - +------ Step 8 - Copying .so from com.test.jlink/native [2025-02-19T21:01:40.323Z] STF 16:01:40.152 - | Copy a directory to a new directory [2025-02-19T21:01:40.323Z] STF 16:01:40.152 - | Source dir: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink/native/bin/osx [2025-02-19T21:01:40.324Z] STF 16:01:40.152 - | Dest dir: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/native [2025-02-19T21:01:40.324Z] STF 16:01:40.152 - | [2025-02-19T21:01:40.324Z] STF 16:01:40.153 - [2025-02-19T21:01:40.324Z] STF 16:01:40.153 - +------ Step 9 - Creating jmod of com.test.jlink module [2025-02-19T21:01:40.324Z] STF 16:01:40.153 - | Run jmod utility [2025-02-19T21:01:40.324Z] STF 16:01:40.153 - | jmod: com.test.jlink.jmod [2025-02-19T21:01:40.324Z] STF 16:01:40.153 - | [2025-02-19T21:01:40.324Z] STF 16:01:40.153 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/jmod create --class-path /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/com.test.jLinkDirCopy --config /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink/conf --libs /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/native /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/tmp/com.test.jlink.jmod [2025-02-19T21:01:40.324Z] STF 16:01:40.153 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/results/9.JMOD.stderr [2025-02-19T21:01:40.324Z] STF 16:01:40.153 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/results/9.JMOD.stdout [2025-02-19T21:01:40.324Z] STF 16:01:40.154 - Monitoring processes: JMOD [2025-02-19T21:01:40.324Z] JMOD stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-19T21:01:40.731Z] STF 16:01:40.268 - Monitoring Report Summary: [2025-02-19T21:01:40.731Z] STF 16:01:40.268 - o Process JMOD ended with the expected exit code (0) [2025-02-19T21:01:40.731Z] STF 16:01:40.268 - [2025-02-19T21:01:40.731Z] STF 16:01:40.268 - +------ Step 10 - Creating jmod for com.hello module [2025-02-19T21:01:40.731Z] STF 16:01:40.268 - | Run jmod utility [2025-02-19T21:01:40.731Z] STF 16:01:40.268 - | jmod: com.hello.jmod [2025-02-19T21:01:40.731Z] STF 16:01:40.268 - | [2025-02-19T21:01:40.731Z] STF 16:01:40.268 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/jmod create --class-path /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/tmp/com.hello.jmod [2025-02-19T21:01:40.731Z] STF 16:01:40.268 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/results/10.JMOD.stderr [2025-02-19T21:01:40.731Z] STF 16:01:40.268 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/results/10.JMOD.stdout [2025-02-19T21:01:40.731Z] STF 16:01:40.269 - Monitoring processes: JMOD [2025-02-19T21:01:40.731Z] JMOD stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-19T21:01:40.731Z] STF 16:01:40.377 - Monitoring Report Summary: [2025-02-19T21:01:40.731Z] STF 16:01:40.377 - o Process JMOD ended with the expected exit code (0) [2025-02-19T21:01:40.731Z] STF 16:01:40.377 - [2025-02-19T21:01:40.731Z] STF 16:01:40.377 - +------ Step 11 - Check com.test.jlink jmod created [2025-02-19T21:01:40.731Z] STF 16:01:40.377 - | Validate file exists [2025-02-19T21:01:40.731Z] STF 16:01:40.377 - | File: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/tmp/com.test.jlink.jmod [2025-02-19T21:01:40.731Z] STF 16:01:40.377 - | [2025-02-19T21:01:40.731Z] STF 16:01:40.377 - [2025-02-19T21:01:40.731Z] STF 16:01:40.377 - +------ Step 12 - Check com.hello jmod created [2025-02-19T21:01:40.731Z] STF 16:01:40.377 - | Validate file exists [2025-02-19T21:01:40.731Z] STF 16:01:40.377 - | File: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/tmp/com.hello.jmod [2025-02-19T21:01:40.731Z] STF 16:01:40.377 - | [2025-02-19T21:01:40.731Z] STF 16:01:40.377 - SETUP stage completed [2025-02-19T21:01:40.731Z] STF 16:01:40.385 - [2025-02-19T21:01:40.731Z] STF 16:01:40.385 - ==================== E X E C U T E - ==================== [2025-02-19T21:01:40.731Z] STF 16:01:40.385 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/../TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/execute.pl [2025-02-19T21:01:40.731Z] STF 16:01:40.413 - [2025-02-19T21:01:40.731Z] STF 16:01:40.413 - Java version [2025-02-19T21:01:40.731Z] STF 16:01:40.413 - Running: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2025-02-19T21:01:40.731Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-19T21:01:40.731Z] openjdk version "21.0.7-beta" 2025-04-15 [2025-02-19T21:01:40.731Z] OpenJDK Runtime Environment Temurin-21.0.7+3-202502192007 (build 21.0.7-beta+3-ea) [2025-02-19T21:01:40.731Z] OpenJDK 64-Bit Server VM Temurin-21.0.7+3-202502192007 (build 21.0.7-beta+3-ea, mixed mode, sharing) [2025-02-19T21:01:40.731Z] STF 16:01:40.442 - [2025-02-19T21:01:40.731Z] STF 16:01:40.442 - +------ Step 13 - Create runtime image [2025-02-19T21:01:40.731Z] STF 16:01:40.442 - | Run jlink to create runtime image [2025-02-19T21:01:40.731Z] STF 16:01:40.442 - | ImageName: CRI1 [2025-02-19T21:01:40.731Z] STF 16:01:40.442 - | [2025-02-19T21:01:40.731Z] STF 16:01:40.443 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/modules --add-modules com.test.jlink --output /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/tmp/13.CRI1 [2025-02-19T21:01:40.731Z] STF 16:01:40.443 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/results/13.JLNK.stderr [2025-02-19T21:01:40.731Z] STF 16:01:40.443 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/results/13.JLNK.stdout [2025-02-19T21:01:40.731Z] STF 16:01:40.447 - Monitoring processes: JLNK [2025-02-19T21:01:40.731Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-19T21:01:41.630Z] STF 16:01:41.412 - Monitoring Report Summary: [2025-02-19T21:01:41.630Z] STF 16:01:41.413 - o Process JLNK ended with the expected exit code (0) [2025-02-19T21:01:41.630Z] STF 16:01:41.413 - [2025-02-19T21:01:41.630Z] STF 16:01:41.413 - +------ Step 14 - Running listmods [2025-02-19T21:01:41.630Z] STF 16:01:41.413 - | Run foreground process [2025-02-19T21:01:41.630Z] STF 16:01:41.413 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/tmp/13.CRI1/bin/java [2025-02-19T21:01:41.630Z] STF 16:01:41.413 - | Mnemonic: LIST [2025-02-19T21:01:41.630Z] STF 16:01:41.413 - | Echo: ECHO_ON [2025-02-19T21:01:41.630Z] STF 16:01:41.413 - | Expectation: CLEAN_RUN within 1m [2025-02-19T21:01:41.630Z] STF 16:01:41.413 - | [2025-02-19T21:01:41.630Z] STF 16:01:41.413 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/tmp/13.CRI1/bin/java --list-modules -XX:-UseCompressedOops [2025-02-19T21:01:41.630Z] STF 16:01:41.413 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/results/14.LIST.stderr [2025-02-19T21:01:41.630Z] STF 16:01:41.413 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/results/14.LIST.stdout [2025-02-19T21:01:41.630Z] STF 16:01:41.414 - Monitoring processes: LIST [2025-02-19T21:01:42.016Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-19T21:01:42.837Z] LIST com.hello [2025-02-19T21:01:42.837Z] LIST com.test.jlink [2025-02-19T21:01:42.837Z] LIST java.base@21.0.7-beta [2025-02-19T21:01:42.837Z] STF 16:01:42.520 - Monitoring Report Summary: [2025-02-19T21:01:42.837Z] STF 16:01:42.520 - o Process LIST ended with the expected exit code (0) [2025-02-19T21:01:42.837Z] STF 16:01:42.520 - [2025-02-19T21:01:42.837Z] STF 16:01:42.520 - +------ Step 15 - Check output [2025-02-19T21:01:42.837Z] STF 16:01:42.520 - | Count file matches [2025-02-19T21:01:42.837Z] STF 16:01:42.520 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/results/14.LIST.stdout [2025-02-19T21:01:42.837Z] STF 16:01:42.520 - | ExpectedNumMatches: 1 [2025-02-19T21:01:42.837Z] STF 16:01:42.520 - | SearchStrings: ["com.hello"] [2025-02-19T21:01:42.837Z] STF 16:01:42.520 - | [2025-02-19T21:01:42.837Z] STF 16:01:42.520 - Found 1 instances of ["com.hello"] [2025-02-19T21:01:42.837Z] STF 16:01:42.520 - [2025-02-19T21:01:42.837Z] STF 16:01:42.520 - +------ Step 16 - Check output [2025-02-19T21:01:42.837Z] STF 16:01:42.520 - | Count file matches [2025-02-19T21:01:42.837Z] STF 16:01:42.520 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/results/14.LIST.stdout [2025-02-19T21:01:42.837Z] STF 16:01:42.520 - | ExpectedNumMatches: 1 [2025-02-19T21:01:42.837Z] STF 16:01:42.520 - | SearchStrings: ["com.test.jlink"] [2025-02-19T21:01:42.837Z] STF 16:01:42.520 - | [2025-02-19T21:01:42.837Z] STF 16:01:42.520 - Found 1 instances of ["com.test.jlink"] [2025-02-19T21:01:42.837Z] STF 16:01:42.520 - [2025-02-19T21:01:42.837Z] STF 16:01:42.520 - +------ Step 17 - Check output [2025-02-19T21:01:42.837Z] STF 16:01:42.520 - | Count file matches [2025-02-19T21:01:42.837Z] STF 16:01:42.520 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/results/14.LIST.stdout [2025-02-19T21:01:42.837Z] STF 16:01:42.520 - | ExpectedNumMatches: 1 [2025-02-19T21:01:42.837Z] STF 16:01:42.520 - | SearchStrings: ["java.base"] [2025-02-19T21:01:42.837Z] STF 16:01:42.520 - | [2025-02-19T21:01:42.837Z] STF 16:01:42.520 - Found 1 instances of ["java.base"] [2025-02-19T21:01:42.837Z] STF 16:01:42.520 - [2025-02-19T21:01:42.837Z] STF 16:01:42.520 - +------ Step 18 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-19T21:01:42.837Z] STF 16:01:42.520 - | Run foreground process [2025-02-19T21:01:42.837Z] STF 16:01:42.520 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/tmp/13.CRI1/bin/java [2025-02-19T21:01:42.837Z] STF 16:01:42.520 - | Mnemonic: T1 [2025-02-19T21:01:42.837Z] STF 16:01:42.520 - | Echo: ECHO_ON [2025-02-19T21:01:42.837Z] STF 16:01:42.520 - | Expectation: CLEAN_RUN within 1m [2025-02-19T21:01:42.838Z] STF 16:01:42.520 - | [2025-02-19T21:01:42.838Z] STF 16:01:42.520 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/tmp/13.CRI1/bin/java -Djava.library.path=/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/native --add-reads com.test.jlink=ALL-UNNAMED -XX:-UseCompressedOops -classpath /Users/admin/workspace/testDependency/system_lib/junit/junit.jar:/Users/admin/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-19T21:01:42.838Z] STF 16:01:42.520 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/results/18.T1.stderr [2025-02-19T21:01:42.838Z] STF 16:01:42.520 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/results/18.T1.stdout [2025-02-19T21:01:42.838Z] STF 16:01:42.521 - Monitoring processes: T1 [2025-02-19T21:01:42.838Z] T1 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-19T21:01:43.229Z] T1 JUnit version 4.12 [2025-02-19T21:01:43.229Z] T1 . [2025-02-19T21:01:43.229Z] T1 Time: 0.002 [2025-02-19T21:01:43.229Z] T1 [2025-02-19T21:01:43.229Z] T1 OK (1 test) [2025-02-19T21:01:43.229Z] T1 [2025-02-19T21:01:43.229Z] STF 16:01:42.934 - Monitoring Report Summary: [2025-02-19T21:01:43.229Z] STF 16:01:42.934 - o Process T1 ended with the expected exit code (0) [2025-02-19T21:01:43.229Z] STF 16:01:42.934 - [2025-02-19T21:01:43.229Z] STF 16:01:42.934 - +------ Step 19 - Create runtime image [2025-02-19T21:01:43.229Z] STF 16:01:42.934 - | Run jlink to create runtime image [2025-02-19T21:01:43.229Z] STF 16:01:42.934 - | ImageName: CRI2 [2025-02-19T21:01:43.229Z] STF 16:01:42.934 - | [2025-02-19T21:01:43.229Z] STF 16:01:42.934 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/tmp --add-modules com.test.jlink --output /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/tmp/19.CRI2 [2025-02-19T21:01:43.229Z] STF 16:01:42.934 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/results/19.JLNK.stderr [2025-02-19T21:01:43.229Z] STF 16:01:42.934 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/results/19.JLNK.stdout [2025-02-19T21:01:43.229Z] STF 16:01:42.935 - Monitoring processes: JLNK [2025-02-19T21:01:43.229Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-19T21:01:44.055Z] STF 16:01:43.615 - Monitoring Report Summary: [2025-02-19T21:01:44.055Z] STF 16:01:43.615 - o Process JLNK ended with the expected exit code (0) [2025-02-19T21:01:44.055Z] STF 16:01:43.615 - [2025-02-19T21:01:44.055Z] STF 16:01:43.615 - +------ Step 20 - Running listmods [2025-02-19T21:01:44.055Z] STF 16:01:43.615 - | Run foreground process [2025-02-19T21:01:44.055Z] STF 16:01:43.615 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/tmp/19.CRI2/bin/java [2025-02-19T21:01:44.055Z] STF 16:01:43.615 - | Mnemonic: LIST [2025-02-19T21:01:44.055Z] STF 16:01:43.615 - | Echo: ECHO_ON [2025-02-19T21:01:44.055Z] STF 16:01:43.615 - | Expectation: CLEAN_RUN within 1m [2025-02-19T21:01:44.055Z] STF 16:01:43.615 - | [2025-02-19T21:01:44.055Z] STF 16:01:43.615 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/tmp/19.CRI2/bin/java --list-modules -XX:-UseCompressedOops [2025-02-19T21:01:44.055Z] STF 16:01:43.615 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/results/20.LIST.stderr [2025-02-19T21:01:44.055Z] STF 16:01:43.615 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/results/20.LIST.stdout [2025-02-19T21:01:44.055Z] STF 16:01:43.616 - Monitoring processes: LIST [2025-02-19T21:01:44.446Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-19T21:01:44.836Z] LIST com.hello [2025-02-19T21:01:44.836Z] LIST com.test.jlink [2025-02-19T21:01:44.836Z] LIST java.base@21.0.7-beta [2025-02-19T21:01:44.836Z] STF 16:01:44.728 - Monitoring Report Summary: [2025-02-19T21:01:44.836Z] STF 16:01:44.728 - o Process LIST ended with the expected exit code (0) [2025-02-19T21:01:44.836Z] STF 16:01:44.729 - [2025-02-19T21:01:44.836Z] STF 16:01:44.729 - +------ Step 21 - Check output [2025-02-19T21:01:44.836Z] STF 16:01:44.729 - | Count file matches [2025-02-19T21:01:44.836Z] STF 16:01:44.729 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/results/20.LIST.stdout [2025-02-19T21:01:44.836Z] STF 16:01:44.729 - | ExpectedNumMatches: 1 [2025-02-19T21:01:44.836Z] STF 16:01:44.729 - | SearchStrings: ["com.hello"] [2025-02-19T21:01:44.836Z] STF 16:01:44.729 - | [2025-02-19T21:01:44.836Z] STF 16:01:44.729 - Found 1 instances of ["com.hello"] [2025-02-19T21:01:44.836Z] STF 16:01:44.729 - [2025-02-19T21:01:44.836Z] STF 16:01:44.729 - +------ Step 22 - Check output [2025-02-19T21:01:44.836Z] STF 16:01:44.729 - | Count file matches [2025-02-19T21:01:44.836Z] STF 16:01:44.729 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/results/20.LIST.stdout [2025-02-19T21:01:44.836Z] STF 16:01:44.729 - | ExpectedNumMatches: 1 [2025-02-19T21:01:44.836Z] STF 16:01:44.729 - | SearchStrings: ["com.test.jlink"] [2025-02-19T21:01:44.836Z] STF 16:01:44.729 - | [2025-02-19T21:01:44.836Z] STF 16:01:44.729 - Found 1 instances of ["com.test.jlink"] [2025-02-19T21:01:44.836Z] STF 16:01:44.729 - [2025-02-19T21:01:44.836Z] STF 16:01:44.729 - +------ Step 23 - Check output [2025-02-19T21:01:44.836Z] STF 16:01:44.729 - | Count file matches [2025-02-19T21:01:44.836Z] STF 16:01:44.729 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/results/20.LIST.stdout [2025-02-19T21:01:44.836Z] STF 16:01:44.729 - | ExpectedNumMatches: 1 [2025-02-19T21:01:44.836Z] STF 16:01:44.729 - | SearchStrings: ["java.base"] [2025-02-19T21:01:44.836Z] STF 16:01:44.729 - | [2025-02-19T21:01:44.836Z] STF 16:01:44.729 - Found 1 instances of ["java.base"] [2025-02-19T21:01:44.836Z] STF 16:01:44.729 - [2025-02-19T21:01:44.836Z] STF 16:01:44.729 - +------ Step 24 - Running adoptopenjdk.test.modularity.jlink.JniTest [2025-02-19T21:01:44.836Z] STF 16:01:44.729 - | Run foreground process [2025-02-19T21:01:44.836Z] STF 16:01:44.729 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/tmp/19.CRI2/bin/java [2025-02-19T21:01:44.836Z] STF 16:01:44.729 - | Mnemonic: T2 [2025-02-19T21:01:44.836Z] STF 16:01:44.729 - | Echo: ECHO_ON [2025-02-19T21:01:44.836Z] STF 16:01:44.729 - | Expectation: CLEAN_RUN within 1m [2025-02-19T21:01:44.836Z] STF 16:01:44.729 - | [2025-02-19T21:01:44.836Z] STF 16:01:44.729 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/tmp/19.CRI2/bin/java -Djava.library.path=/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/native --add-reads com.test.jlink=ALL-UNNAMED -XX:-UseCompressedOops -classpath /Users/admin/workspace/testDependency/system_lib/junit/junit.jar:/Users/admin/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore adoptopenjdk.test.modularity.jlink.JniTest [2025-02-19T21:01:44.836Z] STF 16:01:44.729 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/results/24.T2.stderr [2025-02-19T21:01:44.836Z] STF 16:01:44.729 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/results/24.T2.stdout [2025-02-19T21:01:44.836Z] STF 16:01:44.731 - Monitoring processes: T2 [2025-02-19T21:01:44.836Z] T2 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-19T21:01:45.225Z] T2 JUnit version 4.12 [2025-02-19T21:01:45.634Z] T2 . [2025-02-19T21:01:45.634Z] T2 Time: 0.003 [2025-02-19T21:01:45.634Z] T2 [2025-02-19T21:01:45.634Z] T2 OK (1 test) [2025-02-19T21:01:45.634Z] T2 [2025-02-19T21:01:45.634Z] STF 16:01:45.238 - Monitoring Report Summary: [2025-02-19T21:01:45.634Z] STF 16:01:45.238 - o Process T2 ended with the expected exit code (0) [2025-02-19T21:01:45.634Z] STF 16:01:45.238 - [2025-02-19T21:01:45.634Z] STF 16:01:45.238 - +------ Step 25 - Create runtime image [2025-02-19T21:01:45.634Z] STF 16:01:45.238 - | Run jlink to create runtime image [2025-02-19T21:01:45.634Z] STF 16:01:45.238 - | ImageName: CRI3 [2025-02-19T21:01:45.634Z] STF 16:01:45.238 - | [2025-02-19T21:01:45.634Z] STF 16:01:45.238 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --add-modules com.test.jlink --output /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/tmp/25.CRI3 [2025-02-19T21:01:45.634Z] STF 16:01:45.238 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/results/25.JLNK.stderr [2025-02-19T21:01:45.634Z] STF 16:01:45.238 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/results/25.JLNK.stdout [2025-02-19T21:01:45.634Z] STF 16:01:45.239 - Monitoring processes: JLNK [2025-02-19T21:01:45.634Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-19T21:01:46.465Z] STF 16:01:46.055 - Monitoring Report Summary: [2025-02-19T21:01:46.465Z] STF 16:01:46.055 - o Process JLNK ended with the expected exit code (0) [2025-02-19T21:01:46.465Z] STF 16:01:46.055 - [2025-02-19T21:01:46.465Z] STF 16:01:46.055 - +------ Step 26 - Running listmods [2025-02-19T21:01:46.465Z] STF 16:01:46.055 - | Run foreground process [2025-02-19T21:01:46.465Z] STF 16:01:46.055 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/tmp/25.CRI3/bin/java [2025-02-19T21:01:46.465Z] STF 16:01:46.055 - | Mnemonic: LIST [2025-02-19T21:01:46.465Z] STF 16:01:46.055 - | Echo: ECHO_ON [2025-02-19T21:01:46.465Z] STF 16:01:46.055 - | Expectation: CLEAN_RUN within 1m [2025-02-19T21:01:46.465Z] STF 16:01:46.055 - | [2025-02-19T21:01:46.465Z] STF 16:01:46.055 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/tmp/25.CRI3/bin/java --list-modules -XX:-UseCompressedOops [2025-02-19T21:01:46.465Z] STF 16:01:46.055 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/results/26.LIST.stderr [2025-02-19T21:01:46.465Z] STF 16:01:46.055 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/results/26.LIST.stdout [2025-02-19T21:01:46.465Z] STF 16:01:46.057 - Monitoring processes: LIST [2025-02-19T21:01:46.852Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-19T21:01:47.681Z] LIST com.hello [2025-02-19T21:01:47.681Z] LIST com.test.jlink [2025-02-19T21:01:47.681Z] LIST java.base@21.0.7-beta [2025-02-19T21:01:47.681Z] STF 16:01:47.258 - Monitoring Report Summary: [2025-02-19T21:01:47.681Z] STF 16:01:47.258 - o Process LIST ended with the expected exit code (0) [2025-02-19T21:01:47.681Z] STF 16:01:47.258 - [2025-02-19T21:01:47.681Z] STF 16:01:47.258 - +------ Step 27 - Check output [2025-02-19T21:01:47.681Z] STF 16:01:47.258 - | Count file matches [2025-02-19T21:01:47.681Z] STF 16:01:47.258 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/results/26.LIST.stdout [2025-02-19T21:01:47.681Z] STF 16:01:47.258 - | ExpectedNumMatches: 1 [2025-02-19T21:01:47.681Z] STF 16:01:47.258 - | SearchStrings: ["com.hello"] [2025-02-19T21:01:47.681Z] STF 16:01:47.258 - | [2025-02-19T21:01:47.681Z] STF 16:01:47.258 - Found 1 instances of ["com.hello"] [2025-02-19T21:01:47.681Z] STF 16:01:47.258 - [2025-02-19T21:01:47.681Z] STF 16:01:47.258 - +------ Step 28 - Check output [2025-02-19T21:01:47.681Z] STF 16:01:47.258 - | Count file matches [2025-02-19T21:01:47.681Z] STF 16:01:47.258 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/results/26.LIST.stdout [2025-02-19T21:01:47.681Z] STF 16:01:47.258 - | ExpectedNumMatches: 1 [2025-02-19T21:01:47.681Z] STF 16:01:47.258 - | SearchStrings: ["com.test.jlink"] [2025-02-19T21:01:47.681Z] STF 16:01:47.258 - | [2025-02-19T21:01:47.681Z] STF 16:01:47.258 - Found 1 instances of ["com.test.jlink"] [2025-02-19T21:01:47.681Z] STF 16:01:47.258 - [2025-02-19T21:01:47.681Z] STF 16:01:47.258 - +------ Step 29 - Check output [2025-02-19T21:01:47.681Z] STF 16:01:47.258 - | Count file matches [2025-02-19T21:01:47.681Z] STF 16:01:47.258 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/results/26.LIST.stdout [2025-02-19T21:01:47.681Z] STF 16:01:47.258 - | ExpectedNumMatches: 1 [2025-02-19T21:01:47.681Z] STF 16:01:47.258 - | SearchStrings: ["java.base"] [2025-02-19T21:01:47.681Z] STF 16:01:47.258 - | [2025-02-19T21:01:47.681Z] STF 16:01:47.258 - Found 1 instances of ["java.base"] [2025-02-19T21:01:47.681Z] STF 16:01:47.258 - [2025-02-19T21:01:47.681Z] STF 16:01:47.258 - +------ Step 30 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-19T21:01:47.681Z] STF 16:01:47.258 - | Run foreground process [2025-02-19T21:01:47.681Z] STF 16:01:47.258 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/tmp/25.CRI3/bin/java [2025-02-19T21:01:47.681Z] STF 16:01:47.258 - | Mnemonic: T3 [2025-02-19T21:01:47.681Z] STF 16:01:47.258 - | Echo: ECHO_ON [2025-02-19T21:01:47.681Z] STF 16:01:47.258 - | Expectation: CLEAN_RUN within 1m [2025-02-19T21:01:47.681Z] STF 16:01:47.258 - | [2025-02-19T21:01:47.681Z] STF 16:01:47.258 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/tmp/25.CRI3/bin/java -Djava.library.path=/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/native --add-reads com.test.jlink=ALL-UNNAMED -XX:-UseCompressedOops -classpath /Users/admin/workspace/testDependency/system_lib/junit/junit.jar:/Users/admin/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-19T21:01:47.681Z] STF 16:01:47.258 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/results/30.T3.stderr [2025-02-19T21:01:47.681Z] STF 16:01:47.258 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/results/30.T3.stdout [2025-02-19T21:01:47.681Z] STF 16:01:47.259 - Monitoring processes: T3 [2025-02-19T21:01:47.681Z] T3 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-19T21:01:47.681Z] T3 JUnit version 4.12 [2025-02-19T21:01:48.078Z] T3 . [2025-02-19T21:01:48.078Z] T3 Time: 0.003 [2025-02-19T21:01:48.078Z] T3 [2025-02-19T21:01:48.078Z] T3 OK (1 test) [2025-02-19T21:01:48.078Z] T3 [2025-02-19T21:01:48.078Z] STF 16:01:47.647 - Monitoring Report Summary: [2025-02-19T21:01:48.078Z] STF 16:01:47.647 - o Process T3 ended with the expected exit code (0) [2025-02-19T21:01:48.078Z] STF 16:01:47.647 - EXECUTE stage completed [2025-02-19T21:01:48.078Z] STF 16:01:47.684 - [2025-02-19T21:01:48.078Z] STF 16:01:47.684 - ==================== T E A R D O W N ==================== [2025-02-19T21:01:48.078Z] STF 16:01:47.684 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac/aqa-tests/TKG/../TKG/output_17399987675411/Jlink_ReqMod_1/20250219-160139-JlinkTest/tearDown.pl [2025-02-19T21:01:48.078Z] STF 16:01:47.720 - TEARDOWN stage completed [2025-02-19T21:01:48.078Z] STF 16:01:47.727 - [2025-02-19T21:01:48.078Z] STF 16:01:47.727 - ===================== R E S U L T S ===================== [2025-02-19T21:01:48.078Z] STF 16:01:47.727 - Stage results: [2025-02-19T21:01:48.078Z] STF 16:01:47.727 - setUp: pass [2025-02-19T21:01:48.078Z] STF 16:01:47.727 - execute: pass [2025-02-19T21:01:48.078Z] STF 16:01:47.727 - teardown: pass [2025-02-19T21:01:48.078Z] STF 16:01:47.727 - [2025-02-19T21:01:48.078Z] STF 16:01:47.727 - Overall result: PASSED [2025-02-19T21:01:48.078Z] ----------------------------------- [2025-02-19T21:01:48.078Z] Jlink_ReqMod_1_PASSED [2025-02-19T21:01:48.078Z] ----------------------------------- [2025-02-19T21:01:48.078Z] [2025-02-19T21:01:48.078Z] TEST TEARDOWN: [2025-02-19T21:01:48.078Z] Nothing to be done for teardown. [2025-02-19T21:01:48.078Z] Jlink_ReqMod_1 Finish Time: Wed Feb 19 16:01:47 2025 Epoch Time (ms): 1739998907760