Jlink_AddMLimitM_1

[2024-09-04T21:15:35.002Z] Running test Jlink_AddMLimitM_1 ... [2024-09-04T21:15:35.002Z] =============================================== [2024-09-04T21:15:35.002Z] Jlink_AddMLimitM_1 Start Time: Wed Sep 4 17:15:34 2024 Epoch Time (ms): 1725484534925 [2024-09-04T21:15:35.002Z] variation: Mode650 [2024-09-04T21:15:35.002Z] JVM_OPTIONS: -XX:-UseCompressedOops [2024-09-04T21:15:35.002Z] { \ [2024-09-04T21:15:35.002Z] echo ""; echo "TEST SETUP:"; \ [2024-09-04T21:15:35.002Z] echo "Nothing to be done for setup."; \ [2024-09-04T21:15:35.002Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17254819871481/Jlink_AddMLimitM_1"; \ [2024-09-04T21:15:35.002Z] cd "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17254819871481/Jlink_AddMLimitM_1"; \ [2024-09-04T21:15:35.002Z] echo ""; echo "TESTING:"; \ [2024-09-04T21:15:35.002Z] 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_17254819871481/Jlink_AddMLimitM_1" -test=JlinkTest -test-args="variant=AddMLimitM"; \ [2024-09-04T21:15:35.002Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "Jlink_AddMLimitM_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_17254819871481/Jlink_AddMLimitM_1"; else echo "-----------------------------------"; echo "Jlink_AddMLimitM_1""_FAILED"; echo "-----------------------------------"; fi; \ [2024-09-04T21:15:35.002Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-09-04T21:15:35.002Z] echo "Nothing to be done for teardown."; \ [2024-09-04T21:15:35.002Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17254819871481/TestTargetResult"; [2024-09-04T21:15:35.002Z] [2024-09-04T21:15:35.002Z] TEST SETUP: [2024-09-04T21:15:35.002Z] Nothing to be done for setup. [2024-09-04T21:15:35.002Z] [2024-09-04T21:15:35.002Z] TESTING: [2024-09-04T21:15:35.362Z] STF 17:15:34.966 - ========================= S T F ========================= [2024-09-04T21:15:35.362Z] 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_17254819871481/Jlink_AddMLimitM_1 [2024-09-04T21:15:35.362Z] There is 28678 Mb free [2024-09-04T21:15:35.362Z] STF 17:15:34.970 - ================== G E N E R A T I O N ================== [2024-09-04T21:15:35.362Z] STF 17:15:34.971 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2024-09-04T21:15:35.362Z] STF 17:15:34.971 - 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_17254819871481/Jlink_AddMLimitM_1/20240904-171534-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_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest" [2024-09-04T21:15:35.362Z] GEN stderr OpenJDK 64-Bit Server VM warning: Archived non-system classes are disabled because the java.system.class.loader property is specified (value = "net.adoptopenjdk.stf.runner.StfClassLoader"). To use archived non-system classes, this property must not be set [2024-09-04T21:15:35.362Z] GEN 17:15:35.270 - 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-09-04T21:15:35.362Z] GEN 17:15:35.277 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.JlinkTest' [2024-09-04T21:15:35.726Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-09-04T21:15:35.726Z] 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-09-04T21:15:35.726Z] 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-09-04T21:15:35.726Z] 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-09-04T21:15:35.726Z] 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-09-04T21:15:35.726Z] 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-09-04T21:15:35.726Z] 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-09-04T21:15:35.726Z] 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-09-04T21:15:35.726Z] 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-09-04T21:15:35.726Z] 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-09-04T21:15:35.726Z] 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-09-04T21:15:35.726Z] 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-09-04T21:15:35.726Z] 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-09-04T21:15:35.726Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2024-09-04T21:15:35.726Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2024-09-04T21:15:35.726Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2024-09-04T21:15:35.726Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/STF/stf.core/bin [2024-09-04T21:15:35.726Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-api.jar [2024-09-04T21:15:35.726Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-core.jar [2024-09-04T21:15:35.726Z] GEN /Users/admin/workspace/testDependency/system_lib/junit/junit.jar [2024-09-04T21:15:35.726Z] GEN 17:15:35.338 - Using Mode NoOptions. Values = '' [2024-09-04T21:15:35.726Z] GEN 17:15:35.369 - [2024-09-04T21:15:35.726Z] GEN 17:15:35.369 - Test command summary: [2024-09-04T21:15:35.726Z] GEN 17:15:35.369 - Step Stage Command Description [2024-09-04T21:15:35.726Z] GEN 17:15:35.369 - -----+--------+-----------------+------------ [2024-09-04T21:15:35.726Z] GEN 17:15:35.369 - 1 setUp cpDir Copying com.test.jlink [2024-09-04T21:15:35.726Z] GEN 17:15:35.369 - 2 setUp rm Removing natives folder from com.test.jLinkDirCopy [2024-09-04T21:15:35.726Z] GEN 17:15:35.369 - 3 setUp jar Create com.test.jlink jar [2024-09-04T21:15:35.726Z] GEN 17:15:35.369 - 4 setUp jar Create com.hello jar [2024-09-04T21:15:35.726Z] GEN 17:15:35.369 - 5 setUp fileCheck Check com.test.jlink modular jar created [2024-09-04T21:15:35.726Z] GEN 17:15:35.369 - 6 setUp fileCheck Check com.hello modular jar created [2024-09-04T21:15:35.726Z] GEN 17:15:35.369 - 7 setUp rm Removing conf folder from com.test.jLinkDirCopy [2024-09-04T21:15:35.726Z] GEN 17:15:35.369 - 8 setUp cpDir Copying .so from com.test.jlink/native [2024-09-04T21:15:35.726Z] GEN 17:15:35.369 - 9 setUp jmod Creating jmod of com.test.jlink module [2024-09-04T21:15:35.726Z] GEN 17:15:35.369 - 10 setUp jmod Creating jmod for com.hello module [2024-09-04T21:15:35.726Z] GEN 17:15:35.370 - 11 setUp fileCheck Check com.test.jlink jmod created [2024-09-04T21:15:35.726Z] GEN 17:15:35.370 - 12 setUp fileCheck Check com.hello jmod created [2024-09-04T21:15:35.727Z] GEN 17:15:35.370 - 13 execute jlink Create runtime image [2024-09-04T21:15:35.727Z] GEN 17:15:35.370 - 14 execute Run java Running listmods [2024-09-04T21:15:35.727Z] GEN 17:15:35.370 - 15 execute count Check output [2024-09-04T21:15:35.727Z] GEN 17:15:35.370 - 16 execute count Check output [2024-09-04T21:15:35.727Z] GEN 17:15:35.370 - 17 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-09-04T21:15:35.727Z] GEN 17:15:35.370 - 18 execute jlink Create runtime image [2024-09-04T21:15:35.727Z] GEN 17:15:35.370 - 19 execute Run java Running listmods [2024-09-04T21:15:35.727Z] GEN 17:15:35.370 - 20 execute count Check output [2024-09-04T21:15:35.727Z] GEN 17:15:35.370 - 21 execute count Check output [2024-09-04T21:15:35.727Z] GEN 17:15:35.370 - 22 execute count Check output [2024-09-04T21:15:35.727Z] GEN 17:15:35.370 - 23 execute count Check output [2024-09-04T21:15:35.727Z] GEN 17:15:35.370 - 24 execute count Check output [2024-09-04T21:15:35.727Z] GEN 17:15:35.370 - 25 execute count Check output [2024-09-04T21:15:35.727Z] GEN 17:15:35.370 - 26 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-09-04T21:15:35.727Z] GEN 17:15:35.370 - 27 execute Run jlink Run jlink command [2024-09-04T21:15:35.727Z] GEN 17:15:35.370 - 28 execute count Check output [2024-09-04T21:15:35.727Z] GEN 17:15:35.370 - 29 execute Run jlink Run jlink command [2024-09-04T21:15:35.727Z] GEN 17:15:35.370 - 30 execute count Check output [2024-09-04T21:15:35.727Z] STF 17:15:35.393 - [2024-09-04T21:15:35.727Z] STF 17:15:35.393 - Script generation completed [2024-09-04T21:15:35.727Z] STF 17:15:35.393 - [2024-09-04T21:15:35.727Z] STF 17:15:35.393 - [2024-09-04T21:15:35.727Z] STF 17:15:35.393 - ======================= S E T U P ======================= [2024-09-04T21:15:35.727Z] STF 17:15:35.393 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/setUp.pl [2024-09-04T21:15:35.727Z] STF 17:15:35.421 - [2024-09-04T21:15:35.727Z] STF 17:15:35.421 - +------ Step 1 - Copying com.test.jlink [2024-09-04T21:15:35.727Z] STF 17:15:35.421 - | Copy a directory to a new directory [2024-09-04T21:15:35.727Z] STF 17:15:35.421 - | 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-09-04T21:15:35.727Z] STF 17:15:35.421 - | Dest dir: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/com.test.jLinkDirCopy [2024-09-04T21:15:35.727Z] STF 17:15:35.421 - | [2024-09-04T21:15:35.727Z] STF 17:15:35.425 - [2024-09-04T21:15:35.727Z] STF 17:15:35.425 - +------ Step 2 - Removing natives folder from com.test.jLinkDirCopy [2024-09-04T21:15:35.727Z] STF 17:15:35.425 - | Recursively delete a directory [2024-09-04T21:15:35.727Z] STF 17:15:35.425 - | Directory: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/com.test.jLinkDirCopy/native [2024-09-04T21:15:35.727Z] STF 17:15:35.425 - | [2024-09-04T21:15:35.727Z] STF 17:15:35.427 - [2024-09-04T21:15:35.727Z] STF 17:15:35.427 - +------ Step 3 - Create com.test.jlink jar [2024-09-04T21:15:35.727Z] STF 17:15:35.427 - | Create modular jar [2024-09-04T21:15:35.727Z] STF 17:15:35.427 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test.jlink [2024-09-04T21:15:35.727Z] STF 17:15:35.427 - | ModuleVersion: null [2024-09-04T21:15:35.727Z] STF 17:15:35.427 - | MainClass: null [2024-09-04T21:15:35.727Z] STF 17:15:35.427 - | HashModules: null [2024-09-04T21:15:35.727Z] STF 17:15:35.427 - | [2024-09-04T21:15:35.727Z] STF 17:15:35.427 - 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_17254819871481/Jlink_AddMLimitM_1/20240904-171534-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-09-04T21:15:35.727Z] STF 17:15:35.427 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/results/3.CMJ.stderr [2024-09-04T21:15:35.727Z] STF 17:15:35.427 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/results/3.CMJ.stdout [2024-09-04T21:15:35.727Z] STF 17:15:35.433 - Monitoring processes: CMJ [2024-09-04T21:15:35.727Z] STF 17:15:35.517 - Monitoring Report Summary: [2024-09-04T21:15:35.727Z] STF 17:15:35.517 - o Process CMJ ended with the expected exit code (0) [2024-09-04T21:15:35.727Z] STF 17:15:35.517 - Created modular jar: 3.com.test.jlink.jar [2024-09-04T21:15:35.727Z] STF 17:15:35.517 - [2024-09-04T21:15:35.727Z] STF 17:15:35.517 - +------ Step 4 - Create com.hello jar [2024-09-04T21:15:35.727Z] STF 17:15:35.517 - | Create modular jar [2024-09-04T21:15:35.727Z] STF 17:15:35.517 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-09-04T21:15:35.727Z] STF 17:15:35.517 - | ModuleVersion: null [2024-09-04T21:15:35.727Z] STF 17:15:35.517 - | MainClass: null [2024-09-04T21:15:35.727Z] STF 17:15:35.517 - | HashModules: null [2024-09-04T21:15:35.727Z] STF 17:15:35.517 - | [2024-09-04T21:15:35.727Z] STF 17:15:35.517 - 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_17254819871481/Jlink_AddMLimitM_1/20240904-171534-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-09-04T21:15:35.727Z] STF 17:15:35.517 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/results/4.CMJ.stderr [2024-09-04T21:15:35.727Z] STF 17:15:35.517 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/results/4.CMJ.stdout [2024-09-04T21:15:35.727Z] STF 17:15:35.518 - Monitoring processes: CMJ [2024-09-04T21:15:35.727Z] STF 17:15:35.599 - Monitoring Report Summary: [2024-09-04T21:15:35.727Z] STF 17:15:35.599 - o Process CMJ ended with the expected exit code (0) [2024-09-04T21:15:35.727Z] STF 17:15:35.600 - Created modular jar: 4.com.hello.jar [2024-09-04T21:15:35.727Z] STF 17:15:35.600 - [2024-09-04T21:15:35.727Z] STF 17:15:35.600 - +------ Step 5 - Check com.test.jlink modular jar created [2024-09-04T21:15:35.727Z] STF 17:15:35.600 - | Validate file exists [2024-09-04T21:15:35.727Z] STF 17:15:35.600 - | File: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/modules/3.com.test.jlink.jar [2024-09-04T21:15:35.727Z] STF 17:15:35.600 - | [2024-09-04T21:15:35.727Z] STF 17:15:35.600 - [2024-09-04T21:15:35.727Z] STF 17:15:35.600 - +------ Step 6 - Check com.hello modular jar created [2024-09-04T21:15:35.727Z] STF 17:15:35.600 - | Validate file exists [2024-09-04T21:15:35.727Z] STF 17:15:35.600 - | File: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/modules/4.com.hello.jar [2024-09-04T21:15:35.727Z] STF 17:15:35.600 - | [2024-09-04T21:15:35.727Z] STF 17:15:35.600 - [2024-09-04T21:15:35.727Z] STF 17:15:35.600 - +------ Step 7 - Removing conf folder from com.test.jLinkDirCopy [2024-09-04T21:15:35.727Z] STF 17:15:35.600 - | Recursively delete a directory [2024-09-04T21:15:35.727Z] STF 17:15:35.600 - | Directory: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/com.test.jLinkDirCopy/conf [2024-09-04T21:15:35.727Z] STF 17:15:35.600 - | [2024-09-04T21:15:35.727Z] STF 17:15:35.600 - [2024-09-04T21:15:35.727Z] STF 17:15:35.600 - +------ Step 8 - Copying .so from com.test.jlink/native [2024-09-04T21:15:35.727Z] STF 17:15:35.600 - | Copy a directory to a new directory [2024-09-04T21:15:35.727Z] STF 17:15:35.600 - | 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-09-04T21:15:35.727Z] STF 17:15:35.600 - | Dest dir: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/native [2024-09-04T21:15:35.727Z] STF 17:15:35.600 - | [2024-09-04T21:15:35.727Z] STF 17:15:35.600 - [2024-09-04T21:15:35.727Z] STF 17:15:35.600 - +------ Step 9 - Creating jmod of com.test.jlink module [2024-09-04T21:15:35.727Z] STF 17:15:35.600 - | Run jmod utility [2024-09-04T21:15:35.727Z] STF 17:15:35.600 - | jmod: com.test.jlink.jmod [2024-09-04T21:15:35.727Z] STF 17:15:35.600 - | [2024-09-04T21:15:35.727Z] STF 17:15:35.600 - 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_17254819871481/Jlink_AddMLimitM_1/20240904-171534-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_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/native /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/tmp/com.test.jlink.jmod [2024-09-04T21:15:35.727Z] STF 17:15:35.600 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/results/9.JMOD.stderr [2024-09-04T21:15:35.727Z] STF 17:15:35.600 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/results/9.JMOD.stdout [2024-09-04T21:15:35.727Z] STF 17:15:35.601 - Monitoring processes: JMOD [2024-09-04T21:15:36.085Z] STF 17:15:35.688 - Monitoring Report Summary: [2024-09-04T21:15:36.085Z] STF 17:15:35.688 - o Process JMOD ended with the expected exit code (0) [2024-09-04T21:15:36.085Z] STF 17:15:35.688 - [2024-09-04T21:15:36.085Z] STF 17:15:35.688 - +------ Step 10 - Creating jmod for com.hello module [2024-09-04T21:15:36.086Z] STF 17:15:35.688 - | Run jmod utility [2024-09-04T21:15:36.086Z] STF 17:15:35.688 - | jmod: com.hello.jmod [2024-09-04T21:15:36.086Z] STF 17:15:35.688 - | [2024-09-04T21:15:36.086Z] STF 17:15:35.689 - 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_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/tmp/com.hello.jmod [2024-09-04T21:15:36.086Z] STF 17:15:35.689 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/results/10.JMOD.stderr [2024-09-04T21:15:36.086Z] STF 17:15:35.689 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/results/10.JMOD.stdout [2024-09-04T21:15:36.086Z] STF 17:15:35.690 - Monitoring processes: JMOD [2024-09-04T21:15:36.086Z] STF 17:15:35.774 - Monitoring Report Summary: [2024-09-04T21:15:36.086Z] STF 17:15:35.774 - o Process JMOD ended with the expected exit code (0) [2024-09-04T21:15:36.086Z] STF 17:15:35.774 - [2024-09-04T21:15:36.086Z] STF 17:15:35.774 - +------ Step 11 - Check com.test.jlink jmod created [2024-09-04T21:15:36.086Z] STF 17:15:35.774 - | Validate file exists [2024-09-04T21:15:36.086Z] STF 17:15:35.774 - | File: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/tmp/com.test.jlink.jmod [2024-09-04T21:15:36.086Z] STF 17:15:35.774 - | [2024-09-04T21:15:36.086Z] STF 17:15:35.774 - [2024-09-04T21:15:36.086Z] STF 17:15:35.774 - +------ Step 12 - Check com.hello jmod created [2024-09-04T21:15:36.086Z] STF 17:15:35.774 - | Validate file exists [2024-09-04T21:15:36.086Z] STF 17:15:35.774 - | File: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/tmp/com.hello.jmod [2024-09-04T21:15:36.086Z] STF 17:15:35.774 - | [2024-09-04T21:15:36.086Z] STF 17:15:35.774 - SETUP stage completed [2024-09-04T21:15:36.086Z] STF 17:15:35.780 - [2024-09-04T21:15:36.086Z] STF 17:15:35.780 - ==================== E X E C U T E - ==================== [2024-09-04T21:15:36.086Z] STF 17:15:35.780 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/execute.pl [2024-09-04T21:15:36.086Z] STF 17:15:35.809 - [2024-09-04T21:15:36.086Z] STF 17:15:35.809 - Java version [2024-09-04T21:15:36.086Z] STF 17:15:35.809 - Running: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2024-09-04T21:15:36.086Z] STF 17:15:35.835 - [2024-09-04T21:15:36.086Z] STF 17:15:35.835 - +------ Step 13 - Create runtime image [2024-09-04T21:15:36.086Z] STF 17:15:35.835 - | Run jlink to create runtime image [2024-09-04T21:15:36.086Z] STF 17:15:35.835 - | ImageName: CRI4 [2024-09-04T21:15:36.086Z] STF 17:15:35.835 - | [2024-09-04T21:15:36.086Z] STF 17:15:35.835 - 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_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/modules --limit-modules com.test.jlink --add-modules com.test.jlink --output /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/tmp/13.CRI4 [2024-09-04T21:15:36.086Z] STF 17:15:35.835 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/results/13.JLNK.stderr [2024-09-04T21:15:36.086Z] STF 17:15:35.835 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/results/13.JLNK.stdout [2024-09-04T21:15:36.086Z] openjdk version "17.0.13-beta" 2024-10-15 [2024-09-04T21:15:36.086Z] OpenJDK Runtime Environment Temurin-17.0.13+6-202409041934 (build 17.0.13-beta+6-ea) [2024-09-04T21:15:36.086Z] OpenJDK 64-Bit Server VM Temurin-17.0.13+6-202409041934 (build 17.0.13-beta+6-ea, mixed mode, sharing) [2024-09-04T21:15:36.086Z] STF 17:15:35.840 - Monitoring processes: JLNK [2024-09-04T21:15:36.857Z] STF 17:15:36.535 - Monitoring Report Summary: [2024-09-04T21:15:36.857Z] STF 17:15:36.535 - o Process JLNK ended with the expected exit code (0) [2024-09-04T21:15:36.857Z] STF 17:15:36.535 - [2024-09-04T21:15:36.857Z] STF 17:15:36.535 - +------ Step 14 - Running listmods [2024-09-04T21:15:36.857Z] STF 17:15:36.535 - | Run foreground process [2024-09-04T21:15:36.857Z] STF 17:15:36.535 - | Program: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/tmp/13.CRI4/bin/java [2024-09-04T21:15:36.857Z] STF 17:15:36.535 - | Mnemonic: LIST [2024-09-04T21:15:36.857Z] STF 17:15:36.535 - | Echo: ECHO_ON [2024-09-04T21:15:36.857Z] STF 17:15:36.535 - | Expectation: CLEAN_RUN within 1m [2024-09-04T21:15:36.857Z] STF 17:15:36.535 - | [2024-09-04T21:15:36.857Z] STF 17:15:36.535 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/tmp/13.CRI4/bin/java --list-modules -XX:-UseCompressedOops [2024-09-04T21:15:36.857Z] STF 17:15:36.535 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/results/14.LIST.stderr [2024-09-04T21:15:36.857Z] STF 17:15:36.535 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/results/14.LIST.stdout [2024-09-04T21:15:36.857Z] STF 17:15:36.537 - Monitoring processes: LIST [2024-09-04T21:15:38.090Z] LIST com.hello [2024-09-04T21:15:38.090Z] LIST com.test.jlink [2024-09-04T21:15:38.090Z] LIST java.base@17.0.13-beta [2024-09-04T21:15:38.090Z] STF 17:15:37.705 - Monitoring Report Summary: [2024-09-04T21:15:38.090Z] STF 17:15:37.705 - o Process LIST ended with the expected exit code (0) [2024-09-04T21:15:38.090Z] STF 17:15:37.705 - [2024-09-04T21:15:38.090Z] STF 17:15:37.705 - +------ Step 15 - Check output [2024-09-04T21:15:38.090Z] STF 17:15:37.705 - | Count file matches [2024-09-04T21:15:38.090Z] STF 17:15:37.705 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/results/14.LIST.stdout [2024-09-04T21:15:38.090Z] STF 17:15:37.705 - | ExpectedNumMatches: 1 [2024-09-04T21:15:38.090Z] STF 17:15:37.705 - | SearchStrings: ["com.hello"] [2024-09-04T21:15:38.090Z] STF 17:15:37.705 - | [2024-09-04T21:15:38.090Z] STF 17:15:37.705 - Found 1 instances of ["com.hello"] [2024-09-04T21:15:38.090Z] STF 17:15:37.705 - [2024-09-04T21:15:38.090Z] STF 17:15:37.705 - +------ Step 16 - Check output [2024-09-04T21:15:38.090Z] STF 17:15:37.705 - | Count file matches [2024-09-04T21:15:38.090Z] STF 17:15:37.705 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/results/14.LIST.stdout [2024-09-04T21:15:38.090Z] STF 17:15:37.705 - | ExpectedNumMatches: 1 [2024-09-04T21:15:38.090Z] STF 17:15:37.705 - | SearchStrings: ["com.test.jlink"] [2024-09-04T21:15:38.090Z] STF 17:15:37.705 - | [2024-09-04T21:15:38.090Z] STF 17:15:37.705 - Found 1 instances of ["com.test.jlink"] [2024-09-04T21:15:38.090Z] STF 17:15:37.705 - [2024-09-04T21:15:38.090Z] STF 17:15:37.705 - +------ Step 17 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-09-04T21:15:38.090Z] STF 17:15:37.705 - | Run foreground process [2024-09-04T21:15:38.090Z] STF 17:15:37.705 - | Program: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/tmp/13.CRI4/bin/java [2024-09-04T21:15:38.090Z] STF 17:15:37.705 - | Mnemonic: T4 [2024-09-04T21:15:38.090Z] STF 17:15:37.705 - | Echo: ECHO_ON [2024-09-04T21:15:38.090Z] STF 17:15:37.705 - | Expectation: CLEAN_RUN within 1m [2024-09-04T21:15:38.090Z] STF 17:15:37.705 - | [2024-09-04T21:15:38.090Z] STF 17:15:37.706 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/tmp/13.CRI4/bin/java -Djava.library.path=/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-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-09-04T21:15:38.090Z] STF 17:15:37.706 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/results/17.T4.stderr [2024-09-04T21:15:38.090Z] STF 17:15:37.706 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/results/17.T4.stdout [2024-09-04T21:15:38.090Z] STF 17:15:37.707 - Monitoring processes: T4 [2024-09-04T21:15:38.447Z] T4 JUnit version 4.12 [2024-09-04T21:15:38.447Z] T4 . [2024-09-04T21:15:38.447Z] T4 Time: 0.001 [2024-09-04T21:15:38.447Z] T4 [2024-09-04T21:15:38.447Z] T4 OK (1 test) [2024-09-04T21:15:38.447Z] T4 [2024-09-04T21:15:38.447Z] STF 17:15:38.118 - Monitoring Report Summary: [2024-09-04T21:15:38.447Z] STF 17:15:38.118 - o Process T4 ended with the expected exit code (0) [2024-09-04T21:15:38.447Z] STF 17:15:38.118 - [2024-09-04T21:15:38.447Z] STF 17:15:38.118 - +------ Step 18 - Create runtime image [2024-09-04T21:15:38.447Z] STF 17:15:38.118 - | Run jlink to create runtime image [2024-09-04T21:15:38.447Z] STF 17:15:38.118 - | ImageName: CRI5 [2024-09-04T21:15:38.447Z] STF 17:15:38.118 - | [2024-09-04T21:15:38.447Z] STF 17:15:38.119 - 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_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/modules --limit-modules com.test.jlink,com.hello,java.sql --add-modules com.test.jlink,java.sql --output /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/tmp/18.CRI5 [2024-09-04T21:15:38.447Z] STF 17:15:38.119 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/results/18.JLNK.stderr [2024-09-04T21:15:38.447Z] STF 17:15:38.119 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/results/18.JLNK.stdout [2024-09-04T21:15:38.447Z] STF 17:15:38.120 - Monitoring processes: JLNK [2024-09-04T21:15:39.213Z] STF 17:15:39.064 - Monitoring Report Summary: [2024-09-04T21:15:39.213Z] STF 17:15:39.064 - o Process JLNK ended with the expected exit code (0) [2024-09-04T21:15:39.213Z] STF 17:15:39.065 - [2024-09-04T21:15:39.213Z] STF 17:15:39.065 - +------ Step 19 - Running listmods [2024-09-04T21:15:39.213Z] STF 17:15:39.065 - | Run foreground process [2024-09-04T21:15:39.213Z] STF 17:15:39.065 - | Program: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/tmp/18.CRI5/bin/java [2024-09-04T21:15:39.213Z] STF 17:15:39.065 - | Mnemonic: LIST [2024-09-04T21:15:39.213Z] STF 17:15:39.065 - | Echo: ECHO_ON [2024-09-04T21:15:39.213Z] STF 17:15:39.065 - | Expectation: CLEAN_RUN within 1m [2024-09-04T21:15:39.213Z] STF 17:15:39.065 - | [2024-09-04T21:15:39.213Z] STF 17:15:39.065 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/tmp/18.CRI5/bin/java --list-modules -XX:-UseCompressedOops [2024-09-04T21:15:39.213Z] STF 17:15:39.065 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/results/19.LIST.stderr [2024-09-04T21:15:39.213Z] STF 17:15:39.065 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/results/19.LIST.stdout [2024-09-04T21:15:39.213Z] STF 17:15:39.066 - Monitoring processes: LIST [2024-09-04T21:15:40.447Z] LIST com.hello [2024-09-04T21:15:40.447Z] LIST com.test.jlink [2024-09-04T21:15:40.447Z] LIST java.base@17.0.13-beta [2024-09-04T21:15:40.447Z] LIST java.logging@17.0.13-beta [2024-09-04T21:15:40.447Z] LIST java.sql@17.0.13-beta [2024-09-04T21:15:40.447Z] LIST java.transaction.xa@17.0.13-beta [2024-09-04T21:15:40.447Z] LIST java.xml@17.0.13-beta [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - Monitoring Report Summary: [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - o Process LIST ended with the expected exit code (0) [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - +------ Step 20 - Check output [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - | Count file matches [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/results/19.LIST.stdout [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - | ExpectedNumMatches: 1 [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - | SearchStrings: ["com.hello"] [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - | [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - Found 1 instances of ["com.hello"] [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - +------ Step 21 - Check output [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - | Count file matches [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/results/19.LIST.stdout [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - | ExpectedNumMatches: 1 [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - | SearchStrings: ["com.test.jlink"] [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - | [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - Found 1 instances of ["com.test.jlink"] [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - +------ Step 22 - Check output [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - | Count file matches [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/results/19.LIST.stdout [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - | ExpectedNumMatches: 1 [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - | SearchStrings: ["java.base"] [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - | [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - Found 1 instances of ["java.base"] [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - +------ Step 23 - Check output [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - | Count file matches [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/results/19.LIST.stdout [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - | ExpectedNumMatches: 1 [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - | SearchStrings: ["java.sql"] [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - | [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - Found 1 instances of ["java.sql"] [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - +------ Step 24 - Check output [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - | Count file matches [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/results/19.LIST.stdout [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - | ExpectedNumMatches: 1 [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - | SearchStrings: ["java.logging"] [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - | [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - Found 1 instances of ["java.logging"] [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - +------ Step 25 - Check output [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - | Count file matches [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/results/19.LIST.stdout [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - | ExpectedNumMatches: 1 [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - | SearchStrings: ["java.xml"] [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - | [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - Found 1 instances of ["java.xml"] [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - +------ Step 26 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - | Run foreground process [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - | Program: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/tmp/18.CRI5/bin/java [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - | Mnemonic: T5 [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - | Echo: ECHO_ON [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - | Expectation: CLEAN_RUN within 1m [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - | [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/tmp/18.CRI5/bin/java -Djava.library.path=/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-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-09-04T21:15:40.447Z] STF 17:15:40.295 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/results/26.T5.stderr [2024-09-04T21:15:40.447Z] STF 17:15:40.295 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/results/26.T5.stdout [2024-09-04T21:15:40.447Z] STF 17:15:40.297 - Monitoring processes: T5 [2024-09-04T21:15:40.805Z] T5 JUnit version 4.12 [2024-09-04T21:15:40.805Z] T5 . [2024-09-04T21:15:40.805Z] T5 Time: 0.002 [2024-09-04T21:15:40.805Z] T5 [2024-09-04T21:15:40.805Z] T5 OK (1 test) [2024-09-04T21:15:40.805Z] T5 [2024-09-04T21:15:40.805Z] STF 17:15:40.697 - Monitoring Report Summary: [2024-09-04T21:15:40.805Z] STF 17:15:40.697 - o Process T5 ended with the expected exit code (0) [2024-09-04T21:15:40.805Z] STF 17:15:40.697 - [2024-09-04T21:15:40.805Z] STF 17:15:40.697 - +------ Step 27 - Run jlink command [2024-09-04T21:15:40.805Z] STF 17:15:40.697 - | Run foreground process [2024-09-04T21:15:40.805Z] STF 17:15:40.697 - | Program: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jlink [2024-09-04T21:15:40.805Z] STF 17:15:40.697 - | Mnemonic: JLNK [2024-09-04T21:15:40.805Z] STF 17:15:40.697 - | Echo: ECHO_ON [2024-09-04T21:15:40.805Z] STF 17:15:40.697 - | Expectation: NON_ZERO_EXIT [1] within 2m [2024-09-04T21:15:40.805Z] STF 17:15:40.697 - | [2024-09-04T21:15:40.805Z] STF 17:15:40.697 - 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_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/modules --limit-modules java.base --add-modules com.test.jlink --output /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/tmp/27.CRI6 [2024-09-04T21:15:40.805Z] STF 17:15:40.697 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/results/27.JLNK.stderr [2024-09-04T21:15:40.805Z] STF 17:15:40.697 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/results/27.JLNK.stdout [2024-09-04T21:15:40.805Z] STF 17:15:40.698 - Monitoring processes: JLNK [2024-09-04T21:15:41.162Z] JLNK Error: Module com.hello not found, required by com.test.jlink [2024-09-04T21:15:41.162Z] JLNK java.lang.module.FindException: Module com.hello not found, required by com.test.jlink [2024-09-04T21:15:41.162Z] JLNK at java.base/java.lang.module.Resolver.findFail(Resolver.java:893) [2024-09-04T21:15:41.162Z] JLNK at java.base/java.lang.module.Resolver.resolve(Resolver.java:192) [2024-09-04T21:15:41.162Z] JLNK at java.base/java.lang.module.Resolver.resolve(Resolver.java:141) [2024-09-04T21:15:41.162Z] JLNK at java.base/java.lang.module.Configuration.resolve(Configuration.java:421) [2024-09-04T21:15:41.162Z] JLNK at java.base/java.lang.module.Configuration.resolve(Configuration.java:255) [2024-09-04T21:15:41.162Z] JLNK at jdk.jlink/jdk.tools.jlink.internal.Jlink$JlinkConfiguration.resolve(Jlink.java:217) [2024-09-04T21:15:41.162Z] JLNK at jdk.jlink/jdk.tools.jlink.internal.JlinkTask.createImageProvider(JlinkTask.java:536) [2024-09-04T21:15:41.162Z] JLNK at jdk.jlink/jdk.tools.jlink.internal.JlinkTask.createImage(JlinkTask.java:424) [2024-09-04T21:15:41.162Z] JLNK at jdk.jlink/jdk.tools.jlink.internal.JlinkTask.run(JlinkTask.java:276) [2024-09-04T21:15:41.162Z] JLNK at jdk.jlink/jdk.tools.jlink.internal.Main.run(Main.java:55) [2024-09-04T21:15:41.162Z] JLNK at jdk.jlink/jdk.tools.jlink.internal.Main.main(Main.java:33) [2024-09-04T21:15:41.162Z] STF 17:15:40.847 - Monitoring Report Summary: [2024-09-04T21:15:41.162Z] STF 17:15:40.847 - o Process JLNK ended with the expected exit code (1) [2024-09-04T21:15:41.162Z] STF 17:15:40.847 - [2024-09-04T21:15:41.162Z] STF 17:15:40.847 - +------ Step 28 - Check output [2024-09-04T21:15:41.162Z] STF 17:15:40.847 - | Count file matches [2024-09-04T21:15:41.163Z] STF 17:15:40.847 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/results/27.JLNK.stdout [2024-09-04T21:15:41.163Z] STF 17:15:40.847 - | ExpectedNumMatches: 1 [2024-09-04T21:15:41.163Z] STF 17:15:40.847 - | SearchStrings: ["Error: Module com.hello not found, required by com.test.jlink"] [2024-09-04T21:15:41.163Z] STF 17:15:40.847 - | [2024-09-04T21:15:41.163Z] STF 17:15:40.847 - Found 1 instances of ["Error: Module com.hello not found, required by com.test.jlink"] [2024-09-04T21:15:41.163Z] STF 17:15:40.847 - [2024-09-04T21:15:41.163Z] STF 17:15:40.847 - +------ Step 29 - Run jlink command [2024-09-04T21:15:41.163Z] STF 17:15:40.847 - | Run foreground process [2024-09-04T21:15:41.163Z] STF 17:15:40.847 - | Program: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jlink [2024-09-04T21:15:41.163Z] STF 17:15:40.847 - | Mnemonic: JLNK [2024-09-04T21:15:41.163Z] STF 17:15:40.847 - | Echo: ECHO_ON [2024-09-04T21:15:41.163Z] STF 17:15:40.847 - | Expectation: NON_ZERO_EXIT [1] within 2m [2024-09-04T21:15:41.163Z] STF 17:15:40.847 - | [2024-09-04T21:15:41.163Z] STF 17:15:40.847 - 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_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/modules --limit-modules com.test.jlink --add-modules java.sql,com.test.jlink --output /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/tmp/29.CRI6 [2024-09-04T21:15:41.163Z] STF 17:15:40.847 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/results/29.JLNK.stderr [2024-09-04T21:15:41.163Z] STF 17:15:40.847 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/results/29.JLNK.stdout [2024-09-04T21:15:41.163Z] STF 17:15:40.848 - Monitoring processes: JLNK [2024-09-04T21:15:41.163Z] JLNK Error: Module java.transaction.xa not found, required by java.sql [2024-09-04T21:15:41.163Z] JLNK java.lang.module.FindException: Module java.transaction.xa not found, required by java.sql [2024-09-04T21:15:41.163Z] JLNK at java.base/java.lang.module.Resolver.findFail(Resolver.java:893) [2024-09-04T21:15:41.163Z] JLNK at java.base/java.lang.module.Resolver.resolve(Resolver.java:192) [2024-09-04T21:15:41.163Z] JLNK at java.base/java.lang.module.Resolver.resolve(Resolver.java:141) [2024-09-04T21:15:41.163Z] JLNK at java.base/java.lang.module.Configuration.resolve(Configuration.java:421) [2024-09-04T21:15:41.163Z] JLNK at java.base/java.lang.module.Configuration.resolve(Configuration.java:255) [2024-09-04T21:15:41.163Z] JLNK at jdk.jlink/jdk.tools.jlink.internal.Jlink$JlinkConfiguration.resolve(Jlink.java:217) [2024-09-04T21:15:41.163Z] JLNK at jdk.jlink/jdk.tools.jlink.internal.JlinkTask.createImageProvider(JlinkTask.java:536) [2024-09-04T21:15:41.163Z] JLNK at jdk.jlink/jdk.tools.jlink.internal.JlinkTask.createImage(JlinkTask.java:424) [2024-09-04T21:15:41.163Z] JLNK at jdk.jlink/jdk.tools.jlink.internal.JlinkTask.run(JlinkTask.java:276) [2024-09-04T21:15:41.163Z] JLNK at jdk.jlink/jdk.tools.jlink.internal.Main.run(Main.java:55) [2024-09-04T21:15:41.163Z] JLNK at jdk.jlink/jdk.tools.jlink.internal.Main.main(Main.java:33) [2024-09-04T21:15:41.163Z] STF 17:15:40.997 - Monitoring Report Summary: [2024-09-04T21:15:41.163Z] STF 17:15:40.997 - o Process JLNK ended with the expected exit code (1) [2024-09-04T21:15:41.163Z] STF 17:15:40.997 - [2024-09-04T21:15:41.163Z] STF 17:15:40.997 - +------ Step 30 - Check output [2024-09-04T21:15:41.163Z] STF 17:15:40.997 - | Count file matches [2024-09-04T21:15:41.163Z] STF 17:15:40.997 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/results/29.JLNK.stdout [2024-09-04T21:15:41.163Z] STF 17:15:40.997 - | ExpectedNumMatches: 2 [2024-09-04T21:15:41.163Z] STF 17:15:40.997 - | SearchStrings: ["not found, required by java.sql"] [2024-09-04T21:15:41.163Z] STF 17:15:40.997 - | [2024-09-04T21:15:41.163Z] STF 17:15:40.997 - Found 2 instances of ["not found, required by java.sql"] [2024-09-04T21:15:41.163Z] STF 17:15:40.997 - EXECUTE stage completed [2024-09-04T21:15:41.163Z] STF 17:15:41.049 - [2024-09-04T21:15:41.163Z] STF 17:15:41.049 - ==================== T E A R D O W N ==================== [2024-09-04T21:15:41.163Z] STF 17:15:41.049 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17254819871481/Jlink_AddMLimitM_1/20240904-171534-JlinkTest/tearDown.pl [2024-09-04T21:15:41.163Z] STF 17:15:41.078 - TEARDOWN stage completed [2024-09-04T21:15:41.163Z] STF 17:15:41.086 - [2024-09-04T21:15:41.163Z] STF 17:15:41.086 - ===================== R E S U L T S ===================== [2024-09-04T21:15:41.163Z] STF 17:15:41.086 - Stage results: [2024-09-04T21:15:41.163Z] STF 17:15:41.086 - setUp: pass [2024-09-04T21:15:41.163Z] STF 17:15:41.086 - execute: pass [2024-09-04T21:15:41.163Z] STF 17:15:41.086 - teardown: pass [2024-09-04T21:15:41.163Z] STF 17:15:41.086 - [2024-09-04T21:15:41.163Z] STF 17:15:41.086 - Overall result: PASSED [2024-09-04T21:15:41.163Z] ----------------------------------- [2024-09-04T21:15:41.163Z] Jlink_AddMLimitM_1_PASSED [2024-09-04T21:15:41.163Z] ----------------------------------- [2024-09-04T21:15:41.163Z] [2024-09-04T21:15:41.163Z] TEST TEARDOWN: [2024-09-04T21:15:41.163Z] Nothing to be done for teardown. [2024-09-04T21:15:41.163Z] Jlink_AddMLimitM_1 Finish Time: Wed Sep 4 17:15:41 2024 Epoch Time (ms): 1725484541111