Jlink_ReqMod_0

[2025-02-19T21:05:42.385Z] Running test Jlink_ReqMod_0 ... [2025-02-19T21:05:42.385Z] =============================================== [2025-02-19T21:05:42.385Z] Jlink_ReqMod_0 Start Time: Wed Feb 19 15:05:41 2025 Epoch Time (ms): 1739999141742 [2025-02-19T21:05:42.385Z] variation: Mode150 [2025-02-19T21:05:42.385Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-02-19T21:05:42.385Z] { \ [2025-02-19T21:05:42.385Z] echo ""; echo "TEST SETUP:"; \ [2025-02-19T21:05:42.385Z] echo "Nothing to be done for setup."; \ [2025-02-19T21:05:42.385Z] mkdir -p "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17399989745812/Jlink_ReqMod_0"; \ [2025-02-19T21:05:42.385Z] cd "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17399989745812/Jlink_ReqMod_0"; \ [2025-02-19T21:05:42.385Z] echo ""; echo "TESTING:"; \ [2025-02-19T21:05:42.385Z] perl /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/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/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/../../testDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17399989745812/Jlink_ReqMod_0" -test=JlinkTest -test-args="variant=ReqdMod"; \ [2025-02-19T21:05:42.385Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "Jlink_ReqMod_0""_PASSED"; echo "-----------------------------------"; cd /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/..; rm -f -r "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17399989745812/Jlink_ReqMod_0"; else echo "-----------------------------------"; echo "Jlink_ReqMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-02-19T21:05:42.385Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-02-19T21:05:42.385Z] echo "Nothing to be done for teardown."; \ [2025-02-19T21:05:42.385Z] } 2>&1 | tee -a "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17399989745812/TestTargetResult"; [2025-02-19T21:05:42.385Z] [2025-02-19T21:05:42.385Z] TEST SETUP: [2025-02-19T21:05:42.385Z] Nothing to be done for setup. [2025-02-19T21:05:42.385Z] [2025-02-19T21:05:42.385Z] TESTING: [2025-02-19T21:05:42.385Z] STF 15:05:41.806 - ========================= S T F ========================= [2025-02-19T21:05:42.385Z] 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/aqa-tests/TKG/../TKG/output_17399989745812/Jlink_ReqMod_0 [2025-02-19T21:05:42.385Z] df: getattrlist failed: Input/output error [2025-02-19T21:05:42.385Z] There is 90081 Mb free [2025-02-19T21:05:42.385Z] STF 15:05:41.811 - ================== G E N E R A T I O N ================== [2025-02-19T21:05:42.386Z] STF 15:05:41.812 - Checking JVM: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2025-02-19T21:05:42.386Z] STF 15:05:41.812 - Starting process to generate scripts: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/..//bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/../../testDependency/system_lib//asm/asm.jar:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/../../testDependency/system_lib//asm/asm-commons.jar:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/../../testDependency/system_lib//log4j/log4j-api.jar:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/../../testDependency/system_lib//log4j/log4j-core.jar:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/stf_parameters.properties, , /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest" [2025-02-19T21:05:42.386Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-19T21:05:43.149Z] GEN 15:05:42.407 - Found test. Project: 'openjdk.test.modularity' class: 'JlinkTest.class' Dir: '/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-02-19T21:05:43.149Z] GEN 15:05:42.417 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.JlinkTest' [2025-02-19T21:05:43.149Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-02-19T21:05:43.149Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-02-19T21:05:43.149Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-02-19T21:05:43.149Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-02-19T21:05:43.149Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-02-19T21:05:43.149Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-02-19T21:05:43.149Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-02-19T21:05:43.149Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-02-19T21:05:43.149Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-02-19T21:05:43.149Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-02-19T21:05:43.149Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-02-19T21:05:43.149Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-02-19T21:05:43.149Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-02-19T21:05:43.149Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-02-19T21:05:43.149Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-02-19T21:05:43.149Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-02-19T21:05:43.149Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/STF/stf.core/bin [2025-02-19T21:05:43.149Z] GEN /Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-02-19T21:05:43.149Z] GEN /Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-02-19T21:05:43.149Z] GEN /Users/jenkins/testDependency/system_lib/junit/junit.jar [2025-02-19T21:05:43.149Z] GEN 15:05:42.535 - Using Mode NoOptions. Values = '' [2025-02-19T21:05:43.149Z] GEN 15:05:42.596 - [2025-02-19T21:05:43.149Z] GEN 15:05:42.596 - Test command summary: [2025-02-19T21:05:43.149Z] GEN 15:05:42.596 - Step Stage Command Description [2025-02-19T21:05:43.150Z] GEN 15:05:42.596 - -----+--------+-----------------+------------ [2025-02-19T21:05:43.150Z] GEN 15:05:42.596 - 1 setUp cpDir Copying com.test.jlink [2025-02-19T21:05:43.150Z] GEN 15:05:42.596 - 2 setUp rm Removing natives folder from com.test.jLinkDirCopy [2025-02-19T21:05:43.150Z] GEN 15:05:42.597 - 3 setUp jar Create com.test.jlink jar [2025-02-19T21:05:43.150Z] GEN 15:05:42.597 - 4 setUp jar Create com.hello jar [2025-02-19T21:05:43.150Z] GEN 15:05:42.597 - 5 setUp fileCheck Check com.test.jlink modular jar created [2025-02-19T21:05:43.150Z] GEN 15:05:42.597 - 6 setUp fileCheck Check com.hello modular jar created [2025-02-19T21:05:43.150Z] GEN 15:05:42.597 - 7 setUp rm Removing conf folder from com.test.jLinkDirCopy [2025-02-19T21:05:43.150Z] GEN 15:05:42.597 - 8 setUp cpDir Copying .so from com.test.jlink/native [2025-02-19T21:05:43.150Z] GEN 15:05:42.597 - 9 setUp jmod Creating jmod of com.test.jlink module [2025-02-19T21:05:43.150Z] GEN 15:05:42.597 - 10 setUp jmod Creating jmod for com.hello module [2025-02-19T21:05:43.150Z] GEN 15:05:42.597 - 11 setUp fileCheck Check com.test.jlink jmod created [2025-02-19T21:05:43.150Z] GEN 15:05:42.597 - 12 setUp fileCheck Check com.hello jmod created [2025-02-19T21:05:43.150Z] GEN 15:05:42.597 - 13 execute jlink Create runtime image [2025-02-19T21:05:43.150Z] GEN 15:05:42.597 - 14 execute Run java Running listmods [2025-02-19T21:05:43.150Z] GEN 15:05:42.597 - 15 execute count Check output [2025-02-19T21:05:43.150Z] GEN 15:05:42.597 - 16 execute count Check output [2025-02-19T21:05:43.150Z] GEN 15:05:42.597 - 17 execute count Check output [2025-02-19T21:05:43.150Z] GEN 15:05:42.597 - 18 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-19T21:05:43.150Z] GEN 15:05:42.597 - 19 execute jlink Create runtime image [2025-02-19T21:05:43.150Z] GEN 15:05:42.597 - 20 execute Run java Running listmods [2025-02-19T21:05:43.150Z] GEN 15:05:42.597 - 21 execute count Check output [2025-02-19T21:05:43.150Z] GEN 15:05:42.597 - 22 execute count Check output [2025-02-19T21:05:43.150Z] GEN 15:05:42.597 - 23 execute count Check output [2025-02-19T21:05:43.150Z] GEN 15:05:42.597 - 24 execute Run java Running adoptopenjdk.test.modularity.jlink.JniTest [2025-02-19T21:05:43.150Z] GEN 15:05:42.598 - 25 execute jlink Create runtime image [2025-02-19T21:05:43.150Z] GEN 15:05:42.598 - 26 execute Run java Running listmods [2025-02-19T21:05:43.150Z] GEN 15:05:42.598 - 27 execute count Check output [2025-02-19T21:05:43.150Z] GEN 15:05:42.598 - 28 execute count Check output [2025-02-19T21:05:43.150Z] GEN 15:05:42.598 - 29 execute count Check output [2025-02-19T21:05:43.150Z] GEN 15:05:42.598 - 30 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-19T21:05:43.150Z] STF 15:05:42.623 - [2025-02-19T21:05:43.150Z] STF 15:05:42.623 - Script generation completed [2025-02-19T21:05:43.150Z] STF 15:05:42.623 - [2025-02-19T21:05:43.150Z] STF 15:05:42.623 - [2025-02-19T21:05:43.150Z] STF 15:05:42.623 - ======================= S E T U P ======================= [2025-02-19T21:05:43.150Z] STF 15:05:42.623 - Running setup: perl /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/setUp.pl [2025-02-19T21:05:43.150Z] STF 15:05:42.668 - [2025-02-19T21:05:43.150Z] STF 15:05:42.669 - +------ Step 1 - Copying com.test.jlink [2025-02-19T21:05:43.150Z] STF 15:05:42.669 - | Copy a directory to a new directory [2025-02-19T21:05:43.150Z] STF 15:05:42.669 - | Source dir: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink [2025-02-19T21:05:43.150Z] STF 15:05:42.669 - | Dest dir: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/com.test.jLinkDirCopy [2025-02-19T21:05:43.150Z] STF 15:05:42.669 - | [2025-02-19T21:05:43.150Z] STF 15:05:42.673 - [2025-02-19T21:05:43.150Z] STF 15:05:42.673 - +------ Step 2 - Removing natives folder from com.test.jLinkDirCopy [2025-02-19T21:05:43.150Z] STF 15:05:42.673 - | Recursively delete a directory [2025-02-19T21:05:43.150Z] STF 15:05:42.673 - | Directory: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/com.test.jLinkDirCopy/native [2025-02-19T21:05:43.150Z] STF 15:05:42.673 - | [2025-02-19T21:05:43.150Z] STF 15:05:42.674 - [2025-02-19T21:05:43.150Z] STF 15:05:42.674 - +------ Step 3 - Create com.test.jlink jar [2025-02-19T21:05:43.150Z] STF 15:05:42.674 - | Create modular jar [2025-02-19T21:05:43.150Z] STF 15:05:42.674 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test.jlink [2025-02-19T21:05:43.150Z] STF 15:05:42.674 - | ModuleVersion: null [2025-02-19T21:05:43.150Z] STF 15:05:42.674 - | MainClass: null [2025-02-19T21:05:43.150Z] STF 15:05:42.674 - | HashModules: null [2025-02-19T21:05:43.150Z] STF 15:05:42.674 - | [2025-02-19T21:05:43.150Z] STF 15:05:42.674 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/modules/3.com.test.jlink.jar -C /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink . [2025-02-19T21:05:43.150Z] STF 15:05:42.674 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/results/3.CMJ.stderr [2025-02-19T21:05:43.150Z] STF 15:05:42.674 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/results/3.CMJ.stdout [2025-02-19T21:05:43.150Z] STF 15:05:42.682 - Monitoring processes: CMJ [2025-02-19T21:05:43.150Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-19T21:05:43.150Z] STF 15:05:42.889 - Monitoring Report Summary: [2025-02-19T21:05:43.150Z] STF 15:05:42.889 - o Process CMJ ended with the expected exit code (0) [2025-02-19T21:05:43.150Z] STF 15:05:42.889 - Created modular jar: 3.com.test.jlink.jar [2025-02-19T21:05:43.150Z] STF 15:05:42.889 - [2025-02-19T21:05:43.150Z] STF 15:05:42.889 - +------ Step 4 - Create com.hello jar [2025-02-19T21:05:43.150Z] STF 15:05:42.889 - | Create modular jar [2025-02-19T21:05:43.150Z] STF 15:05:42.889 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-02-19T21:05:43.150Z] STF 15:05:42.889 - | ModuleVersion: null [2025-02-19T21:05:43.150Z] STF 15:05:42.889 - | MainClass: null [2025-02-19T21:05:43.150Z] STF 15:05:42.889 - | HashModules: null [2025-02-19T21:05:43.150Z] STF 15:05:42.889 - | [2025-02-19T21:05:43.150Z] STF 15:05:42.890 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/modules/4.com.hello.jar -C /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-02-19T21:05:43.150Z] STF 15:05:42.890 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/results/4.CMJ.stderr [2025-02-19T21:05:43.150Z] STF 15:05:42.890 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/results/4.CMJ.stdout [2025-02-19T21:05:43.150Z] STF 15:05:42.891 - Monitoring processes: CMJ [2025-02-19T21:05:43.150Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-19T21:05:43.915Z] STF 15:05:43.107 - Monitoring Report Summary: [2025-02-19T21:05:43.916Z] STF 15:05:43.107 - o Process CMJ ended with the expected exit code (0) [2025-02-19T21:05:43.916Z] STF 15:05:43.107 - Created modular jar: 4.com.hello.jar [2025-02-19T21:05:43.916Z] STF 15:05:43.107 - [2025-02-19T21:05:43.916Z] STF 15:05:43.107 - +------ Step 5 - Check com.test.jlink modular jar created [2025-02-19T21:05:43.916Z] STF 15:05:43.107 - | Validate file exists [2025-02-19T21:05:43.916Z] STF 15:05:43.107 - | File: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/modules/3.com.test.jlink.jar [2025-02-19T21:05:43.916Z] STF 15:05:43.107 - | [2025-02-19T21:05:43.916Z] STF 15:05:43.107 - [2025-02-19T21:05:43.916Z] STF 15:05:43.107 - +------ Step 6 - Check com.hello modular jar created [2025-02-19T21:05:43.916Z] STF 15:05:43.107 - | Validate file exists [2025-02-19T21:05:43.916Z] STF 15:05:43.107 - | File: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/modules/4.com.hello.jar [2025-02-19T21:05:43.916Z] STF 15:05:43.107 - | [2025-02-19T21:05:43.916Z] STF 15:05:43.107 - [2025-02-19T21:05:43.916Z] STF 15:05:43.107 - +------ Step 7 - Removing conf folder from com.test.jLinkDirCopy [2025-02-19T21:05:43.916Z] STF 15:05:43.107 - | Recursively delete a directory [2025-02-19T21:05:43.916Z] STF 15:05:43.107 - | Directory: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/com.test.jLinkDirCopy/conf [2025-02-19T21:05:43.916Z] STF 15:05:43.107 - | [2025-02-19T21:05:43.916Z] STF 15:05:43.108 - [2025-02-19T21:05:43.916Z] STF 15:05:43.108 - +------ Step 8 - Copying .so from com.test.jlink/native [2025-02-19T21:05:43.916Z] STF 15:05:43.108 - | Copy a directory to a new directory [2025-02-19T21:05:43.916Z] STF 15:05:43.108 - | Source dir: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink/native/bin/osx [2025-02-19T21:05:43.916Z] STF 15:05:43.108 - | Dest dir: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/native [2025-02-19T21:05:43.916Z] STF 15:05:43.108 - | [2025-02-19T21:05:43.916Z] STF 15:05:43.108 - [2025-02-19T21:05:43.916Z] STF 15:05:43.108 - +------ Step 9 - Creating jmod of com.test.jlink module [2025-02-19T21:05:43.916Z] STF 15:05:43.108 - | Run jmod utility [2025-02-19T21:05:43.916Z] STF 15:05:43.108 - | jmod: com.test.jlink.jmod [2025-02-19T21:05:43.916Z] STF 15:05:43.108 - | [2025-02-19T21:05:43.916Z] STF 15:05:43.108 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/jmod create --class-path /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/com.test.jLinkDirCopy --config /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/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/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/native /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/tmp/com.test.jlink.jmod [2025-02-19T21:05:43.916Z] STF 15:05:43.108 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/results/9.JMOD.stderr [2025-02-19T21:05:43.916Z] STF 15:05:43.108 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/results/9.JMOD.stdout [2025-02-19T21:05:43.916Z] STF 15:05:43.109 - Monitoring processes: JMOD [2025-02-19T21:05:43.916Z] JMOD stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-19T21:05:43.916Z] STF 15:05:43.323 - Monitoring Report Summary: [2025-02-19T21:05:43.916Z] STF 15:05:43.323 - o Process JMOD ended with the expected exit code (0) [2025-02-19T21:05:43.916Z] STF 15:05:43.323 - [2025-02-19T21:05:43.916Z] STF 15:05:43.323 - +------ Step 10 - Creating jmod for com.hello module [2025-02-19T21:05:43.916Z] STF 15:05:43.323 - | Run jmod utility [2025-02-19T21:05:43.916Z] STF 15:05:43.323 - | jmod: com.hello.jmod [2025-02-19T21:05:43.916Z] STF 15:05:43.323 - | [2025-02-19T21:05:43.916Z] STF 15:05:43.323 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/jmod create --class-path /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/tmp/com.hello.jmod [2025-02-19T21:05:43.916Z] STF 15:05:43.323 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/results/10.JMOD.stderr [2025-02-19T21:05:43.916Z] STF 15:05:43.323 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/results/10.JMOD.stdout [2025-02-19T21:05:43.916Z] STF 15:05:43.324 - Monitoring processes: JMOD [2025-02-19T21:05:43.916Z] JMOD stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-19T21:05:43.916Z] STF 15:05:43.516 - Monitoring Report Summary: [2025-02-19T21:05:43.916Z] STF 15:05:43.516 - o Process JMOD ended with the expected exit code (0) [2025-02-19T21:05:43.916Z] STF 15:05:43.516 - [2025-02-19T21:05:43.916Z] STF 15:05:43.516 - +------ Step 11 - Check com.test.jlink jmod created [2025-02-19T21:05:43.916Z] STF 15:05:43.516 - | Validate file exists [2025-02-19T21:05:43.916Z] STF 15:05:43.516 - | File: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/tmp/com.test.jlink.jmod [2025-02-19T21:05:43.916Z] STF 15:05:43.516 - | [2025-02-19T21:05:43.916Z] STF 15:05:43.517 - [2025-02-19T21:05:43.916Z] STF 15:05:43.517 - +------ Step 12 - Check com.hello jmod created [2025-02-19T21:05:43.916Z] STF 15:05:43.517 - | Validate file exists [2025-02-19T21:05:43.916Z] STF 15:05:43.517 - | File: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/tmp/com.hello.jmod [2025-02-19T21:05:43.916Z] STF 15:05:43.517 - | [2025-02-19T21:05:43.916Z] STF 15:05:43.517 - SETUP stage completed [2025-02-19T21:05:43.916Z] STF 15:05:43.522 - [2025-02-19T21:05:43.916Z] STF 15:05:43.522 - ==================== E X E C U T E - ==================== [2025-02-19T21:05:43.916Z] STF 15:05:43.522 - Running execute: perl /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/execute.pl [2025-02-19T21:05:43.916Z] STF 15:05:43.572 - [2025-02-19T21:05:43.916Z] STF 15:05:43.572 - Java version [2025-02-19T21:05:43.916Z] STF 15:05:43.572 - Running: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2025-02-19T21:05:43.916Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-19T21:05:43.916Z] openjdk version "21.0.7-beta" 2025-04-15 [2025-02-19T21:05:43.916Z] OpenJDK Runtime Environment Temurin-21.0.7+3-202502192007 (build 21.0.7-beta+3-ea) [2025-02-19T21:05:43.916Z] OpenJDK 64-Bit Server VM Temurin-21.0.7+3-202502192007 (build 21.0.7-beta+3-ea, mixed mode) [2025-02-19T21:05:43.916Z] STF 15:05:43.631 - [2025-02-19T21:05:43.916Z] STF 15:05:43.631 - +------ Step 13 - Create runtime image [2025-02-19T21:05:43.916Z] STF 15:05:43.631 - | Run jlink to create runtime image [2025-02-19T21:05:43.916Z] STF 15:05:43.631 - | ImageName: CRI1 [2025-02-19T21:05:43.916Z] STF 15:05:43.631 - | [2025-02-19T21:05:43.916Z] STF 15:05:43.631 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/modules --add-modules com.test.jlink --output /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/tmp/13.CRI1 [2025-02-19T21:05:43.916Z] STF 15:05:43.631 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/results/13.JLNK.stderr [2025-02-19T21:05:43.916Z] STF 15:05:43.631 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/results/13.JLNK.stdout [2025-02-19T21:05:43.916Z] STF 15:05:43.638 - Monitoring processes: JLNK [2025-02-19T21:05:43.916Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-19T21:05:45.499Z] STF 15:05:44.802 - Monitoring Report Summary: [2025-02-19T21:05:45.499Z] STF 15:05:44.802 - o Process JLNK ended with the expected exit code (0) [2025-02-19T21:05:45.499Z] STF 15:05:44.803 - [2025-02-19T21:05:45.499Z] STF 15:05:44.803 - +------ Step 14 - Running listmods [2025-02-19T21:05:45.499Z] STF 15:05:44.803 - | Run foreground process [2025-02-19T21:05:45.499Z] STF 15:05:44.803 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/tmp/13.CRI1/bin/java [2025-02-19T21:05:45.499Z] STF 15:05:44.803 - | Mnemonic: LIST [2025-02-19T21:05:45.499Z] STF 15:05:44.803 - | Echo: ECHO_ON [2025-02-19T21:05:45.499Z] STF 15:05:44.803 - | Expectation: CLEAN_RUN within 1m [2025-02-19T21:05:45.499Z] STF 15:05:44.803 - | [2025-02-19T21:05:45.499Z] STF 15:05:44.803 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/tmp/13.CRI1/bin/java --list-modules -XX:+UseCompressedOops [2025-02-19T21:05:45.499Z] STF 15:05:44.803 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/results/14.LIST.stderr [2025-02-19T21:05:45.499Z] STF 15:05:44.803 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/results/14.LIST.stdout [2025-02-19T21:05:45.499Z] STF 15:05:44.804 - Monitoring processes: LIST [2025-02-19T21:05:45.499Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-19T21:05:45.499Z] LIST com.hello [2025-02-19T21:05:45.499Z] LIST com.test.jlink [2025-02-19T21:05:45.499Z] LIST java.base@21.0.7-beta [2025-02-19T21:05:45.499Z] STF 15:05:44.960 - Monitoring Report Summary: [2025-02-19T21:05:45.499Z] STF 15:05:44.961 - o Process LIST ended with the expected exit code (0) [2025-02-19T21:05:45.499Z] STF 15:05:44.961 - [2025-02-19T21:05:45.499Z] STF 15:05:44.961 - +------ Step 15 - Check output [2025-02-19T21:05:45.499Z] STF 15:05:44.961 - | Count file matches [2025-02-19T21:05:45.499Z] STF 15:05:44.961 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/results/14.LIST.stdout [2025-02-19T21:05:45.499Z] STF 15:05:44.961 - | ExpectedNumMatches: 1 [2025-02-19T21:05:45.499Z] STF 15:05:44.961 - | SearchStrings: ["com.hello"] [2025-02-19T21:05:45.499Z] STF 15:05:44.961 - | [2025-02-19T21:05:45.499Z] STF 15:05:44.961 - Found 1 instances of ["com.hello"] [2025-02-19T21:05:45.499Z] STF 15:05:44.961 - [2025-02-19T21:05:45.499Z] STF 15:05:44.961 - +------ Step 16 - Check output [2025-02-19T21:05:45.499Z] STF 15:05:44.961 - | Count file matches [2025-02-19T21:05:45.499Z] STF 15:05:44.961 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/results/14.LIST.stdout [2025-02-19T21:05:45.499Z] STF 15:05:44.961 - | ExpectedNumMatches: 1 [2025-02-19T21:05:45.499Z] STF 15:05:44.961 - | SearchStrings: ["com.test.jlink"] [2025-02-19T21:05:45.499Z] STF 15:05:44.961 - | [2025-02-19T21:05:45.499Z] STF 15:05:44.961 - Found 1 instances of ["com.test.jlink"] [2025-02-19T21:05:45.499Z] STF 15:05:44.961 - [2025-02-19T21:05:45.499Z] STF 15:05:44.961 - +------ Step 17 - Check output [2025-02-19T21:05:45.499Z] STF 15:05:44.961 - | Count file matches [2025-02-19T21:05:45.499Z] STF 15:05:44.961 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/results/14.LIST.stdout [2025-02-19T21:05:45.499Z] STF 15:05:44.961 - | ExpectedNumMatches: 1 [2025-02-19T21:05:45.499Z] STF 15:05:44.961 - | SearchStrings: ["java.base"] [2025-02-19T21:05:45.499Z] STF 15:05:44.961 - | [2025-02-19T21:05:45.499Z] STF 15:05:44.961 - Found 1 instances of ["java.base"] [2025-02-19T21:05:45.499Z] STF 15:05:44.961 - [2025-02-19T21:05:45.499Z] STF 15:05:44.961 - +------ Step 18 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-19T21:05:45.499Z] STF 15:05:44.961 - | Run foreground process [2025-02-19T21:05:45.499Z] STF 15:05:44.961 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/tmp/13.CRI1/bin/java [2025-02-19T21:05:45.499Z] STF 15:05:44.961 - | Mnemonic: T1 [2025-02-19T21:05:45.499Z] STF 15:05:44.961 - | Echo: ECHO_ON [2025-02-19T21:05:45.499Z] STF 15:05:44.961 - | Expectation: CLEAN_RUN within 1m [2025-02-19T21:05:45.499Z] STF 15:05:44.961 - | [2025-02-19T21:05:45.499Z] STF 15:05:44.961 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/tmp/13.CRI1/bin/java -Djava.library.path=/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-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-19T21:05:45.499Z] STF 15:05:44.961 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/results/18.T1.stderr [2025-02-19T21:05:45.499Z] STF 15:05:44.961 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/results/18.T1.stdout [2025-02-19T21:05:45.499Z] STF 15:05:44.962 - Monitoring processes: T1 [2025-02-19T21:05:45.499Z] T1 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-19T21:05:45.499Z] T1 JUnit version 4.12 [2025-02-19T21:05:45.499Z] T1 . [2025-02-19T21:05:45.499Z] T1 Time: 0.004 [2025-02-19T21:05:45.499Z] T1 [2025-02-19T21:05:45.499Z] T1 OK (1 test) [2025-02-19T21:05:45.499Z] T1 [2025-02-19T21:05:45.499Z] STF 15:05:45.142 - Monitoring Report Summary: [2025-02-19T21:05:45.499Z] STF 15:05:45.142 - o Process T1 ended with the expected exit code (0) [2025-02-19T21:05:45.499Z] STF 15:05:45.143 - [2025-02-19T21:05:45.499Z] STF 15:05:45.143 - +------ Step 19 - Create runtime image [2025-02-19T21:05:45.499Z] STF 15:05:45.143 - | Run jlink to create runtime image [2025-02-19T21:05:45.499Z] STF 15:05:45.143 - | ImageName: CRI2 [2025-02-19T21:05:45.499Z] STF 15:05:45.143 - | [2025-02-19T21:05:45.499Z] STF 15:05:45.143 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/tmp --add-modules com.test.jlink --output /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/tmp/19.CRI2 [2025-02-19T21:05:45.499Z] STF 15:05:45.143 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/results/19.JLNK.stderr [2025-02-19T21:05:45.499Z] STF 15:05:45.143 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/results/19.JLNK.stdout [2025-02-19T21:05:45.499Z] STF 15:05:45.144 - Monitoring processes: JLNK [2025-02-19T21:05:45.499Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-19T21:05:47.083Z] STF 15:05:46.423 - Monitoring Report Summary: [2025-02-19T21:05:47.083Z] STF 15:05:46.423 - o Process JLNK ended with the expected exit code (0) [2025-02-19T21:05:47.083Z] STF 15:05:46.423 - [2025-02-19T21:05:47.083Z] STF 15:05:46.424 - +------ Step 20 - Running listmods [2025-02-19T21:05:47.083Z] STF 15:05:46.424 - | Run foreground process [2025-02-19T21:05:47.083Z] STF 15:05:46.424 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/tmp/19.CRI2/bin/java [2025-02-19T21:05:47.083Z] STF 15:05:46.424 - | Mnemonic: LIST [2025-02-19T21:05:47.083Z] STF 15:05:46.424 - | Echo: ECHO_ON [2025-02-19T21:05:47.083Z] STF 15:05:46.424 - | Expectation: CLEAN_RUN within 1m [2025-02-19T21:05:47.083Z] STF 15:05:46.424 - | [2025-02-19T21:05:47.083Z] STF 15:05:46.424 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/tmp/19.CRI2/bin/java --list-modules -XX:+UseCompressedOops [2025-02-19T21:05:47.083Z] STF 15:05:46.424 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/results/20.LIST.stderr [2025-02-19T21:05:47.083Z] STF 15:05:46.424 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/results/20.LIST.stdout [2025-02-19T21:05:47.083Z] STF 15:05:46.426 - Monitoring processes: LIST [2025-02-19T21:05:47.083Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-19T21:05:47.083Z] LIST com.hello [2025-02-19T21:05:47.083Z] LIST com.test.jlink [2025-02-19T21:05:47.083Z] LIST java.base@21.0.7-beta [2025-02-19T21:05:47.083Z] STF 15:05:46.575 - Monitoring Report Summary: [2025-02-19T21:05:47.083Z] STF 15:05:46.575 - o Process LIST ended with the expected exit code (0) [2025-02-19T21:05:47.083Z] STF 15:05:46.575 - [2025-02-19T21:05:47.083Z] STF 15:05:46.575 - +------ Step 21 - Check output [2025-02-19T21:05:47.083Z] STF 15:05:46.576 - | Count file matches [2025-02-19T21:05:47.083Z] STF 15:05:46.576 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/results/20.LIST.stdout [2025-02-19T21:05:47.083Z] STF 15:05:46.576 - | ExpectedNumMatches: 1 [2025-02-19T21:05:47.083Z] STF 15:05:46.576 - | SearchStrings: ["com.hello"] [2025-02-19T21:05:47.083Z] STF 15:05:46.576 - | [2025-02-19T21:05:47.083Z] STF 15:05:46.576 - Found 1 instances of ["com.hello"] [2025-02-19T21:05:47.083Z] STF 15:05:46.576 - [2025-02-19T21:05:47.083Z] STF 15:05:46.576 - +------ Step 22 - Check output [2025-02-19T21:05:47.083Z] STF 15:05:46.576 - | Count file matches [2025-02-19T21:05:47.083Z] STF 15:05:46.576 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/results/20.LIST.stdout [2025-02-19T21:05:47.083Z] STF 15:05:46.576 - | ExpectedNumMatches: 1 [2025-02-19T21:05:47.083Z] STF 15:05:46.576 - | SearchStrings: ["com.test.jlink"] [2025-02-19T21:05:47.083Z] STF 15:05:46.576 - | [2025-02-19T21:05:47.083Z] STF 15:05:46.576 - Found 1 instances of ["com.test.jlink"] [2025-02-19T21:05:47.083Z] STF 15:05:46.576 - [2025-02-19T21:05:47.083Z] STF 15:05:46.576 - +------ Step 23 - Check output [2025-02-19T21:05:47.083Z] STF 15:05:46.576 - | Count file matches [2025-02-19T21:05:47.083Z] STF 15:05:46.576 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/results/20.LIST.stdout [2025-02-19T21:05:47.083Z] STF 15:05:46.576 - | ExpectedNumMatches: 1 [2025-02-19T21:05:47.083Z] STF 15:05:46.576 - | SearchStrings: ["java.base"] [2025-02-19T21:05:47.083Z] STF 15:05:46.576 - | [2025-02-19T21:05:47.084Z] STF 15:05:46.576 - Found 1 instances of ["java.base"] [2025-02-19T21:05:47.084Z] STF 15:05:46.576 - [2025-02-19T21:05:47.084Z] STF 15:05:46.576 - +------ Step 24 - Running adoptopenjdk.test.modularity.jlink.JniTest [2025-02-19T21:05:47.084Z] STF 15:05:46.576 - | Run foreground process [2025-02-19T21:05:47.084Z] STF 15:05:46.576 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/tmp/19.CRI2/bin/java [2025-02-19T21:05:47.084Z] STF 15:05:46.576 - | Mnemonic: T2 [2025-02-19T21:05:47.084Z] STF 15:05:46.576 - | Echo: ECHO_ON [2025-02-19T21:05:47.084Z] STF 15:05:46.576 - | Expectation: CLEAN_RUN within 1m [2025-02-19T21:05:47.084Z] STF 15:05:46.576 - | [2025-02-19T21:05:47.084Z] STF 15:05:46.576 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/tmp/19.CRI2/bin/java -Djava.library.path=/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-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-19T21:05:47.084Z] STF 15:05:46.576 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/results/24.T2.stderr [2025-02-19T21:05:47.084Z] STF 15:05:46.576 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/results/24.T2.stdout [2025-02-19T21:05:47.084Z] STF 15:05:46.577 - Monitoring processes: T2 [2025-02-19T21:05:47.084Z] T2 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-19T21:05:47.084Z] T2 JUnit version 4.12 [2025-02-19T21:05:47.084Z] T2 . [2025-02-19T21:05:47.084Z] T2 Time: 0.004 [2025-02-19T21:05:47.084Z] T2 [2025-02-19T21:05:47.084Z] T2 OK (1 test) [2025-02-19T21:05:47.084Z] T2 [2025-02-19T21:05:47.084Z] STF 15:05:46.758 - Monitoring Report Summary: [2025-02-19T21:05:47.084Z] STF 15:05:46.758 - o Process T2 ended with the expected exit code (0) [2025-02-19T21:05:47.084Z] STF 15:05:46.758 - [2025-02-19T21:05:47.084Z] STF 15:05:46.758 - +------ Step 25 - Create runtime image [2025-02-19T21:05:47.084Z] STF 15:05:46.758 - | Run jlink to create runtime image [2025-02-19T21:05:47.084Z] STF 15:05:46.758 - | ImageName: CRI3 [2025-02-19T21:05:47.084Z] STF 15:05:46.758 - | [2025-02-19T21:05:47.084Z] STF 15:05:46.758 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/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/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/tmp/25.CRI3 [2025-02-19T21:05:47.084Z] STF 15:05:46.758 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/results/25.JLNK.stderr [2025-02-19T21:05:47.084Z] STF 15:05:46.758 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/results/25.JLNK.stdout [2025-02-19T21:05:47.084Z] STF 15:05:46.759 - Monitoring processes: JLNK [2025-02-19T21:05:47.084Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-19T21:05:48.682Z] STF 15:05:47.953 - Monitoring Report Summary: [2025-02-19T21:05:48.682Z] STF 15:05:47.953 - o Process JLNK ended with the expected exit code (0) [2025-02-19T21:05:48.682Z] STF 15:05:47.953 - [2025-02-19T21:05:48.682Z] STF 15:05:47.953 - +------ Step 26 - Running listmods [2025-02-19T21:05:48.682Z] STF 15:05:47.953 - | Run foreground process [2025-02-19T21:05:48.682Z] STF 15:05:47.953 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/tmp/25.CRI3/bin/java [2025-02-19T21:05:48.682Z] STF 15:05:47.953 - | Mnemonic: LIST [2025-02-19T21:05:48.682Z] STF 15:05:47.953 - | Echo: ECHO_ON [2025-02-19T21:05:48.682Z] STF 15:05:47.953 - | Expectation: CLEAN_RUN within 1m [2025-02-19T21:05:48.682Z] STF 15:05:47.953 - | [2025-02-19T21:05:48.682Z] STF 15:05:47.953 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/tmp/25.CRI3/bin/java --list-modules -XX:+UseCompressedOops [2025-02-19T21:05:48.682Z] STF 15:05:47.953 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/results/26.LIST.stderr [2025-02-19T21:05:48.682Z] STF 15:05:47.953 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/results/26.LIST.stdout [2025-02-19T21:05:48.682Z] STF 15:05:47.956 - Monitoring processes: LIST [2025-02-19T21:05:48.682Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-19T21:05:48.682Z] LIST com.hello [2025-02-19T21:05:48.682Z] LIST com.test.jlink [2025-02-19T21:05:48.682Z] LIST java.base@21.0.7-beta [2025-02-19T21:05:48.682Z] STF 15:05:48.097 - Monitoring Report Summary: [2025-02-19T21:05:48.682Z] STF 15:05:48.097 - o Process LIST ended with the expected exit code (0) [2025-02-19T21:05:48.682Z] STF 15:05:48.097 - [2025-02-19T21:05:48.682Z] STF 15:05:48.097 - +------ Step 27 - Check output [2025-02-19T21:05:48.682Z] STF 15:05:48.097 - | Count file matches [2025-02-19T21:05:48.682Z] STF 15:05:48.097 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/results/26.LIST.stdout [2025-02-19T21:05:48.682Z] STF 15:05:48.097 - | ExpectedNumMatches: 1 [2025-02-19T21:05:48.682Z] STF 15:05:48.097 - | SearchStrings: ["com.hello"] [2025-02-19T21:05:48.682Z] STF 15:05:48.097 - | [2025-02-19T21:05:48.682Z] STF 15:05:48.097 - Found 1 instances of ["com.hello"] [2025-02-19T21:05:48.682Z] STF 15:05:48.097 - [2025-02-19T21:05:48.682Z] STF 15:05:48.097 - +------ Step 28 - Check output [2025-02-19T21:05:48.682Z] STF 15:05:48.097 - | Count file matches [2025-02-19T21:05:48.682Z] STF 15:05:48.097 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/results/26.LIST.stdout [2025-02-19T21:05:48.682Z] STF 15:05:48.097 - | ExpectedNumMatches: 1 [2025-02-19T21:05:48.682Z] STF 15:05:48.097 - | SearchStrings: ["com.test.jlink"] [2025-02-19T21:05:48.682Z] STF 15:05:48.097 - | [2025-02-19T21:05:48.682Z] STF 15:05:48.097 - Found 1 instances of ["com.test.jlink"] [2025-02-19T21:05:48.682Z] STF 15:05:48.097 - [2025-02-19T21:05:48.682Z] STF 15:05:48.097 - +------ Step 29 - Check output [2025-02-19T21:05:48.682Z] STF 15:05:48.097 - | Count file matches [2025-02-19T21:05:48.682Z] STF 15:05:48.097 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/results/26.LIST.stdout [2025-02-19T21:05:48.682Z] STF 15:05:48.097 - | ExpectedNumMatches: 1 [2025-02-19T21:05:48.682Z] STF 15:05:48.097 - | SearchStrings: ["java.base"] [2025-02-19T21:05:48.682Z] STF 15:05:48.097 - | [2025-02-19T21:05:48.682Z] STF 15:05:48.097 - Found 1 instances of ["java.base"] [2025-02-19T21:05:48.682Z] STF 15:05:48.097 - [2025-02-19T21:05:48.682Z] STF 15:05:48.097 - +------ Step 30 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-19T21:05:48.683Z] STF 15:05:48.097 - | Run foreground process [2025-02-19T21:05:48.683Z] STF 15:05:48.097 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/tmp/25.CRI3/bin/java [2025-02-19T21:05:48.683Z] STF 15:05:48.097 - | Mnemonic: T3 [2025-02-19T21:05:48.683Z] STF 15:05:48.097 - | Echo: ECHO_ON [2025-02-19T21:05:48.683Z] STF 15:05:48.097 - | Expectation: CLEAN_RUN within 1m [2025-02-19T21:05:48.683Z] STF 15:05:48.097 - | [2025-02-19T21:05:48.683Z] STF 15:05:48.098 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/tmp/25.CRI3/bin/java -Djava.library.path=/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-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-19T21:05:48.683Z] STF 15:05:48.098 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/results/30.T3.stderr [2025-02-19T21:05:48.683Z] STF 15:05:48.098 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/results/30.T3.stdout [2025-02-19T21:05:48.683Z] STF 15:05:48.099 - Monitoring processes: T3 [2025-02-19T21:05:48.683Z] T3 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-19T21:05:48.683Z] T3 JUnit version 4.12 [2025-02-19T21:05:48.683Z] T3 . [2025-02-19T21:05:48.683Z] T3 Time: 0.004 [2025-02-19T21:05:48.683Z] T3 [2025-02-19T21:05:48.683Z] T3 OK (1 test) [2025-02-19T21:05:48.683Z] T3 [2025-02-19T21:05:48.683Z] STF 15:05:48.282 - Monitoring Report Summary: [2025-02-19T21:05:48.683Z] STF 15:05:48.282 - o Process T3 ended with the expected exit code (0) [2025-02-19T21:05:48.683Z] STF 15:05:48.283 - EXECUTE stage completed [2025-02-19T21:05:48.683Z] STF 15:05:48.295 - [2025-02-19T21:05:48.683Z] STF 15:05:48.295 - ==================== T E A R D O W N ==================== [2025-02-19T21:05:48.683Z] STF 15:05:48.295 - Running teardown: perl /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17399989745812/Jlink_ReqMod_0/20250219-150541-JlinkTest/tearDown.pl [2025-02-19T21:05:48.683Z] STF 15:05:48.347 - TEARDOWN stage completed [2025-02-19T21:05:48.683Z] STF 15:05:48.356 - [2025-02-19T21:05:48.683Z] STF 15:05:48.356 - ===================== R E S U L T S ===================== [2025-02-19T21:05:48.683Z] STF 15:05:48.356 - Stage results: [2025-02-19T21:05:48.683Z] STF 15:05:48.356 - setUp: pass [2025-02-19T21:05:48.683Z] STF 15:05:48.356 - execute: pass [2025-02-19T21:05:48.683Z] STF 15:05:48.356 - teardown: pass [2025-02-19T21:05:48.683Z] STF 15:05:48.356 - [2025-02-19T21:05:48.683Z] STF 15:05:48.356 - Overall result: PASSED [2025-02-19T21:05:48.683Z] ----------------------------------- [2025-02-19T21:05:48.683Z] Jlink_ReqMod_0_PASSED [2025-02-19T21:05:48.683Z] ----------------------------------- [2025-02-19T21:05:48.683Z] [2025-02-19T21:05:48.683Z] TEST TEARDOWN: [2025-02-19T21:05:48.683Z] Nothing to be done for teardown. [2025-02-19T21:05:48.683Z] Jlink_ReqMod_0 Finish Time: Wed Feb 19 15:05:48 2025 Epoch Time (ms): 1739999148399