Jlink_ReqMod_1

[2024-08-09T21:30:16.633Z] Running test Jlink_ReqMod_1 ... [2024-08-09T21:30:16.633Z] =============================================== [2024-08-09T21:30:16.633Z] Jlink_ReqMod_1 Start Time: Fri Aug 9 17:30:16 2024 Epoch Time (ms): 1723239016461 [2024-08-09T21:30:16.633Z] variation: Mode650 [2024-08-09T21:30:16.633Z] JVM_OPTIONS: -XX:-UseCompressedOops [2024-08-09T21:30:16.633Z] { \ [2024-08-09T21:30:16.633Z] echo ""; echo "TEST SETUP:"; \ [2024-08-09T21:30:16.633Z] echo "Nothing to be done for setup."; \ [2024-08-09T21:30:16.633Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17232365159250/Jlink_ReqMod_1"; \ [2024-08-09T21:30:16.633Z] cd "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17232365159250/Jlink_ReqMod_1"; \ [2024-08-09T21:30:16.633Z] echo ""; echo "TESTING:"; \ [2024-08-09T21:30:16.633Z] perl /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/../../testDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17232365159250/Jlink_ReqMod_1" -test=JlinkTest -test-args="variant=ReqdMod"; \ [2024-08-09T21:30:16.633Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "Jlink_ReqMod_1""_PASSED"; echo "-----------------------------------"; cd /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/..; rm -f -r "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17232365159250/Jlink_ReqMod_1"; else echo "-----------------------------------"; echo "Jlink_ReqMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2024-08-09T21:30:16.633Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-08-09T21:30:16.633Z] echo "Nothing to be done for teardown."; \ [2024-08-09T21:30:16.633Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17232365159250/TestTargetResult"; [2024-08-09T21:30:16.633Z] [2024-08-09T21:30:16.633Z] TEST SETUP: [2024-08-09T21:30:16.633Z] Nothing to be done for setup. [2024-08-09T21:30:16.633Z] [2024-08-09T21:30:16.633Z] TESTING: [2024-08-09T21:30:16.633Z] STF 17:30:16.521 - ========================= S T F ========================= [2024-08-09T21:30:16.633Z] systemtest-prereqs has been processed, and set to: /Users/admin/workspace/testDependency/system_libRetrieving amount of free space on drive containing /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17232365159250/Jlink_ReqMod_1 [2024-08-09T21:30:16.633Z] There is 28548 Mb free [2024-08-09T21:30:16.633Z] STF 17:30:16.564 - ================== G E N E R A T I O N ================== [2024-08-09T21:30:16.633Z] STF 17:30:16.564 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2024-08-09T21:30:16.633Z] STF 17:30:16.564 - Starting process to generate scripts: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/..//bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/../../testDependency/system_lib//log4j/log4j-api.jar:/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/../../testDependency/system_lib//log4j/log4j-core.jar:/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/stf_parameters.properties, , /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest" [2024-08-09T21:30:17.384Z] GEN 17:30:16.996 - Found test. Project: 'openjdk.test.modularity' class: 'JlinkTest.class' Dir: '/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2024-08-09T21:30:17.384Z] GEN 17:30:17.005 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.JlinkTest' [2024-08-09T21:30:17.384Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-08-09T21:30:17.384Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2024-08-09T21:30:17.384Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2024-08-09T21:30:17.384Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2024-08-09T21:30:17.384Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2024-08-09T21:30:17.384Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2024-08-09T21:30:17.384Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2024-08-09T21:30:17.384Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2024-08-09T21:30:17.384Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2024-08-09T21:30:17.384Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2024-08-09T21:30:17.384Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2024-08-09T21:30:17.384Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2024-08-09T21:30:17.384Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2024-08-09T21:30:17.384Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2024-08-09T21:30:17.384Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2024-08-09T21:30:17.384Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2024-08-09T21:30:17.384Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/STF/stf.core/bin [2024-08-09T21:30:17.384Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-api.jar [2024-08-09T21:30:17.384Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-core.jar [2024-08-09T21:30:17.384Z] GEN /Users/admin/workspace/testDependency/system_lib/junit/junit.jar [2024-08-09T21:30:17.384Z] GEN 17:30:17.091 - Using Mode NoOptions. Values = '' [2024-08-09T21:30:17.384Z] GEN 17:30:17.123 - [2024-08-09T21:30:17.384Z] GEN 17:30:17.123 - Test command summary: [2024-08-09T21:30:17.384Z] GEN 17:30:17.124 - Step Stage Command Description [2024-08-09T21:30:17.384Z] GEN 17:30:17.124 - -----+--------+-----------------+------------ [2024-08-09T21:30:17.384Z] GEN 17:30:17.124 - 1 setUp cpDir Copying com.test.jlink [2024-08-09T21:30:17.384Z] GEN 17:30:17.124 - 2 setUp rm Removing natives folder from com.test.jLinkDirCopy [2024-08-09T21:30:17.384Z] GEN 17:30:17.124 - 3 setUp jar Create com.test.jlink jar [2024-08-09T21:30:17.384Z] GEN 17:30:17.124 - 4 setUp jar Create com.hello jar [2024-08-09T21:30:17.384Z] GEN 17:30:17.124 - 5 setUp fileCheck Check com.test.jlink modular jar created [2024-08-09T21:30:17.384Z] GEN 17:30:17.124 - 6 setUp fileCheck Check com.hello modular jar created [2024-08-09T21:30:17.384Z] GEN 17:30:17.124 - 7 setUp rm Removing conf folder from com.test.jLinkDirCopy [2024-08-09T21:30:17.384Z] GEN 17:30:17.124 - 8 setUp cpDir Copying .so from com.test.jlink/native [2024-08-09T21:30:17.384Z] GEN 17:30:17.124 - 9 setUp jmod Creating jmod of com.test.jlink module [2024-08-09T21:30:17.384Z] GEN 17:30:17.124 - 10 setUp jmod Creating jmod for com.hello module [2024-08-09T21:30:17.384Z] GEN 17:30:17.124 - 11 setUp fileCheck Check com.test.jlink jmod created [2024-08-09T21:30:17.384Z] GEN 17:30:17.124 - 12 setUp fileCheck Check com.hello jmod created [2024-08-09T21:30:17.384Z] GEN 17:30:17.124 - 13 execute jlink Create runtime image [2024-08-09T21:30:17.384Z] GEN 17:30:17.124 - 14 execute Run java Running listmods [2024-08-09T21:30:17.384Z] GEN 17:30:17.124 - 15 execute count Check output [2024-08-09T21:30:17.384Z] GEN 17:30:17.124 - 16 execute count Check output [2024-08-09T21:30:17.384Z] GEN 17:30:17.124 - 17 execute count Check output [2024-08-09T21:30:17.384Z] GEN 17:30:17.124 - 18 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-08-09T21:30:17.384Z] GEN 17:30:17.124 - 19 execute jlink Create runtime image [2024-08-09T21:30:17.384Z] GEN 17:30:17.124 - 20 execute Run java Running listmods [2024-08-09T21:30:17.384Z] GEN 17:30:17.124 - 21 execute count Check output [2024-08-09T21:30:17.384Z] GEN 17:30:17.124 - 22 execute count Check output [2024-08-09T21:30:17.384Z] GEN 17:30:17.124 - 23 execute count Check output [2024-08-09T21:30:17.384Z] GEN 17:30:17.124 - 24 execute Run java Running adoptopenjdk.test.modularity.jlink.JniTest [2024-08-09T21:30:17.384Z] GEN 17:30:17.124 - 25 execute jlink Create runtime image [2024-08-09T21:30:17.384Z] GEN 17:30:17.124 - 26 execute Run java Running listmods [2024-08-09T21:30:17.384Z] GEN 17:30:17.124 - 27 execute count Check output [2024-08-09T21:30:17.384Z] GEN 17:30:17.124 - 28 execute count Check output [2024-08-09T21:30:17.384Z] GEN 17:30:17.124 - 29 execute count Check output [2024-08-09T21:30:17.384Z] GEN 17:30:17.124 - 30 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-08-09T21:30:17.384Z] STF 17:30:17.153 - [2024-08-09T21:30:17.384Z] STF 17:30:17.153 - Script generation completed [2024-08-09T21:30:17.384Z] STF 17:30:17.153 - [2024-08-09T21:30:17.384Z] STF 17:30:17.154 - [2024-08-09T21:30:17.384Z] STF 17:30:17.154 - ======================= S E T U P ======================= [2024-08-09T21:30:17.384Z] STF 17:30:17.154 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/setUp.pl [2024-08-09T21:30:17.384Z] STF 17:30:17.185 - [2024-08-09T21:30:17.384Z] STF 17:30:17.186 - +------ Step 1 - Copying com.test.jlink [2024-08-09T21:30:17.384Z] STF 17:30:17.186 - | Copy a directory to a new directory [2024-08-09T21:30:17.384Z] STF 17:30:17.186 - | Source dir: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink [2024-08-09T21:30:17.384Z] STF 17:30:17.186 - | Dest dir: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/com.test.jLinkDirCopy [2024-08-09T21:30:17.384Z] STF 17:30:17.186 - | [2024-08-09T21:30:17.384Z] STF 17:30:17.190 - [2024-08-09T21:30:17.384Z] STF 17:30:17.190 - +------ Step 2 - Removing natives folder from com.test.jLinkDirCopy [2024-08-09T21:30:17.384Z] STF 17:30:17.190 - | Recursively delete a directory [2024-08-09T21:30:17.384Z] STF 17:30:17.190 - | Directory: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/com.test.jLinkDirCopy/native [2024-08-09T21:30:17.384Z] STF 17:30:17.190 - | [2024-08-09T21:30:17.384Z] STF 17:30:17.193 - [2024-08-09T21:30:17.384Z] STF 17:30:17.193 - +------ Step 3 - Create com.test.jlink jar [2024-08-09T21:30:17.384Z] STF 17:30:17.193 - | Create modular jar [2024-08-09T21:30:17.384Z] STF 17:30:17.193 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test.jlink [2024-08-09T21:30:17.384Z] STF 17:30:17.193 - | ModuleVersion: null [2024-08-09T21:30:17.384Z] STF 17:30:17.193 - | MainClass: null [2024-08-09T21:30:17.384Z] STF 17:30:17.193 - | HashModules: null [2024-08-09T21:30:17.384Z] STF 17:30:17.193 - | [2024-08-09T21:30:17.384Z] STF 17:30:17.194 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/modules/3.com.test.jlink.jar -C /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink . [2024-08-09T21:30:17.384Z] STF 17:30:17.194 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/results/3.CMJ.stderr [2024-08-09T21:30:17.384Z] STF 17:30:17.194 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/results/3.CMJ.stdout [2024-08-09T21:30:17.384Z] STF 17:30:17.202 - Monitoring processes: CMJ [2024-08-09T21:30:17.737Z] STF 17:30:17.344 - Monitoring Report Summary: [2024-08-09T21:30:17.737Z] STF 17:30:17.344 - o Process CMJ ended with the expected exit code (0) [2024-08-09T21:30:17.737Z] STF 17:30:17.344 - Created modular jar: 3.com.test.jlink.jar [2024-08-09T21:30:17.737Z] STF 17:30:17.344 - [2024-08-09T21:30:17.737Z] STF 17:30:17.344 - +------ Step 4 - Create com.hello jar [2024-08-09T21:30:17.737Z] STF 17:30:17.344 - | Create modular jar [2024-08-09T21:30:17.737Z] STF 17:30:17.344 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-08-09T21:30:17.737Z] STF 17:30:17.344 - | ModuleVersion: null [2024-08-09T21:30:17.737Z] STF 17:30:17.344 - | MainClass: null [2024-08-09T21:30:17.737Z] STF 17:30:17.344 - | HashModules: null [2024-08-09T21:30:17.737Z] STF 17:30:17.344 - | [2024-08-09T21:30:17.737Z] STF 17:30:17.344 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/modules/4.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2024-08-09T21:30:17.737Z] STF 17:30:17.344 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/results/4.CMJ.stderr [2024-08-09T21:30:17.737Z] STF 17:30:17.344 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/results/4.CMJ.stdout [2024-08-09T21:30:17.737Z] STF 17:30:17.346 - Monitoring processes: CMJ [2024-08-09T21:30:17.737Z] STF 17:30:17.488 - Monitoring Report Summary: [2024-08-09T21:30:17.737Z] STF 17:30:17.488 - o Process CMJ ended with the expected exit code (0) [2024-08-09T21:30:17.737Z] STF 17:30:17.492 - Created modular jar: 4.com.hello.jar [2024-08-09T21:30:17.737Z] STF 17:30:17.492 - [2024-08-09T21:30:17.737Z] STF 17:30:17.492 - +------ Step 5 - Check com.test.jlink modular jar created [2024-08-09T21:30:17.737Z] STF 17:30:17.492 - | Validate file exists [2024-08-09T21:30:17.737Z] STF 17:30:17.492 - | File: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/modules/3.com.test.jlink.jar [2024-08-09T21:30:17.737Z] STF 17:30:17.492 - | [2024-08-09T21:30:17.737Z] STF 17:30:17.492 - [2024-08-09T21:30:17.737Z] STF 17:30:17.492 - +------ Step 6 - Check com.hello modular jar created [2024-08-09T21:30:17.737Z] STF 17:30:17.492 - | Validate file exists [2024-08-09T21:30:17.737Z] STF 17:30:17.492 - | File: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/modules/4.com.hello.jar [2024-08-09T21:30:17.737Z] STF 17:30:17.492 - | [2024-08-09T21:30:17.737Z] STF 17:30:17.492 - [2024-08-09T21:30:17.737Z] STF 17:30:17.492 - +------ Step 7 - Removing conf folder from com.test.jLinkDirCopy [2024-08-09T21:30:17.737Z] STF 17:30:17.492 - | Recursively delete a directory [2024-08-09T21:30:17.737Z] STF 17:30:17.492 - | Directory: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/com.test.jLinkDirCopy/conf [2024-08-09T21:30:17.737Z] STF 17:30:17.492 - | [2024-08-09T21:30:17.737Z] STF 17:30:17.493 - [2024-08-09T21:30:17.737Z] STF 17:30:17.493 - +------ Step 8 - Copying .so from com.test.jlink/native [2024-08-09T21:30:17.737Z] STF 17:30:17.493 - | Copy a directory to a new directory [2024-08-09T21:30:17.737Z] STF 17:30:17.493 - | Source dir: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink/native/bin/osx [2024-08-09T21:30:17.737Z] STF 17:30:17.493 - | Dest dir: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/native [2024-08-09T21:30:17.737Z] STF 17:30:17.493 - | [2024-08-09T21:30:17.737Z] STF 17:30:17.493 - [2024-08-09T21:30:17.737Z] STF 17:30:17.493 - +------ Step 9 - Creating jmod of com.test.jlink module [2024-08-09T21:30:17.737Z] STF 17:30:17.493 - | Run jmod utility [2024-08-09T21:30:17.737Z] STF 17:30:17.493 - | jmod: com.test.jlink.jmod [2024-08-09T21:30:17.737Z] STF 17:30:17.493 - | [2024-08-09T21:30:17.737Z] STF 17:30:17.493 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jmod create --class-path /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/com.test.jLinkDirCopy --config /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink/conf --libs /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/native /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/tmp/com.test.jlink.jmod [2024-08-09T21:30:17.737Z] STF 17:30:17.493 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/results/9.JMOD.stderr [2024-08-09T21:30:17.737Z] STF 17:30:17.493 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/results/9.JMOD.stdout [2024-08-09T21:30:17.737Z] STF 17:30:17.496 - Monitoring processes: JMOD [2024-08-09T21:30:17.737Z] STF 17:30:17.646 - Monitoring Report Summary: [2024-08-09T21:30:17.737Z] STF 17:30:17.646 - o Process JMOD ended with the expected exit code (0) [2024-08-09T21:30:17.737Z] STF 17:30:17.646 - [2024-08-09T21:30:17.737Z] STF 17:30:17.646 - +------ Step 10 - Creating jmod for com.hello module [2024-08-09T21:30:17.737Z] STF 17:30:17.646 - | Run jmod utility [2024-08-09T21:30:17.737Z] STF 17:30:17.646 - | jmod: com.hello.jmod [2024-08-09T21:30:17.737Z] STF 17:30:17.646 - | [2024-08-09T21:30:17.737Z] STF 17:30:17.646 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jmod create --class-path /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/tmp/com.hello.jmod [2024-08-09T21:30:17.737Z] STF 17:30:17.646 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/results/10.JMOD.stderr [2024-08-09T21:30:17.737Z] STF 17:30:17.646 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/results/10.JMOD.stdout [2024-08-09T21:30:17.737Z] STF 17:30:17.647 - Monitoring processes: JMOD [2024-08-09T21:30:18.092Z] STF 17:30:17.786 - Monitoring Report Summary: [2024-08-09T21:30:18.092Z] STF 17:30:17.786 - o Process JMOD ended with the expected exit code (0) [2024-08-09T21:30:18.092Z] STF 17:30:17.787 - [2024-08-09T21:30:18.092Z] STF 17:30:17.787 - +------ Step 11 - Check com.test.jlink jmod created [2024-08-09T21:30:18.092Z] STF 17:30:17.787 - | Validate file exists [2024-08-09T21:30:18.092Z] STF 17:30:17.787 - | File: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/tmp/com.test.jlink.jmod [2024-08-09T21:30:18.092Z] STF 17:30:17.787 - | [2024-08-09T21:30:18.092Z] STF 17:30:17.787 - [2024-08-09T21:30:18.092Z] STF 17:30:17.787 - +------ Step 12 - Check com.hello jmod created [2024-08-09T21:30:18.092Z] STF 17:30:17.787 - | Validate file exists [2024-08-09T21:30:18.092Z] STF 17:30:17.787 - | File: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/tmp/com.hello.jmod [2024-08-09T21:30:18.092Z] STF 17:30:17.787 - | [2024-08-09T21:30:18.092Z] STF 17:30:17.787 - SETUP stage completed [2024-08-09T21:30:18.092Z] STF 17:30:17.794 - [2024-08-09T21:30:18.092Z] STF 17:30:17.794 - ==================== E X E C U T E - ==================== [2024-08-09T21:30:18.092Z] STF 17:30:17.794 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/execute.pl [2024-08-09T21:30:18.092Z] STF 17:30:17.826 - [2024-08-09T21:30:18.092Z] STF 17:30:17.826 - Java version [2024-08-09T21:30:18.092Z] STF 17:30:17.826 - Running: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2024-08-09T21:30:18.092Z] STF 17:30:17.874 - [2024-08-09T21:30:18.092Z] STF 17:30:17.874 - +------ Step 13 - Create runtime image [2024-08-09T21:30:18.092Z] STF 17:30:17.874 - | Run jlink to create runtime image [2024-08-09T21:30:18.092Z] STF 17:30:17.874 - | ImageName: CRI1 [2024-08-09T21:30:18.092Z] STF 17:30:17.874 - | [2024-08-09T21:30:18.092Z] STF 17:30:17.874 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/modules --add-modules com.test.jlink --output /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/tmp/13.CRI1 [2024-08-09T21:30:18.092Z] STF 17:30:17.874 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/results/13.JLNK.stderr [2024-08-09T21:30:18.092Z] STF 17:30:17.874 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/results/13.JLNK.stdout [2024-08-09T21:30:18.092Z] openjdk version "17.0.13-beta" 2024-10-15 [2024-08-09T21:30:18.092Z] OpenJDK Runtime Environment Temurin-17.0.13+2-202408091936 (build 17.0.13-beta+2-ea) [2024-08-09T21:30:18.092Z] OpenJDK 64-Bit Server VM Temurin-17.0.13+2-202408091936 (build 17.0.13-beta+2-ea, mixed mode) [2024-08-09T21:30:18.092Z] STF 17:30:17.879 - Monitoring processes: JLNK [2024-08-09T21:30:19.310Z] STF 17:30:18.847 - Monitoring Report Summary: [2024-08-09T21:30:19.310Z] STF 17:30:18.847 - o Process JLNK ended with the expected exit code (0) [2024-08-09T21:30:19.310Z] STF 17:30:18.848 - [2024-08-09T21:30:19.310Z] STF 17:30:18.848 - +------ Step 14 - Running listmods [2024-08-09T21:30:19.310Z] STF 17:30:18.848 - | Run foreground process [2024-08-09T21:30:19.310Z] STF 17:30:18.848 - | Program: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/tmp/13.CRI1/bin/java [2024-08-09T21:30:19.310Z] STF 17:30:18.848 - | Mnemonic: LIST [2024-08-09T21:30:19.310Z] STF 17:30:18.848 - | Echo: ECHO_ON [2024-08-09T21:30:19.310Z] STF 17:30:18.848 - | Expectation: CLEAN_RUN within 1m [2024-08-09T21:30:19.310Z] STF 17:30:18.848 - | [2024-08-09T21:30:19.310Z] STF 17:30:18.848 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/tmp/13.CRI1/bin/java --list-modules -XX:-UseCompressedOops [2024-08-09T21:30:19.310Z] STF 17:30:18.848 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/results/14.LIST.stderr [2024-08-09T21:30:19.310Z] STF 17:30:18.848 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/results/14.LIST.stdout [2024-08-09T21:30:19.310Z] STF 17:30:18.850 - Monitoring processes: LIST [2024-08-09T21:30:20.514Z] LIST com.hello [2024-08-09T21:30:20.514Z] LIST com.test.jlink [2024-08-09T21:30:20.514Z] LIST java.base@17.0.13-beta [2024-08-09T21:30:20.514Z] STF 17:30:20.090 - Monitoring Report Summary: [2024-08-09T21:30:20.514Z] STF 17:30:20.090 - o Process LIST ended with the expected exit code (0) [2024-08-09T21:30:20.514Z] STF 17:30:20.090 - [2024-08-09T21:30:20.514Z] STF 17:30:20.090 - +------ Step 15 - Check output [2024-08-09T21:30:20.514Z] STF 17:30:20.090 - | Count file matches [2024-08-09T21:30:20.514Z] STF 17:30:20.090 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/results/14.LIST.stdout [2024-08-09T21:30:20.514Z] STF 17:30:20.090 - | ExpectedNumMatches: 1 [2024-08-09T21:30:20.514Z] STF 17:30:20.090 - | SearchStrings: ["com.hello"] [2024-08-09T21:30:20.514Z] STF 17:30:20.090 - | [2024-08-09T21:30:20.514Z] STF 17:30:20.090 - Found 1 instances of ["com.hello"] [2024-08-09T21:30:20.514Z] STF 17:30:20.090 - [2024-08-09T21:30:20.514Z] STF 17:30:20.090 - +------ Step 16 - Check output [2024-08-09T21:30:20.514Z] STF 17:30:20.090 - | Count file matches [2024-08-09T21:30:20.514Z] STF 17:30:20.090 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/results/14.LIST.stdout [2024-08-09T21:30:20.514Z] STF 17:30:20.090 - | ExpectedNumMatches: 1 [2024-08-09T21:30:20.514Z] STF 17:30:20.090 - | SearchStrings: ["com.test.jlink"] [2024-08-09T21:30:20.514Z] STF 17:30:20.090 - | [2024-08-09T21:30:20.514Z] STF 17:30:20.090 - Found 1 instances of ["com.test.jlink"] [2024-08-09T21:30:20.514Z] STF 17:30:20.090 - [2024-08-09T21:30:20.514Z] STF 17:30:20.090 - +------ Step 17 - Check output [2024-08-09T21:30:20.514Z] STF 17:30:20.090 - | Count file matches [2024-08-09T21:30:20.514Z] STF 17:30:20.090 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/results/14.LIST.stdout [2024-08-09T21:30:20.514Z] STF 17:30:20.090 - | ExpectedNumMatches: 1 [2024-08-09T21:30:20.514Z] STF 17:30:20.090 - | SearchStrings: ["java.base"] [2024-08-09T21:30:20.514Z] STF 17:30:20.090 - | [2024-08-09T21:30:20.514Z] STF 17:30:20.090 - Found 1 instances of ["java.base"] [2024-08-09T21:30:20.514Z] STF 17:30:20.090 - [2024-08-09T21:30:20.514Z] STF 17:30:20.090 - +------ Step 18 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-08-09T21:30:20.514Z] STF 17:30:20.090 - | Run foreground process [2024-08-09T21:30:20.514Z] STF 17:30:20.090 - | Program: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/tmp/13.CRI1/bin/java [2024-08-09T21:30:20.514Z] STF 17:30:20.090 - | Mnemonic: T1 [2024-08-09T21:30:20.514Z] STF 17:30:20.090 - | Echo: ECHO_ON [2024-08-09T21:30:20.514Z] STF 17:30:20.090 - | Expectation: CLEAN_RUN within 1m [2024-08-09T21:30:20.514Z] STF 17:30:20.090 - | [2024-08-09T21:30:20.514Z] STF 17:30:20.090 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/tmp/13.CRI1/bin/java -Djava.library.path=/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-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 [2024-08-09T21:30:20.514Z] STF 17:30:20.090 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/results/18.T1.stderr [2024-08-09T21:30:20.514Z] STF 17:30:20.090 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/results/18.T1.stdout [2024-08-09T21:30:20.514Z] STF 17:30:20.091 - Monitoring processes: T1 [2024-08-09T21:30:20.514Z] T1 JUnit version 4.12 [2024-08-09T21:30:20.873Z] T1 . [2024-08-09T21:30:20.873Z] T1 Time: 0.002 [2024-08-09T21:30:20.873Z] T1 [2024-08-09T21:30:20.873Z] T1 OK (1 test) [2024-08-09T21:30:20.873Z] T1 [2024-08-09T21:30:20.873Z] STF 17:30:20.489 - Monitoring Report Summary: [2024-08-09T21:30:20.873Z] STF 17:30:20.489 - o Process T1 ended with the expected exit code (0) [2024-08-09T21:30:20.873Z] STF 17:30:20.489 - [2024-08-09T21:30:20.873Z] STF 17:30:20.489 - +------ Step 19 - Create runtime image [2024-08-09T21:30:20.873Z] STF 17:30:20.489 - | Run jlink to create runtime image [2024-08-09T21:30:20.873Z] STF 17:30:20.489 - | ImageName: CRI2 [2024-08-09T21:30:20.873Z] STF 17:30:20.489 - | [2024-08-09T21:30:20.873Z] STF 17:30:20.489 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/tmp --add-modules com.test.jlink --output /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/tmp/19.CRI2 [2024-08-09T21:30:20.873Z] STF 17:30:20.489 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/results/19.JLNK.stderr [2024-08-09T21:30:20.873Z] STF 17:30:20.489 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/results/19.JLNK.stdout [2024-08-09T21:30:20.873Z] STF 17:30:20.490 - Monitoring processes: JLNK [2024-08-09T21:30:21.625Z] STF 17:30:21.323 - Monitoring Report Summary: [2024-08-09T21:30:21.625Z] STF 17:30:21.323 - o Process JLNK ended with the expected exit code (0) [2024-08-09T21:30:21.625Z] STF 17:30:21.323 - [2024-08-09T21:30:21.625Z] STF 17:30:21.323 - +------ Step 20 - Running listmods [2024-08-09T21:30:21.625Z] STF 17:30:21.323 - | Run foreground process [2024-08-09T21:30:21.625Z] STF 17:30:21.323 - | Program: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/tmp/19.CRI2/bin/java [2024-08-09T21:30:21.625Z] STF 17:30:21.323 - | Mnemonic: LIST [2024-08-09T21:30:21.625Z] STF 17:30:21.323 - | Echo: ECHO_ON [2024-08-09T21:30:21.625Z] STF 17:30:21.323 - | Expectation: CLEAN_RUN within 1m [2024-08-09T21:30:21.625Z] STF 17:30:21.323 - | [2024-08-09T21:30:21.625Z] STF 17:30:21.323 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/tmp/19.CRI2/bin/java --list-modules -XX:-UseCompressedOops [2024-08-09T21:30:21.625Z] STF 17:30:21.323 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/results/20.LIST.stderr [2024-08-09T21:30:21.625Z] STF 17:30:21.323 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/results/20.LIST.stdout [2024-08-09T21:30:21.625Z] STF 17:30:21.324 - Monitoring processes: LIST [2024-08-09T21:30:22.841Z] LIST com.hello [2024-08-09T21:30:22.841Z] LIST com.test.jlink [2024-08-09T21:30:22.841Z] LIST java.base@17.0.13-beta [2024-08-09T21:30:22.841Z] STF 17:30:22.534 - Monitoring Report Summary: [2024-08-09T21:30:22.841Z] STF 17:30:22.534 - o Process LIST ended with the expected exit code (0) [2024-08-09T21:30:22.841Z] STF 17:30:22.534 - [2024-08-09T21:30:22.841Z] STF 17:30:22.534 - +------ Step 21 - Check output [2024-08-09T21:30:22.841Z] STF 17:30:22.534 - | Count file matches [2024-08-09T21:30:22.841Z] STF 17:30:22.534 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/results/20.LIST.stdout [2024-08-09T21:30:22.841Z] STF 17:30:22.534 - | ExpectedNumMatches: 1 [2024-08-09T21:30:22.841Z] STF 17:30:22.534 - | SearchStrings: ["com.hello"] [2024-08-09T21:30:22.841Z] STF 17:30:22.534 - | [2024-08-09T21:30:22.841Z] STF 17:30:22.534 - Found 1 instances of ["com.hello"] [2024-08-09T21:30:22.841Z] STF 17:30:22.534 - [2024-08-09T21:30:22.841Z] STF 17:30:22.534 - +------ Step 22 - Check output [2024-08-09T21:30:22.841Z] STF 17:30:22.534 - | Count file matches [2024-08-09T21:30:22.841Z] STF 17:30:22.534 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/results/20.LIST.stdout [2024-08-09T21:30:22.841Z] STF 17:30:22.534 - | ExpectedNumMatches: 1 [2024-08-09T21:30:22.841Z] STF 17:30:22.534 - | SearchStrings: ["com.test.jlink"] [2024-08-09T21:30:22.841Z] STF 17:30:22.534 - | [2024-08-09T21:30:22.841Z] STF 17:30:22.534 - Found 1 instances of ["com.test.jlink"] [2024-08-09T21:30:22.841Z] STF 17:30:22.534 - [2024-08-09T21:30:22.841Z] STF 17:30:22.534 - +------ Step 23 - Check output [2024-08-09T21:30:22.841Z] STF 17:30:22.534 - | Count file matches [2024-08-09T21:30:22.841Z] STF 17:30:22.534 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/results/20.LIST.stdout [2024-08-09T21:30:22.841Z] STF 17:30:22.534 - | ExpectedNumMatches: 1 [2024-08-09T21:30:22.841Z] STF 17:30:22.534 - | SearchStrings: ["java.base"] [2024-08-09T21:30:22.841Z] STF 17:30:22.534 - | [2024-08-09T21:30:22.841Z] STF 17:30:22.534 - Found 1 instances of ["java.base"] [2024-08-09T21:30:22.841Z] STF 17:30:22.534 - [2024-08-09T21:30:22.841Z] STF 17:30:22.534 - +------ Step 24 - Running adoptopenjdk.test.modularity.jlink.JniTest [2024-08-09T21:30:22.841Z] STF 17:30:22.534 - | Run foreground process [2024-08-09T21:30:22.841Z] STF 17:30:22.534 - | Program: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/tmp/19.CRI2/bin/java [2024-08-09T21:30:22.841Z] STF 17:30:22.534 - | Mnemonic: T2 [2024-08-09T21:30:22.841Z] STF 17:30:22.534 - | Echo: ECHO_ON [2024-08-09T21:30:22.841Z] STF 17:30:22.534 - | Expectation: CLEAN_RUN within 1m [2024-08-09T21:30:22.841Z] STF 17:30:22.534 - | [2024-08-09T21:30:22.841Z] STF 17:30:22.534 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/tmp/19.CRI2/bin/java -Djava.library.path=/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-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 [2024-08-09T21:30:22.841Z] STF 17:30:22.534 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/results/24.T2.stderr [2024-08-09T21:30:22.841Z] STF 17:30:22.534 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/results/24.T2.stdout [2024-08-09T21:30:22.841Z] STF 17:30:22.535 - Monitoring processes: T2 [2024-08-09T21:30:23.193Z] T2 JUnit version 4.12 [2024-08-09T21:30:23.193Z] T2 . [2024-08-09T21:30:23.193Z] T2 Time: 0.002 [2024-08-09T21:30:23.193Z] T2 [2024-08-09T21:30:23.193Z] T2 OK (1 test) [2024-08-09T21:30:23.193Z] T2 [2024-08-09T21:30:23.193Z] STF 17:30:23.092 - Monitoring Report Summary: [2024-08-09T21:30:23.193Z] STF 17:30:23.092 - o Process T2 ended with the expected exit code (0) [2024-08-09T21:30:23.193Z] STF 17:30:23.092 - [2024-08-09T21:30:23.193Z] STF 17:30:23.092 - +------ Step 25 - Create runtime image [2024-08-09T21:30:23.193Z] STF 17:30:23.092 - | Run jlink to create runtime image [2024-08-09T21:30:23.193Z] STF 17:30:23.092 - | ImageName: CRI3 [2024-08-09T21:30:23.193Z] STF 17:30:23.092 - | [2024-08-09T21:30:23.193Z] STF 17:30:23.092 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --add-modules com.test.jlink --output /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/tmp/25.CRI3 [2024-08-09T21:30:23.193Z] STF 17:30:23.092 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/results/25.JLNK.stderr [2024-08-09T21:30:23.193Z] STF 17:30:23.092 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/results/25.JLNK.stdout [2024-08-09T21:30:23.193Z] STF 17:30:23.093 - Monitoring processes: JLNK [2024-08-09T21:30:24.438Z] STF 17:30:23.890 - Monitoring Report Summary: [2024-08-09T21:30:24.438Z] STF 17:30:23.890 - o Process JLNK ended with the expected exit code (0) [2024-08-09T21:30:24.438Z] STF 17:30:23.890 - [2024-08-09T21:30:24.438Z] STF 17:30:23.890 - +------ Step 26 - Running listmods [2024-08-09T21:30:24.438Z] STF 17:30:23.890 - | Run foreground process [2024-08-09T21:30:24.438Z] STF 17:30:23.890 - | Program: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/tmp/25.CRI3/bin/java [2024-08-09T21:30:24.438Z] STF 17:30:23.890 - | Mnemonic: LIST [2024-08-09T21:30:24.438Z] STF 17:30:23.890 - | Echo: ECHO_ON [2024-08-09T21:30:24.438Z] STF 17:30:23.890 - | Expectation: CLEAN_RUN within 1m [2024-08-09T21:30:24.438Z] STF 17:30:23.890 - | [2024-08-09T21:30:24.438Z] STF 17:30:23.890 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/tmp/25.CRI3/bin/java --list-modules -XX:-UseCompressedOops [2024-08-09T21:30:24.438Z] STF 17:30:23.890 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/results/26.LIST.stderr [2024-08-09T21:30:24.438Z] STF 17:30:23.890 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/results/26.LIST.stdout [2024-08-09T21:30:24.438Z] STF 17:30:23.891 - Monitoring processes: LIST [2024-08-09T21:30:25.242Z] LIST com.hello [2024-08-09T21:30:25.242Z] LIST com.test.jlink [2024-08-09T21:30:25.242Z] LIST java.base@17.0.13-beta [2024-08-09T21:30:25.242Z] STF 17:30:25.096 - Monitoring Report Summary: [2024-08-09T21:30:25.242Z] STF 17:30:25.096 - o Process LIST ended with the expected exit code (0) [2024-08-09T21:30:25.242Z] STF 17:30:25.096 - [2024-08-09T21:30:25.242Z] STF 17:30:25.096 - +------ Step 27 - Check output [2024-08-09T21:30:25.242Z] STF 17:30:25.096 - | Count file matches [2024-08-09T21:30:25.242Z] STF 17:30:25.096 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/results/26.LIST.stdout [2024-08-09T21:30:25.242Z] STF 17:30:25.096 - | ExpectedNumMatches: 1 [2024-08-09T21:30:25.242Z] STF 17:30:25.096 - | SearchStrings: ["com.hello"] [2024-08-09T21:30:25.242Z] STF 17:30:25.096 - | [2024-08-09T21:30:25.242Z] STF 17:30:25.096 - Found 1 instances of ["com.hello"] [2024-08-09T21:30:25.242Z] STF 17:30:25.096 - [2024-08-09T21:30:25.242Z] STF 17:30:25.096 - +------ Step 28 - Check output [2024-08-09T21:30:25.242Z] STF 17:30:25.096 - | Count file matches [2024-08-09T21:30:25.242Z] STF 17:30:25.096 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/results/26.LIST.stdout [2024-08-09T21:30:25.242Z] STF 17:30:25.096 - | ExpectedNumMatches: 1 [2024-08-09T21:30:25.242Z] STF 17:30:25.096 - | SearchStrings: ["com.test.jlink"] [2024-08-09T21:30:25.242Z] STF 17:30:25.096 - | [2024-08-09T21:30:25.242Z] STF 17:30:25.096 - Found 1 instances of ["com.test.jlink"] [2024-08-09T21:30:25.242Z] STF 17:30:25.096 - [2024-08-09T21:30:25.242Z] STF 17:30:25.096 - +------ Step 29 - Check output [2024-08-09T21:30:25.242Z] STF 17:30:25.096 - | Count file matches [2024-08-09T21:30:25.242Z] STF 17:30:25.096 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/results/26.LIST.stdout [2024-08-09T21:30:25.242Z] STF 17:30:25.096 - | ExpectedNumMatches: 1 [2024-08-09T21:30:25.242Z] STF 17:30:25.096 - | SearchStrings: ["java.base"] [2024-08-09T21:30:25.242Z] STF 17:30:25.096 - | [2024-08-09T21:30:25.242Z] STF 17:30:25.096 - Found 1 instances of ["java.base"] [2024-08-09T21:30:25.242Z] STF 17:30:25.096 - [2024-08-09T21:30:25.242Z] STF 17:30:25.096 - +------ Step 30 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-08-09T21:30:25.242Z] STF 17:30:25.096 - | Run foreground process [2024-08-09T21:30:25.242Z] STF 17:30:25.096 - | Program: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/tmp/25.CRI3/bin/java [2024-08-09T21:30:25.242Z] STF 17:30:25.096 - | Mnemonic: T3 [2024-08-09T21:30:25.242Z] STF 17:30:25.096 - | Echo: ECHO_ON [2024-08-09T21:30:25.242Z] STF 17:30:25.096 - | Expectation: CLEAN_RUN within 1m [2024-08-09T21:30:25.242Z] STF 17:30:25.096 - | [2024-08-09T21:30:25.242Z] STF 17:30:25.096 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/tmp/25.CRI3/bin/java -Djava.library.path=/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-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 [2024-08-09T21:30:25.242Z] STF 17:30:25.096 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/results/30.T3.stderr [2024-08-09T21:30:25.242Z] STF 17:30:25.096 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/results/30.T3.stdout [2024-08-09T21:30:25.242Z] STF 17:30:25.097 - Monitoring processes: T3 [2024-08-09T21:30:25.990Z] T3 JUnit version 4.12 [2024-08-09T21:30:25.990Z] T3 . [2024-08-09T21:30:25.990Z] T3 Time: 0.002 [2024-08-09T21:30:25.990Z] T3 [2024-08-09T21:30:25.990Z] T3 OK (1 test) [2024-08-09T21:30:25.990Z] T3 [2024-08-09T21:30:25.990Z] STF 17:30:25.578 - Monitoring Report Summary: [2024-08-09T21:30:25.990Z] STF 17:30:25.578 - o Process T3 ended with the expected exit code (0) [2024-08-09T21:30:25.990Z] STF 17:30:25.578 - EXECUTE stage completed [2024-08-09T21:30:25.990Z] STF 17:30:25.660 - [2024-08-09T21:30:25.990Z] STF 17:30:25.660 - ==================== T E A R D O W N ==================== [2024-08-09T21:30:25.990Z] STF 17:30:25.660 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17232365159250/Jlink_ReqMod_1/20240809-173016-JlinkTest/tearDown.pl [2024-08-09T21:30:25.990Z] STF 17:30:25.703 - TEARDOWN stage completed [2024-08-09T21:30:25.990Z] STF 17:30:25.709 - [2024-08-09T21:30:25.990Z] STF 17:30:25.709 - ===================== R E S U L T S ===================== [2024-08-09T21:30:25.990Z] STF 17:30:25.709 - Stage results: [2024-08-09T21:30:25.990Z] STF 17:30:25.709 - setUp: pass [2024-08-09T21:30:25.990Z] STF 17:30:25.709 - execute: pass [2024-08-09T21:30:25.990Z] STF 17:30:25.709 - teardown: pass [2024-08-09T21:30:25.990Z] STF 17:30:25.709 - [2024-08-09T21:30:25.990Z] STF 17:30:25.709 - Overall result: PASSED [2024-08-09T21:30:25.990Z] ----------------------------------- [2024-08-09T21:30:25.990Z] Jlink_ReqMod_1_PASSED [2024-08-09T21:30:25.990Z] ----------------------------------- [2024-08-09T21:30:25.990Z] [2024-08-09T21:30:25.990Z] TEST TEARDOWN: [2024-08-09T21:30:25.990Z] Nothing to be done for teardown. [2024-08-09T21:30:25.990Z] Jlink_ReqMod_1 Finish Time: Fri Aug 9 17:30:25 2024 Epoch Time (ms): 1723239025777