Jlink_ReqMod_1

[2025-02-19T21:05:48.683Z] Running test Jlink_ReqMod_1 ... [2025-02-19T21:05:48.683Z] =============================================== [2025-02-19T21:05:48.683Z] Jlink_ReqMod_1 Start Time: Wed Feb 19 15:05:48 2025 Epoch Time (ms): 1739999148429 [2025-02-19T21:05:48.683Z] variation: Mode650 [2025-02-19T21:05:48.683Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-02-19T21:05:48.683Z] { \ [2025-02-19T21:05:48.683Z] echo ""; echo "TEST SETUP:"; \ [2025-02-19T21:05:48.683Z] echo "Nothing to be done for setup."; \ [2025-02-19T21:05:48.683Z] mkdir -p "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17399989745812/Jlink_ReqMod_1"; \ [2025-02-19T21:05:48.683Z] cd "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17399989745812/Jlink_ReqMod_1"; \ [2025-02-19T21:05:48.683Z] echo ""; echo "TESTING:"; \ [2025-02-19T21:05:48.683Z] 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_1" -test=JlinkTest -test-args="variant=ReqdMod"; \ [2025-02-19T21:05:48.683Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "Jlink_ReqMod_1""_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_1"; else echo "-----------------------------------"; echo "Jlink_ReqMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-02-19T21:05:48.683Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-02-19T21:05:48.683Z] echo "Nothing to be done for teardown."; \ [2025-02-19T21:05:48.683Z] } 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:48.683Z] [2025-02-19T21:05:48.683Z] TEST SETUP: [2025-02-19T21:05:48.683Z] Nothing to be done for setup. [2025-02-19T21:05:48.683Z] [2025-02-19T21:05:48.683Z] TESTING: [2025-02-19T21:05:48.683Z] STF 15:05:48.492 - ========================= S T F ========================= [2025-02-19T21:05:48.683Z] 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_1 [2025-02-19T21:05:48.683Z] df: getattrlist failed: Input/output error [2025-02-19T21:05:48.683Z] There is 90081 Mb free [2025-02-19T21:05:48.683Z] STF 15:05:48.496 - ================== G E N E R A T I O N ================== [2025-02-19T21:05:48.683Z] STF 15:05:48.497 - Checking JVM: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2025-02-19T21:05:48.683Z] STF 15:05:48.497 - 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_1/20250219-150548-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_1/20250219-150548-JlinkTest" [2025-02-19T21:05:48.683Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-19T21:05:49.447Z] GEN 15:05:49.070 - 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:49.447Z] GEN 15:05:49.080 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.JlinkTest' [2025-02-19T21:05:49.447Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-02-19T21:05:49.447Z] 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:49.447Z] 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:49.447Z] 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:49.447Z] 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:49.447Z] 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:49.447Z] 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:49.447Z] 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:49.447Z] 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:49.447Z] 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:49.447Z] 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:49.447Z] 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:49.447Z] 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:49.447Z] 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:49.447Z] 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:49.447Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-02-19T21:05:49.447Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/STF/stf.core/bin [2025-02-19T21:05:49.447Z] GEN /Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-02-19T21:05:49.447Z] GEN /Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-02-19T21:05:49.447Z] GEN /Users/jenkins/testDependency/system_lib/junit/junit.jar [2025-02-19T21:05:49.447Z] GEN 15:05:49.191 - Using Mode NoOptions. Values = '' [2025-02-19T21:05:49.447Z] GEN 15:05:49.248 - [2025-02-19T21:05:49.447Z] GEN 15:05:49.248 - Test command summary: [2025-02-19T21:05:49.447Z] GEN 15:05:49.248 - Step Stage Command Description [2025-02-19T21:05:49.447Z] GEN 15:05:49.248 - -----+--------+-----------------+------------ [2025-02-19T21:05:49.447Z] GEN 15:05:49.248 - 1 setUp cpDir Copying com.test.jlink [2025-02-19T21:05:49.447Z] GEN 15:05:49.248 - 2 setUp rm Removing natives folder from com.test.jLinkDirCopy [2025-02-19T21:05:49.447Z] GEN 15:05:49.248 - 3 setUp jar Create com.test.jlink jar [2025-02-19T21:05:49.447Z] GEN 15:05:49.248 - 4 setUp jar Create com.hello jar [2025-02-19T21:05:49.447Z] GEN 15:05:49.248 - 5 setUp fileCheck Check com.test.jlink modular jar created [2025-02-19T21:05:49.447Z] GEN 15:05:49.248 - 6 setUp fileCheck Check com.hello modular jar created [2025-02-19T21:05:49.447Z] GEN 15:05:49.248 - 7 setUp rm Removing conf folder from com.test.jLinkDirCopy [2025-02-19T21:05:49.447Z] GEN 15:05:49.249 - 8 setUp cpDir Copying .so from com.test.jlink/native [2025-02-19T21:05:49.447Z] GEN 15:05:49.249 - 9 setUp jmod Creating jmod of com.test.jlink module [2025-02-19T21:05:49.447Z] GEN 15:05:49.249 - 10 setUp jmod Creating jmod for com.hello module [2025-02-19T21:05:49.447Z] GEN 15:05:49.249 - 11 setUp fileCheck Check com.test.jlink jmod created [2025-02-19T21:05:49.447Z] GEN 15:05:49.249 - 12 setUp fileCheck Check com.hello jmod created [2025-02-19T21:05:49.447Z] GEN 15:05:49.249 - 13 execute jlink Create runtime image [2025-02-19T21:05:49.447Z] GEN 15:05:49.249 - 14 execute Run java Running listmods [2025-02-19T21:05:49.447Z] GEN 15:05:49.249 - 15 execute count Check output [2025-02-19T21:05:49.447Z] GEN 15:05:49.249 - 16 execute count Check output [2025-02-19T21:05:49.447Z] GEN 15:05:49.249 - 17 execute count Check output [2025-02-19T21:05:49.447Z] GEN 15:05:49.249 - 18 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-19T21:05:49.447Z] GEN 15:05:49.249 - 19 execute jlink Create runtime image [2025-02-19T21:05:49.447Z] GEN 15:05:49.249 - 20 execute Run java Running listmods [2025-02-19T21:05:49.447Z] GEN 15:05:49.249 - 21 execute count Check output [2025-02-19T21:05:49.447Z] GEN 15:05:49.249 - 22 execute count Check output [2025-02-19T21:05:49.447Z] GEN 15:05:49.249 - 23 execute count Check output [2025-02-19T21:05:49.447Z] GEN 15:05:49.249 - 24 execute Run java Running adoptopenjdk.test.modularity.jlink.JniTest [2025-02-19T21:05:49.447Z] GEN 15:05:49.249 - 25 execute jlink Create runtime image [2025-02-19T21:05:49.447Z] GEN 15:05:49.249 - 26 execute Run java Running listmods [2025-02-19T21:05:49.447Z] GEN 15:05:49.249 - 27 execute count Check output [2025-02-19T21:05:49.447Z] GEN 15:05:49.250 - 28 execute count Check output [2025-02-19T21:05:49.447Z] GEN 15:05:49.250 - 29 execute count Check output [2025-02-19T21:05:49.447Z] GEN 15:05:49.250 - 30 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-19T21:05:49.447Z] STF 15:05:49.279 - [2025-02-19T21:05:49.447Z] STF 15:05:49.279 - Script generation completed [2025-02-19T21:05:49.447Z] STF 15:05:49.279 - [2025-02-19T21:05:49.447Z] STF 15:05:49.279 - [2025-02-19T21:05:49.447Z] STF 15:05:49.279 - ======================= S E T U P ======================= [2025-02-19T21:05:49.447Z] STF 15:05:49.279 - Running setup: perl /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/setUp.pl [2025-02-19T21:05:50.212Z] STF 15:05:49.329 - [2025-02-19T21:05:50.212Z] STF 15:05:49.329 - +------ Step 1 - Copying com.test.jlink [2025-02-19T21:05:50.212Z] STF 15:05:49.329 - | Copy a directory to a new directory [2025-02-19T21:05:50.212Z] STF 15:05:49.329 - | 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:50.212Z] STF 15:05:49.329 - | Dest dir: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/com.test.jLinkDirCopy [2025-02-19T21:05:50.212Z] STF 15:05:49.329 - | [2025-02-19T21:05:50.212Z] STF 15:05:49.333 - [2025-02-19T21:05:50.212Z] STF 15:05:49.333 - +------ Step 2 - Removing natives folder from com.test.jLinkDirCopy [2025-02-19T21:05:50.212Z] STF 15:05:49.333 - | Recursively delete a directory [2025-02-19T21:05:50.212Z] STF 15:05:49.333 - | Directory: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/com.test.jLinkDirCopy/native [2025-02-19T21:05:50.212Z] STF 15:05:49.333 - | [2025-02-19T21:05:50.212Z] STF 15:05:49.334 - [2025-02-19T21:05:50.212Z] STF 15:05:49.334 - +------ Step 3 - Create com.test.jlink jar [2025-02-19T21:05:50.212Z] STF 15:05:49.334 - | Create modular jar [2025-02-19T21:05:50.212Z] STF 15:05:49.334 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test.jlink [2025-02-19T21:05:50.212Z] STF 15:05:49.334 - | ModuleVersion: null [2025-02-19T21:05:50.212Z] STF 15:05:49.334 - | MainClass: null [2025-02-19T21:05:50.212Z] STF 15:05:49.334 - | HashModules: null [2025-02-19T21:05:50.212Z] STF 15:05:49.334 - | [2025-02-19T21:05:50.212Z] STF 15:05:49.334 - 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_1/20250219-150548-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:50.212Z] STF 15:05:49.334 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/results/3.CMJ.stderr [2025-02-19T21:05:50.212Z] STF 15:05:49.334 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/results/3.CMJ.stdout [2025-02-19T21:05:50.212Z] STF 15:05:49.343 - Monitoring processes: CMJ [2025-02-19T21:05:50.212Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-19T21:05:50.212Z] STF 15:05:49.540 - Monitoring Report Summary: [2025-02-19T21:05:50.212Z] STF 15:05:49.540 - o Process CMJ ended with the expected exit code (0) [2025-02-19T21:05:50.212Z] STF 15:05:49.541 - Created modular jar: 3.com.test.jlink.jar [2025-02-19T21:05:50.212Z] STF 15:05:49.541 - [2025-02-19T21:05:50.212Z] STF 15:05:49.541 - +------ Step 4 - Create com.hello jar [2025-02-19T21:05:50.212Z] STF 15:05:49.541 - | Create modular jar [2025-02-19T21:05:50.212Z] STF 15:05:49.541 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-02-19T21:05:50.212Z] STF 15:05:49.541 - | ModuleVersion: null [2025-02-19T21:05:50.212Z] STF 15:05:49.541 - | MainClass: null [2025-02-19T21:05:50.212Z] STF 15:05:49.541 - | HashModules: null [2025-02-19T21:05:50.212Z] STF 15:05:49.541 - | [2025-02-19T21:05:50.212Z] STF 15:05:49.541 - 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_1/20250219-150548-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:50.212Z] STF 15:05:49.541 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/results/4.CMJ.stderr [2025-02-19T21:05:50.212Z] STF 15:05:49.541 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/results/4.CMJ.stdout [2025-02-19T21:05:50.212Z] STF 15:05:49.542 - Monitoring processes: CMJ [2025-02-19T21:05:50.212Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-19T21:05:50.212Z] STF 15:05:49.737 - Monitoring Report Summary: [2025-02-19T21:05:50.212Z] STF 15:05:49.737 - o Process CMJ ended with the expected exit code (0) [2025-02-19T21:05:50.212Z] STF 15:05:49.737 - Created modular jar: 4.com.hello.jar [2025-02-19T21:05:50.212Z] STF 15:05:49.737 - [2025-02-19T21:05:50.212Z] STF 15:05:49.737 - +------ Step 5 - Check com.test.jlink modular jar created [2025-02-19T21:05:50.212Z] STF 15:05:49.737 - | Validate file exists [2025-02-19T21:05:50.212Z] STF 15:05:49.737 - | File: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/modules/3.com.test.jlink.jar [2025-02-19T21:05:50.212Z] STF 15:05:49.737 - | [2025-02-19T21:05:50.212Z] STF 15:05:49.737 - [2025-02-19T21:05:50.212Z] STF 15:05:49.737 - +------ Step 6 - Check com.hello modular jar created [2025-02-19T21:05:50.212Z] STF 15:05:49.737 - | Validate file exists [2025-02-19T21:05:50.212Z] STF 15:05:49.737 - | File: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/modules/4.com.hello.jar [2025-02-19T21:05:50.212Z] STF 15:05:49.737 - | [2025-02-19T21:05:50.212Z] STF 15:05:49.737 - [2025-02-19T21:05:50.212Z] STF 15:05:49.737 - +------ Step 7 - Removing conf folder from com.test.jLinkDirCopy [2025-02-19T21:05:50.212Z] STF 15:05:49.737 - | Recursively delete a directory [2025-02-19T21:05:50.212Z] STF 15:05:49.737 - | Directory: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/com.test.jLinkDirCopy/conf [2025-02-19T21:05:50.212Z] STF 15:05:49.737 - | [2025-02-19T21:05:50.212Z] STF 15:05:49.738 - [2025-02-19T21:05:50.212Z] STF 15:05:49.738 - +------ Step 8 - Copying .so from com.test.jlink/native [2025-02-19T21:05:50.212Z] STF 15:05:49.738 - | Copy a directory to a new directory [2025-02-19T21:05:50.212Z] STF 15:05:49.738 - | 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:50.212Z] STF 15:05:49.738 - | Dest dir: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/native [2025-02-19T21:05:50.212Z] STF 15:05:49.738 - | [2025-02-19T21:05:50.212Z] STF 15:05:49.738 - [2025-02-19T21:05:50.212Z] STF 15:05:49.738 - +------ Step 9 - Creating jmod of com.test.jlink module [2025-02-19T21:05:50.212Z] STF 15:05:49.738 - | Run jmod utility [2025-02-19T21:05:50.212Z] STF 15:05:49.738 - | jmod: com.test.jlink.jmod [2025-02-19T21:05:50.212Z] STF 15:05:49.738 - | [2025-02-19T21:05:50.212Z] STF 15:05:49.738 - 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_1/20250219-150548-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_1/20250219-150548-JlinkTest/native /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/tmp/com.test.jlink.jmod [2025-02-19T21:05:50.212Z] STF 15:05:49.738 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/results/9.JMOD.stderr [2025-02-19T21:05:50.212Z] STF 15:05:49.738 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/results/9.JMOD.stdout [2025-02-19T21:05:50.212Z] STF 15:05:49.739 - Monitoring processes: JMOD [2025-02-19T21:05:50.212Z] JMOD stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-19T21:05:50.212Z] STF 15:05:49.933 - Monitoring Report Summary: [2025-02-19T21:05:50.212Z] STF 15:05:49.933 - o Process JMOD ended with the expected exit code (0) [2025-02-19T21:05:50.212Z] STF 15:05:49.933 - [2025-02-19T21:05:50.212Z] STF 15:05:49.933 - +------ Step 10 - Creating jmod for com.hello module [2025-02-19T21:05:50.212Z] STF 15:05:49.933 - | Run jmod utility [2025-02-19T21:05:50.212Z] STF 15:05:49.933 - | jmod: com.hello.jmod [2025-02-19T21:05:50.212Z] STF 15:05:49.933 - | [2025-02-19T21:05:50.212Z] STF 15:05:49.933 - 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_1/20250219-150548-JlinkTest/tmp/com.hello.jmod [2025-02-19T21:05:50.212Z] STF 15:05:49.933 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/results/10.JMOD.stderr [2025-02-19T21:05:50.212Z] STF 15:05:49.933 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/results/10.JMOD.stdout [2025-02-19T21:05:50.212Z] STF 15:05:49.934 - Monitoring processes: JMOD [2025-02-19T21:05:50.212Z] JMOD stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-19T21:05:50.981Z] STF 15:05:50.135 - Monitoring Report Summary: [2025-02-19T21:05:50.981Z] STF 15:05:50.135 - o Process JMOD ended with the expected exit code (0) [2025-02-19T21:05:50.981Z] STF 15:05:50.135 - [2025-02-19T21:05:50.981Z] STF 15:05:50.135 - +------ Step 11 - Check com.test.jlink jmod created [2025-02-19T21:05:50.981Z] STF 15:05:50.135 - | Validate file exists [2025-02-19T21:05:50.981Z] STF 15:05:50.135 - | File: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/tmp/com.test.jlink.jmod [2025-02-19T21:05:50.981Z] STF 15:05:50.135 - | [2025-02-19T21:05:50.981Z] STF 15:05:50.135 - [2025-02-19T21:05:50.981Z] STF 15:05:50.135 - +------ Step 12 - Check com.hello jmod created [2025-02-19T21:05:50.981Z] STF 15:05:50.135 - | Validate file exists [2025-02-19T21:05:50.981Z] STF 15:05:50.135 - | File: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/tmp/com.hello.jmod [2025-02-19T21:05:50.981Z] STF 15:05:50.135 - | [2025-02-19T21:05:50.981Z] STF 15:05:50.135 - SETUP stage completed [2025-02-19T21:05:50.981Z] STF 15:05:50.143 - [2025-02-19T21:05:50.981Z] STF 15:05:50.143 - ==================== E X E C U T E - ==================== [2025-02-19T21:05:50.981Z] STF 15:05:50.143 - Running execute: perl /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/execute.pl [2025-02-19T21:05:50.981Z] STF 15:05:50.192 - [2025-02-19T21:05:50.981Z] STF 15:05:50.192 - Java version [2025-02-19T21:05:50.981Z] STF 15:05:50.192 - Running: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2025-02-19T21:05:50.981Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-19T21:05:50.981Z] openjdk version "21.0.7-beta" 2025-04-15 [2025-02-19T21:05:50.981Z] OpenJDK Runtime Environment Temurin-21.0.7+3-202502192007 (build 21.0.7-beta+3-ea) [2025-02-19T21:05:50.981Z] OpenJDK 64-Bit Server VM Temurin-21.0.7+3-202502192007 (build 21.0.7-beta+3-ea, mixed mode) [2025-02-19T21:05:50.981Z] STF 15:05:50.252 - [2025-02-19T21:05:50.981Z] STF 15:05:50.252 - +------ Step 13 - Create runtime image [2025-02-19T21:05:50.981Z] STF 15:05:50.252 - | Run jlink to create runtime image [2025-02-19T21:05:50.981Z] STF 15:05:50.252 - | ImageName: CRI1 [2025-02-19T21:05:50.981Z] STF 15:05:50.252 - | [2025-02-19T21:05:50.981Z] STF 15:05:50.252 - 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_1/20250219-150548-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_1/20250219-150548-JlinkTest/tmp/13.CRI1 [2025-02-19T21:05:50.981Z] STF 15:05:50.252 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/results/13.JLNK.stderr [2025-02-19T21:05:50.981Z] STF 15:05:50.252 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/results/13.JLNK.stdout [2025-02-19T21:05:50.981Z] STF 15:05:50.259 - Monitoring processes: JLNK [2025-02-19T21:05:50.981Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-19T21:05:51.746Z] STF 15:05:51.366 - Monitoring Report Summary: [2025-02-19T21:05:51.746Z] STF 15:05:51.366 - o Process JLNK ended with the expected exit code (0) [2025-02-19T21:05:51.746Z] STF 15:05:51.366 - [2025-02-19T21:05:51.746Z] STF 15:05:51.366 - +------ Step 14 - Running listmods [2025-02-19T21:05:51.746Z] STF 15:05:51.366 - | Run foreground process [2025-02-19T21:05:51.746Z] STF 15:05:51.366 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/tmp/13.CRI1/bin/java [2025-02-19T21:05:51.746Z] STF 15:05:51.366 - | Mnemonic: LIST [2025-02-19T21:05:51.746Z] STF 15:05:51.366 - | Echo: ECHO_ON [2025-02-19T21:05:51.746Z] STF 15:05:51.366 - | Expectation: CLEAN_RUN within 1m [2025-02-19T21:05:51.746Z] STF 15:05:51.366 - | [2025-02-19T21:05:51.746Z] STF 15:05:51.366 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/tmp/13.CRI1/bin/java --list-modules -XX:-UseCompressedOops [2025-02-19T21:05:51.746Z] STF 15:05:51.366 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/results/14.LIST.stderr [2025-02-19T21:05:51.746Z] STF 15:05:51.366 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/results/14.LIST.stdout [2025-02-19T21:05:51.746Z] STF 15:05:51.367 - Monitoring processes: LIST [2025-02-19T21:05:51.746Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-19T21:05:51.746Z] LIST com.hello [2025-02-19T21:05:51.746Z] LIST com.test.jlink [2025-02-19T21:05:51.746Z] LIST java.base@21.0.7-beta [2025-02-19T21:05:51.746Z] STF 15:05:51.501 - Monitoring Report Summary: [2025-02-19T21:05:51.746Z] STF 15:05:51.502 - o Process LIST ended with the expected exit code (0) [2025-02-19T21:05:51.746Z] STF 15:05:51.502 - [2025-02-19T21:05:51.746Z] STF 15:05:51.502 - +------ Step 15 - Check output [2025-02-19T21:05:51.746Z] STF 15:05:51.502 - | Count file matches [2025-02-19T21:05:51.746Z] STF 15:05:51.502 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/results/14.LIST.stdout [2025-02-19T21:05:51.746Z] STF 15:05:51.502 - | ExpectedNumMatches: 1 [2025-02-19T21:05:51.746Z] STF 15:05:51.502 - | SearchStrings: ["com.hello"] [2025-02-19T21:05:51.746Z] STF 15:05:51.502 - | [2025-02-19T21:05:51.746Z] STF 15:05:51.502 - Found 1 instances of ["com.hello"] [2025-02-19T21:05:51.746Z] STF 15:05:51.502 - [2025-02-19T21:05:51.746Z] STF 15:05:51.502 - +------ Step 16 - Check output [2025-02-19T21:05:51.746Z] STF 15:05:51.502 - | Count file matches [2025-02-19T21:05:51.746Z] STF 15:05:51.502 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/results/14.LIST.stdout [2025-02-19T21:05:51.746Z] STF 15:05:51.502 - | ExpectedNumMatches: 1 [2025-02-19T21:05:51.746Z] STF 15:05:51.502 - | SearchStrings: ["com.test.jlink"] [2025-02-19T21:05:51.746Z] STF 15:05:51.502 - | [2025-02-19T21:05:51.746Z] STF 15:05:51.502 - Found 1 instances of ["com.test.jlink"] [2025-02-19T21:05:51.746Z] STF 15:05:51.502 - [2025-02-19T21:05:51.746Z] STF 15:05:51.502 - +------ Step 17 - Check output [2025-02-19T21:05:51.746Z] STF 15:05:51.502 - | Count file matches [2025-02-19T21:05:51.746Z] STF 15:05:51.502 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/results/14.LIST.stdout [2025-02-19T21:05:51.746Z] STF 15:05:51.502 - | ExpectedNumMatches: 1 [2025-02-19T21:05:51.746Z] STF 15:05:51.502 - | SearchStrings: ["java.base"] [2025-02-19T21:05:51.746Z] STF 15:05:51.502 - | [2025-02-19T21:05:51.746Z] STF 15:05:51.502 - Found 1 instances of ["java.base"] [2025-02-19T21:05:51.746Z] STF 15:05:51.502 - [2025-02-19T21:05:51.746Z] STF 15:05:51.502 - +------ Step 18 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-19T21:05:51.746Z] STF 15:05:51.502 - | Run foreground process [2025-02-19T21:05:51.746Z] STF 15:05:51.502 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/tmp/13.CRI1/bin/java [2025-02-19T21:05:51.746Z] STF 15:05:51.502 - | Mnemonic: T1 [2025-02-19T21:05:51.746Z] STF 15:05:51.502 - | Echo: ECHO_ON [2025-02-19T21:05:51.746Z] STF 15:05:51.502 - | Expectation: CLEAN_RUN within 1m [2025-02-19T21:05:51.746Z] STF 15:05:51.502 - | [2025-02-19T21:05:51.746Z] STF 15:05:51.502 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-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_1/20250219-150548-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:51.746Z] STF 15:05:51.502 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/results/18.T1.stderr [2025-02-19T21:05:51.746Z] STF 15:05:51.502 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/results/18.T1.stdout [2025-02-19T21:05:51.746Z] STF 15:05:51.503 - Monitoring processes: T1 [2025-02-19T21:05:51.746Z] T1 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-19T21:05:51.746Z] T1 JUnit version 4.12 [2025-02-19T21:05:52.514Z] T1 . [2025-02-19T21:05:52.514Z] T1 Time: 0.004 [2025-02-19T21:05:52.514Z] T1 [2025-02-19T21:05:52.514Z] T1 OK (1 test) [2025-02-19T21:05:52.514Z] T1 [2025-02-19T21:05:52.514Z] STF 15:05:51.676 - Monitoring Report Summary: [2025-02-19T21:05:52.514Z] STF 15:05:51.676 - o Process T1 ended with the expected exit code (0) [2025-02-19T21:05:52.514Z] STF 15:05:51.676 - [2025-02-19T21:05:52.514Z] STF 15:05:51.676 - +------ Step 19 - Create runtime image [2025-02-19T21:05:52.514Z] STF 15:05:51.676 - | Run jlink to create runtime image [2025-02-19T21:05:52.514Z] STF 15:05:51.676 - | ImageName: CRI2 [2025-02-19T21:05:52.514Z] STF 15:05:51.676 - | [2025-02-19T21:05:52.514Z] STF 15:05:51.676 - 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_1/20250219-150548-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_1/20250219-150548-JlinkTest/tmp/19.CRI2 [2025-02-19T21:05:52.514Z] STF 15:05:51.676 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/results/19.JLNK.stderr [2025-02-19T21:05:52.514Z] STF 15:05:51.676 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/results/19.JLNK.stdout [2025-02-19T21:05:52.514Z] STF 15:05:51.677 - Monitoring processes: JLNK [2025-02-19T21:05:52.514Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-19T21:05:53.278Z] STF 15:05:52.761 - Monitoring Report Summary: [2025-02-19T21:05:53.278Z] STF 15:05:52.761 - o Process JLNK ended with the expected exit code (0) [2025-02-19T21:05:53.278Z] STF 15:05:52.761 - [2025-02-19T21:05:53.278Z] STF 15:05:52.761 - +------ Step 20 - Running listmods [2025-02-19T21:05:53.278Z] STF 15:05:52.761 - | Run foreground process [2025-02-19T21:05:53.278Z] STF 15:05:52.761 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/tmp/19.CRI2/bin/java [2025-02-19T21:05:53.278Z] STF 15:05:52.761 - | Mnemonic: LIST [2025-02-19T21:05:53.278Z] STF 15:05:52.761 - | Echo: ECHO_ON [2025-02-19T21:05:53.278Z] STF 15:05:52.761 - | Expectation: CLEAN_RUN within 1m [2025-02-19T21:05:53.278Z] STF 15:05:52.761 - | [2025-02-19T21:05:53.278Z] STF 15:05:52.761 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/tmp/19.CRI2/bin/java --list-modules -XX:-UseCompressedOops [2025-02-19T21:05:53.278Z] STF 15:05:52.761 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/results/20.LIST.stderr [2025-02-19T21:05:53.278Z] STF 15:05:52.761 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/results/20.LIST.stdout [2025-02-19T21:05:53.278Z] STF 15:05:52.763 - Monitoring processes: LIST [2025-02-19T21:05:53.278Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-19T21:05:53.278Z] LIST com.hello [2025-02-19T21:05:53.278Z] LIST com.test.jlink [2025-02-19T21:05:53.278Z] LIST java.base@21.0.7-beta [2025-02-19T21:05:53.278Z] STF 15:05:52.912 - Monitoring Report Summary: [2025-02-19T21:05:53.278Z] STF 15:05:52.912 - o Process LIST ended with the expected exit code (0) [2025-02-19T21:05:53.278Z] STF 15:05:52.913 - [2025-02-19T21:05:53.278Z] STF 15:05:52.913 - +------ Step 21 - Check output [2025-02-19T21:05:53.278Z] STF 15:05:52.913 - | Count file matches [2025-02-19T21:05:53.278Z] STF 15:05:52.913 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/results/20.LIST.stdout [2025-02-19T21:05:53.278Z] STF 15:05:52.913 - | ExpectedNumMatches: 1 [2025-02-19T21:05:53.278Z] STF 15:05:52.913 - | SearchStrings: ["com.hello"] [2025-02-19T21:05:53.278Z] STF 15:05:52.913 - | [2025-02-19T21:05:53.278Z] STF 15:05:52.913 - Found 1 instances of ["com.hello"] [2025-02-19T21:05:53.278Z] STF 15:05:52.913 - [2025-02-19T21:05:53.278Z] STF 15:05:52.913 - +------ Step 22 - Check output [2025-02-19T21:05:53.278Z] STF 15:05:52.913 - | Count file matches [2025-02-19T21:05:53.278Z] STF 15:05:52.913 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/results/20.LIST.stdout [2025-02-19T21:05:53.278Z] STF 15:05:52.913 - | ExpectedNumMatches: 1 [2025-02-19T21:05:53.278Z] STF 15:05:52.913 - | SearchStrings: ["com.test.jlink"] [2025-02-19T21:05:53.278Z] STF 15:05:52.913 - | [2025-02-19T21:05:53.278Z] STF 15:05:52.913 - Found 1 instances of ["com.test.jlink"] [2025-02-19T21:05:53.278Z] STF 15:05:52.913 - [2025-02-19T21:05:53.278Z] STF 15:05:52.913 - +------ Step 23 - Check output [2025-02-19T21:05:53.278Z] STF 15:05:52.913 - | Count file matches [2025-02-19T21:05:53.278Z] STF 15:05:52.913 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/results/20.LIST.stdout [2025-02-19T21:05:53.278Z] STF 15:05:52.913 - | ExpectedNumMatches: 1 [2025-02-19T21:05:53.278Z] STF 15:05:52.913 - | SearchStrings: ["java.base"] [2025-02-19T21:05:53.278Z] STF 15:05:52.913 - | [2025-02-19T21:05:53.278Z] STF 15:05:52.913 - Found 1 instances of ["java.base"] [2025-02-19T21:05:53.278Z] STF 15:05:52.913 - [2025-02-19T21:05:53.278Z] STF 15:05:52.913 - +------ Step 24 - Running adoptopenjdk.test.modularity.jlink.JniTest [2025-02-19T21:05:53.278Z] STF 15:05:52.913 - | Run foreground process [2025-02-19T21:05:53.278Z] STF 15:05:52.913 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/tmp/19.CRI2/bin/java [2025-02-19T21:05:53.278Z] STF 15:05:52.913 - | Mnemonic: T2 [2025-02-19T21:05:53.278Z] STF 15:05:52.913 - | Echo: ECHO_ON [2025-02-19T21:05:53.278Z] STF 15:05:52.913 - | Expectation: CLEAN_RUN within 1m [2025-02-19T21:05:53.278Z] STF 15:05:52.913 - | [2025-02-19T21:05:53.279Z] STF 15:05:52.913 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-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_1/20250219-150548-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:53.279Z] STF 15:05:52.913 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/results/24.T2.stderr [2025-02-19T21:05:53.279Z] STF 15:05:52.913 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/results/24.T2.stdout [2025-02-19T21:05:53.279Z] STF 15:05:52.914 - Monitoring processes: T2 [2025-02-19T21:05:53.279Z] T2 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-19T21:05:53.279Z] T2 JUnit version 4.12 [2025-02-19T21:05:53.279Z] T2 . [2025-02-19T21:05:53.279Z] T2 Time: 0.004 [2025-02-19T21:05:53.279Z] T2 [2025-02-19T21:05:53.279Z] T2 OK (1 test) [2025-02-19T21:05:53.279Z] T2 [2025-02-19T21:05:53.279Z] STF 15:05:53.092 - Monitoring Report Summary: [2025-02-19T21:05:53.279Z] STF 15:05:53.092 - o Process T2 ended with the expected exit code (0) [2025-02-19T21:05:53.279Z] STF 15:05:53.092 - [2025-02-19T21:05:53.279Z] STF 15:05:53.092 - +------ Step 25 - Create runtime image [2025-02-19T21:05:53.279Z] STF 15:05:53.092 - | Run jlink to create runtime image [2025-02-19T21:05:53.279Z] STF 15:05:53.092 - | ImageName: CRI3 [2025-02-19T21:05:53.279Z] STF 15:05:53.092 - | [2025-02-19T21:05:53.279Z] STF 15:05:53.092 - 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_1/20250219-150548-JlinkTest/tmp/25.CRI3 [2025-02-19T21:05:53.279Z] STF 15:05:53.092 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/results/25.JLNK.stderr [2025-02-19T21:05:53.279Z] STF 15:05:53.092 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/results/25.JLNK.stdout [2025-02-19T21:05:53.279Z] STF 15:05:53.093 - Monitoring processes: JLNK [2025-02-19T21:05:53.279Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-19T21:05:54.929Z] STF 15:05:54.248 - Monitoring Report Summary: [2025-02-19T21:05:54.929Z] STF 15:05:54.248 - o Process JLNK ended with the expected exit code (0) [2025-02-19T21:05:54.929Z] STF 15:05:54.248 - [2025-02-19T21:05:54.929Z] STF 15:05:54.248 - +------ Step 26 - Running listmods [2025-02-19T21:05:54.929Z] STF 15:05:54.248 - | Run foreground process [2025-02-19T21:05:54.929Z] STF 15:05:54.248 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/tmp/25.CRI3/bin/java [2025-02-19T21:05:54.929Z] STF 15:05:54.248 - | Mnemonic: LIST [2025-02-19T21:05:54.929Z] STF 15:05:54.248 - | Echo: ECHO_ON [2025-02-19T21:05:54.929Z] STF 15:05:54.248 - | Expectation: CLEAN_RUN within 1m [2025-02-19T21:05:54.929Z] STF 15:05:54.248 - | [2025-02-19T21:05:54.929Z] STF 15:05:54.248 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/tmp/25.CRI3/bin/java --list-modules -XX:-UseCompressedOops [2025-02-19T21:05:54.929Z] STF 15:05:54.248 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/results/26.LIST.stderr [2025-02-19T21:05:54.929Z] STF 15:05:54.248 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/results/26.LIST.stdout [2025-02-19T21:05:54.929Z] STF 15:05:54.251 - Monitoring processes: LIST [2025-02-19T21:05:54.929Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-19T21:05:54.929Z] LIST com.hello [2025-02-19T21:05:54.929Z] LIST com.test.jlink [2025-02-19T21:05:54.929Z] LIST java.base@21.0.7-beta [2025-02-19T21:05:54.929Z] STF 15:05:54.396 - Monitoring Report Summary: [2025-02-19T21:05:54.929Z] STF 15:05:54.396 - o Process LIST ended with the expected exit code (0) [2025-02-19T21:05:54.929Z] STF 15:05:54.396 - [2025-02-19T21:05:54.929Z] STF 15:05:54.396 - +------ Step 27 - Check output [2025-02-19T21:05:54.929Z] STF 15:05:54.396 - | Count file matches [2025-02-19T21:05:54.930Z] STF 15:05:54.396 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/results/26.LIST.stdout [2025-02-19T21:05:54.930Z] STF 15:05:54.396 - | ExpectedNumMatches: 1 [2025-02-19T21:05:54.930Z] STF 15:05:54.396 - | SearchStrings: ["com.hello"] [2025-02-19T21:05:54.930Z] STF 15:05:54.396 - | [2025-02-19T21:05:54.930Z] STF 15:05:54.396 - Found 1 instances of ["com.hello"] [2025-02-19T21:05:54.930Z] STF 15:05:54.396 - [2025-02-19T21:05:54.930Z] STF 15:05:54.396 - +------ Step 28 - Check output [2025-02-19T21:05:54.930Z] STF 15:05:54.396 - | Count file matches [2025-02-19T21:05:54.930Z] STF 15:05:54.396 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/results/26.LIST.stdout [2025-02-19T21:05:54.930Z] STF 15:05:54.396 - | ExpectedNumMatches: 1 [2025-02-19T21:05:54.930Z] STF 15:05:54.396 - | SearchStrings: ["com.test.jlink"] [2025-02-19T21:05:54.930Z] STF 15:05:54.396 - | [2025-02-19T21:05:54.930Z] STF 15:05:54.396 - Found 1 instances of ["com.test.jlink"] [2025-02-19T21:05:54.930Z] STF 15:05:54.397 - [2025-02-19T21:05:54.930Z] STF 15:05:54.397 - +------ Step 29 - Check output [2025-02-19T21:05:54.930Z] STF 15:05:54.397 - | Count file matches [2025-02-19T21:05:54.930Z] STF 15:05:54.397 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/results/26.LIST.stdout [2025-02-19T21:05:54.930Z] STF 15:05:54.397 - | ExpectedNumMatches: 1 [2025-02-19T21:05:54.930Z] STF 15:05:54.397 - | SearchStrings: ["java.base"] [2025-02-19T21:05:54.930Z] STF 15:05:54.397 - | [2025-02-19T21:05:54.930Z] STF 15:05:54.397 - Found 1 instances of ["java.base"] [2025-02-19T21:05:54.930Z] STF 15:05:54.397 - [2025-02-19T21:05:54.930Z] STF 15:05:54.397 - +------ Step 30 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-19T21:05:54.930Z] STF 15:05:54.397 - | Run foreground process [2025-02-19T21:05:54.930Z] STF 15:05:54.397 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/tmp/25.CRI3/bin/java [2025-02-19T21:05:54.930Z] STF 15:05:54.397 - | Mnemonic: T3 [2025-02-19T21:05:54.930Z] STF 15:05:54.397 - | Echo: ECHO_ON [2025-02-19T21:05:54.930Z] STF 15:05:54.397 - | Expectation: CLEAN_RUN within 1m [2025-02-19T21:05:54.930Z] STF 15:05:54.397 - | [2025-02-19T21:05:54.930Z] STF 15:05:54.397 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-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_1/20250219-150548-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:54.930Z] STF 15:05:54.397 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/results/30.T3.stderr [2025-02-19T21:05:54.930Z] STF 15:05:54.397 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/results/30.T3.stdout [2025-02-19T21:05:54.930Z] STF 15:05:54.398 - Monitoring processes: T3 [2025-02-19T21:05:54.930Z] T3 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-19T21:05:54.930Z] T3 JUnit version 4.12 [2025-02-19T21:05:54.930Z] T3 . [2025-02-19T21:05:54.930Z] T3 Time: 0.005 [2025-02-19T21:05:54.930Z] T3 [2025-02-19T21:05:54.930Z] T3 OK (1 test) [2025-02-19T21:05:54.930Z] T3 [2025-02-19T21:05:54.930Z] STF 15:05:54.588 - Monitoring Report Summary: [2025-02-19T21:05:54.930Z] STF 15:05:54.588 - o Process T3 ended with the expected exit code (0) [2025-02-19T21:05:54.930Z] STF 15:05:54.588 - EXECUTE stage completed [2025-02-19T21:05:54.930Z] STF 15:05:54.606 - [2025-02-19T21:05:54.930Z] STF 15:05:54.606 - ==================== T E A R D O W N ==================== [2025-02-19T21:05:54.930Z] STF 15:05:54.606 - Running teardown: perl /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17399989745812/Jlink_ReqMod_1/20250219-150548-JlinkTest/tearDown.pl [2025-02-19T21:05:54.930Z] STF 15:05:54.650 - TEARDOWN stage completed [2025-02-19T21:05:54.930Z] STF 15:05:54.658 - [2025-02-19T21:05:54.930Z] STF 15:05:54.658 - ===================== R E S U L T S ===================== [2025-02-19T21:05:54.930Z] STF 15:05:54.658 - Stage results: [2025-02-19T21:05:54.930Z] STF 15:05:54.658 - setUp: pass [2025-02-19T21:05:54.930Z] STF 15:05:54.658 - execute: pass [2025-02-19T21:05:54.930Z] STF 15:05:54.658 - teardown: pass [2025-02-19T21:05:54.930Z] STF 15:05:54.658 - [2025-02-19T21:05:54.930Z] STF 15:05:54.658 - Overall result: PASSED [2025-02-19T21:05:54.930Z] ----------------------------------- [2025-02-19T21:05:54.930Z] Jlink_ReqMod_1_PASSED [2025-02-19T21:05:54.930Z] ----------------------------------- [2025-02-19T21:05:54.930Z] [2025-02-19T21:05:54.930Z] TEST TEARDOWN: [2025-02-19T21:05:54.930Z] Nothing to be done for teardown. [2025-02-19T21:05:54.930Z] Jlink_ReqMod_1 Finish Time: Wed Feb 19 15:05:54 2025 Epoch Time (ms): 1739999154697