Jlink_ReqMod_1

[2025-02-05T21:04:55.040Z] Running test Jlink_ReqMod_1 ... [2025-02-05T21:04:55.040Z] =============================================== [2025-02-05T21:04:55.040Z] Jlink_ReqMod_1 Start Time: Wed Feb 5 16:04:52 2025 Epoch Time (ms): 1738789492813 [2025-02-05T21:04:55.040Z] variation: Mode650 [2025-02-05T21:04:55.040Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-02-05T21:04:55.040Z] { \ [2025-02-05T21:04:55.040Z] echo ""; echo "TEST SETUP:"; \ [2025-02-05T21:04:55.040Z] echo "Nothing to be done for setup."; \ [2025-02-05T21:04:55.040Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17387893269348/Jlink_ReqMod_1"; \ [2025-02-05T21:04:55.040Z] cd "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17387893269348/Jlink_ReqMod_1"; \ [2025-02-05T21:04:55.040Z] echo ""; echo "TESTING:"; \ [2025-02-05T21:04:55.040Z] perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/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_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/../../testDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17387893269348/Jlink_ReqMod_1" -test=JlinkTest -test-args="variant=ReqdMod"; \ [2025-02-05T21:04:55.040Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "Jlink_ReqMod_1""_PASSED"; echo "-----------------------------------"; cd /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/..; rm -f -r "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17387893269348/Jlink_ReqMod_1"; else echo "-----------------------------------"; echo "Jlink_ReqMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-02-05T21:04:55.040Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-02-05T21:04:55.040Z] echo "Nothing to be done for teardown."; \ [2025-02-05T21:04:55.040Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17387893269348/TestTargetResult"; [2025-02-05T21:04:55.040Z] [2025-02-05T21:04:55.040Z] TEST SETUP: [2025-02-05T21:04:55.040Z] Nothing to be done for setup. [2025-02-05T21:04:55.040Z] [2025-02-05T21:04:55.040Z] TESTING: [2025-02-05T21:04:55.040Z] STF 16:04:52.863 - ========================= S T F ========================= [2025-02-05T21:04:55.040Z] 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_testList_1/aqa-tests/TKG/../TKG/output_17387893269348/Jlink_ReqMod_1 [2025-02-05T21:04:55.040Z] There is 28395 Mb free [2025-02-05T21:04:55.040Z] STF 16:04:52.868 - ================== G E N E R A T I O N ================== [2025-02-05T21:04:55.040Z] STF 16:04:52.869 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2025-02-05T21:04:55.040Z] STF 16:04:52.869 - Starting process to generate scripts: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/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_testList_1/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/../../testDependency/system_lib//asm/asm.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/../../testDependency/system_lib//asm/asm-commons.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/../../testDependency/system_lib//log4j/log4j-api.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/../../testDependency/system_lib//log4j/log4j-core.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/stf_parameters.properties, , /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest" [2025-02-05T21:04:55.040Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-05T21:04:55.040Z] GEN [0.004s][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-05T21:04:55.895Z] GEN 16:04:53.381 - Found test. Project: 'openjdk.test.modularity' class: 'JlinkTest.class' Dir: '/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-02-05T21:04:55.895Z] GEN 16:04:53.397 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.JlinkTest' [2025-02-05T21:04:55.895Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-02-05T21:04:55.895Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-02-05T21:04:55.895Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-02-05T21:04:55.895Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-02-05T21:04:55.895Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-02-05T21:04:55.895Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-02-05T21:04:55.895Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-02-05T21:04:55.895Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-02-05T21:04:55.895Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-02-05T21:04:55.895Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-02-05T21:04:55.895Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-02-05T21:04:55.895Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-02-05T21:04:55.895Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-02-05T21:04:55.895Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-02-05T21:04:55.895Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-02-05T21:04:55.895Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-02-05T21:04:55.895Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/STF/stf.core/bin [2025-02-05T21:04:55.895Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-api.jar [2025-02-05T21:04:55.895Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-core.jar [2025-02-05T21:04:55.895Z] GEN /Users/admin/workspace/testDependency/system_lib/junit/junit.jar [2025-02-05T21:04:55.895Z] GEN 16:04:53.500 - Using Mode NoOptions. Values = '' [2025-02-05T21:04:55.895Z] GEN 16:04:53.547 - [2025-02-05T21:04:55.895Z] GEN 16:04:53.547 - Test command summary: [2025-02-05T21:04:55.895Z] GEN 16:04:53.547 - Step Stage Command Description [2025-02-05T21:04:55.895Z] GEN 16:04:53.547 - -----+--------+-----------------+------------ [2025-02-05T21:04:55.895Z] GEN 16:04:53.547 - 1 setUp cpDir Copying com.test.jlink [2025-02-05T21:04:55.895Z] GEN 16:04:53.547 - 2 setUp rm Removing natives folder from com.test.jLinkDirCopy [2025-02-05T21:04:55.895Z] GEN 16:04:53.548 - 3 setUp jar Create com.test.jlink jar [2025-02-05T21:04:55.895Z] GEN 16:04:53.548 - 4 setUp jar Create com.hello jar [2025-02-05T21:04:55.895Z] GEN 16:04:53.548 - 5 setUp fileCheck Check com.test.jlink modular jar created [2025-02-05T21:04:55.895Z] GEN 16:04:53.548 - 6 setUp fileCheck Check com.hello modular jar created [2025-02-05T21:04:55.895Z] GEN 16:04:53.548 - 7 setUp rm Removing conf folder from com.test.jLinkDirCopy [2025-02-05T21:04:55.895Z] GEN 16:04:53.548 - 8 setUp cpDir Copying .so from com.test.jlink/native [2025-02-05T21:04:55.895Z] GEN 16:04:53.548 - 9 setUp jmod Creating jmod of com.test.jlink module [2025-02-05T21:04:55.895Z] GEN 16:04:53.548 - 10 setUp jmod Creating jmod for com.hello module [2025-02-05T21:04:55.895Z] GEN 16:04:53.548 - 11 setUp fileCheck Check com.test.jlink jmod created [2025-02-05T21:04:55.895Z] GEN 16:04:53.548 - 12 setUp fileCheck Check com.hello jmod created [2025-02-05T21:04:55.895Z] GEN 16:04:53.548 - 13 execute jlink Create runtime image [2025-02-05T21:04:55.895Z] GEN 16:04:53.548 - 14 execute Run java Running listmods [2025-02-05T21:04:55.895Z] GEN 16:04:53.548 - 15 execute count Check output [2025-02-05T21:04:55.895Z] GEN 16:04:53.548 - 16 execute count Check output [2025-02-05T21:04:55.895Z] GEN 16:04:53.548 - 17 execute count Check output [2025-02-05T21:04:55.895Z] GEN 16:04:53.548 - 18 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-05T21:04:55.895Z] GEN 16:04:53.548 - 19 execute jlink Create runtime image [2025-02-05T21:04:55.895Z] GEN 16:04:53.548 - 20 execute Run java Running listmods [2025-02-05T21:04:55.895Z] GEN 16:04:53.548 - 21 execute count Check output [2025-02-05T21:04:55.895Z] GEN 16:04:53.548 - 22 execute count Check output [2025-02-05T21:04:55.895Z] GEN 16:04:53.548 - 23 execute count Check output [2025-02-05T21:04:55.895Z] GEN 16:04:53.548 - 24 execute Run java Running adoptopenjdk.test.modularity.jlink.JniTest [2025-02-05T21:04:55.895Z] GEN 16:04:53.548 - 25 execute jlink Create runtime image [2025-02-05T21:04:55.895Z] GEN 16:04:53.548 - 26 execute Run java Running listmods [2025-02-05T21:04:55.895Z] GEN 16:04:53.548 - 27 execute count Check output [2025-02-05T21:04:55.895Z] GEN 16:04:53.548 - 28 execute count Check output [2025-02-05T21:04:55.895Z] GEN 16:04:53.548 - 29 execute count Check output [2025-02-05T21:04:55.895Z] GEN 16:04:53.548 - 30 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-05T21:04:55.895Z] STF 16:04:53.558 - [2025-02-05T21:04:55.895Z] STF 16:04:53.558 - Script generation completed [2025-02-05T21:04:55.895Z] STF 16:04:53.558 - [2025-02-05T21:04:55.895Z] STF 16:04:53.558 - [2025-02-05T21:04:55.895Z] STF 16:04:53.558 - ======================= S E T U P ======================= [2025-02-05T21:04:55.895Z] STF 16:04:53.558 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/setUp.pl [2025-02-05T21:04:55.895Z] STF 16:04:53.597 - [2025-02-05T21:04:55.895Z] STF 16:04:53.597 - +------ Step 1 - Copying com.test.jlink [2025-02-05T21:04:55.895Z] STF 16:04:53.597 - | Copy a directory to a new directory [2025-02-05T21:04:55.895Z] STF 16:04:53.597 - | Source dir: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink [2025-02-05T21:04:55.895Z] STF 16:04:53.597 - | Dest dir: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/com.test.jLinkDirCopy [2025-02-05T21:04:55.895Z] STF 16:04:53.597 - | [2025-02-05T21:04:55.895Z] STF 16:04:53.601 - [2025-02-05T21:04:55.895Z] STF 16:04:53.601 - +------ Step 2 - Removing natives folder from com.test.jLinkDirCopy [2025-02-05T21:04:55.895Z] STF 16:04:53.601 - | Recursively delete a directory [2025-02-05T21:04:55.895Z] STF 16:04:53.601 - | Directory: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/com.test.jLinkDirCopy/native [2025-02-05T21:04:55.895Z] STF 16:04:53.601 - | [2025-02-05T21:04:55.895Z] STF 16:04:53.609 - [2025-02-05T21:04:55.895Z] STF 16:04:53.609 - +------ Step 3 - Create com.test.jlink jar [2025-02-05T21:04:55.895Z] STF 16:04:53.609 - | Create modular jar [2025-02-05T21:04:55.895Z] STF 16:04:53.609 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test.jlink [2025-02-05T21:04:55.895Z] STF 16:04:53.609 - | ModuleVersion: null [2025-02-05T21:04:55.895Z] STF 16:04:53.609 - | MainClass: null [2025-02-05T21:04:55.895Z] STF 16:04:53.609 - | HashModules: null [2025-02-05T21:04:55.895Z] STF 16:04:53.609 - | [2025-02-05T21:04:55.895Z] STF 16:04:53.610 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/modules/3.com.test.jlink.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink . [2025-02-05T21:04:55.895Z] STF 16:04:53.610 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/results/3.CMJ.stderr [2025-02-05T21:04:55.895Z] STF 16:04:53.610 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/results/3.CMJ.stdout [2025-02-05T21:04:55.895Z] STF 16:04:53.641 - Monitoring processes: CMJ [2025-02-05T21:04:55.895Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-05T21:04:56.295Z] STF 16:04:53.888 - Monitoring Report Summary: [2025-02-05T21:04:56.296Z] STF 16:04:53.888 - o Process CMJ ended with the expected exit code (0) [2025-02-05T21:04:56.296Z] STF 16:04:53.888 - Created modular jar: 3.com.test.jlink.jar [2025-02-05T21:04:56.296Z] STF 16:04:53.888 - [2025-02-05T21:04:56.296Z] STF 16:04:53.888 - +------ Step 4 - Create com.hello jar [2025-02-05T21:04:56.296Z] STF 16:04:53.888 - | Create modular jar [2025-02-05T21:04:56.296Z] STF 16:04:53.888 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-02-05T21:04:56.296Z] STF 16:04:53.888 - | ModuleVersion: null [2025-02-05T21:04:56.296Z] STF 16:04:53.888 - | MainClass: null [2025-02-05T21:04:56.296Z] STF 16:04:53.888 - | HashModules: null [2025-02-05T21:04:56.296Z] STF 16:04:53.888 - | [2025-02-05T21:04:56.296Z] STF 16:04:53.888 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/modules/4.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-02-05T21:04:56.296Z] STF 16:04:53.888 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/results/4.CMJ.stderr [2025-02-05T21:04:56.296Z] STF 16:04:53.888 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/results/4.CMJ.stdout [2025-02-05T21:04:56.296Z] STF 16:04:53.889 - Monitoring processes: CMJ [2025-02-05T21:04:56.296Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-05T21:04:56.296Z] STF 16:04:54.094 - Monitoring Report Summary: [2025-02-05T21:04:56.296Z] STF 16:04:54.094 - o Process CMJ ended with the expected exit code (0) [2025-02-05T21:04:56.296Z] STF 16:04:54.095 - Created modular jar: 4.com.hello.jar [2025-02-05T21:04:56.296Z] STF 16:04:54.095 - [2025-02-05T21:04:56.296Z] STF 16:04:54.095 - +------ Step 5 - Check com.test.jlink modular jar created [2025-02-05T21:04:56.296Z] STF 16:04:54.095 - | Validate file exists [2025-02-05T21:04:56.296Z] STF 16:04:54.095 - | File: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/modules/3.com.test.jlink.jar [2025-02-05T21:04:56.296Z] STF 16:04:54.095 - | [2025-02-05T21:04:56.296Z] STF 16:04:54.095 - [2025-02-05T21:04:56.296Z] STF 16:04:54.095 - +------ Step 6 - Check com.hello modular jar created [2025-02-05T21:04:56.296Z] STF 16:04:54.095 - | Validate file exists [2025-02-05T21:04:56.296Z] STF 16:04:54.095 - | File: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/modules/4.com.hello.jar [2025-02-05T21:04:56.296Z] STF 16:04:54.095 - | [2025-02-05T21:04:56.296Z] STF 16:04:54.095 - [2025-02-05T21:04:56.296Z] STF 16:04:54.095 - +------ Step 7 - Removing conf folder from com.test.jLinkDirCopy [2025-02-05T21:04:56.296Z] STF 16:04:54.095 - | Recursively delete a directory [2025-02-05T21:04:56.296Z] STF 16:04:54.095 - | Directory: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/com.test.jLinkDirCopy/conf [2025-02-05T21:04:56.296Z] STF 16:04:54.095 - | [2025-02-05T21:04:56.296Z] STF 16:04:54.095 - [2025-02-05T21:04:56.296Z] STF 16:04:54.095 - +------ Step 8 - Copying .so from com.test.jlink/native [2025-02-05T21:04:56.296Z] STF 16:04:54.095 - | Copy a directory to a new directory [2025-02-05T21:04:56.296Z] STF 16:04:54.095 - | Source dir: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink/native/bin/osx [2025-02-05T21:04:56.296Z] STF 16:04:54.095 - | Dest dir: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/native [2025-02-05T21:04:56.296Z] STF 16:04:54.095 - | [2025-02-05T21:04:56.296Z] STF 16:04:54.095 - [2025-02-05T21:04:56.296Z] STF 16:04:54.095 - +------ Step 9 - Creating jmod of com.test.jlink module [2025-02-05T21:04:56.296Z] STF 16:04:54.095 - | Run jmod utility [2025-02-05T21:04:56.296Z] STF 16:04:54.095 - | jmod: com.test.jlink.jmod [2025-02-05T21:04:56.296Z] STF 16:04:54.095 - | [2025-02-05T21:04:56.296Z] STF 16:04:54.095 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jmod create --class-path /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/com.test.jLinkDirCopy --config /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/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_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/native /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/tmp/com.test.jlink.jmod [2025-02-05T21:04:56.296Z] STF 16:04:54.095 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/results/9.JMOD.stderr [2025-02-05T21:04:56.296Z] STF 16:04:54.095 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/results/9.JMOD.stdout [2025-02-05T21:04:56.296Z] STF 16:04:54.097 - Monitoring processes: JMOD [2025-02-05T21:04:56.296Z] JMOD stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-05T21:04:56.693Z] STF 16:04:54.239 - Monitoring Report Summary: [2025-02-05T21:04:56.693Z] STF 16:04:54.239 - o Process JMOD ended with the expected exit code (0) [2025-02-05T21:04:56.693Z] STF 16:04:54.239 - [2025-02-05T21:04:56.693Z] STF 16:04:54.239 - +------ Step 10 - Creating jmod for com.hello module [2025-02-05T21:04:56.693Z] STF 16:04:54.239 - | Run jmod utility [2025-02-05T21:04:56.693Z] STF 16:04:54.239 - | jmod: com.hello.jmod [2025-02-05T21:04:56.693Z] STF 16:04:54.239 - | [2025-02-05T21:04:56.693Z] STF 16:04:54.239 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jmod create --class-path /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/tmp/com.hello.jmod [2025-02-05T21:04:56.693Z] STF 16:04:54.239 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/results/10.JMOD.stderr [2025-02-05T21:04:56.693Z] STF 16:04:54.240 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/results/10.JMOD.stdout [2025-02-05T21:04:56.693Z] STF 16:04:54.240 - Monitoring processes: JMOD [2025-02-05T21:04:56.693Z] JMOD stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-05T21:04:56.693Z] STF 16:04:54.386 - Monitoring Report Summary: [2025-02-05T21:04:56.693Z] STF 16:04:54.386 - o Process JMOD ended with the expected exit code (0) [2025-02-05T21:04:56.693Z] STF 16:04:54.386 - [2025-02-05T21:04:56.693Z] STF 16:04:54.386 - +------ Step 11 - Check com.test.jlink jmod created [2025-02-05T21:04:56.693Z] STF 16:04:54.386 - | Validate file exists [2025-02-05T21:04:56.693Z] STF 16:04:54.386 - | File: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/tmp/com.test.jlink.jmod [2025-02-05T21:04:56.693Z] STF 16:04:54.386 - | [2025-02-05T21:04:56.693Z] STF 16:04:54.386 - [2025-02-05T21:04:56.693Z] STF 16:04:54.386 - +------ Step 12 - Check com.hello jmod created [2025-02-05T21:04:56.693Z] STF 16:04:54.386 - | Validate file exists [2025-02-05T21:04:56.693Z] STF 16:04:54.386 - | File: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/tmp/com.hello.jmod [2025-02-05T21:04:56.693Z] STF 16:04:54.386 - | [2025-02-05T21:04:56.693Z] STF 16:04:54.386 - SETUP stage completed [2025-02-05T21:04:56.693Z] STF 16:04:54.396 - [2025-02-05T21:04:56.693Z] STF 16:04:54.396 - ==================== E X E C U T E - ==================== [2025-02-05T21:04:56.693Z] STF 16:04:54.396 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/execute.pl [2025-02-05T21:04:56.693Z] STF 16:04:54.434 - [2025-02-05T21:04:56.693Z] STF 16:04:54.434 - Java version [2025-02-05T21:04:56.693Z] STF 16:04:54.434 - Running: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2025-02-05T21:04:56.693Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-05T21:04:56.694Z] openjdk version "21.0.7-beta" 2025-04-15 [2025-02-05T21:04:56.694Z] OpenJDK Runtime Environment Temurin-21.0.7+1-202502052004 (build 21.0.7-beta+1-ea) [2025-02-05T21:04:56.694Z] OpenJDK 64-Bit Server VM Temurin-21.0.7+1-202502052004 (build 21.0.7-beta+1-ea, mixed mode, sharing) [2025-02-05T21:04:56.694Z] STF 16:04:54.487 - [2025-02-05T21:04:56.694Z] STF 16:04:54.487 - +------ Step 13 - Create runtime image [2025-02-05T21:04:56.694Z] STF 16:04:54.488 - | Run jlink to create runtime image [2025-02-05T21:04:56.694Z] STF 16:04:54.488 - | ImageName: CRI1 [2025-02-05T21:04:56.694Z] STF 16:04:54.488 - | [2025-02-05T21:04:56.694Z] STF 16:04:54.488 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/modules --add-modules com.test.jlink --output /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/tmp/13.CRI1 [2025-02-05T21:04:56.694Z] STF 16:04:54.488 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/results/13.JLNK.stderr [2025-02-05T21:04:56.694Z] STF 16:04:54.488 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/results/13.JLNK.stdout [2025-02-05T21:04:56.694Z] STF 16:04:54.493 - Monitoring processes: JLNK [2025-02-05T21:04:56.694Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-05T21:04:57.546Z] STF 16:04:55.463 - Monitoring Report Summary: [2025-02-05T21:04:57.546Z] STF 16:04:55.463 - o Process JLNK ended with the expected exit code (0) [2025-02-05T21:04:57.546Z] STF 16:04:55.463 - [2025-02-05T21:04:57.546Z] STF 16:04:55.463 - +------ Step 14 - Running listmods [2025-02-05T21:04:57.546Z] STF 16:04:55.463 - | Run foreground process [2025-02-05T21:04:57.546Z] STF 16:04:55.463 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/tmp/13.CRI1/bin/java [2025-02-05T21:04:57.546Z] STF 16:04:55.463 - | Mnemonic: LIST [2025-02-05T21:04:57.546Z] STF 16:04:55.463 - | Echo: ECHO_ON [2025-02-05T21:04:57.546Z] STF 16:04:55.463 - | Expectation: CLEAN_RUN within 1m [2025-02-05T21:04:57.546Z] STF 16:04:55.463 - | [2025-02-05T21:04:57.546Z] STF 16:04:55.463 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/tmp/13.CRI1/bin/java --list-modules -XX:-UseCompressedOops [2025-02-05T21:04:57.546Z] STF 16:04:55.463 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/results/14.LIST.stderr [2025-02-05T21:04:57.546Z] STF 16:04:55.463 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/results/14.LIST.stdout [2025-02-05T21:04:57.546Z] STF 16:04:55.466 - Monitoring processes: LIST [2025-02-05T21:04:58.390Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-05T21:04:59.247Z] LIST com.hello [2025-02-05T21:04:59.247Z] LIST com.test.jlink [2025-02-05T21:04:59.247Z] LIST java.base@21.0.7-beta [2025-02-05T21:04:59.247Z] STF 16:04:56.814 - Monitoring Report Summary: [2025-02-05T21:04:59.247Z] STF 16:04:56.814 - o Process LIST ended with the expected exit code (0) [2025-02-05T21:04:59.247Z] STF 16:04:56.814 - [2025-02-05T21:04:59.247Z] STF 16:04:56.814 - +------ Step 15 - Check output [2025-02-05T21:04:59.247Z] STF 16:04:56.814 - | Count file matches [2025-02-05T21:04:59.247Z] STF 16:04:56.814 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/results/14.LIST.stdout [2025-02-05T21:04:59.247Z] STF 16:04:56.814 - | ExpectedNumMatches: 1 [2025-02-05T21:04:59.247Z] STF 16:04:56.814 - | SearchStrings: ["com.hello"] [2025-02-05T21:04:59.247Z] STF 16:04:56.814 - | [2025-02-05T21:04:59.247Z] STF 16:04:56.814 - Found 1 instances of ["com.hello"] [2025-02-05T21:04:59.247Z] STF 16:04:56.814 - [2025-02-05T21:04:59.247Z] STF 16:04:56.814 - +------ Step 16 - Check output [2025-02-05T21:04:59.247Z] STF 16:04:56.814 - | Count file matches [2025-02-05T21:04:59.247Z] STF 16:04:56.814 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/results/14.LIST.stdout [2025-02-05T21:04:59.247Z] STF 16:04:56.814 - | ExpectedNumMatches: 1 [2025-02-05T21:04:59.247Z] STF 16:04:56.814 - | SearchStrings: ["com.test.jlink"] [2025-02-05T21:04:59.247Z] STF 16:04:56.814 - | [2025-02-05T21:04:59.247Z] STF 16:04:56.814 - Found 1 instances of ["com.test.jlink"] [2025-02-05T21:04:59.247Z] STF 16:04:56.814 - [2025-02-05T21:04:59.247Z] STF 16:04:56.814 - +------ Step 17 - Check output [2025-02-05T21:04:59.247Z] STF 16:04:56.814 - | Count file matches [2025-02-05T21:04:59.247Z] STF 16:04:56.814 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/results/14.LIST.stdout [2025-02-05T21:04:59.247Z] STF 16:04:56.814 - | ExpectedNumMatches: 1 [2025-02-05T21:04:59.247Z] STF 16:04:56.814 - | SearchStrings: ["java.base"] [2025-02-05T21:04:59.247Z] STF 16:04:56.814 - | [2025-02-05T21:04:59.247Z] STF 16:04:56.814 - Found 1 instances of ["java.base"] [2025-02-05T21:04:59.247Z] STF 16:04:56.814 - [2025-02-05T21:04:59.247Z] STF 16:04:56.814 - +------ Step 18 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-05T21:04:59.247Z] STF 16:04:56.814 - | Run foreground process [2025-02-05T21:04:59.247Z] STF 16:04:56.814 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/tmp/13.CRI1/bin/java [2025-02-05T21:04:59.247Z] STF 16:04:56.814 - | Mnemonic: T1 [2025-02-05T21:04:59.247Z] STF 16:04:56.814 - | Echo: ECHO_ON [2025-02-05T21:04:59.247Z] STF 16:04:56.814 - | Expectation: CLEAN_RUN within 1m [2025-02-05T21:04:59.247Z] STF 16:04:56.814 - | [2025-02-05T21:04:59.248Z] STF 16:04:56.815 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/tmp/13.CRI1/bin/java -Djava.library.path=/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-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-05T21:04:59.248Z] STF 16:04:56.815 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/results/18.T1.stderr [2025-02-05T21:04:59.248Z] STF 16:04:56.815 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/results/18.T1.stdout [2025-02-05T21:04:59.248Z] STF 16:04:56.815 - Monitoring processes: T1 [2025-02-05T21:04:59.248Z] T1 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-05T21:04:59.661Z] T1 JUnit version 4.12 [2025-02-05T21:04:59.661Z] T1 . [2025-02-05T21:04:59.661Z] T1 Time: 0.003 [2025-02-05T21:04:59.661Z] T1 [2025-02-05T21:04:59.661Z] T1 OK (1 test) [2025-02-05T21:04:59.661Z] T1 [2025-02-05T21:04:59.661Z] STF 16:04:57.283 - Monitoring Report Summary: [2025-02-05T21:04:59.661Z] STF 16:04:57.283 - o Process T1 ended with the expected exit code (0) [2025-02-05T21:04:59.661Z] STF 16:04:57.283 - [2025-02-05T21:04:59.661Z] STF 16:04:57.283 - +------ Step 19 - Create runtime image [2025-02-05T21:04:59.661Z] STF 16:04:57.283 - | Run jlink to create runtime image [2025-02-05T21:04:59.661Z] STF 16:04:57.283 - | ImageName: CRI2 [2025-02-05T21:04:59.661Z] STF 16:04:57.283 - | [2025-02-05T21:04:59.661Z] STF 16:04:57.284 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/tmp --add-modules com.test.jlink --output /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/tmp/19.CRI2 [2025-02-05T21:04:59.661Z] STF 16:04:57.284 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/results/19.JLNK.stderr [2025-02-05T21:04:59.661Z] STF 16:04:57.284 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/results/19.JLNK.stdout [2025-02-05T21:04:59.661Z] STF 16:04:57.285 - Monitoring processes: JLNK [2025-02-05T21:04:59.661Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-05T21:05:00.515Z] STF 16:04:58.327 - Monitoring Report Summary: [2025-02-05T21:05:00.515Z] STF 16:04:58.327 - o Process JLNK ended with the expected exit code (0) [2025-02-05T21:05:00.515Z] STF 16:04:58.327 - [2025-02-05T21:05:00.515Z] STF 16:04:58.327 - +------ Step 20 - Running listmods [2025-02-05T21:05:00.515Z] STF 16:04:58.327 - | Run foreground process [2025-02-05T21:05:00.515Z] STF 16:04:58.327 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/tmp/19.CRI2/bin/java [2025-02-05T21:05:00.515Z] STF 16:04:58.327 - | Mnemonic: LIST [2025-02-05T21:05:00.515Z] STF 16:04:58.327 - | Echo: ECHO_ON [2025-02-05T21:05:00.515Z] STF 16:04:58.327 - | Expectation: CLEAN_RUN within 1m [2025-02-05T21:05:00.515Z] STF 16:04:58.327 - | [2025-02-05T21:05:00.515Z] STF 16:04:58.327 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/tmp/19.CRI2/bin/java --list-modules -XX:-UseCompressedOops [2025-02-05T21:05:00.515Z] STF 16:04:58.327 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/results/20.LIST.stderr [2025-02-05T21:05:00.515Z] STF 16:04:58.327 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/results/20.LIST.stdout [2025-02-05T21:05:00.515Z] STF 16:04:58.329 - Monitoring processes: LIST [2025-02-05T21:05:01.380Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-05T21:05:01.791Z] LIST com.hello [2025-02-05T21:05:01.791Z] LIST com.test.jlink [2025-02-05T21:05:01.791Z] LIST java.base@21.0.7-beta [2025-02-05T21:05:01.791Z] STF 16:04:59.627 - Monitoring Report Summary: [2025-02-05T21:05:01.791Z] STF 16:04:59.627 - o Process LIST ended with the expected exit code (0) [2025-02-05T21:05:01.791Z] STF 16:04:59.627 - [2025-02-05T21:05:01.791Z] STF 16:04:59.627 - +------ Step 21 - Check output [2025-02-05T21:05:01.791Z] STF 16:04:59.627 - | Count file matches [2025-02-05T21:05:01.791Z] STF 16:04:59.627 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/results/20.LIST.stdout [2025-02-05T21:05:01.791Z] STF 16:04:59.627 - | ExpectedNumMatches: 1 [2025-02-05T21:05:01.791Z] STF 16:04:59.627 - | SearchStrings: ["com.hello"] [2025-02-05T21:05:01.791Z] STF 16:04:59.627 - | [2025-02-05T21:05:01.791Z] STF 16:04:59.627 - Found 1 instances of ["com.hello"] [2025-02-05T21:05:01.791Z] STF 16:04:59.627 - [2025-02-05T21:05:01.791Z] STF 16:04:59.627 - +------ Step 22 - Check output [2025-02-05T21:05:01.791Z] STF 16:04:59.627 - | Count file matches [2025-02-05T21:05:01.791Z] STF 16:04:59.627 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/results/20.LIST.stdout [2025-02-05T21:05:01.791Z] STF 16:04:59.627 - | ExpectedNumMatches: 1 [2025-02-05T21:05:01.791Z] STF 16:04:59.627 - | SearchStrings: ["com.test.jlink"] [2025-02-05T21:05:01.791Z] STF 16:04:59.627 - | [2025-02-05T21:05:01.791Z] STF 16:04:59.627 - Found 1 instances of ["com.test.jlink"] [2025-02-05T21:05:01.791Z] STF 16:04:59.627 - [2025-02-05T21:05:01.791Z] STF 16:04:59.627 - +------ Step 23 - Check output [2025-02-05T21:05:01.791Z] STF 16:04:59.627 - | Count file matches [2025-02-05T21:05:01.791Z] STF 16:04:59.627 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/results/20.LIST.stdout [2025-02-05T21:05:01.791Z] STF 16:04:59.627 - | ExpectedNumMatches: 1 [2025-02-05T21:05:01.791Z] STF 16:04:59.627 - | SearchStrings: ["java.base"] [2025-02-05T21:05:01.791Z] STF 16:04:59.627 - | [2025-02-05T21:05:01.791Z] STF 16:04:59.627 - Found 1 instances of ["java.base"] [2025-02-05T21:05:01.791Z] STF 16:04:59.627 - [2025-02-05T21:05:01.791Z] STF 16:04:59.627 - +------ Step 24 - Running adoptopenjdk.test.modularity.jlink.JniTest [2025-02-05T21:05:01.791Z] STF 16:04:59.627 - | Run foreground process [2025-02-05T21:05:01.791Z] STF 16:04:59.627 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/tmp/19.CRI2/bin/java [2025-02-05T21:05:01.791Z] STF 16:04:59.627 - | Mnemonic: T2 [2025-02-05T21:05:01.791Z] STF 16:04:59.627 - | Echo: ECHO_ON [2025-02-05T21:05:01.791Z] STF 16:04:59.627 - | Expectation: CLEAN_RUN within 1m [2025-02-05T21:05:01.791Z] STF 16:04:59.627 - | [2025-02-05T21:05:01.791Z] STF 16:04:59.627 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/tmp/19.CRI2/bin/java -Djava.library.path=/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-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-05T21:05:01.791Z] STF 16:04:59.627 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/results/24.T2.stderr [2025-02-05T21:05:01.791Z] STF 16:04:59.627 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/results/24.T2.stdout [2025-02-05T21:05:01.791Z] STF 16:04:59.629 - Monitoring processes: T2 [2025-02-05T21:05:01.791Z] T2 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-05T21:05:02.195Z] T2 JUnit version 4.12 [2025-02-05T21:05:02.612Z] T2 . [2025-02-05T21:05:02.612Z] T2 Time: 0.003 [2025-02-05T21:05:02.612Z] T2 [2025-02-05T21:05:02.612Z] T2 OK (1 test) [2025-02-05T21:05:02.612Z] T2 [2025-02-05T21:05:02.612Z] STF 16:05:00.245 - Monitoring Report Summary: [2025-02-05T21:05:02.612Z] STF 16:05:00.245 - o Process T2 ended with the expected exit code (0) [2025-02-05T21:05:02.612Z] STF 16:05:00.245 - [2025-02-05T21:05:02.612Z] STF 16:05:00.245 - +------ Step 25 - Create runtime image [2025-02-05T21:05:02.612Z] STF 16:05:00.245 - | Run jlink to create runtime image [2025-02-05T21:05:02.612Z] STF 16:05:00.245 - | ImageName: CRI3 [2025-02-05T21:05:02.612Z] STF 16:05:00.245 - | [2025-02-05T21:05:02.612Z] STF 16:05:00.245 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/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_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/tmp/25.CRI3 [2025-02-05T21:05:02.612Z] STF 16:05:00.245 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/results/25.JLNK.stderr [2025-02-05T21:05:02.612Z] STF 16:05:00.245 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/results/25.JLNK.stdout [2025-02-05T21:05:02.612Z] STF 16:05:00.246 - Monitoring processes: JLNK [2025-02-05T21:05:02.612Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-05T21:05:03.468Z] STF 16:05:01.350 - Monitoring Report Summary: [2025-02-05T21:05:03.468Z] STF 16:05:01.350 - o Process JLNK ended with the expected exit code (0) [2025-02-05T21:05:03.468Z] STF 16:05:01.350 - [2025-02-05T21:05:03.468Z] STF 16:05:01.350 - +------ Step 26 - Running listmods [2025-02-05T21:05:03.468Z] STF 16:05:01.350 - | Run foreground process [2025-02-05T21:05:03.468Z] STF 16:05:01.350 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/tmp/25.CRI3/bin/java [2025-02-05T21:05:03.468Z] STF 16:05:01.350 - | Mnemonic: LIST [2025-02-05T21:05:03.468Z] STF 16:05:01.350 - | Echo: ECHO_ON [2025-02-05T21:05:03.468Z] STF 16:05:01.350 - | Expectation: CLEAN_RUN within 1m [2025-02-05T21:05:03.468Z] STF 16:05:01.350 - | [2025-02-05T21:05:03.468Z] STF 16:05:01.350 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/tmp/25.CRI3/bin/java --list-modules -XX:-UseCompressedOops [2025-02-05T21:05:03.468Z] STF 16:05:01.350 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/results/26.LIST.stderr [2025-02-05T21:05:03.468Z] STF 16:05:01.350 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/results/26.LIST.stdout [2025-02-05T21:05:03.468Z] STF 16:05:01.352 - Monitoring processes: LIST [2025-02-05T21:05:04.326Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-05T21:05:05.181Z] LIST com.hello [2025-02-05T21:05:05.181Z] LIST com.test.jlink [2025-02-05T21:05:05.181Z] LIST java.base@21.0.7-beta [2025-02-05T21:05:05.181Z] STF 16:05:02.703 - Monitoring Report Summary: [2025-02-05T21:05:05.181Z] STF 16:05:02.703 - o Process LIST ended with the expected exit code (0) [2025-02-05T21:05:05.181Z] STF 16:05:02.703 - [2025-02-05T21:05:05.181Z] STF 16:05:02.703 - +------ Step 27 - Check output [2025-02-05T21:05:05.181Z] STF 16:05:02.703 - | Count file matches [2025-02-05T21:05:05.181Z] STF 16:05:02.703 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/results/26.LIST.stdout [2025-02-05T21:05:05.181Z] STF 16:05:02.703 - | ExpectedNumMatches: 1 [2025-02-05T21:05:05.181Z] STF 16:05:02.703 - | SearchStrings: ["com.hello"] [2025-02-05T21:05:05.181Z] STF 16:05:02.703 - | [2025-02-05T21:05:05.181Z] STF 16:05:02.703 - Found 1 instances of ["com.hello"] [2025-02-05T21:05:05.181Z] STF 16:05:02.703 - [2025-02-05T21:05:05.181Z] STF 16:05:02.703 - +------ Step 28 - Check output [2025-02-05T21:05:05.181Z] STF 16:05:02.703 - | Count file matches [2025-02-05T21:05:05.181Z] STF 16:05:02.703 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/results/26.LIST.stdout [2025-02-05T21:05:05.181Z] STF 16:05:02.703 - | ExpectedNumMatches: 1 [2025-02-05T21:05:05.181Z] STF 16:05:02.703 - | SearchStrings: ["com.test.jlink"] [2025-02-05T21:05:05.181Z] STF 16:05:02.703 - | [2025-02-05T21:05:05.181Z] STF 16:05:02.703 - Found 1 instances of ["com.test.jlink"] [2025-02-05T21:05:05.181Z] STF 16:05:02.703 - [2025-02-05T21:05:05.181Z] STF 16:05:02.703 - +------ Step 29 - Check output [2025-02-05T21:05:05.181Z] STF 16:05:02.703 - | Count file matches [2025-02-05T21:05:05.181Z] STF 16:05:02.703 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/results/26.LIST.stdout [2025-02-05T21:05:05.181Z] STF 16:05:02.703 - | ExpectedNumMatches: 1 [2025-02-05T21:05:05.181Z] STF 16:05:02.703 - | SearchStrings: ["java.base"] [2025-02-05T21:05:05.181Z] STF 16:05:02.703 - | [2025-02-05T21:05:05.181Z] STF 16:05:02.703 - Found 1 instances of ["java.base"] [2025-02-05T21:05:05.181Z] STF 16:05:02.703 - [2025-02-05T21:05:05.182Z] STF 16:05:02.703 - +------ Step 30 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-05T21:05:05.182Z] STF 16:05:02.703 - | Run foreground process [2025-02-05T21:05:05.182Z] STF 16:05:02.703 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/tmp/25.CRI3/bin/java [2025-02-05T21:05:05.182Z] STF 16:05:02.703 - | Mnemonic: T3 [2025-02-05T21:05:05.182Z] STF 16:05:02.703 - | Echo: ECHO_ON [2025-02-05T21:05:05.182Z] STF 16:05:02.703 - | Expectation: CLEAN_RUN within 1m [2025-02-05T21:05:05.182Z] STF 16:05:02.703 - | [2025-02-05T21:05:05.182Z] STF 16:05:02.704 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/tmp/25.CRI3/bin/java -Djava.library.path=/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-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-05T21:05:05.182Z] STF 16:05:02.704 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/results/30.T3.stderr [2025-02-05T21:05:05.182Z] STF 16:05:02.704 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/results/30.T3.stdout [2025-02-05T21:05:05.182Z] STF 16:05:02.705 - Monitoring processes: T3 [2025-02-05T21:05:05.182Z] T3 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-05T21:05:05.583Z] T3 JUnit version 4.12 [2025-02-05T21:05:05.583Z] T3 . [2025-02-05T21:05:05.583Z] T3 Time: 0.003 [2025-02-05T21:05:05.583Z] T3 [2025-02-05T21:05:05.583Z] T3 OK (1 test) [2025-02-05T21:05:05.583Z] T3 [2025-02-05T21:05:05.583Z] STF 16:05:03.206 - Monitoring Report Summary: [2025-02-05T21:05:05.583Z] STF 16:05:03.206 - o Process T3 ended with the expected exit code (0) [2025-02-05T21:05:05.583Z] STF 16:05:03.206 - EXECUTE stage completed [2025-02-05T21:05:05.583Z] STF 16:05:03.216 - [2025-02-05T21:05:05.583Z] STF 16:05:03.217 - ==================== T E A R D O W N ==================== [2025-02-05T21:05:05.583Z] STF 16:05:03.217 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17387893269348/Jlink_ReqMod_1/20250205-160452-JlinkTest/tearDown.pl [2025-02-05T21:05:05.583Z] STF 16:05:03.262 - TEARDOWN stage completed [2025-02-05T21:05:05.583Z] STF 16:05:03.271 - [2025-02-05T21:05:05.583Z] STF 16:05:03.271 - ===================== R E S U L T S ===================== [2025-02-05T21:05:05.583Z] STF 16:05:03.271 - Stage results: [2025-02-05T21:05:05.583Z] STF 16:05:03.271 - setUp: pass [2025-02-05T21:05:05.583Z] STF 16:05:03.271 - execute: pass [2025-02-05T21:05:05.583Z] STF 16:05:03.271 - teardown: pass [2025-02-05T21:05:05.583Z] STF 16:05:03.271 - [2025-02-05T21:05:05.583Z] STF 16:05:03.271 - Overall result: PASSED [2025-02-05T21:05:05.583Z] ----------------------------------- [2025-02-05T21:05:05.583Z] Jlink_ReqMod_1_PASSED [2025-02-05T21:05:05.583Z] ----------------------------------- [2025-02-05T21:05:05.583Z] [2025-02-05T21:05:05.583Z] TEST TEARDOWN: [2025-02-05T21:05:05.583Z] Nothing to be done for teardown. [2025-02-05T21:05:05.583Z] Jlink_ReqMod_1 Finish Time: Wed Feb 5 16:05:03 2025 Epoch Time (ms): 1738789503374