Jlink_ReqMod_1

[2025-02-12T21:16:54.613Z] Running test Jlink_ReqMod_1 ... [2025-02-12T21:16:54.613Z] =============================================== [2025-02-12T21:16:54.613Z] Jlink_ReqMod_1 Start Time: Wed Feb 12 21:16:54 2025 Epoch Time (ms): 1739395014431 [2025-02-12T21:16:54.613Z] variation: Mode650 [2025-02-12T21:16:54.613Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-02-12T21:16:54.613Z] { \ [2025-02-12T21:16:54.613Z] echo ""; echo "TEST SETUP:"; \ [2025-02-12T21:16:54.613Z] echo "Nothing to be done for setup."; \ [2025-02-12T21:16:54.613Z] mkdir -p "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17393947292954/Jlink_ReqMod_1"; \ [2025-02-12T21:16:54.613Z] cd "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17393947292954/Jlink_ReqMod_1"; \ [2025-02-12T21:16:54.613Z] echo ""; echo "TESTING:"; \ [2025-02-12T21:16:54.613Z] perl /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17393947292954/Jlink_ReqMod_1" -test=JlinkTest -test-args="variant=ReqdMod"; \ [2025-02-12T21:16:54.613Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "Jlink_ReqMod_1""_PASSED"; echo "-----------------------------------"; cd /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/..; rm -f -r "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17393947292954/Jlink_ReqMod_1"; else echo "-----------------------------------"; echo "Jlink_ReqMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-02-12T21:16:54.613Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-02-12T21:16:54.613Z] echo "Nothing to be done for teardown."; \ [2025-02-12T21:16:54.613Z] } 2>&1 | tee -a "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17393947292954/TestTargetResult"; [2025-02-12T21:16:54.613Z] [2025-02-12T21:16:54.613Z] TEST SETUP: [2025-02-12T21:16:54.613Z] Nothing to be done for setup. [2025-02-12T21:16:54.613Z] [2025-02-12T21:16:54.613Z] TESTING: [2025-02-12T21:16:54.613Z] STF 21:16:54.528 - ========================= S T F ========================= [2025-02-12T21:16:54.613Z] systemtest-prereqs has been processed, and set to: /Users/jenkins/testDependency/system_libRetrieving amount of free space on drive containing /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17393947292954/Jlink_ReqMod_1 [2025-02-12T21:16:54.613Z] There is 51453 Mb free [2025-02-12T21:16:54.613Z] STF 21:16:54.537 - ================== G E N E R A T I O N ================== [2025-02-12T21:16:54.613Z] STF 21:16:54.538 - Checking JVM: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2025-02-12T21:16:54.613Z] STF 21:16:54.538 - Starting process to generate scripts: /Users/jenkins/workspace/Test_openjdk21_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/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib//asm/asm.jar:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib//asm/asm-commons.jar:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib//log4j/log4j-api.jar:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib//log4j/log4j-core.jar:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/stf_parameters.properties, , /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest" [2025-02-12T21:16:54.613Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-12T21:16:55.943Z] GEN 21:16:55.539 - Found test. Project: 'openjdk.test.modularity' class: 'JlinkTest.class' Dir: '/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-02-12T21:16:55.943Z] GEN 21:16:55.553 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.JlinkTest' [2025-02-12T21:16:55.943Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-02-12T21:16:55.943Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-02-12T21:16:55.943Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-02-12T21:16:55.943Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-02-12T21:16:55.943Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-02-12T21:16:55.943Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-02-12T21:16:55.943Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-02-12T21:16:55.943Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-02-12T21:16:55.943Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-02-12T21:16:55.943Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-02-12T21:16:55.943Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-02-12T21:16:55.943Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-02-12T21:16:55.943Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-02-12T21:16:55.943Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-02-12T21:16:55.943Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-02-12T21:16:55.943Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-02-12T21:16:55.943Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/bin [2025-02-12T21:16:55.943Z] GEN /Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-02-12T21:16:55.943Z] GEN /Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-02-12T21:16:55.943Z] GEN /Users/jenkins/testDependency/system_lib/junit/junit.jar [2025-02-12T21:16:55.943Z] GEN 21:16:55.753 - Using Mode NoOptions. Values = '' [2025-02-12T21:16:55.943Z] GEN 21:16:55.864 - [2025-02-12T21:16:55.943Z] GEN 21:16:55.864 - Test command summary: [2025-02-12T21:16:55.943Z] GEN 21:16:55.864 - Step Stage Command Description [2025-02-12T21:16:55.943Z] GEN 21:16:55.864 - -----+--------+-----------------+------------ [2025-02-12T21:16:55.943Z] GEN 21:16:55.865 - 1 setUp cpDir Copying com.test.jlink [2025-02-12T21:16:55.944Z] GEN 21:16:55.865 - 2 setUp rm Removing natives folder from com.test.jLinkDirCopy [2025-02-12T21:16:55.944Z] GEN 21:16:55.865 - 3 setUp jar Create com.test.jlink jar [2025-02-12T21:16:55.944Z] GEN 21:16:55.865 - 4 setUp jar Create com.hello jar [2025-02-12T21:16:55.944Z] GEN 21:16:55.865 - 5 setUp fileCheck Check com.test.jlink modular jar created [2025-02-12T21:16:55.944Z] GEN 21:16:55.865 - 6 setUp fileCheck Check com.hello modular jar created [2025-02-12T21:16:55.944Z] GEN 21:16:55.865 - 7 setUp rm Removing conf folder from com.test.jLinkDirCopy [2025-02-12T21:16:55.944Z] GEN 21:16:55.865 - 8 setUp cpDir Copying .so from com.test.jlink/native [2025-02-12T21:16:55.944Z] GEN 21:16:55.865 - 9 setUp jmod Creating jmod of com.test.jlink module [2025-02-12T21:16:55.944Z] GEN 21:16:55.865 - 10 setUp jmod Creating jmod for com.hello module [2025-02-12T21:16:55.944Z] GEN 21:16:55.865 - 11 setUp fileCheck Check com.test.jlink jmod created [2025-02-12T21:16:55.944Z] GEN 21:16:55.865 - 12 setUp fileCheck Check com.hello jmod created [2025-02-12T21:16:55.944Z] GEN 21:16:55.866 - 13 execute jlink Create runtime image [2025-02-12T21:16:55.944Z] GEN 21:16:55.866 - 14 execute Run java Running listmods [2025-02-12T21:16:55.944Z] GEN 21:16:55.866 - 15 execute count Check output [2025-02-12T21:16:55.944Z] GEN 21:16:55.866 - 16 execute count Check output [2025-02-12T21:16:55.944Z] GEN 21:16:55.866 - 17 execute count Check output [2025-02-12T21:16:55.944Z] GEN 21:16:55.866 - 18 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-12T21:16:55.944Z] GEN 21:16:55.866 - 19 execute jlink Create runtime image [2025-02-12T21:16:55.944Z] GEN 21:16:55.866 - 20 execute Run java Running listmods [2025-02-12T21:16:55.944Z] GEN 21:16:55.866 - 21 execute count Check output [2025-02-12T21:16:55.944Z] GEN 21:16:55.866 - 22 execute count Check output [2025-02-12T21:16:55.944Z] GEN 21:16:55.866 - 23 execute count Check output [2025-02-12T21:16:55.944Z] GEN 21:16:55.866 - 24 execute Run java Running adoptopenjdk.test.modularity.jlink.JniTest [2025-02-12T21:16:55.944Z] GEN 21:16:55.866 - 25 execute jlink Create runtime image [2025-02-12T21:16:55.944Z] GEN 21:16:55.866 - 26 execute Run java Running listmods [2025-02-12T21:16:55.944Z] GEN 21:16:55.866 - 27 execute count Check output [2025-02-12T21:16:55.944Z] GEN 21:16:55.866 - 28 execute count Check output [2025-02-12T21:16:55.944Z] GEN 21:16:55.867 - 29 execute count Check output [2025-02-12T21:16:55.944Z] GEN 21:16:55.867 - 30 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-12T21:16:55.944Z] STF 21:16:55.888 - [2025-02-12T21:16:55.944Z] STF 21:16:55.888 - Script generation completed [2025-02-12T21:16:55.944Z] STF 21:16:55.888 - [2025-02-12T21:16:55.944Z] STF 21:16:55.888 - [2025-02-12T21:16:55.944Z] STF 21:16:55.888 - ======================= S E T U P ======================= [2025-02-12T21:16:55.944Z] STF 21:16:55.888 - Running setup: perl /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/setUp.pl [2025-02-12T21:16:56.334Z] STF 21:16:55.963 - [2025-02-12T21:16:56.334Z] STF 21:16:55.963 - +------ Step 1 - Copying com.test.jlink [2025-02-12T21:16:56.334Z] STF 21:16:55.963 - | Copy a directory to a new directory [2025-02-12T21:16:56.334Z] STF 21:16:55.963 - | Source dir: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink [2025-02-12T21:16:56.334Z] STF 21:16:55.963 - | Dest dir: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/com.test.jLinkDirCopy [2025-02-12T21:16:56.334Z] STF 21:16:55.963 - | [2025-02-12T21:16:56.334Z] STF 21:16:55.973 - [2025-02-12T21:16:56.334Z] STF 21:16:55.973 - +------ Step 2 - Removing natives folder from com.test.jLinkDirCopy [2025-02-12T21:16:56.334Z] STF 21:16:55.973 - | Recursively delete a directory [2025-02-12T21:16:56.334Z] STF 21:16:55.973 - | Directory: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/com.test.jLinkDirCopy/native [2025-02-12T21:16:56.334Z] STF 21:16:55.973 - | [2025-02-12T21:16:56.334Z] STF 21:16:55.975 - [2025-02-12T21:16:56.334Z] STF 21:16:55.975 - +------ Step 3 - Create com.test.jlink jar [2025-02-12T21:16:56.334Z] STF 21:16:55.975 - | Create modular jar [2025-02-12T21:16:56.334Z] STF 21:16:55.975 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test.jlink [2025-02-12T21:16:56.334Z] STF 21:16:55.975 - | ModuleVersion: null [2025-02-12T21:16:56.334Z] STF 21:16:55.975 - | MainClass: null [2025-02-12T21:16:56.334Z] STF 21:16:55.975 - | HashModules: null [2025-02-12T21:16:56.334Z] STF 21:16:55.975 - | [2025-02-12T21:16:56.334Z] STF 21:16:55.976 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/modules/3.com.test.jlink.jar -C /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink . [2025-02-12T21:16:56.334Z] STF 21:16:55.976 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/results/3.CMJ.stderr [2025-02-12T21:16:56.334Z] STF 21:16:55.976 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/results/3.CMJ.stdout [2025-02-12T21:16:56.334Z] STF 21:16:55.989 - Monitoring processes: CMJ [2025-02-12T21:16:56.334Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-12T21:16:56.723Z] STF 21:16:56.356 - Monitoring Report Summary: [2025-02-12T21:16:56.723Z] STF 21:16:56.356 - o Process CMJ ended with the expected exit code (0) [2025-02-12T21:16:56.723Z] STF 21:16:56.357 - Created modular jar: 3.com.test.jlink.jar [2025-02-12T21:16:56.723Z] STF 21:16:56.357 - [2025-02-12T21:16:56.723Z] STF 21:16:56.357 - +------ Step 4 - Create com.hello jar [2025-02-12T21:16:56.723Z] STF 21:16:56.357 - | Create modular jar [2025-02-12T21:16:56.724Z] STF 21:16:56.357 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-02-12T21:16:56.724Z] STF 21:16:56.357 - | ModuleVersion: null [2025-02-12T21:16:56.724Z] STF 21:16:56.357 - | MainClass: null [2025-02-12T21:16:56.724Z] STF 21:16:56.357 - | HashModules: null [2025-02-12T21:16:56.724Z] STF 21:16:56.357 - | [2025-02-12T21:16:56.724Z] STF 21:16:56.357 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/modules/4.com.hello.jar -C /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-02-12T21:16:56.724Z] STF 21:16:56.357 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/results/4.CMJ.stderr [2025-02-12T21:16:56.724Z] STF 21:16:56.357 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/results/4.CMJ.stdout [2025-02-12T21:16:56.724Z] STF 21:16:56.359 - Monitoring processes: CMJ [2025-02-12T21:16:56.724Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-12T21:16:57.114Z] STF 21:16:56.725 - Monitoring Report Summary: [2025-02-12T21:16:57.114Z] STF 21:16:56.725 - o Process CMJ ended with the expected exit code (0) [2025-02-12T21:16:57.114Z] STF 21:16:56.725 - Created modular jar: 4.com.hello.jar [2025-02-12T21:16:57.114Z] STF 21:16:56.725 - [2025-02-12T21:16:57.114Z] STF 21:16:56.725 - +------ Step 5 - Check com.test.jlink modular jar created [2025-02-12T21:16:57.114Z] STF 21:16:56.725 - | Validate file exists [2025-02-12T21:16:57.114Z] STF 21:16:56.725 - | File: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/modules/3.com.test.jlink.jar [2025-02-12T21:16:57.114Z] STF 21:16:56.725 - | [2025-02-12T21:16:57.114Z] STF 21:16:56.725 - [2025-02-12T21:16:57.114Z] STF 21:16:56.725 - +------ Step 6 - Check com.hello modular jar created [2025-02-12T21:16:57.114Z] STF 21:16:56.725 - | Validate file exists [2025-02-12T21:16:57.114Z] STF 21:16:56.725 - | File: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/modules/4.com.hello.jar [2025-02-12T21:16:57.114Z] STF 21:16:56.725 - | [2025-02-12T21:16:57.114Z] STF 21:16:56.725 - [2025-02-12T21:16:57.114Z] STF 21:16:56.725 - +------ Step 7 - Removing conf folder from com.test.jLinkDirCopy [2025-02-12T21:16:57.114Z] STF 21:16:56.725 - | Recursively delete a directory [2025-02-12T21:16:57.114Z] STF 21:16:56.725 - | Directory: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/com.test.jLinkDirCopy/conf [2025-02-12T21:16:57.114Z] STF 21:16:56.725 - | [2025-02-12T21:16:57.114Z] STF 21:16:56.726 - [2025-02-12T21:16:57.114Z] STF 21:16:56.726 - +------ Step 8 - Copying .so from com.test.jlink/native [2025-02-12T21:16:57.114Z] STF 21:16:56.726 - | Copy a directory to a new directory [2025-02-12T21:16:57.114Z] STF 21:16:56.726 - | Source dir: /Users/jenkins/workspace/Test_openjdk21_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-12T21:16:57.114Z] STF 21:16:56.726 - | Dest dir: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/native [2025-02-12T21:16:57.114Z] STF 21:16:56.726 - | [2025-02-12T21:16:57.114Z] STF 21:16:56.727 - [2025-02-12T21:16:57.114Z] STF 21:16:56.727 - +------ Step 9 - Creating jmod of com.test.jlink module [2025-02-12T21:16:57.114Z] STF 21:16:56.727 - | Run jmod utility [2025-02-12T21:16:57.114Z] STF 21:16:56.727 - | jmod: com.test.jlink.jmod [2025-02-12T21:16:57.114Z] STF 21:16:56.727 - | [2025-02-12T21:16:57.114Z] STF 21:16:56.727 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jmod create --class-path /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/com.test.jLinkDirCopy --config /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink/conf --libs /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/native /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/tmp/com.test.jlink.jmod [2025-02-12T21:16:57.114Z] STF 21:16:56.727 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/results/9.JMOD.stderr [2025-02-12T21:16:57.114Z] STF 21:16:56.727 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/results/9.JMOD.stdout [2025-02-12T21:16:57.114Z] STF 21:16:56.729 - Monitoring processes: JMOD [2025-02-12T21:16:57.114Z] JMOD stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-12T21:16:57.506Z] STF 21:16:57.088 - Monitoring Report Summary: [2025-02-12T21:16:57.506Z] STF 21:16:57.088 - o Process JMOD ended with the expected exit code (0) [2025-02-12T21:16:57.506Z] STF 21:16:57.088 - [2025-02-12T21:16:57.506Z] STF 21:16:57.088 - +------ Step 10 - Creating jmod for com.hello module [2025-02-12T21:16:57.506Z] STF 21:16:57.088 - | Run jmod utility [2025-02-12T21:16:57.506Z] STF 21:16:57.088 - | jmod: com.hello.jmod [2025-02-12T21:16:57.506Z] STF 21:16:57.088 - | [2025-02-12T21:16:57.506Z] STF 21:16:57.089 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jmod create --class-path /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/tmp/com.hello.jmod [2025-02-12T21:16:57.506Z] STF 21:16:57.089 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/results/10.JMOD.stderr [2025-02-12T21:16:57.506Z] STF 21:16:57.089 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/results/10.JMOD.stdout [2025-02-12T21:16:57.506Z] STF 21:16:57.090 - Monitoring processes: JMOD [2025-02-12T21:16:57.506Z] JMOD stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-12T21:16:57.506Z] STF 21:16:57.452 - Monitoring Report Summary: [2025-02-12T21:16:57.506Z] STF 21:16:57.452 - o Process JMOD ended with the expected exit code (0) [2025-02-12T21:16:57.506Z] STF 21:16:57.452 - [2025-02-12T21:16:57.506Z] STF 21:16:57.452 - +------ Step 11 - Check com.test.jlink jmod created [2025-02-12T21:16:57.506Z] STF 21:16:57.452 - | Validate file exists [2025-02-12T21:16:57.506Z] STF 21:16:57.452 - | File: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/tmp/com.test.jlink.jmod [2025-02-12T21:16:57.506Z] STF 21:16:57.452 - | [2025-02-12T21:16:57.506Z] STF 21:16:57.452 - [2025-02-12T21:16:57.506Z] STF 21:16:57.452 - +------ Step 12 - Check com.hello jmod created [2025-02-12T21:16:57.506Z] STF 21:16:57.452 - | Validate file exists [2025-02-12T21:16:57.506Z] STF 21:16:57.452 - | File: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/tmp/com.hello.jmod [2025-02-12T21:16:57.506Z] STF 21:16:57.452 - | [2025-02-12T21:16:57.506Z] STF 21:16:57.452 - SETUP stage completed [2025-02-12T21:16:57.506Z] STF 21:16:57.460 - [2025-02-12T21:16:57.506Z] STF 21:16:57.460 - ==================== E X E C U T E - ==================== [2025-02-12T21:16:57.506Z] STF 21:16:57.460 - Running execute: perl /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/execute.pl [2025-02-12T21:16:57.896Z] STF 21:16:57.538 - [2025-02-12T21:16:57.896Z] STF 21:16:57.538 - Java version [2025-02-12T21:16:57.896Z] STF 21:16:57.538 - Running: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2025-02-12T21:16:57.896Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-12T21:16:57.896Z] openjdk version "21.0.7-beta" 2025-04-15 [2025-02-12T21:16:57.896Z] OpenJDK Runtime Environment Temurin-21.0.7+2-202502122004 (build 21.0.7-beta+2-ea) [2025-02-12T21:16:57.896Z] OpenJDK 64-Bit Server VM Temurin-21.0.7+2-202502122004 (build 21.0.7-beta+2-ea, mixed mode) [2025-02-12T21:16:57.896Z] STF 21:16:57.648 - [2025-02-12T21:16:57.896Z] STF 21:16:57.648 - +------ Step 13 - Create runtime image [2025-02-12T21:16:57.896Z] STF 21:16:57.648 - | Run jlink to create runtime image [2025-02-12T21:16:57.896Z] STF 21:16:57.648 - | ImageName: CRI1 [2025-02-12T21:16:57.896Z] STF 21:16:57.648 - | [2025-02-12T21:16:57.896Z] STF 21:16:57.648 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/modules --add-modules com.test.jlink --output /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/tmp/13.CRI1 [2025-02-12T21:16:57.896Z] STF 21:16:57.648 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/results/13.JLNK.stderr [2025-02-12T21:16:57.896Z] STF 21:16:57.649 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/results/13.JLNK.stdout [2025-02-12T21:16:57.896Z] STF 21:16:57.659 - Monitoring processes: JLNK [2025-02-12T21:16:57.896Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-12T21:16:59.807Z] STF 21:16:59.645 - Monitoring Report Summary: [2025-02-12T21:16:59.807Z] STF 21:16:59.645 - o Process JLNK ended with the expected exit code (0) [2025-02-12T21:16:59.807Z] STF 21:16:59.645 - [2025-02-12T21:16:59.807Z] STF 21:16:59.645 - +------ Step 14 - Running listmods [2025-02-12T21:16:59.807Z] STF 21:16:59.645 - | Run foreground process [2025-02-12T21:16:59.807Z] STF 21:16:59.645 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/tmp/13.CRI1/bin/java [2025-02-12T21:16:59.807Z] STF 21:16:59.645 - | Mnemonic: LIST [2025-02-12T21:16:59.807Z] STF 21:16:59.645 - | Echo: ECHO_ON [2025-02-12T21:16:59.807Z] STF 21:16:59.645 - | Expectation: CLEAN_RUN within 1m [2025-02-12T21:16:59.807Z] STF 21:16:59.645 - | [2025-02-12T21:16:59.807Z] STF 21:16:59.646 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/tmp/13.CRI1/bin/java --list-modules -XX:-UseCompressedOops [2025-02-12T21:16:59.807Z] STF 21:16:59.646 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/results/14.LIST.stderr [2025-02-12T21:16:59.807Z] STF 21:16:59.646 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/results/14.LIST.stdout [2025-02-12T21:16:59.807Z] STF 21:16:59.648 - Monitoring processes: LIST [2025-02-12T21:16:59.807Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-12T21:17:00.198Z] LIST com.hello [2025-02-12T21:17:00.198Z] LIST com.test.jlink [2025-02-12T21:17:00.198Z] LIST java.base@21.0.7-beta [2025-02-12T21:17:00.198Z] STF 21:16:59.918 - Monitoring Report Summary: [2025-02-12T21:17:00.198Z] STF 21:16:59.918 - o Process LIST ended with the expected exit code (0) [2025-02-12T21:17:00.198Z] STF 21:16:59.918 - [2025-02-12T21:17:00.198Z] STF 21:16:59.918 - +------ Step 15 - Check output [2025-02-12T21:17:00.198Z] STF 21:16:59.918 - | Count file matches [2025-02-12T21:17:00.199Z] STF 21:16:59.918 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/results/14.LIST.stdout [2025-02-12T21:17:00.199Z] STF 21:16:59.918 - | ExpectedNumMatches: 1 [2025-02-12T21:17:00.199Z] STF 21:16:59.918 - | SearchStrings: ["com.hello"] [2025-02-12T21:17:00.199Z] STF 21:16:59.918 - | [2025-02-12T21:17:00.199Z] STF 21:16:59.918 - Found 1 instances of ["com.hello"] [2025-02-12T21:17:00.199Z] STF 21:16:59.918 - [2025-02-12T21:17:00.199Z] STF 21:16:59.918 - +------ Step 16 - Check output [2025-02-12T21:17:00.199Z] STF 21:16:59.918 - | Count file matches [2025-02-12T21:17:00.199Z] STF 21:16:59.918 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/results/14.LIST.stdout [2025-02-12T21:17:00.199Z] STF 21:16:59.918 - | ExpectedNumMatches: 1 [2025-02-12T21:17:00.199Z] STF 21:16:59.918 - | SearchStrings: ["com.test.jlink"] [2025-02-12T21:17:00.199Z] STF 21:16:59.918 - | [2025-02-12T21:17:00.199Z] STF 21:16:59.919 - Found 1 instances of ["com.test.jlink"] [2025-02-12T21:17:00.199Z] STF 21:16:59.919 - [2025-02-12T21:17:00.199Z] STF 21:16:59.919 - +------ Step 17 - Check output [2025-02-12T21:17:00.199Z] STF 21:16:59.919 - | Count file matches [2025-02-12T21:17:00.199Z] STF 21:16:59.919 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/results/14.LIST.stdout [2025-02-12T21:17:00.199Z] STF 21:16:59.919 - | ExpectedNumMatches: 1 [2025-02-12T21:17:00.199Z] STF 21:16:59.919 - | SearchStrings: ["java.base"] [2025-02-12T21:17:00.199Z] STF 21:16:59.919 - | [2025-02-12T21:17:00.199Z] STF 21:16:59.919 - Found 1 instances of ["java.base"] [2025-02-12T21:17:00.199Z] STF 21:16:59.919 - [2025-02-12T21:17:00.199Z] STF 21:16:59.919 - +------ Step 18 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-12T21:17:00.199Z] STF 21:16:59.919 - | Run foreground process [2025-02-12T21:17:00.199Z] STF 21:16:59.919 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/tmp/13.CRI1/bin/java [2025-02-12T21:17:00.199Z] STF 21:16:59.919 - | Mnemonic: T1 [2025-02-12T21:17:00.199Z] STF 21:16:59.919 - | Echo: ECHO_ON [2025-02-12T21:17:00.199Z] STF 21:16:59.919 - | Expectation: CLEAN_RUN within 1m [2025-02-12T21:17:00.199Z] STF 21:16:59.919 - | [2025-02-12T21:17:00.199Z] STF 21:16:59.919 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/tmp/13.CRI1/bin/java -Djava.library.path=/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/native --add-reads com.test.jlink=ALL-UNNAMED -XX:-UseCompressedOops -classpath /Users/jenkins/testDependency/system_lib/junit/junit.jar:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-12T21:17:00.199Z] STF 21:16:59.919 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/results/18.T1.stderr [2025-02-12T21:17:00.199Z] STF 21:16:59.919 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/results/18.T1.stdout [2025-02-12T21:17:00.199Z] STF 21:16:59.921 - Monitoring processes: T1 [2025-02-12T21:17:00.199Z] T1 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-12T21:17:00.199Z] T1 JUnit version 4.12 [2025-02-12T21:17:00.592Z] T1 . [2025-02-12T21:17:00.592Z] T1 Time: 0.007 [2025-02-12T21:17:00.592Z] T1 [2025-02-12T21:17:00.592Z] T1 OK (1 test) [2025-02-12T21:17:00.592Z] T1 [2025-02-12T21:17:00.592Z] STF 21:17:00.239 - Monitoring Report Summary: [2025-02-12T21:17:00.592Z] STF 21:17:00.239 - o Process T1 ended with the expected exit code (0) [2025-02-12T21:17:00.592Z] STF 21:17:00.239 - [2025-02-12T21:17:00.592Z] STF 21:17:00.239 - +------ Step 19 - Create runtime image [2025-02-12T21:17:00.592Z] STF 21:17:00.239 - | Run jlink to create runtime image [2025-02-12T21:17:00.592Z] STF 21:17:00.239 - | ImageName: CRI2 [2025-02-12T21:17:00.592Z] STF 21:17:00.239 - | [2025-02-12T21:17:00.592Z] STF 21:17:00.240 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/tmp --add-modules com.test.jlink --output /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/tmp/19.CRI2 [2025-02-12T21:17:00.592Z] STF 21:17:00.240 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/results/19.JLNK.stderr [2025-02-12T21:17:00.592Z] STF 21:17:00.240 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/results/19.JLNK.stdout [2025-02-12T21:17:00.592Z] STF 21:17:00.241 - Monitoring processes: JLNK [2025-02-12T21:17:00.592Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-12T21:17:02.506Z] STF 21:17:02.211 - Monitoring Report Summary: [2025-02-12T21:17:02.506Z] STF 21:17:02.211 - o Process JLNK ended with the expected exit code (0) [2025-02-12T21:17:02.506Z] STF 21:17:02.211 - [2025-02-12T21:17:02.506Z] STF 21:17:02.211 - +------ Step 20 - Running listmods [2025-02-12T21:17:02.506Z] STF 21:17:02.211 - | Run foreground process [2025-02-12T21:17:02.506Z] STF 21:17:02.211 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/tmp/19.CRI2/bin/java [2025-02-12T21:17:02.506Z] STF 21:17:02.212 - | Mnemonic: LIST [2025-02-12T21:17:02.506Z] STF 21:17:02.212 - | Echo: ECHO_ON [2025-02-12T21:17:02.506Z] STF 21:17:02.212 - | Expectation: CLEAN_RUN within 1m [2025-02-12T21:17:02.506Z] STF 21:17:02.212 - | [2025-02-12T21:17:02.506Z] STF 21:17:02.212 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/tmp/19.CRI2/bin/java --list-modules -XX:-UseCompressedOops [2025-02-12T21:17:02.506Z] STF 21:17:02.212 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/results/20.LIST.stderr [2025-02-12T21:17:02.506Z] STF 21:17:02.212 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/results/20.LIST.stdout [2025-02-12T21:17:02.506Z] STF 21:17:02.214 - Monitoring processes: LIST [2025-02-12T21:17:02.506Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-12T21:17:02.897Z] LIST com.hello [2025-02-12T21:17:02.897Z] LIST com.test.jlink [2025-02-12T21:17:02.897Z] LIST java.base@21.0.7-beta [2025-02-12T21:17:02.897Z] STF 21:17:02.479 - Monitoring Report Summary: [2025-02-12T21:17:02.897Z] STF 21:17:02.479 - o Process LIST ended with the expected exit code (0) [2025-02-12T21:17:02.897Z] STF 21:17:02.479 - [2025-02-12T21:17:02.897Z] STF 21:17:02.479 - +------ Step 21 - Check output [2025-02-12T21:17:02.897Z] STF 21:17:02.479 - | Count file matches [2025-02-12T21:17:02.897Z] STF 21:17:02.479 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/results/20.LIST.stdout [2025-02-12T21:17:02.897Z] STF 21:17:02.479 - | ExpectedNumMatches: 1 [2025-02-12T21:17:02.897Z] STF 21:17:02.479 - | SearchStrings: ["com.hello"] [2025-02-12T21:17:02.897Z] STF 21:17:02.479 - | [2025-02-12T21:17:02.897Z] STF 21:17:02.480 - Found 1 instances of ["com.hello"] [2025-02-12T21:17:02.897Z] STF 21:17:02.480 - [2025-02-12T21:17:02.897Z] STF 21:17:02.480 - +------ Step 22 - Check output [2025-02-12T21:17:02.897Z] STF 21:17:02.480 - | Count file matches [2025-02-12T21:17:02.897Z] STF 21:17:02.480 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/results/20.LIST.stdout [2025-02-12T21:17:02.897Z] STF 21:17:02.480 - | ExpectedNumMatches: 1 [2025-02-12T21:17:02.897Z] STF 21:17:02.480 - | SearchStrings: ["com.test.jlink"] [2025-02-12T21:17:02.897Z] STF 21:17:02.480 - | [2025-02-12T21:17:02.897Z] STF 21:17:02.480 - Found 1 instances of ["com.test.jlink"] [2025-02-12T21:17:02.897Z] STF 21:17:02.480 - [2025-02-12T21:17:02.897Z] STF 21:17:02.480 - +------ Step 23 - Check output [2025-02-12T21:17:02.897Z] STF 21:17:02.480 - | Count file matches [2025-02-12T21:17:02.897Z] STF 21:17:02.480 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/results/20.LIST.stdout [2025-02-12T21:17:02.897Z] STF 21:17:02.480 - | ExpectedNumMatches: 1 [2025-02-12T21:17:02.897Z] STF 21:17:02.480 - | SearchStrings: ["java.base"] [2025-02-12T21:17:02.897Z] STF 21:17:02.480 - | [2025-02-12T21:17:02.897Z] STF 21:17:02.480 - Found 1 instances of ["java.base"] [2025-02-12T21:17:02.897Z] STF 21:17:02.480 - [2025-02-12T21:17:02.897Z] STF 21:17:02.480 - +------ Step 24 - Running adoptopenjdk.test.modularity.jlink.JniTest [2025-02-12T21:17:02.897Z] STF 21:17:02.480 - | Run foreground process [2025-02-12T21:17:02.897Z] STF 21:17:02.480 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/tmp/19.CRI2/bin/java [2025-02-12T21:17:02.897Z] STF 21:17:02.480 - | Mnemonic: T2 [2025-02-12T21:17:02.897Z] STF 21:17:02.480 - | Echo: ECHO_ON [2025-02-12T21:17:02.897Z] STF 21:17:02.480 - | Expectation: CLEAN_RUN within 1m [2025-02-12T21:17:02.897Z] STF 21:17:02.480 - | [2025-02-12T21:17:02.897Z] STF 21:17:02.481 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/tmp/19.CRI2/bin/java -Djava.library.path=/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/native --add-reads com.test.jlink=ALL-UNNAMED -XX:-UseCompressedOops -classpath /Users/jenkins/testDependency/system_lib/junit/junit.jar:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore adoptopenjdk.test.modularity.jlink.JniTest [2025-02-12T21:17:02.897Z] STF 21:17:02.481 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/results/24.T2.stderr [2025-02-12T21:17:02.897Z] STF 21:17:02.481 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/results/24.T2.stdout [2025-02-12T21:17:02.897Z] STF 21:17:02.482 - Monitoring processes: T2 [2025-02-12T21:17:02.897Z] T2 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-12T21:17:02.897Z] T2 JUnit version 4.12 [2025-02-12T21:17:02.897Z] T2 . [2025-02-12T21:17:02.897Z] T2 Time: 0.007 [2025-02-12T21:17:02.897Z] T2 [2025-02-12T21:17:02.897Z] T2 OK (1 test) [2025-02-12T21:17:02.897Z] T2 [2025-02-12T21:17:02.897Z] STF 21:17:02.805 - Monitoring Report Summary: [2025-02-12T21:17:02.897Z] STF 21:17:02.805 - o Process T2 ended with the expected exit code (0) [2025-02-12T21:17:02.897Z] STF 21:17:02.806 - [2025-02-12T21:17:02.897Z] STF 21:17:02.806 - +------ Step 25 - Create runtime image [2025-02-12T21:17:02.897Z] STF 21:17:02.806 - | Run jlink to create runtime image [2025-02-12T21:17:02.897Z] STF 21:17:02.806 - | ImageName: CRI3 [2025-02-12T21:17:02.897Z] STF 21:17:02.806 - | [2025-02-12T21:17:02.897Z] STF 21:17:02.806 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --add-modules com.test.jlink --output /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/tmp/25.CRI3 [2025-02-12T21:17:02.897Z] STF 21:17:02.806 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/results/25.JLNK.stderr [2025-02-12T21:17:02.897Z] STF 21:17:02.806 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/results/25.JLNK.stdout [2025-02-12T21:17:02.897Z] STF 21:17:02.808 - Monitoring processes: JLNK [2025-02-12T21:17:02.897Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-12T21:17:05.470Z] STF 21:17:04.836 - Monitoring Report Summary: [2025-02-12T21:17:05.470Z] STF 21:17:04.836 - o Process JLNK ended with the expected exit code (0) [2025-02-12T21:17:05.470Z] STF 21:17:04.836 - [2025-02-12T21:17:05.470Z] STF 21:17:04.836 - +------ Step 26 - Running listmods [2025-02-12T21:17:05.470Z] STF 21:17:04.836 - | Run foreground process [2025-02-12T21:17:05.470Z] STF 21:17:04.836 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/tmp/25.CRI3/bin/java [2025-02-12T21:17:05.470Z] STF 21:17:04.836 - | Mnemonic: LIST [2025-02-12T21:17:05.470Z] STF 21:17:04.836 - | Echo: ECHO_ON [2025-02-12T21:17:05.470Z] STF 21:17:04.836 - | Expectation: CLEAN_RUN within 1m [2025-02-12T21:17:05.470Z] STF 21:17:04.836 - | [2025-02-12T21:17:05.470Z] STF 21:17:04.837 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/tmp/25.CRI3/bin/java --list-modules -XX:-UseCompressedOops [2025-02-12T21:17:05.470Z] STF 21:17:04.837 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/results/26.LIST.stderr [2025-02-12T21:17:05.470Z] STF 21:17:04.837 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/results/26.LIST.stdout [2025-02-12T21:17:05.470Z] STF 21:17:04.838 - Monitoring processes: LIST [2025-02-12T21:17:05.470Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-12T21:17:05.470Z] LIST com.hello [2025-02-12T21:17:05.470Z] LIST com.test.jlink [2025-02-12T21:17:05.470Z] LIST java.base@21.0.7-beta [2025-02-12T21:17:05.470Z] STF 21:17:05.114 - Monitoring Report Summary: [2025-02-12T21:17:05.470Z] STF 21:17:05.114 - o Process LIST ended with the expected exit code (0) [2025-02-12T21:17:05.470Z] STF 21:17:05.114 - [2025-02-12T21:17:05.470Z] STF 21:17:05.114 - +------ Step 27 - Check output [2025-02-12T21:17:05.470Z] STF 21:17:05.114 - | Count file matches [2025-02-12T21:17:05.470Z] STF 21:17:05.114 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/results/26.LIST.stdout [2025-02-12T21:17:05.470Z] STF 21:17:05.114 - | ExpectedNumMatches: 1 [2025-02-12T21:17:05.470Z] STF 21:17:05.114 - | SearchStrings: ["com.hello"] [2025-02-12T21:17:05.470Z] STF 21:17:05.114 - | [2025-02-12T21:17:05.470Z] STF 21:17:05.114 - Found 1 instances of ["com.hello"] [2025-02-12T21:17:05.470Z] STF 21:17:05.114 - [2025-02-12T21:17:05.470Z] STF 21:17:05.114 - +------ Step 28 - Check output [2025-02-12T21:17:05.470Z] STF 21:17:05.114 - | Count file matches [2025-02-12T21:17:05.470Z] STF 21:17:05.114 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/results/26.LIST.stdout [2025-02-12T21:17:05.470Z] STF 21:17:05.114 - | ExpectedNumMatches: 1 [2025-02-12T21:17:05.470Z] STF 21:17:05.114 - | SearchStrings: ["com.test.jlink"] [2025-02-12T21:17:05.470Z] STF 21:17:05.114 - | [2025-02-12T21:17:05.470Z] STF 21:17:05.114 - Found 1 instances of ["com.test.jlink"] [2025-02-12T21:17:05.470Z] STF 21:17:05.114 - [2025-02-12T21:17:05.470Z] STF 21:17:05.114 - +------ Step 29 - Check output [2025-02-12T21:17:05.470Z] STF 21:17:05.114 - | Count file matches [2025-02-12T21:17:05.470Z] STF 21:17:05.115 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/results/26.LIST.stdout [2025-02-12T21:17:05.470Z] STF 21:17:05.115 - | ExpectedNumMatches: 1 [2025-02-12T21:17:05.470Z] STF 21:17:05.115 - | SearchStrings: ["java.base"] [2025-02-12T21:17:05.470Z] STF 21:17:05.115 - | [2025-02-12T21:17:05.470Z] STF 21:17:05.115 - Found 1 instances of ["java.base"] [2025-02-12T21:17:05.470Z] STF 21:17:05.115 - [2025-02-12T21:17:05.470Z] STF 21:17:05.115 - +------ Step 30 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-12T21:17:05.470Z] STF 21:17:05.115 - | Run foreground process [2025-02-12T21:17:05.470Z] STF 21:17:05.115 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/tmp/25.CRI3/bin/java [2025-02-12T21:17:05.470Z] STF 21:17:05.115 - | Mnemonic: T3 [2025-02-12T21:17:05.470Z] STF 21:17:05.115 - | Echo: ECHO_ON [2025-02-12T21:17:05.470Z] STF 21:17:05.115 - | Expectation: CLEAN_RUN within 1m [2025-02-12T21:17:05.470Z] STF 21:17:05.115 - | [2025-02-12T21:17:05.470Z] STF 21:17:05.115 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/tmp/25.CRI3/bin/java -Djava.library.path=/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/native --add-reads com.test.jlink=ALL-UNNAMED -XX:-UseCompressedOops -classpath /Users/jenkins/testDependency/system_lib/junit/junit.jar:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-12T21:17:05.470Z] STF 21:17:05.115 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/results/30.T3.stderr [2025-02-12T21:17:05.470Z] STF 21:17:05.115 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/results/30.T3.stdout [2025-02-12T21:17:05.470Z] STF 21:17:05.117 - Monitoring processes: T3 [2025-02-12T21:17:05.470Z] T3 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-12T21:17:05.470Z] T3 JUnit version 4.12 [2025-02-12T21:17:05.470Z] T3 . [2025-02-12T21:17:05.861Z] T3 Time: 0.007 [2025-02-12T21:17:05.861Z] T3 [2025-02-12T21:17:05.861Z] T3 OK (1 test) [2025-02-12T21:17:05.861Z] T3 [2025-02-12T21:17:05.861Z] STF 21:17:05.439 - Monitoring Report Summary: [2025-02-12T21:17:05.861Z] STF 21:17:05.439 - o Process T3 ended with the expected exit code (0) [2025-02-12T21:17:05.861Z] STF 21:17:05.440 - EXECUTE stage completed [2025-02-12T21:17:05.861Z] STF 21:17:05.496 - [2025-02-12T21:17:05.861Z] STF 21:17:05.496 - ==================== T E A R D O W N ==================== [2025-02-12T21:17:05.861Z] STF 21:17:05.496 - Running teardown: perl /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17393947292954/Jlink_ReqMod_1/20250212-211654-JlinkTest/tearDown.pl [2025-02-12T21:17:05.861Z] STF 21:17:05.570 - TEARDOWN stage completed [2025-02-12T21:17:05.861Z] STF 21:17:05.581 - [2025-02-12T21:17:05.861Z] STF 21:17:05.581 - ===================== R E S U L T S ===================== [2025-02-12T21:17:05.861Z] STF 21:17:05.581 - Stage results: [2025-02-12T21:17:05.861Z] STF 21:17:05.581 - setUp: pass [2025-02-12T21:17:05.861Z] STF 21:17:05.582 - execute: pass [2025-02-12T21:17:05.861Z] STF 21:17:05.582 - teardown: pass [2025-02-12T21:17:05.861Z] STF 21:17:05.582 - [2025-02-12T21:17:05.861Z] STF 21:17:05.582 - Overall result: PASSED [2025-02-12T21:17:05.861Z] ----------------------------------- [2025-02-12T21:17:05.861Z] Jlink_ReqMod_1_PASSED [2025-02-12T21:17:05.861Z] ----------------------------------- [2025-02-12T21:17:05.861Z] [2025-02-12T21:17:05.861Z] TEST TEARDOWN: [2025-02-12T21:17:05.861Z] Nothing to be done for teardown. [2025-02-12T21:17:05.861Z] Jlink_ReqMod_1 Finish Time: Wed Feb 12 21:17:05 2025 Epoch Time (ms): 1739395025644