Jlink_AddMLimitM_0

[2025-01-10T21:08:23.224Z] Running test Jlink_AddMLimitM_0 ... [2025-01-10T21:08:23.224Z] =============================================== [2025-01-10T21:08:23.224Z] Jlink_AddMLimitM_0 Start Time: Fri Jan 10 16:08:22 2025 Epoch Time (ms): 1736543302869 [2025-01-10T21:08:23.224Z] variation: Mode150 [2025-01-10T21:08:23.224Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-01-10T21:08:23.224Z] { \ [2025-01-10T21:08:23.224Z] echo ""; echo "TEST SETUP:"; \ [2025-01-10T21:08:23.224Z] echo "Nothing to be done for setup."; \ [2025-01-10T21:08:23.224Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17365407725799/Jlink_AddMLimitM_0"; \ [2025-01-10T21:08:23.224Z] cd "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17365407725799/Jlink_AddMLimitM_0"; \ [2025-01-10T21:08:23.224Z] echo ""; echo "TESTING:"; \ [2025-01-10T21:08:23.224Z] 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_17365407725799/Jlink_AddMLimitM_0" -test=JlinkTest -test-args="variant=AddMLimitM"; \ [2025-01-10T21:08:23.224Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "Jlink_AddMLimitM_0""_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_17365407725799/Jlink_AddMLimitM_0"; else echo "-----------------------------------"; echo "Jlink_AddMLimitM_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-01-10T21:08:23.224Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-01-10T21:08:23.224Z] echo "Nothing to be done for teardown."; \ [2025-01-10T21:08:23.224Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17365407725799/TestTargetResult"; [2025-01-10T21:08:23.224Z] [2025-01-10T21:08:23.224Z] TEST SETUP: [2025-01-10T21:08:23.224Z] Nothing to be done for setup. [2025-01-10T21:08:23.224Z] [2025-01-10T21:08:23.224Z] TESTING: [2025-01-10T21:08:23.224Z] STF 16:08:22.903 - ========================= S T F ========================= [2025-01-10T21:08:23.224Z] 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_17365407725799/Jlink_AddMLimitM_0 [2025-01-10T21:08:23.224Z] There is 28486 Mb free [2025-01-10T21:08:23.224Z] STF 16:08:22.907 - ================== G E N E R A T I O N ================== [2025-01-10T21:08:23.224Z] STF 16:08:22.907 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2025-01-10T21:08:23.224Z] STF 16:08:22.907 - 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_17365407725799/Jlink_AddMLimitM_0/20250110-160822-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_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest" [2025-01-10T21:08:23.224Z] 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 [2025-01-10T21:08:23.615Z] GEN 16:08:23.192 - 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' [2025-01-10T21:08:23.615Z] GEN 16:08:23.197 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.JlinkTest' [2025-01-10T21:08:23.615Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-01-10T21:08:23.615Z] 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 [2025-01-10T21:08:23.615Z] 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 [2025-01-10T21:08:23.615Z] 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 [2025-01-10T21:08:23.615Z] 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 [2025-01-10T21:08:23.615Z] 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 [2025-01-10T21:08:23.615Z] 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 [2025-01-10T21:08:23.615Z] 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 [2025-01-10T21:08:23.615Z] 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 [2025-01-10T21:08:23.615Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-01-10T21:08:23.615Z] 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 [2025-01-10T21:08:23.615Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-01-10T21:08:23.615Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-01-10T21:08:23.615Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-01-10T21:08:23.615Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-01-10T21:08:23.615Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-01-10T21:08:23.615Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/STF/stf.core/bin [2025-01-10T21:08:23.615Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-api.jar [2025-01-10T21:08:23.615Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-core.jar [2025-01-10T21:08:23.615Z] GEN /Users/admin/workspace/testDependency/system_lib/junit/junit.jar [2025-01-10T21:08:23.615Z] GEN 16:08:23.247 - Using Mode NoOptions. Values = '' [2025-01-10T21:08:23.615Z] GEN 16:08:23.273 - [2025-01-10T21:08:23.615Z] GEN 16:08:23.274 - Test command summary: [2025-01-10T21:08:23.615Z] GEN 16:08:23.274 - Step Stage Command Description [2025-01-10T21:08:23.615Z] GEN 16:08:23.274 - -----+--------+-----------------+------------ [2025-01-10T21:08:23.615Z] GEN 16:08:23.274 - 1 setUp cpDir Copying com.test.jlink [2025-01-10T21:08:23.615Z] GEN 16:08:23.274 - 2 setUp rm Removing natives folder from com.test.jLinkDirCopy [2025-01-10T21:08:23.615Z] GEN 16:08:23.274 - 3 setUp jar Create com.test.jlink jar [2025-01-10T21:08:23.615Z] GEN 16:08:23.274 - 4 setUp jar Create com.hello jar [2025-01-10T21:08:23.615Z] GEN 16:08:23.274 - 5 setUp fileCheck Check com.test.jlink modular jar created [2025-01-10T21:08:23.615Z] GEN 16:08:23.274 - 6 setUp fileCheck Check com.hello modular jar created [2025-01-10T21:08:23.615Z] GEN 16:08:23.274 - 7 setUp rm Removing conf folder from com.test.jLinkDirCopy [2025-01-10T21:08:23.615Z] GEN 16:08:23.274 - 8 setUp cpDir Copying .so from com.test.jlink/native [2025-01-10T21:08:23.615Z] GEN 16:08:23.274 - 9 setUp jmod Creating jmod of com.test.jlink module [2025-01-10T21:08:23.615Z] GEN 16:08:23.274 - 10 setUp jmod Creating jmod for com.hello module [2025-01-10T21:08:23.615Z] GEN 16:08:23.274 - 11 setUp fileCheck Check com.test.jlink jmod created [2025-01-10T21:08:23.615Z] GEN 16:08:23.274 - 12 setUp fileCheck Check com.hello jmod created [2025-01-10T21:08:23.615Z] GEN 16:08:23.274 - 13 execute jlink Create runtime image [2025-01-10T21:08:23.615Z] GEN 16:08:23.274 - 14 execute Run java Running listmods [2025-01-10T21:08:23.615Z] GEN 16:08:23.274 - 15 execute count Check output [2025-01-10T21:08:23.615Z] GEN 16:08:23.274 - 16 execute count Check output [2025-01-10T21:08:23.615Z] GEN 16:08:23.274 - 17 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-01-10T21:08:23.615Z] GEN 16:08:23.274 - 18 execute jlink Create runtime image [2025-01-10T21:08:23.615Z] GEN 16:08:23.274 - 19 execute Run java Running listmods [2025-01-10T21:08:23.615Z] GEN 16:08:23.274 - 20 execute count Check output [2025-01-10T21:08:23.615Z] GEN 16:08:23.274 - 21 execute count Check output [2025-01-10T21:08:23.615Z] GEN 16:08:23.274 - 22 execute count Check output [2025-01-10T21:08:23.615Z] GEN 16:08:23.274 - 23 execute count Check output [2025-01-10T21:08:23.615Z] GEN 16:08:23.274 - 24 execute count Check output [2025-01-10T21:08:23.615Z] GEN 16:08:23.274 - 25 execute count Check output [2025-01-10T21:08:23.615Z] GEN 16:08:23.274 - 26 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-01-10T21:08:23.615Z] GEN 16:08:23.274 - 27 execute Run jlink Run jlink command [2025-01-10T21:08:23.615Z] GEN 16:08:23.274 - 28 execute count Check output [2025-01-10T21:08:23.615Z] GEN 16:08:23.274 - 29 execute Run jlink Run jlink command [2025-01-10T21:08:23.615Z] GEN 16:08:23.274 - 30 execute count Check output [2025-01-10T21:08:23.615Z] STF 16:08:23.302 - [2025-01-10T21:08:23.615Z] STF 16:08:23.302 - Script generation completed [2025-01-10T21:08:23.615Z] STF 16:08:23.302 - [2025-01-10T21:08:23.615Z] STF 16:08:23.302 - [2025-01-10T21:08:23.615Z] STF 16:08:23.302 - ======================= S E T U P ======================= [2025-01-10T21:08:23.615Z] STF 16:08:23.302 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/setUp.pl [2025-01-10T21:08:23.615Z] STF 16:08:23.328 - [2025-01-10T21:08:23.615Z] STF 16:08:23.328 - +------ Step 1 - Copying com.test.jlink [2025-01-10T21:08:23.615Z] STF 16:08:23.328 - | Copy a directory to a new directory [2025-01-10T21:08:23.616Z] STF 16:08:23.328 - | 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 [2025-01-10T21:08:23.616Z] STF 16:08:23.328 - | Dest dir: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/com.test.jLinkDirCopy [2025-01-10T21:08:23.616Z] STF 16:08:23.328 - | [2025-01-10T21:08:23.616Z] STF 16:08:23.331 - [2025-01-10T21:08:23.616Z] STF 16:08:23.331 - +------ Step 2 - Removing natives folder from com.test.jLinkDirCopy [2025-01-10T21:08:23.616Z] STF 16:08:23.331 - | Recursively delete a directory [2025-01-10T21:08:23.616Z] STF 16:08:23.331 - | Directory: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/com.test.jLinkDirCopy/native [2025-01-10T21:08:23.616Z] STF 16:08:23.331 - | [2025-01-10T21:08:23.616Z] STF 16:08:23.331 - [2025-01-10T21:08:23.616Z] STF 16:08:23.331 - +------ Step 3 - Create com.test.jlink jar [2025-01-10T21:08:23.616Z] STF 16:08:23.331 - | Create modular jar [2025-01-10T21:08:23.616Z] STF 16:08:23.331 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test.jlink [2025-01-10T21:08:23.616Z] STF 16:08:23.331 - | ModuleVersion: null [2025-01-10T21:08:23.616Z] STF 16:08:23.331 - | MainClass: null [2025-01-10T21:08:23.616Z] STF 16:08:23.331 - | HashModules: null [2025-01-10T21:08:23.616Z] STF 16:08:23.331 - | [2025-01-10T21:08:23.616Z] STF 16:08:23.331 - 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_17365407725799/Jlink_AddMLimitM_0/20250110-160822-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 . [2025-01-10T21:08:23.616Z] STF 16:08:23.331 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/results/3.CMJ.stderr [2025-01-10T21:08:23.616Z] STF 16:08:23.331 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/results/3.CMJ.stdout [2025-01-10T21:08:23.616Z] STF 16:08:23.337 - Monitoring processes: CMJ [2025-01-10T21:08:23.616Z] STF 16:08:23.409 - Monitoring Report Summary: [2025-01-10T21:08:23.616Z] STF 16:08:23.409 - o Process CMJ ended with the expected exit code (0) [2025-01-10T21:08:23.616Z] STF 16:08:23.409 - Created modular jar: 3.com.test.jlink.jar [2025-01-10T21:08:23.616Z] STF 16:08:23.409 - [2025-01-10T21:08:23.616Z] STF 16:08:23.409 - +------ Step 4 - Create com.hello jar [2025-01-10T21:08:23.616Z] STF 16:08:23.409 - | Create modular jar [2025-01-10T21:08:23.616Z] STF 16:08:23.409 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-01-10T21:08:23.616Z] STF 16:08:23.409 - | ModuleVersion: null [2025-01-10T21:08:23.616Z] STF 16:08:23.409 - | MainClass: null [2025-01-10T21:08:23.616Z] STF 16:08:23.409 - | HashModules: null [2025-01-10T21:08:23.616Z] STF 16:08:23.409 - | [2025-01-10T21:08:23.616Z] STF 16:08:23.409 - 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_17365407725799/Jlink_AddMLimitM_0/20250110-160822-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 . [2025-01-10T21:08:23.616Z] STF 16:08:23.409 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/results/4.CMJ.stderr [2025-01-10T21:08:23.616Z] STF 16:08:23.409 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/results/4.CMJ.stdout [2025-01-10T21:08:23.616Z] STF 16:08:23.409 - Monitoring processes: CMJ [2025-01-10T21:08:23.616Z] STF 16:08:23.475 - Monitoring Report Summary: [2025-01-10T21:08:23.616Z] STF 16:08:23.475 - o Process CMJ ended with the expected exit code (0) [2025-01-10T21:08:23.616Z] STF 16:08:23.475 - Created modular jar: 4.com.hello.jar [2025-01-10T21:08:23.616Z] STF 16:08:23.475 - [2025-01-10T21:08:23.616Z] STF 16:08:23.475 - +------ Step 5 - Check com.test.jlink modular jar created [2025-01-10T21:08:23.616Z] STF 16:08:23.475 - | Validate file exists [2025-01-10T21:08:23.616Z] STF 16:08:23.475 - | File: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/modules/3.com.test.jlink.jar [2025-01-10T21:08:23.616Z] STF 16:08:23.475 - | [2025-01-10T21:08:23.616Z] STF 16:08:23.476 - [2025-01-10T21:08:23.616Z] STF 16:08:23.476 - +------ Step 6 - Check com.hello modular jar created [2025-01-10T21:08:23.616Z] STF 16:08:23.476 - | Validate file exists [2025-01-10T21:08:23.616Z] STF 16:08:23.476 - | File: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/modules/4.com.hello.jar [2025-01-10T21:08:23.616Z] STF 16:08:23.476 - | [2025-01-10T21:08:23.616Z] STF 16:08:23.476 - [2025-01-10T21:08:23.616Z] STF 16:08:23.476 - +------ Step 7 - Removing conf folder from com.test.jLinkDirCopy [2025-01-10T21:08:23.616Z] STF 16:08:23.476 - | Recursively delete a directory [2025-01-10T21:08:23.616Z] STF 16:08:23.476 - | Directory: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/com.test.jLinkDirCopy/conf [2025-01-10T21:08:23.616Z] STF 16:08:23.476 - | [2025-01-10T21:08:23.616Z] STF 16:08:23.476 - [2025-01-10T21:08:23.616Z] STF 16:08:23.476 - +------ Step 8 - Copying .so from com.test.jlink/native [2025-01-10T21:08:23.616Z] STF 16:08:23.476 - | Copy a directory to a new directory [2025-01-10T21:08:23.616Z] STF 16:08:23.476 - | 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 [2025-01-10T21:08:23.616Z] STF 16:08:23.476 - | Dest dir: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/native [2025-01-10T21:08:23.616Z] STF 16:08:23.476 - | [2025-01-10T21:08:23.616Z] STF 16:08:23.476 - [2025-01-10T21:08:23.616Z] STF 16:08:23.476 - +------ Step 9 - Creating jmod of com.test.jlink module [2025-01-10T21:08:23.616Z] STF 16:08:23.476 - | Run jmod utility [2025-01-10T21:08:23.616Z] STF 16:08:23.476 - | jmod: com.test.jlink.jmod [2025-01-10T21:08:23.616Z] STF 16:08:23.476 - | [2025-01-10T21:08:23.616Z] STF 16:08:23.476 - 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_17365407725799/Jlink_AddMLimitM_0/20250110-160822-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_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/native /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/tmp/com.test.jlink.jmod [2025-01-10T21:08:23.616Z] STF 16:08:23.476 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/results/9.JMOD.stderr [2025-01-10T21:08:23.616Z] STF 16:08:23.476 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/results/9.JMOD.stdout [2025-01-10T21:08:23.616Z] STF 16:08:23.477 - Monitoring processes: JMOD [2025-01-10T21:08:23.616Z] STF 16:08:23.550 - Monitoring Report Summary: [2025-01-10T21:08:23.616Z] STF 16:08:23.550 - o Process JMOD ended with the expected exit code (0) [2025-01-10T21:08:23.616Z] STF 16:08:23.550 - [2025-01-10T21:08:23.616Z] STF 16:08:23.550 - +------ Step 10 - Creating jmod for com.hello module [2025-01-10T21:08:23.616Z] STF 16:08:23.550 - | Run jmod utility [2025-01-10T21:08:23.616Z] STF 16:08:23.550 - | jmod: com.hello.jmod [2025-01-10T21:08:23.616Z] STF 16:08:23.550 - | [2025-01-10T21:08:23.616Z] STF 16:08:23.550 - 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_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/tmp/com.hello.jmod [2025-01-10T21:08:23.616Z] STF 16:08:23.550 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/results/10.JMOD.stderr [2025-01-10T21:08:23.616Z] STF 16:08:23.550 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/results/10.JMOD.stdout [2025-01-10T21:08:23.616Z] STF 16:08:23.551 - Monitoring processes: JMOD [2025-01-10T21:08:24.019Z] STF 16:08:23.620 - Monitoring Report Summary: [2025-01-10T21:08:24.019Z] STF 16:08:23.620 - o Process JMOD ended with the expected exit code (0) [2025-01-10T21:08:24.019Z] STF 16:08:23.620 - [2025-01-10T21:08:24.019Z] STF 16:08:23.620 - +------ Step 11 - Check com.test.jlink jmod created [2025-01-10T21:08:24.019Z] STF 16:08:23.620 - | Validate file exists [2025-01-10T21:08:24.019Z] STF 16:08:23.620 - | File: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/tmp/com.test.jlink.jmod [2025-01-10T21:08:24.019Z] STF 16:08:23.620 - | [2025-01-10T21:08:24.019Z] STF 16:08:23.620 - [2025-01-10T21:08:24.019Z] STF 16:08:23.620 - +------ Step 12 - Check com.hello jmod created [2025-01-10T21:08:24.019Z] STF 16:08:23.620 - | Validate file exists [2025-01-10T21:08:24.019Z] STF 16:08:23.620 - | File: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/tmp/com.hello.jmod [2025-01-10T21:08:24.019Z] STF 16:08:23.620 - | [2025-01-10T21:08:24.019Z] STF 16:08:23.620 - SETUP stage completed [2025-01-10T21:08:24.019Z] STF 16:08:23.623 - [2025-01-10T21:08:24.019Z] STF 16:08:23.623 - ==================== E X E C U T E - ==================== [2025-01-10T21:08:24.019Z] STF 16:08:23.623 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/execute.pl [2025-01-10T21:08:24.019Z] STF 16:08:23.649 - [2025-01-10T21:08:24.019Z] STF 16:08:23.649 - Java version [2025-01-10T21:08:24.019Z] STF 16:08:23.649 - Running: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2025-01-10T21:08:24.019Z] STF 16:08:23.670 - [2025-01-10T21:08:24.019Z] STF 16:08:23.670 - +------ Step 13 - Create runtime image [2025-01-10T21:08:24.019Z] STF 16:08:23.670 - | Run jlink to create runtime image [2025-01-10T21:08:24.019Z] STF 16:08:23.670 - | ImageName: CRI4 [2025-01-10T21:08:24.019Z] STF 16:08:23.670 - | [2025-01-10T21:08:24.020Z] STF 16:08:23.670 - 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_17365407725799/Jlink_AddMLimitM_0/20250110-160822-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_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/tmp/13.CRI4 [2025-01-10T21:08:24.020Z] STF 16:08:23.670 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/results/13.JLNK.stderr [2025-01-10T21:08:24.020Z] STF 16:08:23.670 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/results/13.JLNK.stdout [2025-01-10T21:08:24.020Z] openjdk version "17.0.14" 2025-01-21 [2025-01-10T21:08:24.020Z] OpenJDK Runtime Environment Temurin-17.0.14+6 (build 17.0.14+6) [2025-01-10T21:08:24.020Z] OpenJDK 64-Bit Server VM Temurin-17.0.14+6 (build 17.0.14+6, mixed mode, sharing) [2025-01-10T21:08:24.020Z] STF 16:08:23.674 - Monitoring processes: JLNK [2025-01-10T21:08:24.407Z] STF 16:08:24.243 - Monitoring Report Summary: [2025-01-10T21:08:24.407Z] STF 16:08:24.243 - o Process JLNK ended with the expected exit code (0) [2025-01-10T21:08:24.407Z] STF 16:08:24.243 - [2025-01-10T21:08:24.407Z] STF 16:08:24.243 - +------ Step 14 - Running listmods [2025-01-10T21:08:24.407Z] STF 16:08:24.244 - | Run foreground process [2025-01-10T21:08:24.407Z] STF 16:08:24.244 - | Program: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/tmp/13.CRI4/bin/java [2025-01-10T21:08:24.407Z] STF 16:08:24.244 - | Mnemonic: LIST [2025-01-10T21:08:24.408Z] STF 16:08:24.244 - | Echo: ECHO_ON [2025-01-10T21:08:24.408Z] STF 16:08:24.244 - | Expectation: CLEAN_RUN within 1m [2025-01-10T21:08:24.408Z] STF 16:08:24.244 - | [2025-01-10T21:08:24.408Z] STF 16:08:24.244 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/tmp/13.CRI4/bin/java --list-modules -XX:+UseCompressedOops [2025-01-10T21:08:24.408Z] STF 16:08:24.244 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/results/14.LIST.stderr [2025-01-10T21:08:24.408Z] STF 16:08:24.244 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/results/14.LIST.stdout [2025-01-10T21:08:24.408Z] STF 16:08:24.244 - Monitoring processes: LIST [2025-01-10T21:08:25.756Z] LIST com.hello [2025-01-10T21:08:25.756Z] LIST com.test.jlink [2025-01-10T21:08:25.756Z] LIST java.base@17.0.14 [2025-01-10T21:08:25.756Z] STF 16:08:25.504 - Monitoring Report Summary: [2025-01-10T21:08:25.756Z] STF 16:08:25.504 - o Process LIST ended with the expected exit code (0) [2025-01-10T21:08:25.756Z] STF 16:08:25.504 - [2025-01-10T21:08:25.756Z] STF 16:08:25.504 - +------ Step 15 - Check output [2025-01-10T21:08:25.756Z] STF 16:08:25.504 - | Count file matches [2025-01-10T21:08:25.756Z] STF 16:08:25.504 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/results/14.LIST.stdout [2025-01-10T21:08:25.756Z] STF 16:08:25.504 - | ExpectedNumMatches: 1 [2025-01-10T21:08:25.756Z] STF 16:08:25.504 - | SearchStrings: ["com.hello"] [2025-01-10T21:08:25.756Z] STF 16:08:25.504 - | [2025-01-10T21:08:25.756Z] STF 16:08:25.504 - Found 1 instances of ["com.hello"] [2025-01-10T21:08:25.756Z] STF 16:08:25.504 - [2025-01-10T21:08:25.756Z] STF 16:08:25.504 - +------ Step 16 - Check output [2025-01-10T21:08:25.756Z] STF 16:08:25.504 - | Count file matches [2025-01-10T21:08:25.756Z] STF 16:08:25.504 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/results/14.LIST.stdout [2025-01-10T21:08:25.756Z] STF 16:08:25.505 - | ExpectedNumMatches: 1 [2025-01-10T21:08:25.756Z] STF 16:08:25.505 - | SearchStrings: ["com.test.jlink"] [2025-01-10T21:08:25.756Z] STF 16:08:25.505 - | [2025-01-10T21:08:25.756Z] STF 16:08:25.505 - Found 1 instances of ["com.test.jlink"] [2025-01-10T21:08:25.756Z] STF 16:08:25.505 - [2025-01-10T21:08:25.756Z] STF 16:08:25.505 - +------ Step 17 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-01-10T21:08:25.756Z] STF 16:08:25.505 - | Run foreground process [2025-01-10T21:08:25.756Z] STF 16:08:25.505 - | Program: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/tmp/13.CRI4/bin/java [2025-01-10T21:08:25.756Z] STF 16:08:25.505 - | Mnemonic: T4 [2025-01-10T21:08:25.756Z] STF 16:08:25.505 - | Echo: ECHO_ON [2025-01-10T21:08:25.756Z] STF 16:08:25.505 - | Expectation: CLEAN_RUN within 1m [2025-01-10T21:08:25.756Z] STF 16:08:25.505 - | [2025-01-10T21:08:25.756Z] STF 16:08:25.505 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-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_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/native --add-reads com.test.jlink=ALL-UNNAMED -XX:+UseCompressedOops -classpath /Users/admin/workspace/testDependency/system_lib/junit/junit.jar:/Users/admin/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-01-10T21:08:25.756Z] STF 16:08:25.505 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/results/17.T4.stderr [2025-01-10T21:08:25.756Z] STF 16:08:25.505 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/results/17.T4.stdout [2025-01-10T21:08:25.756Z] STF 16:08:25.505 - Monitoring processes: T4 [2025-01-10T21:08:26.148Z] T4 JUnit version 4.12 [2025-01-10T21:08:26.148Z] T4 . [2025-01-10T21:08:26.148Z] T4 Time: 0.001 [2025-01-10T21:08:26.148Z] T4 [2025-01-10T21:08:26.148Z] T4 OK (1 test) [2025-01-10T21:08:26.148Z] T4 [2025-01-10T21:08:26.148Z] STF 16:08:25.931 - Monitoring Report Summary: [2025-01-10T21:08:26.149Z] STF 16:08:25.931 - o Process T4 ended with the expected exit code (0) [2025-01-10T21:08:26.149Z] STF 16:08:25.931 - [2025-01-10T21:08:26.149Z] STF 16:08:25.931 - +------ Step 18 - Create runtime image [2025-01-10T21:08:26.149Z] STF 16:08:25.931 - | Run jlink to create runtime image [2025-01-10T21:08:26.149Z] STF 16:08:25.931 - | ImageName: CRI5 [2025-01-10T21:08:26.149Z] STF 16:08:25.931 - | [2025-01-10T21:08:26.149Z] STF 16:08:25.931 - 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_17365407725799/Jlink_AddMLimitM_0/20250110-160822-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_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/tmp/18.CRI5 [2025-01-10T21:08:26.149Z] STF 16:08:25.931 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/results/18.JLNK.stderr [2025-01-10T21:08:26.149Z] STF 16:08:25.931 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/results/18.JLNK.stdout [2025-01-10T21:08:26.149Z] STF 16:08:25.932 - Monitoring processes: JLNK [2025-01-10T21:08:26.980Z] STF 16:08:26.770 - Monitoring Report Summary: [2025-01-10T21:08:26.980Z] STF 16:08:26.770 - o Process JLNK ended with the expected exit code (0) [2025-01-10T21:08:26.980Z] STF 16:08:26.770 - [2025-01-10T21:08:26.980Z] STF 16:08:26.770 - +------ Step 19 - Running listmods [2025-01-10T21:08:26.980Z] STF 16:08:26.770 - | Run foreground process [2025-01-10T21:08:26.980Z] STF 16:08:26.770 - | Program: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/tmp/18.CRI5/bin/java [2025-01-10T21:08:26.980Z] STF 16:08:26.770 - | Mnemonic: LIST [2025-01-10T21:08:26.980Z] STF 16:08:26.770 - | Echo: ECHO_ON [2025-01-10T21:08:26.980Z] STF 16:08:26.770 - | Expectation: CLEAN_RUN within 1m [2025-01-10T21:08:26.980Z] STF 16:08:26.770 - | [2025-01-10T21:08:26.980Z] STF 16:08:26.770 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/tmp/18.CRI5/bin/java --list-modules -XX:+UseCompressedOops [2025-01-10T21:08:26.980Z] STF 16:08:26.770 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/results/19.LIST.stderr [2025-01-10T21:08:26.980Z] STF 16:08:26.770 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/results/19.LIST.stdout [2025-01-10T21:08:26.980Z] STF 16:08:26.772 - Monitoring processes: LIST [2025-01-10T21:08:28.304Z] LIST com.hello [2025-01-10T21:08:28.304Z] LIST com.test.jlink [2025-01-10T21:08:28.304Z] LIST java.base@17.0.14 [2025-01-10T21:08:28.304Z] LIST java.logging@17.0.14 [2025-01-10T21:08:28.304Z] LIST java.sql@17.0.14 [2025-01-10T21:08:28.304Z] LIST java.transaction.xa@17.0.14 [2025-01-10T21:08:28.304Z] LIST java.xml@17.0.14 [2025-01-10T21:08:28.304Z] STF 16:08:28.029 - Monitoring Report Summary: [2025-01-10T21:08:28.304Z] STF 16:08:28.029 - o Process LIST ended with the expected exit code (0) [2025-01-10T21:08:28.304Z] STF 16:08:28.029 - [2025-01-10T21:08:28.304Z] STF 16:08:28.029 - +------ Step 20 - Check output [2025-01-10T21:08:28.304Z] STF 16:08:28.029 - | Count file matches [2025-01-10T21:08:28.304Z] STF 16:08:28.029 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/results/19.LIST.stdout [2025-01-10T21:08:28.304Z] STF 16:08:28.029 - | ExpectedNumMatches: 1 [2025-01-10T21:08:28.304Z] STF 16:08:28.029 - | SearchStrings: ["com.hello"] [2025-01-10T21:08:28.304Z] STF 16:08:28.029 - | [2025-01-10T21:08:28.304Z] STF 16:08:28.029 - Found 1 instances of ["com.hello"] [2025-01-10T21:08:28.304Z] STF 16:08:28.029 - [2025-01-10T21:08:28.304Z] STF 16:08:28.029 - +------ Step 21 - Check output [2025-01-10T21:08:28.304Z] STF 16:08:28.029 - | Count file matches [2025-01-10T21:08:28.304Z] STF 16:08:28.029 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/results/19.LIST.stdout [2025-01-10T21:08:28.304Z] STF 16:08:28.029 - | ExpectedNumMatches: 1 [2025-01-10T21:08:28.304Z] STF 16:08:28.029 - | SearchStrings: ["com.test.jlink"] [2025-01-10T21:08:28.304Z] STF 16:08:28.029 - | [2025-01-10T21:08:28.304Z] STF 16:08:28.029 - Found 1 instances of ["com.test.jlink"] [2025-01-10T21:08:28.304Z] STF 16:08:28.029 - [2025-01-10T21:08:28.304Z] STF 16:08:28.029 - +------ Step 22 - Check output [2025-01-10T21:08:28.304Z] STF 16:08:28.029 - | Count file matches [2025-01-10T21:08:28.304Z] STF 16:08:28.029 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/results/19.LIST.stdout [2025-01-10T21:08:28.304Z] STF 16:08:28.029 - | ExpectedNumMatches: 1 [2025-01-10T21:08:28.304Z] STF 16:08:28.029 - | SearchStrings: ["java.base"] [2025-01-10T21:08:28.304Z] STF 16:08:28.029 - | [2025-01-10T21:08:28.304Z] STF 16:08:28.029 - Found 1 instances of ["java.base"] [2025-01-10T21:08:28.304Z] STF 16:08:28.029 - [2025-01-10T21:08:28.304Z] STF 16:08:28.029 - +------ Step 23 - Check output [2025-01-10T21:08:28.304Z] STF 16:08:28.029 - | Count file matches [2025-01-10T21:08:28.304Z] STF 16:08:28.029 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/results/19.LIST.stdout [2025-01-10T21:08:28.304Z] STF 16:08:28.029 - | ExpectedNumMatches: 1 [2025-01-10T21:08:28.304Z] STF 16:08:28.029 - | SearchStrings: ["java.sql"] [2025-01-10T21:08:28.304Z] STF 16:08:28.029 - | [2025-01-10T21:08:28.304Z] STF 16:08:28.029 - Found 1 instances of ["java.sql"] [2025-01-10T21:08:28.304Z] STF 16:08:28.029 - [2025-01-10T21:08:28.304Z] STF 16:08:28.029 - +------ Step 24 - Check output [2025-01-10T21:08:28.304Z] STF 16:08:28.029 - | Count file matches [2025-01-10T21:08:28.304Z] STF 16:08:28.029 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/results/19.LIST.stdout [2025-01-10T21:08:28.304Z] STF 16:08:28.029 - | ExpectedNumMatches: 1 [2025-01-10T21:08:28.305Z] STF 16:08:28.029 - | SearchStrings: ["java.logging"] [2025-01-10T21:08:28.305Z] STF 16:08:28.029 - | [2025-01-10T21:08:28.305Z] STF 16:08:28.029 - Found 1 instances of ["java.logging"] [2025-01-10T21:08:28.305Z] STF 16:08:28.029 - [2025-01-10T21:08:28.305Z] STF 16:08:28.029 - +------ Step 25 - Check output [2025-01-10T21:08:28.305Z] STF 16:08:28.029 - | Count file matches [2025-01-10T21:08:28.305Z] STF 16:08:28.029 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/results/19.LIST.stdout [2025-01-10T21:08:28.305Z] STF 16:08:28.029 - | ExpectedNumMatches: 1 [2025-01-10T21:08:28.305Z] STF 16:08:28.030 - | SearchStrings: ["java.xml"] [2025-01-10T21:08:28.305Z] STF 16:08:28.030 - | [2025-01-10T21:08:28.305Z] STF 16:08:28.030 - Found 1 instances of ["java.xml"] [2025-01-10T21:08:28.305Z] STF 16:08:28.030 - [2025-01-10T21:08:28.305Z] STF 16:08:28.030 - +------ Step 26 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-01-10T21:08:28.305Z] STF 16:08:28.030 - | Run foreground process [2025-01-10T21:08:28.305Z] STF 16:08:28.030 - | Program: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/tmp/18.CRI5/bin/java [2025-01-10T21:08:28.305Z] STF 16:08:28.030 - | Mnemonic: T5 [2025-01-10T21:08:28.305Z] STF 16:08:28.030 - | Echo: ECHO_ON [2025-01-10T21:08:28.305Z] STF 16:08:28.030 - | Expectation: CLEAN_RUN within 1m [2025-01-10T21:08:28.305Z] STF 16:08:28.030 - | [2025-01-10T21:08:28.305Z] STF 16:08:28.030 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-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_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/native --add-reads com.test.jlink=ALL-UNNAMED -XX:+UseCompressedOops -classpath /Users/admin/workspace/testDependency/system_lib/junit/junit.jar:/Users/admin/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-01-10T21:08:28.305Z] STF 16:08:28.030 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/results/26.T5.stderr [2025-01-10T21:08:28.305Z] STF 16:08:28.030 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/results/26.T5.stdout [2025-01-10T21:08:28.305Z] STF 16:08:28.030 - Monitoring processes: T5 [2025-01-10T21:08:28.694Z] T5 JUnit version 4.12 [2025-01-10T21:08:28.694Z] T5 . [2025-01-10T21:08:28.694Z] T5 Time: 0.002 [2025-01-10T21:08:28.694Z] T5 [2025-01-10T21:08:28.694Z] T5 OK (1 test) [2025-01-10T21:08:28.694Z] T5 [2025-01-10T21:08:28.694Z] STF 16:08:28.457 - Monitoring Report Summary: [2025-01-10T21:08:28.694Z] STF 16:08:28.457 - o Process T5 ended with the expected exit code (0) [2025-01-10T21:08:28.694Z] STF 16:08:28.457 - [2025-01-10T21:08:28.695Z] STF 16:08:28.457 - +------ Step 27 - Run jlink command [2025-01-10T21:08:28.695Z] STF 16:08:28.457 - | Run foreground process [2025-01-10T21:08:28.695Z] STF 16:08:28.457 - | Program: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jlink [2025-01-10T21:08:28.695Z] STF 16:08:28.457 - | Mnemonic: JLNK [2025-01-10T21:08:28.695Z] STF 16:08:28.457 - | Echo: ECHO_ON [2025-01-10T21:08:28.695Z] STF 16:08:28.457 - | Expectation: NON_ZERO_EXIT [1] within 2m [2025-01-10T21:08:28.695Z] STF 16:08:28.457 - | [2025-01-10T21:08:28.695Z] STF 16:08:28.457 - 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_17365407725799/Jlink_AddMLimitM_0/20250110-160822-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_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/tmp/27.CRI6 [2025-01-10T21:08:28.695Z] STF 16:08:28.457 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/results/27.JLNK.stderr [2025-01-10T21:08:28.695Z] STF 16:08:28.457 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/results/27.JLNK.stdout [2025-01-10T21:08:28.695Z] STF 16:08:28.458 - Monitoring processes: JLNK [2025-01-10T21:08:28.695Z] JLNK Error: Module com.hello not found, required by com.test.jlink [2025-01-10T21:08:28.695Z] JLNK java.lang.module.FindException: Module com.hello not found, required by com.test.jlink [2025-01-10T21:08:28.695Z] JLNK at java.base/java.lang.module.Resolver.findFail(Resolver.java:893) [2025-01-10T21:08:28.695Z] JLNK at java.base/java.lang.module.Resolver.resolve(Resolver.java:192) [2025-01-10T21:08:28.695Z] JLNK at java.base/java.lang.module.Resolver.resolve(Resolver.java:141) [2025-01-10T21:08:28.695Z] JLNK at java.base/java.lang.module.Configuration.resolve(Configuration.java:421) [2025-01-10T21:08:28.695Z] JLNK at java.base/java.lang.module.Configuration.resolve(Configuration.java:255) [2025-01-10T21:08:28.695Z] JLNK at jdk.jlink/jdk.tools.jlink.internal.Jlink$JlinkConfiguration.resolve(Jlink.java:217) [2025-01-10T21:08:28.695Z] JLNK at jdk.jlink/jdk.tools.jlink.internal.JlinkTask.createImageProvider(JlinkTask.java:536) [2025-01-10T21:08:28.695Z] JLNK at jdk.jlink/jdk.tools.jlink.internal.JlinkTask.createImage(JlinkTask.java:424) [2025-01-10T21:08:28.695Z] JLNK at jdk.jlink/jdk.tools.jlink.internal.JlinkTask.run(JlinkTask.java:276) [2025-01-10T21:08:28.695Z] JLNK at jdk.jlink/jdk.tools.jlink.internal.Main.run(Main.java:55) [2025-01-10T21:08:28.695Z] JLNK at jdk.jlink/jdk.tools.jlink.internal.Main.main(Main.java:33) [2025-01-10T21:08:28.695Z] STF 16:08:28.568 - Monitoring Report Summary: [2025-01-10T21:08:28.695Z] STF 16:08:28.568 - o Process JLNK ended with the expected exit code (1) [2025-01-10T21:08:28.695Z] STF 16:08:28.568 - [2025-01-10T21:08:28.695Z] STF 16:08:28.568 - +------ Step 28 - Check output [2025-01-10T21:08:28.695Z] STF 16:08:28.568 - | Count file matches [2025-01-10T21:08:28.695Z] STF 16:08:28.568 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/results/27.JLNK.stdout [2025-01-10T21:08:28.695Z] STF 16:08:28.568 - | ExpectedNumMatches: 1 [2025-01-10T21:08:28.695Z] STF 16:08:28.568 - | SearchStrings: ["Error: Module com.hello not found, required by com.test.jlink"] [2025-01-10T21:08:28.695Z] STF 16:08:28.568 - | [2025-01-10T21:08:28.695Z] STF 16:08:28.568 - Found 1 instances of ["Error: Module com.hello not found, required by com.test.jlink"] [2025-01-10T21:08:28.695Z] STF 16:08:28.568 - [2025-01-10T21:08:28.695Z] STF 16:08:28.568 - +------ Step 29 - Run jlink command [2025-01-10T21:08:28.695Z] STF 16:08:28.568 - | Run foreground process [2025-01-10T21:08:28.695Z] STF 16:08:28.568 - | Program: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jlink [2025-01-10T21:08:28.695Z] STF 16:08:28.568 - | Mnemonic: JLNK [2025-01-10T21:08:28.695Z] STF 16:08:28.568 - | Echo: ECHO_ON [2025-01-10T21:08:28.695Z] STF 16:08:28.568 - | Expectation: NON_ZERO_EXIT [1] within 2m [2025-01-10T21:08:28.695Z] STF 16:08:28.568 - | [2025-01-10T21:08:28.695Z] STF 16:08:28.568 - 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_17365407725799/Jlink_AddMLimitM_0/20250110-160822-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_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/tmp/29.CRI6 [2025-01-10T21:08:28.695Z] STF 16:08:28.568 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/results/29.JLNK.stderr [2025-01-10T21:08:28.695Z] STF 16:08:28.568 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/results/29.JLNK.stdout [2025-01-10T21:08:28.695Z] STF 16:08:28.569 - Monitoring processes: JLNK [2025-01-10T21:08:29.083Z] JLNK Error: Module java.transaction.xa not found, required by java.sql [2025-01-10T21:08:29.083Z] JLNK java.lang.module.FindException: Module java.transaction.xa not found, required by java.sql [2025-01-10T21:08:29.083Z] JLNK at java.base/java.lang.module.Resolver.findFail(Resolver.java:893) [2025-01-10T21:08:29.083Z] JLNK at java.base/java.lang.module.Resolver.resolve(Resolver.java:192) [2025-01-10T21:08:29.083Z] JLNK at java.base/java.lang.module.Resolver.resolve(Resolver.java:141) [2025-01-10T21:08:29.083Z] JLNK at java.base/java.lang.module.Configuration.resolve(Configuration.java:421) [2025-01-10T21:08:29.083Z] JLNK at java.base/java.lang.module.Configuration.resolve(Configuration.java:255) [2025-01-10T21:08:29.083Z] JLNK at jdk.jlink/jdk.tools.jlink.internal.Jlink$JlinkConfiguration.resolve(Jlink.java:217) [2025-01-10T21:08:29.083Z] JLNK at jdk.jlink/jdk.tools.jlink.internal.JlinkTask.createImageProvider(JlinkTask.java:536) [2025-01-10T21:08:29.083Z] JLNK at jdk.jlink/jdk.tools.jlink.internal.JlinkTask.createImage(JlinkTask.java:424) [2025-01-10T21:08:29.083Z] JLNK at jdk.jlink/jdk.tools.jlink.internal.JlinkTask.run(JlinkTask.java:276) [2025-01-10T21:08:29.083Z] JLNK at jdk.jlink/jdk.tools.jlink.internal.Main.run(Main.java:55) [2025-01-10T21:08:29.083Z] JLNK at jdk.jlink/jdk.tools.jlink.internal.Main.main(Main.java:33) [2025-01-10T21:08:29.083Z] STF 16:08:28.702 - Monitoring Report Summary: [2025-01-10T21:08:29.083Z] STF 16:08:28.702 - o Process JLNK ended with the expected exit code (1) [2025-01-10T21:08:29.083Z] STF 16:08:28.702 - [2025-01-10T21:08:29.083Z] STF 16:08:28.702 - +------ Step 30 - Check output [2025-01-10T21:08:29.083Z] STF 16:08:28.702 - | Count file matches [2025-01-10T21:08:29.083Z] STF 16:08:28.702 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/results/29.JLNK.stdout [2025-01-10T21:08:29.083Z] STF 16:08:28.702 - | ExpectedNumMatches: 2 [2025-01-10T21:08:29.083Z] STF 16:08:28.702 - | SearchStrings: ["not found, required by java.sql"] [2025-01-10T21:08:29.083Z] STF 16:08:28.702 - | [2025-01-10T21:08:29.083Z] STF 16:08:28.702 - Found 2 instances of ["not found, required by java.sql"] [2025-01-10T21:08:29.083Z] STF 16:08:28.702 - EXECUTE stage completed [2025-01-10T21:08:29.083Z] STF 16:08:28.771 - [2025-01-10T21:08:29.083Z] STF 16:08:28.771 - ==================== T E A R D O W N ==================== [2025-01-10T21:08:29.083Z] STF 16:08:28.771 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17365407725799/Jlink_AddMLimitM_0/20250110-160822-JlinkTest/tearDown.pl [2025-01-10T21:08:29.083Z] STF 16:08:28.806 - TEARDOWN stage completed [2025-01-10T21:08:29.083Z] STF 16:08:28.813 - [2025-01-10T21:08:29.083Z] STF 16:08:28.813 - ===================== R E S U L T S ===================== [2025-01-10T21:08:29.083Z] STF 16:08:28.813 - Stage results: [2025-01-10T21:08:29.083Z] STF 16:08:28.813 - setUp: pass [2025-01-10T21:08:29.083Z] STF 16:08:28.813 - execute: pass [2025-01-10T21:08:29.083Z] STF 16:08:28.813 - teardown: pass [2025-01-10T21:08:29.083Z] STF 16:08:28.813 - [2025-01-10T21:08:29.083Z] STF 16:08:28.813 - Overall result: PASSED [2025-01-10T21:08:29.083Z] ----------------------------------- [2025-01-10T21:08:29.083Z] Jlink_AddMLimitM_0_PASSED [2025-01-10T21:08:29.083Z] ----------------------------------- [2025-01-10T21:08:29.083Z] [2025-01-10T21:08:29.083Z] TEST TEARDOWN: [2025-01-10T21:08:29.083Z] Nothing to be done for teardown. [2025-01-10T21:08:29.083Z] Jlink_AddMLimitM_0 Finish Time: Fri Jan 10 16:08:28 2025 Epoch Time (ms): 1736543308835