Jlink_ReqMod_1

[2025-02-26T21:49:55.532Z] Running test Jlink_ReqMod_1 ... [2025-02-26T21:49:55.532Z] =============================================== [2025-02-26T21:49:55.974Z] Jlink_ReqMod_1 Start Time: Wed Feb 26 13:49:55 2025 Epoch Time (ms): 1740606595515 [2025-02-26T21:49:55.974Z] variation: Mode650 [2025-02-26T21:49:55.974Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-02-26T21:49:55.974Z] { \ [2025-02-26T21:49:55.974Z] echo ""; echo "TEST SETUP:"; \ [2025-02-26T21:49:55.974Z] echo "Nothing to be done for setup."; \ [2025-02-26T21:49:55.974Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_1740605292962/Jlink_ReqMod_1"; \ [2025-02-26T21:49:55.974Z] cd "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_1740605292962/Jlink_ReqMod_1"; \ [2025-02-26T21:49:55.974Z] echo ""; echo "TESTING:"; \ [2025-02-26T21:49:55.974Z] perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/../../testDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_1740605292962/Jlink_ReqMod_1" -test=JlinkTest -test-args="variant=ReqdMod"; \ [2025-02-26T21:49:55.974Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "Jlink_ReqMod_1""_PASSED"; echo "-----------------------------------"; cd /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/..; rm -f -r "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_1740605292962/Jlink_ReqMod_1"; else echo "-----------------------------------"; echo "Jlink_ReqMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-02-26T21:49:55.974Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-02-26T21:49:55.974Z] echo "Nothing to be done for teardown."; \ [2025-02-26T21:49:55.974Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_1740605292962/TestTargetResult"; [2025-02-26T21:49:55.974Z] [2025-02-26T21:49:55.974Z] TEST SETUP: [2025-02-26T21:49:55.974Z] Nothing to be done for setup. [2025-02-26T21:49:55.974Z] [2025-02-26T21:49:55.974Z] TESTING: [2025-02-26T21:49:56.707Z] STF 13:49:55.871 - ========================= S T F ========================= [2025-02-26T21:49:56.707Z] systemtest-prereqs has been processed, and set to: /Users/admin/workspace/testDependency/system_libRetrieving amount of free space on drive containing /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_1740605292962/Jlink_ReqMod_1 [2025-02-26T21:49:56.707Z] There is 10845 Mb free [2025-02-26T21:49:56.707Z] STF 13:49:55.902 - ================== G E N E R A T I O N ================== [2025-02-26T21:49:56.707Z] STF 13:49:55.904 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2025-02-26T21:49:56.707Z] STF 13:49:55.904 - Starting process to generate scripts: /Users/admin/workspace/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/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/../../testDependency/system_lib//asm/asm.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/../../testDependency/system_lib//asm/asm-commons.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/../../testDependency/system_lib//log4j/log4j-api.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/../../testDependency/system_lib//log4j/log4j-core.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/stf_parameters.properties, , /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest" [2025-02-26T21:49:56.707Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-26T21:50:00.128Z] GEN 13:49:59.166 - Found test. Project: 'openjdk.test.modularity' class: 'JlinkTest.class' Dir: '/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-02-26T21:50:00.128Z] GEN 13:49:59.186 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.JlinkTest' [2025-02-26T21:50:01.303Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-02-26T21:50:01.303Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-02-26T21:50:01.303Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-02-26T21:50:01.303Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-02-26T21:50:01.303Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-02-26T21:50:01.303Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-02-26T21:50:01.303Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-02-26T21:50:01.303Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-02-26T21:50:01.303Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-02-26T21:50:01.303Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-02-26T21:50:01.303Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-02-26T21:50:01.303Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-02-26T21:50:01.303Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-02-26T21:50:01.303Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-02-26T21:50:01.303Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-02-26T21:50:01.303Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-02-26T21:50:01.303Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/STF/stf.core/bin [2025-02-26T21:50:01.303Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-api.jar [2025-02-26T21:50:01.303Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-core.jar [2025-02-26T21:50:01.303Z] GEN /Users/admin/workspace/testDependency/system_lib/junit/junit.jar [2025-02-26T21:50:01.303Z] GEN 13:50:00.807 - Using Mode NoOptions. Values = '' [2025-02-26T21:50:01.871Z] GEN 13:50:01.110 - [2025-02-26T21:50:01.871Z] GEN 13:50:01.110 - Test command summary: [2025-02-26T21:50:01.871Z] GEN 13:50:01.110 - Step Stage Command Description [2025-02-26T21:50:01.871Z] GEN 13:50:01.110 - -----+--------+-----------------+------------ [2025-02-26T21:50:01.871Z] GEN 13:50:01.110 - 1 setUp cpDir Copying com.test.jlink [2025-02-26T21:50:01.871Z] GEN 13:50:01.110 - 2 setUp rm Removing natives folder from com.test.jLinkDirCopy [2025-02-26T21:50:01.871Z] GEN 13:50:01.110 - 3 setUp jar Create com.test.jlink jar [2025-02-26T21:50:01.871Z] GEN 13:50:01.110 - 4 setUp jar Create com.hello jar [2025-02-26T21:50:01.871Z] GEN 13:50:01.110 - 5 setUp fileCheck Check com.test.jlink modular jar created [2025-02-26T21:50:01.871Z] GEN 13:50:01.110 - 6 setUp fileCheck Check com.hello modular jar created [2025-02-26T21:50:01.871Z] GEN 13:50:01.111 - 7 setUp rm Removing conf folder from com.test.jLinkDirCopy [2025-02-26T21:50:01.871Z] GEN 13:50:01.111 - 8 setUp cpDir Copying .so from com.test.jlink/native [2025-02-26T21:50:01.871Z] GEN 13:50:01.111 - 9 setUp jmod Creating jmod of com.test.jlink module [2025-02-26T21:50:01.871Z] GEN 13:50:01.111 - 10 setUp jmod Creating jmod for com.hello module [2025-02-26T21:50:01.871Z] GEN 13:50:01.111 - 11 setUp fileCheck Check com.test.jlink jmod created [2025-02-26T21:50:01.871Z] GEN 13:50:01.111 - 12 setUp fileCheck Check com.hello jmod created [2025-02-26T21:50:01.871Z] GEN 13:50:01.111 - 13 execute jlink Create runtime image [2025-02-26T21:50:01.871Z] GEN 13:50:01.111 - 14 execute Run java Running listmods [2025-02-26T21:50:01.871Z] GEN 13:50:01.111 - 15 execute count Check output [2025-02-26T21:50:01.871Z] GEN 13:50:01.111 - 16 execute count Check output [2025-02-26T21:50:01.871Z] GEN 13:50:01.111 - 17 execute count Check output [2025-02-26T21:50:01.871Z] GEN 13:50:01.111 - 18 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-26T21:50:01.871Z] GEN 13:50:01.111 - 19 execute jlink Create runtime image [2025-02-26T21:50:01.871Z] GEN 13:50:01.111 - 20 execute Run java Running listmods [2025-02-26T21:50:01.871Z] GEN 13:50:01.111 - 21 execute count Check output [2025-02-26T21:50:01.871Z] GEN 13:50:01.111 - 22 execute count Check output [2025-02-26T21:50:01.871Z] GEN 13:50:01.111 - 23 execute count Check output [2025-02-26T21:50:01.871Z] GEN 13:50:01.111 - 24 execute Run java Running adoptopenjdk.test.modularity.jlink.JniTest [2025-02-26T21:50:01.871Z] GEN 13:50:01.112 - 25 execute jlink Create runtime image [2025-02-26T21:50:01.871Z] GEN 13:50:01.112 - 26 execute Run java Running listmods [2025-02-26T21:50:01.871Z] GEN 13:50:01.112 - 27 execute count Check output [2025-02-26T21:50:01.871Z] GEN 13:50:01.112 - 28 execute count Check output [2025-02-26T21:50:01.871Z] GEN 13:50:01.112 - 29 execute count Check output [2025-02-26T21:50:01.871Z] GEN 13:50:01.112 - 30 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-26T21:50:01.871Z] STF 13:50:01.231 - [2025-02-26T21:50:01.871Z] STF 13:50:01.231 - Script generation completed [2025-02-26T21:50:01.871Z] STF 13:50:01.231 - [2025-02-26T21:50:01.871Z] STF 13:50:01.232 - [2025-02-26T21:50:01.871Z] STF 13:50:01.232 - ======================= S E T U P ======================= [2025-02-26T21:50:01.871Z] STF 13:50:01.232 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/setUp.pl [2025-02-26T21:50:01.871Z] STF 13:50:01.430 - [2025-02-26T21:50:01.871Z] STF 13:50:01.430 - +------ Step 1 - Copying com.test.jlink [2025-02-26T21:50:01.871Z] STF 13:50:01.430 - | Copy a directory to a new directory [2025-02-26T21:50:01.871Z] STF 13:50:01.430 - | Source dir: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink [2025-02-26T21:50:01.871Z] STF 13:50:01.431 - | Dest dir: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/com.test.jLinkDirCopy [2025-02-26T21:50:01.871Z] STF 13:50:01.431 - | [2025-02-26T21:50:01.871Z] STF 13:50:01.464 - [2025-02-26T21:50:01.871Z] STF 13:50:01.464 - +------ Step 2 - Removing natives folder from com.test.jLinkDirCopy [2025-02-26T21:50:01.871Z] STF 13:50:01.464 - | Recursively delete a directory [2025-02-26T21:50:01.871Z] STF 13:50:01.464 - | Directory: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/com.test.jLinkDirCopy/native [2025-02-26T21:50:01.871Z] STF 13:50:01.464 - | [2025-02-26T21:50:01.871Z] STF 13:50:01.497 - [2025-02-26T21:50:01.871Z] STF 13:50:01.497 - +------ Step 3 - Create com.test.jlink jar [2025-02-26T21:50:01.871Z] STF 13:50:01.497 - | Create modular jar [2025-02-26T21:50:01.871Z] STF 13:50:01.497 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test.jlink [2025-02-26T21:50:01.871Z] STF 13:50:01.497 - | ModuleVersion: null [2025-02-26T21:50:01.871Z] STF 13:50:01.497 - | MainClass: null [2025-02-26T21:50:01.871Z] STF 13:50:01.497 - | HashModules: null [2025-02-26T21:50:01.871Z] STF 13:50:01.497 - | [2025-02-26T21:50:01.871Z] STF 13:50:01.497 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/modules/3.com.test.jlink.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink . [2025-02-26T21:50:01.871Z] STF 13:50:01.497 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/results/3.CMJ.stderr [2025-02-26T21:50:01.871Z] STF 13:50:01.497 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/results/3.CMJ.stdout [2025-02-26T21:50:01.871Z] STF 13:50:01.525 - Monitoring processes: CMJ [2025-02-26T21:50:02.419Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-26T21:50:04.228Z] STF 13:50:03.890 - Monitoring Report Summary: [2025-02-26T21:50:04.228Z] STF 13:50:03.890 - o Process CMJ ended with the expected exit code (0) [2025-02-26T21:50:04.228Z] STF 13:50:03.891 - Created modular jar: 3.com.test.jlink.jar [2025-02-26T21:50:04.228Z] STF 13:50:03.891 - [2025-02-26T21:50:04.228Z] STF 13:50:03.891 - +------ Step 4 - Create com.hello jar [2025-02-26T21:50:04.228Z] STF 13:50:03.891 - | Create modular jar [2025-02-26T21:50:04.228Z] STF 13:50:03.891 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-02-26T21:50:04.228Z] STF 13:50:03.891 - | ModuleVersion: null [2025-02-26T21:50:04.228Z] STF 13:50:03.891 - | MainClass: null [2025-02-26T21:50:04.228Z] STF 13:50:03.891 - | HashModules: null [2025-02-26T21:50:04.228Z] STF 13:50:03.891 - | [2025-02-26T21:50:04.228Z] STF 13:50:03.891 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/modules/4.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-02-26T21:50:04.228Z] STF 13:50:03.891 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/results/4.CMJ.stderr [2025-02-26T21:50:04.228Z] STF 13:50:03.891 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/results/4.CMJ.stdout [2025-02-26T21:50:04.228Z] STF 13:50:03.894 - Monitoring processes: CMJ [2025-02-26T21:50:04.228Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-26T21:50:05.350Z] STF 13:50:04.891 - Monitoring Report Summary: [2025-02-26T21:50:05.350Z] STF 13:50:04.891 - o Process CMJ ended with the expected exit code (0) [2025-02-26T21:50:05.350Z] STF 13:50:04.891 - Created modular jar: 4.com.hello.jar [2025-02-26T21:50:05.350Z] STF 13:50:04.891 - [2025-02-26T21:50:05.350Z] STF 13:50:04.891 - +------ Step 5 - Check com.test.jlink modular jar created [2025-02-26T21:50:05.350Z] STF 13:50:04.891 - | Validate file exists [2025-02-26T21:50:05.350Z] STF 13:50:04.891 - | File: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/modules/3.com.test.jlink.jar [2025-02-26T21:50:05.350Z] STF 13:50:04.891 - | [2025-02-26T21:50:05.350Z] STF 13:50:04.891 - [2025-02-26T21:50:05.350Z] STF 13:50:04.891 - +------ Step 6 - Check com.hello modular jar created [2025-02-26T21:50:05.350Z] STF 13:50:04.891 - | Validate file exists [2025-02-26T21:50:05.350Z] STF 13:50:04.891 - | File: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/modules/4.com.hello.jar [2025-02-26T21:50:05.350Z] STF 13:50:04.891 - | [2025-02-26T21:50:05.350Z] STF 13:50:04.891 - [2025-02-26T21:50:05.350Z] STF 13:50:04.891 - +------ Step 7 - Removing conf folder from com.test.jLinkDirCopy [2025-02-26T21:50:05.350Z] STF 13:50:04.891 - | Recursively delete a directory [2025-02-26T21:50:05.350Z] STF 13:50:04.891 - | Directory: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/com.test.jLinkDirCopy/conf [2025-02-26T21:50:05.350Z] STF 13:50:04.891 - | [2025-02-26T21:50:05.350Z] STF 13:50:04.892 - [2025-02-26T21:50:05.350Z] STF 13:50:04.892 - +------ Step 8 - Copying .so from com.test.jlink/native [2025-02-26T21:50:05.350Z] STF 13:50:04.892 - | Copy a directory to a new directory [2025-02-26T21:50:05.350Z] STF 13:50:04.892 - | Source dir: /Users/admin/workspace/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-26T21:50:05.350Z] STF 13:50:04.892 - | Dest dir: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/native [2025-02-26T21:50:05.350Z] STF 13:50:04.892 - | [2025-02-26T21:50:05.350Z] STF 13:50:04.893 - [2025-02-26T21:50:05.350Z] STF 13:50:04.893 - +------ Step 9 - Creating jmod of com.test.jlink module [2025-02-26T21:50:05.350Z] STF 13:50:04.893 - | Run jmod utility [2025-02-26T21:50:05.350Z] STF 13:50:04.893 - | jmod: com.test.jlink.jmod [2025-02-26T21:50:05.350Z] STF 13:50:04.893 - | [2025-02-26T21:50:05.350Z] STF 13:50:04.894 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/jmod create --class-path /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/com.test.jLinkDirCopy --config /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink/conf --libs /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/native /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/tmp/com.test.jlink.jmod [2025-02-26T21:50:05.350Z] STF 13:50:04.894 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/results/9.JMOD.stderr [2025-02-26T21:50:05.350Z] STF 13:50:04.894 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/results/9.JMOD.stdout [2025-02-26T21:50:05.350Z] STF 13:50:04.896 - Monitoring processes: JMOD [2025-02-26T21:50:05.974Z] JMOD stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-26T21:50:07.752Z] STF 13:50:07.102 - Monitoring Report Summary: [2025-02-26T21:50:07.752Z] STF 13:50:07.102 - o Process JMOD ended with the expected exit code (0) [2025-02-26T21:50:07.752Z] STF 13:50:07.102 - [2025-02-26T21:50:07.752Z] STF 13:50:07.102 - +------ Step 10 - Creating jmod for com.hello module [2025-02-26T21:50:07.752Z] STF 13:50:07.102 - | Run jmod utility [2025-02-26T21:50:07.752Z] STF 13:50:07.102 - | jmod: com.hello.jmod [2025-02-26T21:50:07.752Z] STF 13:50:07.102 - | [2025-02-26T21:50:07.752Z] STF 13:50:07.103 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/jmod create --class-path /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/tmp/com.hello.jmod [2025-02-26T21:50:07.752Z] STF 13:50:07.103 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/results/10.JMOD.stderr [2025-02-26T21:50:07.752Z] STF 13:50:07.103 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/results/10.JMOD.stdout [2025-02-26T21:50:07.752Z] STF 13:50:07.105 - Monitoring processes: JMOD [2025-02-26T21:50:07.752Z] JMOD stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-26T21:50:10.068Z] STF 13:50:09.334 - Monitoring Report Summary: [2025-02-26T21:50:10.068Z] STF 13:50:09.334 - o Process JMOD ended with the expected exit code (0) [2025-02-26T21:50:10.068Z] STF 13:50:09.336 - [2025-02-26T21:50:10.068Z] STF 13:50:09.336 - +------ Step 11 - Check com.test.jlink jmod created [2025-02-26T21:50:10.068Z] STF 13:50:09.336 - | Validate file exists [2025-02-26T21:50:10.068Z] STF 13:50:09.336 - | File: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/tmp/com.test.jlink.jmod [2025-02-26T21:50:10.068Z] STF 13:50:09.336 - | [2025-02-26T21:50:10.068Z] STF 13:50:09.337 - [2025-02-26T21:50:10.068Z] STF 13:50:09.337 - +------ Step 12 - Check com.hello jmod created [2025-02-26T21:50:10.068Z] STF 13:50:09.337 - | Validate file exists [2025-02-26T21:50:10.068Z] STF 13:50:09.337 - | File: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/tmp/com.hello.jmod [2025-02-26T21:50:10.068Z] STF 13:50:09.337 - | [2025-02-26T21:50:10.068Z] STF 13:50:09.337 - SETUP stage completed [2025-02-26T21:50:10.068Z] STF 13:50:09.431 - [2025-02-26T21:50:10.068Z] STF 13:50:09.431 - ==================== E X E C U T E - ==================== [2025-02-26T21:50:10.068Z] STF 13:50:09.431 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/execute.pl [2025-02-26T21:50:10.068Z] STF 13:50:09.835 - [2025-02-26T21:50:10.068Z] STF 13:50:09.835 - Java version [2025-02-26T21:50:10.068Z] STF 13:50:09.835 - Running: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2025-02-26T21:50:10.068Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-26T21:50:10.490Z] openjdk version "21.0.7-beta" 2025-04-15 [2025-02-26T21:50:10.490Z] OpenJDK Runtime Environment Temurin-21.0.7+4-202502262005 (build 21.0.7-beta+4-ea) [2025-02-26T21:50:10.490Z] OpenJDK 64-Bit Server VM Temurin-21.0.7+4-202502262005 (build 21.0.7-beta+4-ea, mixed mode) [2025-02-26T21:50:10.490Z] STF 13:50:10.001 - [2025-02-26T21:50:10.490Z] STF 13:50:10.001 - +------ Step 13 - Create runtime image [2025-02-26T21:50:10.490Z] STF 13:50:10.001 - | Run jlink to create runtime image [2025-02-26T21:50:10.490Z] STF 13:50:10.001 - | ImageName: CRI1 [2025-02-26T21:50:10.490Z] STF 13:50:10.001 - | [2025-02-26T21:50:10.490Z] STF 13:50:10.002 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/modules --add-modules com.test.jlink --output /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/tmp/13.CRI1 [2025-02-26T21:50:10.490Z] STF 13:50:10.002 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/results/13.JLNK.stderr [2025-02-26T21:50:10.490Z] STF 13:50:10.002 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/results/13.JLNK.stdout [2025-02-26T21:50:10.490Z] STF 13:50:10.035 - Monitoring processes: JLNK [2025-02-26T21:50:10.490Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-26T21:50:20.938Z] STF 13:50:19.305 - Monitoring Report Summary: [2025-02-26T21:50:20.938Z] STF 13:50:19.305 - o Process JLNK ended with the expected exit code (0) [2025-02-26T21:50:20.938Z] STF 13:50:19.306 - [2025-02-26T21:50:20.938Z] STF 13:50:19.306 - +------ Step 14 - Running listmods [2025-02-26T21:50:20.938Z] STF 13:50:19.306 - | Run foreground process [2025-02-26T21:50:20.938Z] STF 13:50:19.306 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/tmp/13.CRI1/bin/java [2025-02-26T21:50:20.938Z] STF 13:50:19.306 - | Mnemonic: LIST [2025-02-26T21:50:20.938Z] STF 13:50:19.306 - | Echo: ECHO_ON [2025-02-26T21:50:20.938Z] STF 13:50:19.306 - | Expectation: CLEAN_RUN within 1m [2025-02-26T21:50:20.938Z] STF 13:50:19.306 - | [2025-02-26T21:50:20.938Z] STF 13:50:19.306 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/tmp/13.CRI1/bin/java --list-modules -XX:-UseCompressedOops [2025-02-26T21:50:20.938Z] STF 13:50:19.306 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/results/14.LIST.stderr [2025-02-26T21:50:20.938Z] STF 13:50:19.306 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/results/14.LIST.stdout [2025-02-26T21:50:20.938Z] STF 13:50:19.312 - Monitoring processes: LIST [2025-02-26T21:50:33.353Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-26T21:50:33.836Z] LIST com.hello [2025-02-26T21:50:33.836Z] LIST com.test.jlink [2025-02-26T21:50:33.836Z] LIST java.base@21.0.7-beta [2025-02-26T21:50:33.836Z] STF 13:50:33.051 - Monitoring Report Summary: [2025-02-26T21:50:33.836Z] STF 13:50:33.051 - o Process LIST ended with the expected exit code (0) [2025-02-26T21:50:33.836Z] STF 13:50:33.051 - [2025-02-26T21:50:33.836Z] STF 13:50:33.051 - +------ Step 15 - Check output [2025-02-26T21:50:33.836Z] STF 13:50:33.051 - | Count file matches [2025-02-26T21:50:33.836Z] STF 13:50:33.051 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/results/14.LIST.stdout [2025-02-26T21:50:33.836Z] STF 13:50:33.051 - | ExpectedNumMatches: 1 [2025-02-26T21:50:33.836Z] STF 13:50:33.051 - | SearchStrings: ["com.hello"] [2025-02-26T21:50:33.836Z] STF 13:50:33.051 - | [2025-02-26T21:50:33.836Z] STF 13:50:33.051 - Found 1 instances of ["com.hello"] [2025-02-26T21:50:33.836Z] STF 13:50:33.051 - [2025-02-26T21:50:33.836Z] STF 13:50:33.051 - +------ Step 16 - Check output [2025-02-26T21:50:33.836Z] STF 13:50:33.051 - | Count file matches [2025-02-26T21:50:33.836Z] STF 13:50:33.051 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/results/14.LIST.stdout [2025-02-26T21:50:33.836Z] STF 13:50:33.051 - | ExpectedNumMatches: 1 [2025-02-26T21:50:33.836Z] STF 13:50:33.051 - | SearchStrings: ["com.test.jlink"] [2025-02-26T21:50:33.836Z] STF 13:50:33.051 - | [2025-02-26T21:50:33.836Z] STF 13:50:33.051 - Found 1 instances of ["com.test.jlink"] [2025-02-26T21:50:33.836Z] STF 13:50:33.051 - [2025-02-26T21:50:33.836Z] STF 13:50:33.051 - +------ Step 17 - Check output [2025-02-26T21:50:33.836Z] STF 13:50:33.051 - | Count file matches [2025-02-26T21:50:33.836Z] STF 13:50:33.051 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/results/14.LIST.stdout [2025-02-26T21:50:33.836Z] STF 13:50:33.051 - | ExpectedNumMatches: 1 [2025-02-26T21:50:33.836Z] STF 13:50:33.051 - | SearchStrings: ["java.base"] [2025-02-26T21:50:33.836Z] STF 13:50:33.051 - | [2025-02-26T21:50:33.837Z] STF 13:50:33.051 - Found 1 instances of ["java.base"] [2025-02-26T21:50:33.837Z] STF 13:50:33.051 - [2025-02-26T21:50:33.837Z] STF 13:50:33.051 - +------ Step 18 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-26T21:50:33.837Z] STF 13:50:33.051 - | Run foreground process [2025-02-26T21:50:33.837Z] STF 13:50:33.051 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/tmp/13.CRI1/bin/java [2025-02-26T21:50:33.837Z] STF 13:50:33.051 - | Mnemonic: T1 [2025-02-26T21:50:33.837Z] STF 13:50:33.051 - | Echo: ECHO_ON [2025-02-26T21:50:33.837Z] STF 13:50:33.051 - | Expectation: CLEAN_RUN within 1m [2025-02-26T21:50:33.837Z] STF 13:50:33.051 - | [2025-02-26T21:50:33.837Z] STF 13:50:33.052 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/tmp/13.CRI1/bin/java -Djava.library.path=/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/native --add-reads com.test.jlink=ALL-UNNAMED -XX:-UseCompressedOops -classpath /Users/admin/workspace/testDependency/system_lib/junit/junit.jar:/Users/admin/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-26T21:50:33.837Z] STF 13:50:33.052 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/results/18.T1.stderr [2025-02-26T21:50:33.837Z] STF 13:50:33.052 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/results/18.T1.stdout [2025-02-26T21:50:33.837Z] STF 13:50:33.054 - Monitoring processes: T1 [2025-02-26T21:50:33.837Z] T1 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-26T21:50:34.293Z] T1 JUnit version 4.12 [2025-02-26T21:50:34.294Z] T1 . [2025-02-26T21:50:34.294Z] T1 Time: 0.04 [2025-02-26T21:50:34.294Z] T1 [2025-02-26T21:50:34.294Z] T1 OK (1 test) [2025-02-26T21:50:34.294Z] T1 [2025-02-26T21:50:34.294Z] STF 13:50:33.974 - Monitoring Report Summary: [2025-02-26T21:50:34.294Z] STF 13:50:33.975 - o Process T1 ended with the expected exit code (0) [2025-02-26T21:50:34.294Z] STF 13:50:33.975 - [2025-02-26T21:50:34.294Z] STF 13:50:33.975 - +------ Step 19 - Create runtime image [2025-02-26T21:50:34.294Z] STF 13:50:33.975 - | Run jlink to create runtime image [2025-02-26T21:50:34.294Z] STF 13:50:33.975 - | ImageName: CRI2 [2025-02-26T21:50:34.294Z] STF 13:50:33.975 - | [2025-02-26T21:50:34.294Z] STF 13:50:33.975 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/tmp --add-modules com.test.jlink --output /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/tmp/19.CRI2 [2025-02-26T21:50:34.294Z] STF 13:50:33.975 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/results/19.JLNK.stderr [2025-02-26T21:50:34.294Z] STF 13:50:33.975 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/results/19.JLNK.stdout [2025-02-26T21:50:34.294Z] STF 13:50:33.978 - Monitoring processes: JLNK [2025-02-26T21:50:34.722Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-26T21:50:42.326Z] STF 13:50:41.421 - Monitoring Report Summary: [2025-02-26T21:50:42.326Z] STF 13:50:41.421 - o Process JLNK ended with the expected exit code (0) [2025-02-26T21:50:42.326Z] STF 13:50:41.421 - [2025-02-26T21:50:42.326Z] STF 13:50:41.421 - +------ Step 20 - Running listmods [2025-02-26T21:50:42.326Z] STF 13:50:41.421 - | Run foreground process [2025-02-26T21:50:42.326Z] STF 13:50:41.421 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/tmp/19.CRI2/bin/java [2025-02-26T21:50:42.326Z] STF 13:50:41.421 - | Mnemonic: LIST [2025-02-26T21:50:42.326Z] STF 13:50:41.421 - | Echo: ECHO_ON [2025-02-26T21:50:42.326Z] STF 13:50:41.421 - | Expectation: CLEAN_RUN within 1m [2025-02-26T21:50:42.326Z] STF 13:50:41.421 - | [2025-02-26T21:50:42.326Z] STF 13:50:41.421 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/tmp/19.CRI2/bin/java --list-modules -XX:-UseCompressedOops [2025-02-26T21:50:42.326Z] STF 13:50:41.421 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/results/20.LIST.stderr [2025-02-26T21:50:42.326Z] STF 13:50:41.421 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/results/20.LIST.stdout [2025-02-26T21:50:42.326Z] STF 13:50:41.424 - Monitoring processes: LIST [2025-02-26T21:50:45.719Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-26T21:50:46.653Z] LIST com.hello [2025-02-26T21:50:46.653Z] LIST com.test.jlink [2025-02-26T21:50:46.653Z] LIST java.base@21.0.7-beta [2025-02-26T21:50:46.653Z] STF 13:50:46.229 - Monitoring Report Summary: [2025-02-26T21:50:46.653Z] STF 13:50:46.229 - o Process LIST ended with the expected exit code (0) [2025-02-26T21:50:46.653Z] STF 13:50:46.229 - [2025-02-26T21:50:46.653Z] STF 13:50:46.229 - +------ Step 21 - Check output [2025-02-26T21:50:46.653Z] STF 13:50:46.229 - | Count file matches [2025-02-26T21:50:46.653Z] STF 13:50:46.229 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/results/20.LIST.stdout [2025-02-26T21:50:46.653Z] STF 13:50:46.229 - | ExpectedNumMatches: 1 [2025-02-26T21:50:46.653Z] STF 13:50:46.229 - | SearchStrings: ["com.hello"] [2025-02-26T21:50:46.653Z] STF 13:50:46.229 - | [2025-02-26T21:50:46.653Z] STF 13:50:46.229 - Found 1 instances of ["com.hello"] [2025-02-26T21:50:46.653Z] STF 13:50:46.229 - [2025-02-26T21:50:46.653Z] STF 13:50:46.229 - +------ Step 22 - Check output [2025-02-26T21:50:46.653Z] STF 13:50:46.229 - | Count file matches [2025-02-26T21:50:46.653Z] STF 13:50:46.229 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/results/20.LIST.stdout [2025-02-26T21:50:46.653Z] STF 13:50:46.229 - | ExpectedNumMatches: 1 [2025-02-26T21:50:46.653Z] STF 13:50:46.229 - | SearchStrings: ["com.test.jlink"] [2025-02-26T21:50:46.653Z] STF 13:50:46.229 - | [2025-02-26T21:50:46.653Z] STF 13:50:46.229 - Found 1 instances of ["com.test.jlink"] [2025-02-26T21:50:46.653Z] STF 13:50:46.229 - [2025-02-26T21:50:46.653Z] STF 13:50:46.229 - +------ Step 23 - Check output [2025-02-26T21:50:46.653Z] STF 13:50:46.229 - | Count file matches [2025-02-26T21:50:46.653Z] STF 13:50:46.229 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/results/20.LIST.stdout [2025-02-26T21:50:46.653Z] STF 13:50:46.229 - | ExpectedNumMatches: 1 [2025-02-26T21:50:46.653Z] STF 13:50:46.229 - | SearchStrings: ["java.base"] [2025-02-26T21:50:46.653Z] STF 13:50:46.229 - | [2025-02-26T21:50:46.653Z] STF 13:50:46.229 - Found 1 instances of ["java.base"] [2025-02-26T21:50:46.653Z] STF 13:50:46.229 - [2025-02-26T21:50:46.653Z] STF 13:50:46.229 - +------ Step 24 - Running adoptopenjdk.test.modularity.jlink.JniTest [2025-02-26T21:50:46.653Z] STF 13:50:46.229 - | Run foreground process [2025-02-26T21:50:46.653Z] STF 13:50:46.229 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/tmp/19.CRI2/bin/java [2025-02-26T21:50:46.653Z] STF 13:50:46.229 - | Mnemonic: T2 [2025-02-26T21:50:46.653Z] STF 13:50:46.229 - | Echo: ECHO_ON [2025-02-26T21:50:46.653Z] STF 13:50:46.229 - | Expectation: CLEAN_RUN within 1m [2025-02-26T21:50:46.653Z] STF 13:50:46.229 - | [2025-02-26T21:50:46.653Z] STF 13:50:46.230 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/tmp/19.CRI2/bin/java -Djava.library.path=/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/native --add-reads com.test.jlink=ALL-UNNAMED -XX:-UseCompressedOops -classpath /Users/admin/workspace/testDependency/system_lib/junit/junit.jar:/Users/admin/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore adoptopenjdk.test.modularity.jlink.JniTest [2025-02-26T21:50:46.653Z] STF 13:50:46.230 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/results/24.T2.stderr [2025-02-26T21:50:46.653Z] STF 13:50:46.230 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/results/24.T2.stdout [2025-02-26T21:50:46.653Z] STF 13:50:46.253 - Monitoring processes: T2 [2025-02-26T21:50:47.049Z] T2 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-26T21:50:48.158Z] T2 JUnit version 4.12 [2025-02-26T21:50:49.253Z] T2 . [2025-02-26T21:50:49.253Z] T2 Time: 0.014 [2025-02-26T21:50:49.253Z] T2 [2025-02-26T21:50:49.253Z] T2 OK (1 test) [2025-02-26T21:50:49.253Z] T2 [2025-02-26T21:50:49.253Z] STF 13:50:48.455 - Monitoring Report Summary: [2025-02-26T21:50:49.253Z] STF 13:50:48.455 - o Process T2 ended with the expected exit code (0) [2025-02-26T21:50:49.253Z] STF 13:50:48.455 - [2025-02-26T21:50:49.253Z] STF 13:50:48.455 - +------ Step 25 - Create runtime image [2025-02-26T21:50:49.253Z] STF 13:50:48.455 - | Run jlink to create runtime image [2025-02-26T21:50:49.253Z] STF 13:50:48.455 - | ImageName: CRI3 [2025-02-26T21:50:49.253Z] STF 13:50:48.455 - | [2025-02-26T21:50:49.253Z] STF 13:50:48.455 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/Users/admin/workspace/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/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/tmp/25.CRI3 [2025-02-26T21:50:49.253Z] STF 13:50:48.455 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/results/25.JLNK.stderr [2025-02-26T21:50:49.253Z] STF 13:50:48.455 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/results/25.JLNK.stdout [2025-02-26T21:50:49.253Z] STF 13:50:48.472 - Monitoring processes: JLNK [2025-02-26T21:50:49.253Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-26T21:51:00.535Z] STF 13:50:58.485 - Monitoring Report Summary: [2025-02-26T21:51:00.535Z] STF 13:50:58.485 - o Process JLNK ended with the expected exit code (0) [2025-02-26T21:51:00.535Z] STF 13:50:58.486 - [2025-02-26T21:51:00.535Z] STF 13:50:58.486 - +------ Step 26 - Running listmods [2025-02-26T21:51:00.535Z] STF 13:50:58.486 - | Run foreground process [2025-02-26T21:51:00.535Z] STF 13:50:58.486 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/tmp/25.CRI3/bin/java [2025-02-26T21:51:00.535Z] STF 13:50:58.486 - | Mnemonic: LIST [2025-02-26T21:51:00.535Z] STF 13:50:58.486 - | Echo: ECHO_ON [2025-02-26T21:51:00.535Z] STF 13:50:58.486 - | Expectation: CLEAN_RUN within 1m [2025-02-26T21:51:00.535Z] STF 13:50:58.486 - | [2025-02-26T21:51:00.535Z] STF 13:50:58.486 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/tmp/25.CRI3/bin/java --list-modules -XX:-UseCompressedOops [2025-02-26T21:51:00.536Z] STF 13:50:58.486 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/results/26.LIST.stderr [2025-02-26T21:51:00.536Z] STF 13:50:58.486 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/results/26.LIST.stdout [2025-02-26T21:51:00.536Z] STF 13:50:58.490 - Monitoring processes: LIST [2025-02-26T21:51:03.828Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-26T21:51:05.475Z] LIST com.hello [2025-02-26T21:51:05.475Z] LIST com.test.jlink [2025-02-26T21:51:05.475Z] LIST java.base@21.0.7-beta [2025-02-26T21:51:05.475Z] STF 13:51:04.789 - Monitoring Report Summary: [2025-02-26T21:51:05.475Z] STF 13:51:04.789 - o Process LIST ended with the expected exit code (0) [2025-02-26T21:51:05.475Z] STF 13:51:04.789 - [2025-02-26T21:51:05.475Z] STF 13:51:04.789 - +------ Step 27 - Check output [2025-02-26T21:51:05.475Z] STF 13:51:04.789 - | Count file matches [2025-02-26T21:51:05.475Z] STF 13:51:04.789 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/results/26.LIST.stdout [2025-02-26T21:51:05.475Z] STF 13:51:04.789 - | ExpectedNumMatches: 1 [2025-02-26T21:51:05.476Z] STF 13:51:04.790 - | SearchStrings: ["com.hello"] [2025-02-26T21:51:05.476Z] STF 13:51:04.790 - | [2025-02-26T21:51:05.476Z] STF 13:51:04.790 - Found 1 instances of ["com.hello"] [2025-02-26T21:51:05.476Z] STF 13:51:04.790 - [2025-02-26T21:51:05.476Z] STF 13:51:04.790 - +------ Step 28 - Check output [2025-02-26T21:51:05.476Z] STF 13:51:04.790 - | Count file matches [2025-02-26T21:51:05.476Z] STF 13:51:04.790 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/results/26.LIST.stdout [2025-02-26T21:51:05.476Z] STF 13:51:04.790 - | ExpectedNumMatches: 1 [2025-02-26T21:51:05.476Z] STF 13:51:04.790 - | SearchStrings: ["com.test.jlink"] [2025-02-26T21:51:05.476Z] STF 13:51:04.790 - | [2025-02-26T21:51:05.476Z] STF 13:51:04.790 - Found 1 instances of ["com.test.jlink"] [2025-02-26T21:51:05.476Z] STF 13:51:04.790 - [2025-02-26T21:51:05.476Z] STF 13:51:04.790 - +------ Step 29 - Check output [2025-02-26T21:51:05.476Z] STF 13:51:04.790 - | Count file matches [2025-02-26T21:51:05.476Z] STF 13:51:04.790 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/results/26.LIST.stdout [2025-02-26T21:51:05.476Z] STF 13:51:04.790 - | ExpectedNumMatches: 1 [2025-02-26T21:51:05.476Z] STF 13:51:04.790 - | SearchStrings: ["java.base"] [2025-02-26T21:51:05.476Z] STF 13:51:04.790 - | [2025-02-26T21:51:05.476Z] STF 13:51:04.790 - Found 1 instances of ["java.base"] [2025-02-26T21:51:05.476Z] STF 13:51:04.790 - [2025-02-26T21:51:05.476Z] STF 13:51:04.790 - +------ Step 30 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-26T21:51:05.476Z] STF 13:51:04.790 - | Run foreground process [2025-02-26T21:51:05.476Z] STF 13:51:04.790 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/tmp/25.CRI3/bin/java [2025-02-26T21:51:05.476Z] STF 13:51:04.790 - | Mnemonic: T3 [2025-02-26T21:51:05.476Z] STF 13:51:04.790 - | Echo: ECHO_ON [2025-02-26T21:51:05.476Z] STF 13:51:04.790 - | Expectation: CLEAN_RUN within 1m [2025-02-26T21:51:05.476Z] STF 13:51:04.790 - | [2025-02-26T21:51:05.476Z] STF 13:51:04.790 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/tmp/25.CRI3/bin/java -Djava.library.path=/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/native --add-reads com.test.jlink=ALL-UNNAMED -XX:-UseCompressedOops -classpath /Users/admin/workspace/testDependency/system_lib/junit/junit.jar:/Users/admin/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-26T21:51:05.476Z] STF 13:51:04.791 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/results/30.T3.stderr [2025-02-26T21:51:05.476Z] STF 13:51:04.791 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/results/30.T3.stdout [2025-02-26T21:51:05.476Z] STF 13:51:04.793 - Monitoring processes: T3 [2025-02-26T21:51:05.476Z] T3 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-26T21:51:07.991Z] T3 JUnit version 4.12 [2025-02-26T21:51:07.991Z] T3 . [2025-02-26T21:51:07.991Z] T3 Time: 0.011 [2025-02-26T21:51:07.991Z] T3 [2025-02-26T21:51:07.991Z] T3 OK (1 test) [2025-02-26T21:51:07.991Z] T3 [2025-02-26T21:51:07.991Z] STF 13:51:07.286 - Monitoring Report Summary: [2025-02-26T21:51:07.991Z] STF 13:51:07.286 - o Process T3 ended with the expected exit code (0) [2025-02-26T21:51:07.991Z] STF 13:51:07.286 - EXECUTE stage completed [2025-02-26T21:51:07.991Z] STF 13:51:07.760 - [2025-02-26T21:51:07.991Z] STF 13:51:07.760 - ==================== T E A R D O W N ==================== [2025-02-26T21:51:07.991Z] STF 13:51:07.760 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_1740605292962/Jlink_ReqMod_1/20250226-134955-JlinkTest/tearDown.pl [2025-02-26T21:51:08.526Z] STF 13:51:08.102 - TEARDOWN stage completed [2025-02-26T21:51:08.526Z] STF 13:51:08.140 - [2025-02-26T21:51:08.526Z] STF 13:51:08.140 - ===================== R E S U L T S ===================== [2025-02-26T21:51:08.526Z] STF 13:51:08.140 - Stage results: [2025-02-26T21:51:08.526Z] STF 13:51:08.140 - setUp: pass [2025-02-26T21:51:08.526Z] STF 13:51:08.140 - execute: pass [2025-02-26T21:51:08.526Z] STF 13:51:08.140 - teardown: pass [2025-02-26T21:51:08.526Z] STF 13:51:08.140 - [2025-02-26T21:51:08.526Z] STF 13:51:08.140 - Overall result: PASSED [2025-02-26T21:51:08.526Z] ----------------------------------- [2025-02-26T21:51:08.526Z] Jlink_ReqMod_1_PASSED [2025-02-26T21:51:08.526Z] ----------------------------------- [2025-02-26T21:51:08.526Z] [2025-02-26T21:51:08.526Z] TEST TEARDOWN: [2025-02-26T21:51:08.526Z] Nothing to be done for teardown. [2025-02-26T21:51:08.526Z] Jlink_ReqMod_1 Finish Time: Wed Feb 26 13:51:08 2025 Epoch Time (ms): 1740606668309