Jlink_ReqMod_1

[2025-02-12T23:46:00.432Z] Running test Jlink_ReqMod_1 ... [2025-02-12T23:46:00.432Z] =============================================== [2025-02-12T23:46:00.432Z] Jlink_ReqMod_1 Start Time: Wed Feb 12 15:45:59 2025 Epoch Time (ms): 1739403959884 [2025-02-12T23:46:00.432Z] variation: Mode650 [2025-02-12T23:46:00.432Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-02-12T23:46:00.432Z] { \ [2025-02-12T23:46:00.432Z] echo ""; echo "TEST SETUP:"; \ [2025-02-12T23:46:00.432Z] echo "Nothing to be done for setup."; \ [2025-02-12T23:46:00.432Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17394034896432/Jlink_ReqMod_1"; \ [2025-02-12T23:46:00.432Z] cd "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17394034896432/Jlink_ReqMod_1"; \ [2025-02-12T23:46:00.432Z] echo ""; echo "TESTING:"; \ [2025-02-12T23:46:00.432Z] perl /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17394034896432/Jlink_ReqMod_1" -test=JlinkTest -test-args="variant=ReqdMod"; \ [2025-02-12T23:46:00.432Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "Jlink_ReqMod_1""_PASSED"; echo "-----------------------------------"; cd /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/..; rm -f -r "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17394034896432/Jlink_ReqMod_1"; else echo "-----------------------------------"; echo "Jlink_ReqMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-02-12T23:46:00.432Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-02-12T23:46:00.432Z] echo "Nothing to be done for teardown."; \ [2025-02-12T23:46:00.432Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17394034896432/TestTargetResult"; [2025-02-12T23:46:00.432Z] [2025-02-12T23:46:00.432Z] TEST SETUP: [2025-02-12T23:46:00.432Z] Nothing to be done for setup. [2025-02-12T23:46:00.870Z] [2025-02-12T23:46:00.870Z] TESTING: [2025-02-12T23:46:00.870Z] STF 15:46:00.130 - ========================= S T F ========================= [2025-02-12T23:46:00.870Z] 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_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17394034896432/Jlink_ReqMod_1 [2025-02-12T23:46:00.870Z] There is 11053 Mb free [2025-02-12T23:46:00.870Z] STF 15:46:00.147 - ================== G E N E R A T I O N ================== [2025-02-12T23:46:00.870Z] STF 15:46:00.151 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2025-02-12T23:46:00.870Z] STF 15:46:00.151 - Starting process to generate scripts: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_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_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib//asm/asm.jar:/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib//asm/asm-commons.jar:/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib//log4j/log4j-api.jar:/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib//log4j/log4j-core.jar:/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/stf_parameters.properties, , /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest" [2025-02-12T23:46:02.355Z] GEN 15:46:01.661 - Found test. Project: 'openjdk.test.modularity' class: 'JlinkTest.class' Dir: '/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-02-12T23:46:02.355Z] GEN 15:46:01.691 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.JlinkTest' [2025-02-12T23:46:02.786Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-02-12T23:46:02.786Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-02-12T23:46:02.786Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-02-12T23:46:02.786Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-02-12T23:46:02.786Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-02-12T23:46:02.786Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-02-12T23:46:02.786Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-02-12T23:46:02.786Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-02-12T23:46:02.786Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-02-12T23:46:02.786Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-02-12T23:46:02.786Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-02-12T23:46:02.786Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-02-12T23:46:02.786Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-02-12T23:46:02.786Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-02-12T23:46:02.786Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-02-12T23:46:02.786Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-02-12T23:46:02.786Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/bin [2025-02-12T23:46:02.786Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-api.jar [2025-02-12T23:46:02.786Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-core.jar [2025-02-12T23:46:02.786Z] GEN /Users/admin/workspace/testDependency/system_lib/junit/junit.jar [2025-02-12T23:46:02.786Z] GEN 15:46:02.034 - Using Mode NoOptions. Values = '' [2025-02-12T23:46:02.786Z] GEN 15:46:02.171 - [2025-02-12T23:46:02.786Z] GEN 15:46:02.171 - Test command summary: [2025-02-12T23:46:02.786Z] GEN 15:46:02.171 - Step Stage Command Description [2025-02-12T23:46:02.786Z] GEN 15:46:02.171 - -----+--------+-----------------+------------ [2025-02-12T23:46:02.786Z] GEN 15:46:02.171 - 1 setUp cpDir Copying com.test.jlink [2025-02-12T23:46:02.786Z] GEN 15:46:02.171 - 2 setUp rm Removing natives folder from com.test.jLinkDirCopy [2025-02-12T23:46:02.786Z] GEN 15:46:02.171 - 3 setUp jar Create com.test.jlink jar [2025-02-12T23:46:02.786Z] GEN 15:46:02.171 - 4 setUp jar Create com.hello jar [2025-02-12T23:46:02.786Z] GEN 15:46:02.171 - 5 setUp fileCheck Check com.test.jlink modular jar created [2025-02-12T23:46:02.786Z] GEN 15:46:02.171 - 6 setUp fileCheck Check com.hello modular jar created [2025-02-12T23:46:02.786Z] GEN 15:46:02.172 - 7 setUp rm Removing conf folder from com.test.jLinkDirCopy [2025-02-12T23:46:02.786Z] GEN 15:46:02.172 - 8 setUp cpDir Copying .so from com.test.jlink/native [2025-02-12T23:46:02.786Z] GEN 15:46:02.172 - 9 setUp jmod Creating jmod of com.test.jlink module [2025-02-12T23:46:02.786Z] GEN 15:46:02.172 - 10 setUp jmod Creating jmod for com.hello module [2025-02-12T23:46:02.786Z] GEN 15:46:02.172 - 11 setUp fileCheck Check com.test.jlink jmod created [2025-02-12T23:46:02.786Z] GEN 15:46:02.172 - 12 setUp fileCheck Check com.hello jmod created [2025-02-12T23:46:02.786Z] GEN 15:46:02.172 - 13 execute jlink Create runtime image [2025-02-12T23:46:02.786Z] GEN 15:46:02.172 - 14 execute Run java Running listmods [2025-02-12T23:46:02.786Z] GEN 15:46:02.172 - 15 execute count Check output [2025-02-12T23:46:02.786Z] GEN 15:46:02.172 - 16 execute count Check output [2025-02-12T23:46:02.786Z] GEN 15:46:02.172 - 17 execute count Check output [2025-02-12T23:46:02.786Z] GEN 15:46:02.172 - 18 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-12T23:46:02.786Z] GEN 15:46:02.172 - 19 execute jlink Create runtime image [2025-02-12T23:46:02.786Z] GEN 15:46:02.172 - 20 execute Run java Running listmods [2025-02-12T23:46:02.786Z] GEN 15:46:02.172 - 21 execute count Check output [2025-02-12T23:46:02.786Z] GEN 15:46:02.172 - 22 execute count Check output [2025-02-12T23:46:02.786Z] GEN 15:46:02.172 - 23 execute count Check output [2025-02-12T23:46:02.786Z] GEN 15:46:02.172 - 24 execute Run java Running adoptopenjdk.test.modularity.jlink.JniTest [2025-02-12T23:46:02.786Z] GEN 15:46:02.172 - 25 execute jlink Create runtime image [2025-02-12T23:46:02.786Z] GEN 15:46:02.173 - 26 execute Run java Running listmods [2025-02-12T23:46:02.786Z] GEN 15:46:02.173 - 27 execute count Check output [2025-02-12T23:46:02.786Z] GEN 15:46:02.173 - 28 execute count Check output [2025-02-12T23:46:02.786Z] GEN 15:46:02.173 - 29 execute count Check output [2025-02-12T23:46:02.786Z] GEN 15:46:02.173 - 30 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-12T23:46:02.786Z] STF 15:46:02.240 - [2025-02-12T23:46:02.786Z] STF 15:46:02.240 - Script generation completed [2025-02-12T23:46:02.786Z] STF 15:46:02.240 - [2025-02-12T23:46:02.786Z] STF 15:46:02.241 - [2025-02-12T23:46:02.786Z] STF 15:46:02.241 - ======================= S E T U P ======================= [2025-02-12T23:46:02.786Z] STF 15:46:02.241 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/setUp.pl [2025-02-12T23:46:03.257Z] STF 15:46:02.350 - [2025-02-12T23:46:03.257Z] STF 15:46:02.350 - +------ Step 1 - Copying com.test.jlink [2025-02-12T23:46:03.257Z] STF 15:46:02.350 - | Copy a directory to a new directory [2025-02-12T23:46:03.257Z] STF 15:46:02.350 - | Source dir: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink [2025-02-12T23:46:03.257Z] STF 15:46:02.350 - | Dest dir: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/com.test.jLinkDirCopy [2025-02-12T23:46:03.257Z] STF 15:46:02.350 - | [2025-02-12T23:46:03.257Z] STF 15:46:02.360 - [2025-02-12T23:46:03.257Z] STF 15:46:02.360 - +------ Step 2 - Removing natives folder from com.test.jLinkDirCopy [2025-02-12T23:46:03.257Z] STF 15:46:02.360 - | Recursively delete a directory [2025-02-12T23:46:03.257Z] STF 15:46:02.360 - | Directory: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/com.test.jLinkDirCopy/native [2025-02-12T23:46:03.257Z] STF 15:46:02.360 - | [2025-02-12T23:46:03.257Z] STF 15:46:02.367 - [2025-02-12T23:46:03.257Z] STF 15:46:02.367 - +------ Step 3 - Create com.test.jlink jar [2025-02-12T23:46:03.257Z] STF 15:46:02.367 - | Create modular jar [2025-02-12T23:46:03.257Z] STF 15:46:02.367 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test.jlink [2025-02-12T23:46:03.257Z] STF 15:46:02.367 - | ModuleVersion: null [2025-02-12T23:46:03.257Z] STF 15:46:02.367 - | MainClass: null [2025-02-12T23:46:03.257Z] STF 15:46:02.367 - | HashModules: null [2025-02-12T23:46:03.257Z] STF 15:46:02.367 - | [2025-02-12T23:46:03.257Z] STF 15:46:02.367 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/modules/3.com.test.jlink.jar -C /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink . [2025-02-12T23:46:03.257Z] STF 15:46:02.367 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/results/3.CMJ.stderr [2025-02-12T23:46:03.257Z] STF 15:46:02.367 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/results/3.CMJ.stdout [2025-02-12T23:46:03.257Z] STF 15:46:02.387 - Monitoring processes: CMJ [2025-02-12T23:46:03.667Z] STF 15:46:02.959 - Monitoring Report Summary: [2025-02-12T23:46:03.667Z] STF 15:46:02.959 - o Process CMJ ended with the expected exit code (0) [2025-02-12T23:46:03.667Z] STF 15:46:02.960 - Created modular jar: 3.com.test.jlink.jar [2025-02-12T23:46:03.667Z] STF 15:46:02.960 - [2025-02-12T23:46:03.667Z] STF 15:46:02.960 - +------ Step 4 - Create com.hello jar [2025-02-12T23:46:03.667Z] STF 15:46:02.960 - | Create modular jar [2025-02-12T23:46:03.667Z] STF 15:46:02.960 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-02-12T23:46:03.667Z] STF 15:46:02.960 - | ModuleVersion: null [2025-02-12T23:46:03.667Z] STF 15:46:02.960 - | MainClass: null [2025-02-12T23:46:03.667Z] STF 15:46:02.960 - | HashModules: null [2025-02-12T23:46:03.667Z] STF 15:46:02.960 - | [2025-02-12T23:46:03.667Z] STF 15:46:02.961 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/modules/4.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-02-12T23:46:03.667Z] STF 15:46:02.961 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/results/4.CMJ.stderr [2025-02-12T23:46:03.667Z] STF 15:46:02.961 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/results/4.CMJ.stdout [2025-02-12T23:46:03.667Z] STF 15:46:02.979 - Monitoring processes: CMJ [2025-02-12T23:46:04.103Z] STF 15:46:03.472 - Monitoring Report Summary: [2025-02-12T23:46:04.103Z] STF 15:46:03.472 - o Process CMJ ended with the expected exit code (0) [2025-02-12T23:46:04.103Z] STF 15:46:03.472 - Created modular jar: 4.com.hello.jar [2025-02-12T23:46:04.103Z] STF 15:46:03.472 - [2025-02-12T23:46:04.103Z] STF 15:46:03.472 - +------ Step 5 - Check com.test.jlink modular jar created [2025-02-12T23:46:04.103Z] STF 15:46:03.472 - | Validate file exists [2025-02-12T23:46:04.103Z] STF 15:46:03.472 - | File: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/modules/3.com.test.jlink.jar [2025-02-12T23:46:04.103Z] STF 15:46:03.472 - | [2025-02-12T23:46:04.103Z] STF 15:46:03.472 - [2025-02-12T23:46:04.103Z] STF 15:46:03.472 - +------ Step 6 - Check com.hello modular jar created [2025-02-12T23:46:04.103Z] STF 15:46:03.472 - | Validate file exists [2025-02-12T23:46:04.103Z] STF 15:46:03.472 - | File: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/modules/4.com.hello.jar [2025-02-12T23:46:04.103Z] STF 15:46:03.472 - | [2025-02-12T23:46:04.103Z] STF 15:46:03.472 - [2025-02-12T23:46:04.103Z] STF 15:46:03.472 - +------ Step 7 - Removing conf folder from com.test.jLinkDirCopy [2025-02-12T23:46:04.103Z] STF 15:46:03.472 - | Recursively delete a directory [2025-02-12T23:46:04.103Z] STF 15:46:03.472 - | Directory: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/com.test.jLinkDirCopy/conf [2025-02-12T23:46:04.103Z] STF 15:46:03.472 - | [2025-02-12T23:46:04.103Z] STF 15:46:03.473 - [2025-02-12T23:46:04.103Z] STF 15:46:03.473 - +------ Step 8 - Copying .so from com.test.jlink/native [2025-02-12T23:46:04.103Z] STF 15:46:03.473 - | Copy a directory to a new directory [2025-02-12T23:46:04.103Z] STF 15:46:03.473 - | Source dir: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink/native/bin/osx [2025-02-12T23:46:04.103Z] STF 15:46:03.473 - | Dest dir: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/native [2025-02-12T23:46:04.103Z] STF 15:46:03.473 - | [2025-02-12T23:46:04.103Z] STF 15:46:03.474 - [2025-02-12T23:46:04.103Z] STF 15:46:03.474 - +------ Step 9 - Creating jmod of com.test.jlink module [2025-02-12T23:46:04.103Z] STF 15:46:03.474 - | Run jmod utility [2025-02-12T23:46:04.103Z] STF 15:46:03.474 - | jmod: com.test.jlink.jmod [2025-02-12T23:46:04.103Z] STF 15:46:03.474 - | [2025-02-12T23:46:04.103Z] STF 15:46:03.474 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jmod create --class-path /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/com.test.jLinkDirCopy --config /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink/conf --libs /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/native /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/tmp/com.test.jlink.jmod [2025-02-12T23:46:04.103Z] STF 15:46:03.474 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/results/9.JMOD.stderr [2025-02-12T23:46:04.103Z] STF 15:46:03.474 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/results/9.JMOD.stdout [2025-02-12T23:46:04.103Z] STF 15:46:03.496 - Monitoring processes: JMOD [2025-02-12T23:46:04.573Z] STF 15:46:03.979 - Monitoring Report Summary: [2025-02-12T23:46:04.573Z] STF 15:46:03.979 - o Process JMOD ended with the expected exit code (0) [2025-02-12T23:46:04.573Z] STF 15:46:03.980 - [2025-02-12T23:46:04.573Z] STF 15:46:03.980 - +------ Step 10 - Creating jmod for com.hello module [2025-02-12T23:46:04.573Z] STF 15:46:03.980 - | Run jmod utility [2025-02-12T23:46:04.573Z] STF 15:46:03.980 - | jmod: com.hello.jmod [2025-02-12T23:46:04.573Z] STF 15:46:03.980 - | [2025-02-12T23:46:04.573Z] STF 15:46:03.980 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jmod create --class-path /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/tmp/com.hello.jmod [2025-02-12T23:46:04.573Z] STF 15:46:03.980 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/results/10.JMOD.stderr [2025-02-12T23:46:04.573Z] STF 15:46:03.980 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/results/10.JMOD.stdout [2025-02-12T23:46:04.573Z] STF 15:46:03.986 - Monitoring processes: JMOD [2025-02-12T23:46:04.983Z] STF 15:46:04.335 - Monitoring Report Summary: [2025-02-12T23:46:04.983Z] STF 15:46:04.335 - o Process JMOD ended with the expected exit code (0) [2025-02-12T23:46:04.983Z] STF 15:46:04.335 - [2025-02-12T23:46:04.983Z] STF 15:46:04.335 - +------ Step 11 - Check com.test.jlink jmod created [2025-02-12T23:46:04.983Z] STF 15:46:04.335 - | Validate file exists [2025-02-12T23:46:04.983Z] STF 15:46:04.335 - | File: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/tmp/com.test.jlink.jmod [2025-02-12T23:46:04.983Z] STF 15:46:04.335 - | [2025-02-12T23:46:04.983Z] STF 15:46:04.335 - [2025-02-12T23:46:04.983Z] STF 15:46:04.335 - +------ Step 12 - Check com.hello jmod created [2025-02-12T23:46:04.983Z] STF 15:46:04.335 - | Validate file exists [2025-02-12T23:46:04.983Z] STF 15:46:04.335 - | File: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/tmp/com.hello.jmod [2025-02-12T23:46:04.983Z] STF 15:46:04.335 - | [2025-02-12T23:46:04.983Z] STF 15:46:04.335 - SETUP stage completed [2025-02-12T23:46:04.983Z] STF 15:46:04.353 - [2025-02-12T23:46:04.983Z] STF 15:46:04.353 - ==================== E X E C U T E - ==================== [2025-02-12T23:46:04.983Z] STF 15:46:04.353 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/execute.pl [2025-02-12T23:46:04.983Z] STF 15:46:04.452 - [2025-02-12T23:46:04.983Z] STF 15:46:04.452 - Java version [2025-02-12T23:46:04.983Z] STF 15:46:04.452 - Running: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2025-02-12T23:46:05.491Z] openjdk version "17.0.15-beta" 2025-04-15 [2025-02-12T23:46:05.491Z] OpenJDK Runtime Environment Temurin-17.0.15+2-202502122034 (build 17.0.15-beta+2-ea) [2025-02-12T23:46:05.491Z] OpenJDK 64-Bit Server VM Temurin-17.0.15+2-202502122034 (build 17.0.15-beta+2-ea, mixed mode) [2025-02-12T23:46:05.491Z] STF 15:46:04.673 - [2025-02-12T23:46:05.491Z] STF 15:46:04.674 - +------ Step 13 - Create runtime image [2025-02-12T23:46:05.491Z] STF 15:46:04.674 - | Run jlink to create runtime image [2025-02-12T23:46:05.491Z] STF 15:46:04.674 - | ImageName: CRI1 [2025-02-12T23:46:05.491Z] STF 15:46:04.674 - | [2025-02-12T23:46:05.491Z] STF 15:46:04.675 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/modules --add-modules com.test.jlink --output /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/tmp/13.CRI1 [2025-02-12T23:46:05.491Z] STF 15:46:04.675 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/results/13.JLNK.stderr [2025-02-12T23:46:05.491Z] STF 15:46:04.675 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/results/13.JLNK.stdout [2025-02-12T23:46:05.491Z] STF 15:46:04.702 - Monitoring processes: JLNK [2025-02-12T23:46:09.286Z] STF 15:46:08.043 - Monitoring Report Summary: [2025-02-12T23:46:09.286Z] STF 15:46:08.052 - o Process JLNK ended with the expected exit code (0) [2025-02-12T23:46:09.286Z] STF 15:46:08.052 - [2025-02-12T23:46:09.286Z] STF 15:46:08.052 - +------ Step 14 - Running listmods [2025-02-12T23:46:09.286Z] STF 15:46:08.052 - | Run foreground process [2025-02-12T23:46:09.286Z] STF 15:46:08.052 - | Program: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/tmp/13.CRI1/bin/java [2025-02-12T23:46:09.286Z] STF 15:46:08.052 - | Mnemonic: LIST [2025-02-12T23:46:09.286Z] STF 15:46:08.052 - | Echo: ECHO_ON [2025-02-12T23:46:09.286Z] STF 15:46:08.052 - | Expectation: CLEAN_RUN within 1m [2025-02-12T23:46:09.286Z] STF 15:46:08.052 - | [2025-02-12T23:46:09.286Z] STF 15:46:08.053 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/tmp/13.CRI1/bin/java --list-modules -XX:-UseCompressedOops [2025-02-12T23:46:09.286Z] STF 15:46:08.053 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/results/14.LIST.stderr [2025-02-12T23:46:09.286Z] STF 15:46:08.053 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/results/14.LIST.stdout [2025-02-12T23:46:09.286Z] STF 15:46:08.060 - Monitoring processes: LIST [2025-02-12T23:46:10.801Z] LIST com.hello [2025-02-12T23:46:10.801Z] LIST com.test.jlink [2025-02-12T23:46:10.801Z] LIST java.base@17.0.15-beta [2025-02-12T23:46:10.801Z] STF 15:46:10.165 - Monitoring Report Summary: [2025-02-12T23:46:10.801Z] STF 15:46:10.165 - o Process LIST ended with the expected exit code (0) [2025-02-12T23:46:10.801Z] STF 15:46:10.166 - [2025-02-12T23:46:10.801Z] STF 15:46:10.166 - +------ Step 15 - Check output [2025-02-12T23:46:10.801Z] STF 15:46:10.166 - | Count file matches [2025-02-12T23:46:10.801Z] STF 15:46:10.166 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/results/14.LIST.stdout [2025-02-12T23:46:10.801Z] STF 15:46:10.166 - | ExpectedNumMatches: 1 [2025-02-12T23:46:10.801Z] STF 15:46:10.166 - | SearchStrings: ["com.hello"] [2025-02-12T23:46:10.801Z] STF 15:46:10.166 - | [2025-02-12T23:46:10.801Z] STF 15:46:10.166 - Found 1 instances of ["com.hello"] [2025-02-12T23:46:10.801Z] STF 15:46:10.166 - [2025-02-12T23:46:10.801Z] STF 15:46:10.166 - +------ Step 16 - Check output [2025-02-12T23:46:10.801Z] STF 15:46:10.166 - | Count file matches [2025-02-12T23:46:10.801Z] STF 15:46:10.166 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/results/14.LIST.stdout [2025-02-12T23:46:10.801Z] STF 15:46:10.166 - | ExpectedNumMatches: 1 [2025-02-12T23:46:10.801Z] STF 15:46:10.166 - | SearchStrings: ["com.test.jlink"] [2025-02-12T23:46:10.801Z] STF 15:46:10.166 - | [2025-02-12T23:46:10.801Z] STF 15:46:10.166 - Found 1 instances of ["com.test.jlink"] [2025-02-12T23:46:10.801Z] STF 15:46:10.166 - [2025-02-12T23:46:10.801Z] STF 15:46:10.166 - +------ Step 17 - Check output [2025-02-12T23:46:10.801Z] STF 15:46:10.166 - | Count file matches [2025-02-12T23:46:10.801Z] STF 15:46:10.166 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/results/14.LIST.stdout [2025-02-12T23:46:10.801Z] STF 15:46:10.166 - | ExpectedNumMatches: 1 [2025-02-12T23:46:10.801Z] STF 15:46:10.166 - | SearchStrings: ["java.base"] [2025-02-12T23:46:10.801Z] STF 15:46:10.166 - | [2025-02-12T23:46:10.801Z] STF 15:46:10.166 - Found 1 instances of ["java.base"] [2025-02-12T23:46:10.801Z] STF 15:46:10.166 - [2025-02-12T23:46:10.801Z] STF 15:46:10.166 - +------ Step 18 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-12T23:46:10.801Z] STF 15:46:10.166 - | Run foreground process [2025-02-12T23:46:10.801Z] STF 15:46:10.166 - | Program: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/tmp/13.CRI1/bin/java [2025-02-12T23:46:10.801Z] STF 15:46:10.166 - | Mnemonic: T1 [2025-02-12T23:46:10.801Z] STF 15:46:10.166 - | Echo: ECHO_ON [2025-02-12T23:46:10.801Z] STF 15:46:10.166 - | Expectation: CLEAN_RUN within 1m [2025-02-12T23:46:10.801Z] STF 15:46:10.166 - | [2025-02-12T23:46:10.801Z] STF 15:46:10.167 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/tmp/13.CRI1/bin/java -Djava.library.path=/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-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-12T23:46:10.801Z] STF 15:46:10.167 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/results/18.T1.stderr [2025-02-12T23:46:10.802Z] STF 15:46:10.167 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/results/18.T1.stdout [2025-02-12T23:46:10.802Z] STF 15:46:10.169 - Monitoring processes: T1 [2025-02-12T23:46:11.237Z] T1 JUnit version 4.12 [2025-02-12T23:46:11.707Z] T1 . [2025-02-12T23:46:11.707Z] T1 Time: 0.003 [2025-02-12T23:46:11.707Z] T1 [2025-02-12T23:46:11.707Z] T1 OK (1 test) [2025-02-12T23:46:11.707Z] T1 [2025-02-12T23:46:11.707Z] STF 15:46:10.812 - Monitoring Report Summary: [2025-02-12T23:46:11.707Z] STF 15:46:10.812 - o Process T1 ended with the expected exit code (0) [2025-02-12T23:46:11.707Z] STF 15:46:10.812 - [2025-02-12T23:46:11.707Z] STF 15:46:10.812 - +------ Step 19 - Create runtime image [2025-02-12T23:46:11.707Z] STF 15:46:10.812 - | Run jlink to create runtime image [2025-02-12T23:46:11.707Z] STF 15:46:10.812 - | ImageName: CRI2 [2025-02-12T23:46:11.707Z] STF 15:46:10.812 - | [2025-02-12T23:46:11.707Z] STF 15:46:10.813 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/tmp --add-modules com.test.jlink --output /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/tmp/19.CRI2 [2025-02-12T23:46:11.707Z] STF 15:46:10.813 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/results/19.JLNK.stderr [2025-02-12T23:46:11.707Z] STF 15:46:10.813 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/results/19.JLNK.stdout [2025-02-12T23:46:11.707Z] STF 15:46:10.819 - Monitoring processes: JLNK [2025-02-12T23:46:14.476Z] STF 15:46:13.758 - Monitoring Report Summary: [2025-02-12T23:46:14.476Z] STF 15:46:13.758 - o Process JLNK ended with the expected exit code (0) [2025-02-12T23:46:14.476Z] STF 15:46:13.758 - [2025-02-12T23:46:14.476Z] STF 15:46:13.758 - +------ Step 20 - Running listmods [2025-02-12T23:46:14.476Z] STF 15:46:13.758 - | Run foreground process [2025-02-12T23:46:14.476Z] STF 15:46:13.758 - | Program: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/tmp/19.CRI2/bin/java [2025-02-12T23:46:14.476Z] STF 15:46:13.758 - | Mnemonic: LIST [2025-02-12T23:46:14.476Z] STF 15:46:13.758 - | Echo: ECHO_ON [2025-02-12T23:46:14.476Z] STF 15:46:13.759 - | Expectation: CLEAN_RUN within 1m [2025-02-12T23:46:14.476Z] STF 15:46:13.759 - | [2025-02-12T23:46:14.476Z] STF 15:46:13.759 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/tmp/19.CRI2/bin/java --list-modules -XX:-UseCompressedOops [2025-02-12T23:46:14.476Z] STF 15:46:13.759 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/results/20.LIST.stderr [2025-02-12T23:46:14.476Z] STF 15:46:13.759 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/results/20.LIST.stdout [2025-02-12T23:46:14.476Z] STF 15:46:13.764 - Monitoring processes: LIST [2025-02-12T23:46:16.669Z] LIST com.hello [2025-02-12T23:46:16.669Z] LIST com.test.jlink [2025-02-12T23:46:16.669Z] LIST java.base@17.0.15-beta [2025-02-12T23:46:16.669Z] STF 15:46:15.662 - Monitoring Report Summary: [2025-02-12T23:46:16.669Z] STF 15:46:15.662 - o Process LIST ended with the expected exit code (0) [2025-02-12T23:46:16.669Z] STF 15:46:15.662 - [2025-02-12T23:46:16.669Z] STF 15:46:15.662 - +------ Step 21 - Check output [2025-02-12T23:46:16.669Z] STF 15:46:15.662 - | Count file matches [2025-02-12T23:46:16.669Z] STF 15:46:15.662 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/results/20.LIST.stdout [2025-02-12T23:46:16.669Z] STF 15:46:15.662 - | ExpectedNumMatches: 1 [2025-02-12T23:46:16.669Z] STF 15:46:15.662 - | SearchStrings: ["com.hello"] [2025-02-12T23:46:16.669Z] STF 15:46:15.662 - | [2025-02-12T23:46:16.669Z] STF 15:46:15.663 - Found 1 instances of ["com.hello"] [2025-02-12T23:46:16.669Z] STF 15:46:15.663 - [2025-02-12T23:46:16.669Z] STF 15:46:15.663 - +------ Step 22 - Check output [2025-02-12T23:46:16.669Z] STF 15:46:15.663 - | Count file matches [2025-02-12T23:46:16.669Z] STF 15:46:15.663 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/results/20.LIST.stdout [2025-02-12T23:46:16.669Z] STF 15:46:15.663 - | ExpectedNumMatches: 1 [2025-02-12T23:46:16.669Z] STF 15:46:15.663 - | SearchStrings: ["com.test.jlink"] [2025-02-12T23:46:16.669Z] STF 15:46:15.663 - | [2025-02-12T23:46:16.669Z] STF 15:46:15.663 - Found 1 instances of ["com.test.jlink"] [2025-02-12T23:46:16.669Z] STF 15:46:15.663 - [2025-02-12T23:46:16.669Z] STF 15:46:15.663 - +------ Step 23 - Check output [2025-02-12T23:46:16.669Z] STF 15:46:15.663 - | Count file matches [2025-02-12T23:46:16.669Z] STF 15:46:15.663 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/results/20.LIST.stdout [2025-02-12T23:46:16.669Z] STF 15:46:15.663 - | ExpectedNumMatches: 1 [2025-02-12T23:46:16.669Z] STF 15:46:15.663 - | SearchStrings: ["java.base"] [2025-02-12T23:46:16.669Z] STF 15:46:15.663 - | [2025-02-12T23:46:16.669Z] STF 15:46:15.664 - Found 1 instances of ["java.base"] [2025-02-12T23:46:16.669Z] STF 15:46:15.664 - [2025-02-12T23:46:16.669Z] STF 15:46:15.664 - +------ Step 24 - Running adoptopenjdk.test.modularity.jlink.JniTest [2025-02-12T23:46:16.669Z] STF 15:46:15.664 - | Run foreground process [2025-02-12T23:46:16.669Z] STF 15:46:15.664 - | Program: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/tmp/19.CRI2/bin/java [2025-02-12T23:46:16.669Z] STF 15:46:15.664 - | Mnemonic: T2 [2025-02-12T23:46:16.669Z] STF 15:46:15.664 - | Echo: ECHO_ON [2025-02-12T23:46:16.669Z] STF 15:46:15.664 - | Expectation: CLEAN_RUN within 1m [2025-02-12T23:46:16.669Z] STF 15:46:15.664 - | [2025-02-12T23:46:16.669Z] STF 15:46:15.665 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/tmp/19.CRI2/bin/java -Djava.library.path=/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-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-12T23:46:16.669Z] STF 15:46:15.665 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/results/24.T2.stderr [2025-02-12T23:46:16.669Z] STF 15:46:15.665 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/results/24.T2.stdout [2025-02-12T23:46:16.669Z] STF 15:46:15.675 - Monitoring processes: T2 [2025-02-12T23:46:17.083Z] T2 JUnit version 4.12 [2025-02-12T23:46:17.083Z] T2 . [2025-02-12T23:46:17.083Z] T2 Time: 0.004 [2025-02-12T23:46:17.083Z] T2 [2025-02-12T23:46:17.083Z] T2 OK (1 test) [2025-02-12T23:46:17.083Z] T2 [2025-02-12T23:46:17.083Z] STF 15:46:16.570 - Monitoring Report Summary: [2025-02-12T23:46:17.083Z] STF 15:46:16.570 - o Process T2 ended with the expected exit code (0) [2025-02-12T23:46:17.083Z] STF 15:46:16.570 - [2025-02-12T23:46:17.083Z] STF 15:46:16.571 - +------ Step 25 - Create runtime image [2025-02-12T23:46:17.083Z] STF 15:46:16.571 - | Run jlink to create runtime image [2025-02-12T23:46:17.083Z] STF 15:46:16.571 - | ImageName: CRI3 [2025-02-12T23:46:17.083Z] STF 15:46:16.571 - | [2025-02-12T23:46:17.083Z] STF 15:46:16.571 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --add-modules com.test.jlink --output /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/tmp/25.CRI3 [2025-02-12T23:46:17.083Z] STF 15:46:16.571 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/results/25.JLNK.stderr [2025-02-12T23:46:17.084Z] STF 15:46:16.571 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/results/25.JLNK.stdout [2025-02-12T23:46:17.084Z] STF 15:46:16.576 - Monitoring processes: JLNK [2025-02-12T23:46:20.947Z] STF 15:46:19.846 - Monitoring Report Summary: [2025-02-12T23:46:20.947Z] STF 15:46:19.846 - o Process JLNK ended with the expected exit code (0) [2025-02-12T23:46:20.947Z] STF 15:46:19.846 - [2025-02-12T23:46:20.947Z] STF 15:46:19.846 - +------ Step 26 - Running listmods [2025-02-12T23:46:20.947Z] STF 15:46:19.846 - | Run foreground process [2025-02-12T23:46:20.947Z] STF 15:46:19.846 - | Program: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/tmp/25.CRI3/bin/java [2025-02-12T23:46:20.947Z] STF 15:46:19.846 - | Mnemonic: LIST [2025-02-12T23:46:20.947Z] STF 15:46:19.846 - | Echo: ECHO_ON [2025-02-12T23:46:20.947Z] STF 15:46:19.846 - | Expectation: CLEAN_RUN within 1m [2025-02-12T23:46:20.947Z] STF 15:46:19.846 - | [2025-02-12T23:46:20.947Z] STF 15:46:19.847 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/tmp/25.CRI3/bin/java --list-modules -XX:-UseCompressedOops [2025-02-12T23:46:20.947Z] STF 15:46:19.847 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/results/26.LIST.stderr [2025-02-12T23:46:20.947Z] STF 15:46:19.847 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/results/26.LIST.stdout [2025-02-12T23:46:20.947Z] STF 15:46:19.866 - Monitoring processes: LIST [2025-02-12T23:46:22.528Z] LIST com.hello [2025-02-12T23:46:22.528Z] LIST com.test.jlink [2025-02-12T23:46:22.528Z] LIST java.base@17.0.15-beta [2025-02-12T23:46:22.528Z] STF 15:46:21.681 - Monitoring Report Summary: [2025-02-12T23:46:22.528Z] STF 15:46:21.681 - o Process LIST ended with the expected exit code (0) [2025-02-12T23:46:22.528Z] STF 15:46:21.681 - [2025-02-12T23:46:22.528Z] STF 15:46:21.681 - +------ Step 27 - Check output [2025-02-12T23:46:22.528Z] STF 15:46:21.681 - | Count file matches [2025-02-12T23:46:22.528Z] STF 15:46:21.681 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/results/26.LIST.stdout [2025-02-12T23:46:22.528Z] STF 15:46:21.681 - | ExpectedNumMatches: 1 [2025-02-12T23:46:22.528Z] STF 15:46:21.681 - | SearchStrings: ["com.hello"] [2025-02-12T23:46:22.528Z] STF 15:46:21.681 - | [2025-02-12T23:46:22.528Z] STF 15:46:21.681 - Found 1 instances of ["com.hello"] [2025-02-12T23:46:22.528Z] STF 15:46:21.681 - [2025-02-12T23:46:22.528Z] STF 15:46:21.681 - +------ Step 28 - Check output [2025-02-12T23:46:22.528Z] STF 15:46:21.681 - | Count file matches [2025-02-12T23:46:22.528Z] STF 15:46:21.681 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/results/26.LIST.stdout [2025-02-12T23:46:22.528Z] STF 15:46:21.681 - | ExpectedNumMatches: 1 [2025-02-12T23:46:22.528Z] STF 15:46:21.681 - | SearchStrings: ["com.test.jlink"] [2025-02-12T23:46:22.528Z] STF 15:46:21.681 - | [2025-02-12T23:46:22.528Z] STF 15:46:21.682 - Found 1 instances of ["com.test.jlink"] [2025-02-12T23:46:22.528Z] STF 15:46:21.682 - [2025-02-12T23:46:22.528Z] STF 15:46:21.682 - +------ Step 29 - Check output [2025-02-12T23:46:22.528Z] STF 15:46:21.682 - | Count file matches [2025-02-12T23:46:22.528Z] STF 15:46:21.682 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/results/26.LIST.stdout [2025-02-12T23:46:22.528Z] STF 15:46:21.682 - | ExpectedNumMatches: 1 [2025-02-12T23:46:22.528Z] STF 15:46:21.682 - | SearchStrings: ["java.base"] [2025-02-12T23:46:22.528Z] STF 15:46:21.682 - | [2025-02-12T23:46:22.528Z] STF 15:46:21.682 - Found 1 instances of ["java.base"] [2025-02-12T23:46:22.528Z] STF 15:46:21.682 - [2025-02-12T23:46:22.528Z] STF 15:46:21.682 - +------ Step 30 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-12T23:46:22.528Z] STF 15:46:21.682 - | Run foreground process [2025-02-12T23:46:22.528Z] STF 15:46:21.682 - | Program: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/tmp/25.CRI3/bin/java [2025-02-12T23:46:22.528Z] STF 15:46:21.682 - | Mnemonic: T3 [2025-02-12T23:46:22.528Z] STF 15:46:21.682 - | Echo: ECHO_ON [2025-02-12T23:46:22.528Z] STF 15:46:21.682 - | Expectation: CLEAN_RUN within 1m [2025-02-12T23:46:22.528Z] STF 15:46:21.682 - | [2025-02-12T23:46:22.528Z] STF 15:46:21.682 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/tmp/25.CRI3/bin/java -Djava.library.path=/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-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-12T23:46:22.528Z] STF 15:46:21.682 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/results/30.T3.stderr [2025-02-12T23:46:22.528Z] STF 15:46:21.682 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/results/30.T3.stdout [2025-02-12T23:46:22.528Z] STF 15:46:21.684 - Monitoring processes: T3 [2025-02-12T23:46:22.960Z] T3 JUnit version 4.12 [2025-02-12T23:46:22.960Z] T3 . [2025-02-12T23:46:22.960Z] T3 Time: 0.003 [2025-02-12T23:46:22.960Z] T3 [2025-02-12T23:46:22.960Z] T3 OK (1 test) [2025-02-12T23:46:22.960Z] T3 [2025-02-12T23:46:22.960Z] STF 15:46:22.261 - Monitoring Report Summary: [2025-02-12T23:46:22.960Z] STF 15:46:22.261 - o Process T3 ended with the expected exit code (0) [2025-02-12T23:46:22.961Z] STF 15:46:22.261 - EXECUTE stage completed [2025-02-12T23:46:22.961Z] STF 15:46:22.307 - [2025-02-12T23:46:22.961Z] STF 15:46:22.307 - ==================== T E A R D O W N ==================== [2025-02-12T23:46:22.961Z] STF 15:46:22.307 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17394034896432/Jlink_ReqMod_1/20250212-154600-JlinkTest/tearDown.pl [2025-02-12T23:46:22.961Z] STF 15:46:22.450 - TEARDOWN stage completed [2025-02-12T23:46:22.961Z] STF 15:46:22.456 - [2025-02-12T23:46:22.961Z] STF 15:46:22.456 - ===================== R E S U L T S ===================== [2025-02-12T23:46:22.961Z] STF 15:46:22.456 - Stage results: [2025-02-12T23:46:22.961Z] STF 15:46:22.456 - setUp: pass [2025-02-12T23:46:22.961Z] STF 15:46:22.456 - execute: pass [2025-02-12T23:46:22.961Z] STF 15:46:22.456 - teardown: pass [2025-02-12T23:46:22.961Z] STF 15:46:22.456 - [2025-02-12T23:46:22.961Z] STF 15:46:22.456 - Overall result: PASSED [2025-02-12T23:46:22.961Z] ----------------------------------- [2025-02-12T23:46:22.961Z] Jlink_ReqMod_1_PASSED [2025-02-12T23:46:22.961Z] ----------------------------------- [2025-02-12T23:46:23.375Z] [2025-02-12T23:46:23.375Z] TEST TEARDOWN: [2025-02-12T23:46:23.375Z] Nothing to be done for teardown. [2025-02-12T23:46:23.375Z] Jlink_ReqMod_1 Finish Time: Wed Feb 12 15:46:22 2025 Epoch Time (ms): 1739403982562