Jlink_AddMLimitM_1

[2024-09-04T22:40:55.489Z] Running test Jlink_AddMLimitM_1 ... [2024-09-04T22:40:55.489Z] =============================================== [2024-09-04T22:40:55.489Z] Jlink_AddMLimitM_1 Start Time: Wed Sep 4 17:40:54 2024 Epoch Time (ms): 1725489654680 [2024-09-04T22:40:55.489Z] variation: Mode650 [2024-09-04T22:40:55.489Z] JVM_OPTIONS: -XX:-UseCompressedOops [2024-09-04T22:40:55.489Z] { \ [2024-09-04T22:40:55.489Z] echo ""; echo "TEST SETUP:"; \ [2024-09-04T22:40:55.489Z] echo "Nothing to be done for setup."; \ [2024-09-04T22:40:55.489Z] mkdir -p "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17254885485599/Jlink_AddMLimitM_1"; \ [2024-09-04T22:40:55.489Z] cd "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17254885485599/Jlink_AddMLimitM_1"; \ [2024-09-04T22:40:55.489Z] echo ""; echo "TESTING:"; \ [2024-09-04T22:40:55.489Z] perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17254885485599/Jlink_AddMLimitM_1" -test=JlinkTest -test-args="variant=AddMLimitM"; \ [2024-09-04T22:40:55.489Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "Jlink_AddMLimitM_1""_PASSED"; echo "-----------------------------------"; cd /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/..; rm -f -r "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17254885485599/Jlink_AddMLimitM_1"; else echo "-----------------------------------"; echo "Jlink_AddMLimitM_1""_FAILED"; echo "-----------------------------------"; fi; \ [2024-09-04T22:40:55.489Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-09-04T22:40:55.489Z] echo "Nothing to be done for teardown."; \ [2024-09-04T22:40:55.489Z] } 2>&1 | tee -a "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17254885485599/TestTargetResult"; [2024-09-04T22:40:55.489Z] [2024-09-04T22:40:55.489Z] TEST SETUP: [2024-09-04T22:40:55.489Z] Nothing to be done for setup. [2024-09-04T22:40:55.489Z] [2024-09-04T22:40:55.489Z] TESTING: [2024-09-04T22:40:55.489Z] STF 17:40:54.758 - ========================= S T F ========================= [2024-09-04T22:40:55.489Z] systemtest-prereqs has been processed, and set to: /Users/jenkins/testDependency/system_libRetrieving amount of free space on drive containing /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17254885485599/Jlink_AddMLimitM_1 [2024-09-04T22:40:55.489Z] df: getattrlist failed: Input/output error [2024-09-04T22:40:55.489Z] There is 88493 Mb free [2024-09-04T22:40:55.489Z] STF 17:40:54.767 - ================== G E N E R A T I O N ================== [2024-09-04T22:40:55.489Z] STF 17:40:54.768 - Checking JVM: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2024-09-04T22:40:55.489Z] STF 17:40:54.769 - Starting process to generate scripts: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/..//bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//log4j/log4j-api.jar:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//log4j/log4j-core.jar:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/stf_parameters.properties, , /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest" [2024-09-04T22:40:56.283Z] GEN 17:40:55.482 - Found test. Project: 'openjdk.test.modularity' class: 'JlinkTest.class' Dir: '/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2024-09-04T22:40:56.283Z] GEN 17:40:55.498 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.JlinkTest' [2024-09-04T22:40:56.283Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-09-04T22:40:56.283Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2024-09-04T22:40:56.283Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2024-09-04T22:40:56.283Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2024-09-04T22:40:56.283Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2024-09-04T22:40:56.283Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2024-09-04T22:40:56.283Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2024-09-04T22:40:56.283Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2024-09-04T22:40:56.283Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2024-09-04T22:40:56.283Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2024-09-04T22:40:56.283Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2024-09-04T22:40:56.283Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2024-09-04T22:40:56.283Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2024-09-04T22:40:56.283Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2024-09-04T22:40:56.283Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2024-09-04T22:40:56.283Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2024-09-04T22:40:56.283Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/bin [2024-09-04T22:40:56.283Z] GEN /Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-09-04T22:40:56.283Z] GEN /Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-09-04T22:40:56.283Z] GEN /Users/jenkins/testDependency/system_lib/junit/junit.jar [2024-09-04T22:40:56.283Z] GEN 17:40:55.661 - Using Mode NoOptions. Values = '' [2024-09-04T22:40:56.283Z] GEN 17:40:55.737 - [2024-09-04T22:40:56.283Z] GEN 17:40:55.737 - Test command summary: [2024-09-04T22:40:56.283Z] GEN 17:40:55.738 - Step Stage Command Description [2024-09-04T22:40:56.283Z] GEN 17:40:55.738 - -----+--------+-----------------+------------ [2024-09-04T22:40:56.283Z] GEN 17:40:55.738 - 1 setUp cpDir Copying com.test.jlink [2024-09-04T22:40:56.283Z] GEN 17:40:55.738 - 2 setUp rm Removing natives folder from com.test.jLinkDirCopy [2024-09-04T22:40:56.283Z] GEN 17:40:55.738 - 3 setUp jar Create com.test.jlink jar [2024-09-04T22:40:56.283Z] GEN 17:40:55.738 - 4 setUp jar Create com.hello jar [2024-09-04T22:40:56.283Z] GEN 17:40:55.738 - 5 setUp fileCheck Check com.test.jlink modular jar created [2024-09-04T22:40:56.283Z] GEN 17:40:55.738 - 6 setUp fileCheck Check com.hello modular jar created [2024-09-04T22:40:56.283Z] GEN 17:40:55.738 - 7 setUp rm Removing conf folder from com.test.jLinkDirCopy [2024-09-04T22:40:56.283Z] GEN 17:40:55.739 - 8 setUp cpDir Copying .so from com.test.jlink/native [2024-09-04T22:40:56.283Z] GEN 17:40:55.739 - 9 setUp jmod Creating jmod of com.test.jlink module [2024-09-04T22:40:56.283Z] GEN 17:40:55.739 - 10 setUp jmod Creating jmod for com.hello module [2024-09-04T22:40:56.283Z] GEN 17:40:55.739 - 11 setUp fileCheck Check com.test.jlink jmod created [2024-09-04T22:40:56.283Z] GEN 17:40:55.739 - 12 setUp fileCheck Check com.hello jmod created [2024-09-04T22:40:56.283Z] GEN 17:40:55.739 - 13 execute jlink Create runtime image [2024-09-04T22:40:56.283Z] GEN 17:40:55.739 - 14 execute Run java Running listmods [2024-09-04T22:40:56.283Z] GEN 17:40:55.739 - 15 execute count Check output [2024-09-04T22:40:56.283Z] GEN 17:40:55.739 - 16 execute count Check output [2024-09-04T22:40:56.283Z] GEN 17:40:55.739 - 17 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-09-04T22:40:56.283Z] GEN 17:40:55.739 - 18 execute jlink Create runtime image [2024-09-04T22:40:56.283Z] GEN 17:40:55.739 - 19 execute Run java Running listmods [2024-09-04T22:40:56.283Z] GEN 17:40:55.739 - 20 execute count Check output [2024-09-04T22:40:56.283Z] GEN 17:40:55.739 - 21 execute count Check output [2024-09-04T22:40:56.283Z] GEN 17:40:55.739 - 22 execute count Check output [2024-09-04T22:40:56.283Z] GEN 17:40:55.739 - 23 execute count Check output [2024-09-04T22:40:56.283Z] GEN 17:40:55.739 - 24 execute count Check output [2024-09-04T22:40:56.283Z] GEN 17:40:55.740 - 25 execute count Check output [2024-09-04T22:40:56.283Z] GEN 17:40:55.740 - 26 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-09-04T22:40:56.283Z] GEN 17:40:55.740 - 27 execute Run jlink Run jlink command [2024-09-04T22:40:56.283Z] GEN 17:40:55.740 - 28 execute count Check output [2024-09-04T22:40:56.283Z] GEN 17:40:55.740 - 29 execute Run jlink Run jlink command [2024-09-04T22:40:56.283Z] GEN 17:40:55.740 - 30 execute count Check output [2024-09-04T22:40:56.283Z] STF 17:40:55.772 - [2024-09-04T22:40:56.283Z] STF 17:40:55.772 - Script generation completed [2024-09-04T22:40:56.283Z] STF 17:40:55.772 - [2024-09-04T22:40:56.283Z] STF 17:40:55.773 - [2024-09-04T22:40:56.283Z] STF 17:40:55.773 - ======================= S E T U P ======================= [2024-09-04T22:40:56.283Z] STF 17:40:55.773 - Running setup: perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/setUp.pl [2024-09-04T22:40:56.283Z] STF 17:40:55.843 - [2024-09-04T22:40:56.283Z] STF 17:40:55.843 - +------ Step 1 - Copying com.test.jlink [2024-09-04T22:40:56.283Z] STF 17:40:55.843 - | Copy a directory to a new directory [2024-09-04T22:40:56.283Z] STF 17:40:55.843 - | Source dir: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink [2024-09-04T22:40:56.283Z] STF 17:40:55.843 - | Dest dir: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/com.test.jLinkDirCopy [2024-09-04T22:40:56.283Z] STF 17:40:55.843 - | [2024-09-04T22:40:56.283Z] STF 17:40:55.850 - [2024-09-04T22:40:56.284Z] STF 17:40:55.850 - +------ Step 2 - Removing natives folder from com.test.jLinkDirCopy [2024-09-04T22:40:56.284Z] STF 17:40:55.850 - | Recursively delete a directory [2024-09-04T22:40:56.284Z] STF 17:40:55.850 - | Directory: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/com.test.jLinkDirCopy/native [2024-09-04T22:40:56.284Z] STF 17:40:55.850 - | [2024-09-04T22:40:56.284Z] STF 17:40:55.851 - [2024-09-04T22:40:56.284Z] STF 17:40:55.851 - +------ Step 3 - Create com.test.jlink jar [2024-09-04T22:40:56.284Z] STF 17:40:55.851 - | Create modular jar [2024-09-04T22:40:56.284Z] STF 17:40:55.851 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test.jlink [2024-09-04T22:40:56.284Z] STF 17:40:55.851 - | ModuleVersion: null [2024-09-04T22:40:56.284Z] STF 17:40:55.851 - | MainClass: null [2024-09-04T22:40:56.284Z] STF 17:40:55.851 - | HashModules: null [2024-09-04T22:40:56.284Z] STF 17:40:55.851 - | [2024-09-04T22:40:56.284Z] STF 17:40:55.852 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/modules/3.com.test.jlink.jar -C /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink . [2024-09-04T22:40:56.284Z] STF 17:40:55.852 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/results/3.CMJ.stderr [2024-09-04T22:40:56.284Z] STF 17:40:55.852 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/results/3.CMJ.stdout [2024-09-04T22:40:56.284Z] STF 17:40:55.863 - Monitoring processes: CMJ [2024-09-04T22:40:57.076Z] STF 17:40:56.099 - Monitoring Report Summary: [2024-09-04T22:40:57.076Z] STF 17:40:56.099 - o Process CMJ ended with the expected exit code (0) [2024-09-04T22:40:57.076Z] STF 17:40:56.100 - Created modular jar: 3.com.test.jlink.jar [2024-09-04T22:40:57.077Z] STF 17:40:56.100 - [2024-09-04T22:40:57.077Z] STF 17:40:56.100 - +------ Step 4 - Create com.hello jar [2024-09-04T22:40:57.077Z] STF 17:40:56.100 - | Create modular jar [2024-09-04T22:40:57.077Z] STF 17:40:56.100 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-09-04T22:40:57.077Z] STF 17:40:56.100 - | ModuleVersion: null [2024-09-04T22:40:57.077Z] STF 17:40:56.100 - | MainClass: null [2024-09-04T22:40:57.077Z] STF 17:40:56.100 - | HashModules: null [2024-09-04T22:40:57.077Z] STF 17:40:56.100 - | [2024-09-04T22:40:57.077Z] STF 17:40:56.100 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/modules/4.com.hello.jar -C /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2024-09-04T22:40:57.077Z] STF 17:40:56.100 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/results/4.CMJ.stderr [2024-09-04T22:40:57.077Z] STF 17:40:56.100 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/results/4.CMJ.stdout [2024-09-04T22:40:57.077Z] STF 17:40:56.101 - Monitoring processes: CMJ [2024-09-04T22:40:57.077Z] STF 17:40:56.279 - Monitoring Report Summary: [2024-09-04T22:40:57.077Z] STF 17:40:56.279 - o Process CMJ ended with the expected exit code (0) [2024-09-04T22:40:57.077Z] STF 17:40:56.279 - Created modular jar: 4.com.hello.jar [2024-09-04T22:40:57.077Z] STF 17:40:56.279 - [2024-09-04T22:40:57.077Z] STF 17:40:56.279 - +------ Step 5 - Check com.test.jlink modular jar created [2024-09-04T22:40:57.077Z] STF 17:40:56.279 - | Validate file exists [2024-09-04T22:40:57.077Z] STF 17:40:56.279 - | File: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/modules/3.com.test.jlink.jar [2024-09-04T22:40:57.077Z] STF 17:40:56.279 - | [2024-09-04T22:40:57.077Z] STF 17:40:56.279 - [2024-09-04T22:40:57.077Z] STF 17:40:56.279 - +------ Step 6 - Check com.hello modular jar created [2024-09-04T22:40:57.077Z] STF 17:40:56.279 - | Validate file exists [2024-09-04T22:40:57.077Z] STF 17:40:56.279 - | File: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/modules/4.com.hello.jar [2024-09-04T22:40:57.077Z] STF 17:40:56.279 - | [2024-09-04T22:40:57.077Z] STF 17:40:56.279 - [2024-09-04T22:40:57.077Z] STF 17:40:56.279 - +------ Step 7 - Removing conf folder from com.test.jLinkDirCopy [2024-09-04T22:40:57.077Z] STF 17:40:56.279 - | Recursively delete a directory [2024-09-04T22:40:57.077Z] STF 17:40:56.279 - | Directory: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/com.test.jLinkDirCopy/conf [2024-09-04T22:40:57.077Z] STF 17:40:56.279 - | [2024-09-04T22:40:57.077Z] STF 17:40:56.279 - [2024-09-04T22:40:57.077Z] STF 17:40:56.279 - +------ Step 8 - Copying .so from com.test.jlink/native [2024-09-04T22:40:57.077Z] STF 17:40:56.279 - | Copy a directory to a new directory [2024-09-04T22:40:57.077Z] STF 17:40:56.279 - | Source dir: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink/native/bin/osx [2024-09-04T22:40:57.077Z] STF 17:40:56.279 - | Dest dir: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/native [2024-09-04T22:40:57.077Z] STF 17:40:56.279 - | [2024-09-04T22:40:57.077Z] STF 17:40:56.280 - [2024-09-04T22:40:57.077Z] STF 17:40:56.280 - +------ Step 9 - Creating jmod of com.test.jlink module [2024-09-04T22:40:57.077Z] STF 17:40:56.280 - | Run jmod utility [2024-09-04T22:40:57.077Z] STF 17:40:56.280 - | jmod: com.test.jlink.jmod [2024-09-04T22:40:57.077Z] STF 17:40:56.280 - | [2024-09-04T22:40:57.077Z] STF 17:40:56.280 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jmod create --class-path /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/com.test.jLinkDirCopy --config /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink/conf --libs /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/native /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/tmp/com.test.jlink.jmod [2024-09-04T22:40:57.077Z] STF 17:40:56.280 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/results/9.JMOD.stderr [2024-09-04T22:40:57.077Z] STF 17:40:56.280 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/results/9.JMOD.stdout [2024-09-04T22:40:57.077Z] STF 17:40:56.282 - Monitoring processes: JMOD [2024-09-04T22:40:57.077Z] STF 17:40:56.479 - Monitoring Report Summary: [2024-09-04T22:40:57.077Z] STF 17:40:56.479 - o Process JMOD ended with the expected exit code (0) [2024-09-04T22:40:57.077Z] STF 17:40:56.480 - [2024-09-04T22:40:57.077Z] STF 17:40:56.480 - +------ Step 10 - Creating jmod for com.hello module [2024-09-04T22:40:57.077Z] STF 17:40:56.480 - | Run jmod utility [2024-09-04T22:40:57.077Z] STF 17:40:56.480 - | jmod: com.hello.jmod [2024-09-04T22:40:57.077Z] STF 17:40:56.480 - | [2024-09-04T22:40:57.077Z] STF 17:40:56.480 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jmod create --class-path /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/tmp/com.hello.jmod [2024-09-04T22:40:57.077Z] STF 17:40:56.480 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/results/10.JMOD.stderr [2024-09-04T22:40:57.077Z] STF 17:40:56.480 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/results/10.JMOD.stdout [2024-09-04T22:40:57.077Z] STF 17:40:56.482 - Monitoring processes: JMOD [2024-09-04T22:40:57.870Z] STF 17:40:56.671 - Monitoring Report Summary: [2024-09-04T22:40:57.870Z] STF 17:40:56.671 - o Process JMOD ended with the expected exit code (0) [2024-09-04T22:40:57.870Z] STF 17:40:56.671 - [2024-09-04T22:40:57.870Z] STF 17:40:56.671 - +------ Step 11 - Check com.test.jlink jmod created [2024-09-04T22:40:57.870Z] STF 17:40:56.671 - | Validate file exists [2024-09-04T22:40:57.870Z] STF 17:40:56.671 - | File: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/tmp/com.test.jlink.jmod [2024-09-04T22:40:57.870Z] STF 17:40:56.671 - | [2024-09-04T22:40:57.870Z] STF 17:40:56.671 - [2024-09-04T22:40:57.870Z] STF 17:40:56.671 - +------ Step 12 - Check com.hello jmod created [2024-09-04T22:40:57.870Z] STF 17:40:56.671 - | Validate file exists [2024-09-04T22:40:57.870Z] STF 17:40:56.671 - | File: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/tmp/com.hello.jmod [2024-09-04T22:40:57.870Z] STF 17:40:56.672 - | [2024-09-04T22:40:57.870Z] STF 17:40:56.672 - SETUP stage completed [2024-09-04T22:40:57.870Z] STF 17:40:56.678 - [2024-09-04T22:40:57.870Z] STF 17:40:56.678 - ==================== E X E C U T E - ==================== [2024-09-04T22:40:57.870Z] STF 17:40:56.678 - Running execute: perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/execute.pl [2024-09-04T22:40:57.870Z] STF 17:40:56.738 - [2024-09-04T22:40:57.870Z] STF 17:40:56.738 - Java version [2024-09-04T22:40:57.870Z] STF 17:40:56.738 - Running: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2024-09-04T22:40:57.870Z] openjdk version "17.0.13-beta" 2024-10-15 [2024-09-04T22:40:57.870Z] OpenJDK Runtime Environment Temurin-17.0.13+6-202409041934 (build 17.0.13-beta+6-ea) [2024-09-04T22:40:57.870Z] OpenJDK 64-Bit Server VM Temurin-17.0.13+6-202409041934 (build 17.0.13-beta+6-ea, mixed mode) [2024-09-04T22:40:57.870Z] STF 17:40:56.815 - [2024-09-04T22:40:57.870Z] STF 17:40:56.815 - +------ Step 13 - Create runtime image [2024-09-04T22:40:57.870Z] STF 17:40:56.815 - | Run jlink to create runtime image [2024-09-04T22:40:57.870Z] STF 17:40:56.815 - | ImageName: CRI4 [2024-09-04T22:40:57.870Z] STF 17:40:56.815 - | [2024-09-04T22:40:57.870Z] STF 17:40:56.816 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/modules --limit-modules com.test.jlink --add-modules com.test.jlink --output /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/tmp/13.CRI4 [2024-09-04T22:40:57.870Z] STF 17:40:56.816 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/results/13.JLNK.stderr [2024-09-04T22:40:57.870Z] STF 17:40:56.816 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/results/13.JLNK.stdout [2024-09-04T22:40:57.870Z] STF 17:40:56.826 - Monitoring processes: JLNK [2024-09-04T22:40:58.663Z] STF 17:40:58.191 - Monitoring Report Summary: [2024-09-04T22:40:58.663Z] STF 17:40:58.191 - o Process JLNK ended with the expected exit code (0) [2024-09-04T22:40:58.663Z] STF 17:40:58.191 - [2024-09-04T22:40:58.663Z] STF 17:40:58.191 - +------ Step 14 - Running listmods [2024-09-04T22:40:58.663Z] STF 17:40:58.191 - | Run foreground process [2024-09-04T22:40:58.663Z] STF 17:40:58.191 - | Program: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/tmp/13.CRI4/bin/java [2024-09-04T22:40:58.663Z] STF 17:40:58.191 - | Mnemonic: LIST [2024-09-04T22:40:58.663Z] STF 17:40:58.191 - | Echo: ECHO_ON [2024-09-04T22:40:58.663Z] STF 17:40:58.191 - | Expectation: CLEAN_RUN within 1m [2024-09-04T22:40:58.663Z] STF 17:40:58.191 - | [2024-09-04T22:40:58.663Z] STF 17:40:58.192 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/tmp/13.CRI4/bin/java --list-modules -XX:-UseCompressedOops [2024-09-04T22:40:58.663Z] STF 17:40:58.192 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/results/14.LIST.stderr [2024-09-04T22:40:58.663Z] STF 17:40:58.192 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/results/14.LIST.stdout [2024-09-04T22:40:58.663Z] STF 17:40:58.193 - Monitoring processes: LIST [2024-09-04T22:40:59.456Z] LIST com.hello [2024-09-04T22:40:59.456Z] LIST com.test.jlink [2024-09-04T22:40:59.456Z] LIST java.base@17.0.13-beta [2024-09-04T22:40:59.456Z] STF 17:40:58.352 - Monitoring Report Summary: [2024-09-04T22:40:59.456Z] STF 17:40:58.352 - o Process LIST ended with the expected exit code (0) [2024-09-04T22:40:59.456Z] STF 17:40:58.353 - [2024-09-04T22:40:59.456Z] STF 17:40:58.353 - +------ Step 15 - Check output [2024-09-04T22:40:59.456Z] STF 17:40:58.353 - | Count file matches [2024-09-04T22:40:59.456Z] STF 17:40:58.353 - | TargetFile: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/results/14.LIST.stdout [2024-09-04T22:40:59.456Z] STF 17:40:58.353 - | ExpectedNumMatches: 1 [2024-09-04T22:40:59.456Z] STF 17:40:58.353 - | SearchStrings: ["com.hello"] [2024-09-04T22:40:59.456Z] STF 17:40:58.353 - | [2024-09-04T22:40:59.456Z] STF 17:40:58.353 - Found 1 instances of ["com.hello"] [2024-09-04T22:40:59.456Z] STF 17:40:58.353 - [2024-09-04T22:40:59.456Z] STF 17:40:58.353 - +------ Step 16 - Check output [2024-09-04T22:40:59.456Z] STF 17:40:58.353 - | Count file matches [2024-09-04T22:40:59.456Z] STF 17:40:58.353 - | TargetFile: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/results/14.LIST.stdout [2024-09-04T22:40:59.456Z] STF 17:40:58.353 - | ExpectedNumMatches: 1 [2024-09-04T22:40:59.456Z] STF 17:40:58.353 - | SearchStrings: ["com.test.jlink"] [2024-09-04T22:40:59.456Z] STF 17:40:58.353 - | [2024-09-04T22:40:59.456Z] STF 17:40:58.353 - Found 1 instances of ["com.test.jlink"] [2024-09-04T22:40:59.456Z] STF 17:40:58.353 - [2024-09-04T22:40:59.456Z] STF 17:40:58.353 - +------ Step 17 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-09-04T22:40:59.456Z] STF 17:40:58.353 - | Run foreground process [2024-09-04T22:40:59.456Z] STF 17:40:58.353 - | Program: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/tmp/13.CRI4/bin/java [2024-09-04T22:40:59.456Z] STF 17:40:58.353 - | Mnemonic: T4 [2024-09-04T22:40:59.456Z] STF 17:40:58.353 - | Echo: ECHO_ON [2024-09-04T22:40:59.456Z] STF 17:40:58.353 - | Expectation: CLEAN_RUN within 1m [2024-09-04T22:40:59.456Z] STF 17:40:58.353 - | [2024-09-04T22:40:59.456Z] STF 17:40:58.353 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/tmp/13.CRI4/bin/java -Djava.library.path=/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/native --add-reads com.test.jlink=ALL-UNNAMED -XX:-UseCompressedOops -classpath /Users/jenkins/testDependency/system_lib/junit/junit.jar:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-09-04T22:40:59.456Z] STF 17:40:58.353 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/results/17.T4.stderr [2024-09-04T22:40:59.456Z] STF 17:40:58.353 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/results/17.T4.stdout [2024-09-04T22:40:59.456Z] STF 17:40:58.354 - Monitoring processes: T4 [2024-09-04T22:40:59.456Z] T4 JUnit version 4.12 [2024-09-04T22:40:59.456Z] T4 . [2024-09-04T22:40:59.456Z] T4 Time: 0.005 [2024-09-04T22:40:59.456Z] T4 [2024-09-04T22:40:59.456Z] T4 OK (1 test) [2024-09-04T22:40:59.456Z] T4 [2024-09-04T22:40:59.456Z] STF 17:40:58.581 - Monitoring Report Summary: [2024-09-04T22:40:59.456Z] STF 17:40:58.581 - o Process T4 ended with the expected exit code (0) [2024-09-04T22:40:59.456Z] STF 17:40:58.581 - [2024-09-04T22:40:59.456Z] STF 17:40:58.581 - +------ Step 18 - Create runtime image [2024-09-04T22:40:59.456Z] STF 17:40:58.581 - | Run jlink to create runtime image [2024-09-04T22:40:59.456Z] STF 17:40:58.581 - | ImageName: CRI5 [2024-09-04T22:40:59.456Z] STF 17:40:58.581 - | [2024-09-04T22:40:59.456Z] STF 17:40:58.581 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/modules --limit-modules com.test.jlink,com.hello,java.sql --add-modules com.test.jlink,java.sql --output /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/tmp/18.CRI5 [2024-09-04T22:40:59.456Z] STF 17:40:58.581 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/results/18.JLNK.stderr [2024-09-04T22:40:59.456Z] STF 17:40:58.581 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/results/18.JLNK.stdout [2024-09-04T22:40:59.456Z] STF 17:40:58.583 - Monitoring processes: JLNK [2024-09-04T22:41:01.090Z] STF 17:41:00.341 - Monitoring Report Summary: [2024-09-04T22:41:01.090Z] STF 17:41:00.341 - o Process JLNK ended with the expected exit code (0) [2024-09-04T22:41:01.090Z] STF 17:41:00.341 - [2024-09-04T22:41:01.090Z] STF 17:41:00.341 - +------ Step 19 - Running listmods [2024-09-04T22:41:01.090Z] STF 17:41:00.341 - | Run foreground process [2024-09-04T22:41:01.090Z] STF 17:41:00.341 - | Program: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/tmp/18.CRI5/bin/java [2024-09-04T22:41:01.090Z] STF 17:41:00.341 - | Mnemonic: LIST [2024-09-04T22:41:01.090Z] STF 17:41:00.341 - | Echo: ECHO_ON [2024-09-04T22:41:01.090Z] STF 17:41:00.341 - | Expectation: CLEAN_RUN within 1m [2024-09-04T22:41:01.090Z] STF 17:41:00.341 - | [2024-09-04T22:41:01.090Z] STF 17:41:00.341 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/tmp/18.CRI5/bin/java --list-modules -XX:-UseCompressedOops [2024-09-04T22:41:01.090Z] STF 17:41:00.341 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/results/19.LIST.stderr [2024-09-04T22:41:01.090Z] STF 17:41:00.342 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/results/19.LIST.stdout [2024-09-04T22:41:01.090Z] STF 17:41:00.343 - Monitoring processes: LIST [2024-09-04T22:41:01.090Z] LIST com.hello [2024-09-04T22:41:01.090Z] LIST com.test.jlink [2024-09-04T22:41:01.090Z] LIST java.base@17.0.13-beta [2024-09-04T22:41:01.090Z] LIST java.logging@17.0.13-beta [2024-09-04T22:41:01.090Z] LIST java.sql@17.0.13-beta [2024-09-04T22:41:01.090Z] LIST java.transaction.xa@17.0.13-beta [2024-09-04T22:41:01.090Z] LIST java.xml@17.0.13-beta [2024-09-04T22:41:01.090Z] STF 17:41:00.547 - Monitoring Report Summary: [2024-09-04T22:41:01.090Z] STF 17:41:00.547 - o Process LIST ended with the expected exit code (0) [2024-09-04T22:41:01.090Z] STF 17:41:00.547 - [2024-09-04T22:41:01.090Z] STF 17:41:00.547 - +------ Step 20 - Check output [2024-09-04T22:41:01.090Z] STF 17:41:00.547 - | Count file matches [2024-09-04T22:41:01.090Z] STF 17:41:00.547 - | TargetFile: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/results/19.LIST.stdout [2024-09-04T22:41:01.090Z] STF 17:41:00.547 - | ExpectedNumMatches: 1 [2024-09-04T22:41:01.090Z] STF 17:41:00.547 - | SearchStrings: ["com.hello"] [2024-09-04T22:41:01.090Z] STF 17:41:00.547 - | [2024-09-04T22:41:01.090Z] STF 17:41:00.547 - Found 1 instances of ["com.hello"] [2024-09-04T22:41:01.090Z] STF 17:41:00.547 - [2024-09-04T22:41:01.090Z] STF 17:41:00.547 - +------ Step 21 - Check output [2024-09-04T22:41:01.090Z] STF 17:41:00.547 - | Count file matches [2024-09-04T22:41:01.090Z] STF 17:41:00.547 - | TargetFile: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/results/19.LIST.stdout [2024-09-04T22:41:01.090Z] STF 17:41:00.547 - | ExpectedNumMatches: 1 [2024-09-04T22:41:01.090Z] STF 17:41:00.547 - | SearchStrings: ["com.test.jlink"] [2024-09-04T22:41:01.090Z] STF 17:41:00.547 - | [2024-09-04T22:41:01.090Z] STF 17:41:00.547 - Found 1 instances of ["com.test.jlink"] [2024-09-04T22:41:01.090Z] STF 17:41:00.547 - [2024-09-04T22:41:01.090Z] STF 17:41:00.547 - +------ Step 22 - Check output [2024-09-04T22:41:01.090Z] STF 17:41:00.547 - | Count file matches [2024-09-04T22:41:01.090Z] STF 17:41:00.547 - | TargetFile: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/results/19.LIST.stdout [2024-09-04T22:41:01.090Z] STF 17:41:00.547 - | ExpectedNumMatches: 1 [2024-09-04T22:41:01.090Z] STF 17:41:00.547 - | SearchStrings: ["java.base"] [2024-09-04T22:41:01.090Z] STF 17:41:00.547 - | [2024-09-04T22:41:01.090Z] STF 17:41:00.547 - Found 1 instances of ["java.base"] [2024-09-04T22:41:01.090Z] STF 17:41:00.547 - [2024-09-04T22:41:01.090Z] STF 17:41:00.547 - +------ Step 23 - Check output [2024-09-04T22:41:01.090Z] STF 17:41:00.547 - | Count file matches [2024-09-04T22:41:01.090Z] STF 17:41:00.547 - | TargetFile: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/results/19.LIST.stdout [2024-09-04T22:41:01.090Z] STF 17:41:00.547 - | ExpectedNumMatches: 1 [2024-09-04T22:41:01.090Z] STF 17:41:00.547 - | SearchStrings: ["java.sql"] [2024-09-04T22:41:01.090Z] STF 17:41:00.547 - | [2024-09-04T22:41:01.090Z] STF 17:41:00.547 - Found 1 instances of ["java.sql"] [2024-09-04T22:41:01.090Z] STF 17:41:00.547 - [2024-09-04T22:41:01.090Z] STF 17:41:00.547 - +------ Step 24 - Check output [2024-09-04T22:41:01.090Z] STF 17:41:00.547 - | Count file matches [2024-09-04T22:41:01.090Z] STF 17:41:00.547 - | TargetFile: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/results/19.LIST.stdout [2024-09-04T22:41:01.090Z] STF 17:41:00.547 - | ExpectedNumMatches: 1 [2024-09-04T22:41:01.090Z] STF 17:41:00.547 - | SearchStrings: ["java.logging"] [2024-09-04T22:41:01.090Z] STF 17:41:00.547 - | [2024-09-04T22:41:01.090Z] STF 17:41:00.548 - Found 1 instances of ["java.logging"] [2024-09-04T22:41:01.090Z] STF 17:41:00.548 - [2024-09-04T22:41:01.090Z] STF 17:41:00.548 - +------ Step 25 - Check output [2024-09-04T22:41:01.090Z] STF 17:41:00.548 - | Count file matches [2024-09-04T22:41:01.090Z] STF 17:41:00.548 - | TargetFile: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/results/19.LIST.stdout [2024-09-04T22:41:01.090Z] STF 17:41:00.548 - | ExpectedNumMatches: 1 [2024-09-04T22:41:01.090Z] STF 17:41:00.548 - | SearchStrings: ["java.xml"] [2024-09-04T22:41:01.090Z] STF 17:41:00.548 - | [2024-09-04T22:41:01.090Z] STF 17:41:00.548 - Found 1 instances of ["java.xml"] [2024-09-04T22:41:01.090Z] STF 17:41:00.548 - [2024-09-04T22:41:01.090Z] STF 17:41:00.548 - +------ Step 26 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-09-04T22:41:01.090Z] STF 17:41:00.548 - | Run foreground process [2024-09-04T22:41:01.090Z] STF 17:41:00.548 - | Program: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/tmp/18.CRI5/bin/java [2024-09-04T22:41:01.090Z] STF 17:41:00.548 - | Mnemonic: T5 [2024-09-04T22:41:01.090Z] STF 17:41:00.548 - | Echo: ECHO_ON [2024-09-04T22:41:01.090Z] STF 17:41:00.548 - | Expectation: CLEAN_RUN within 1m [2024-09-04T22:41:01.090Z] STF 17:41:00.548 - | [2024-09-04T22:41:01.090Z] STF 17:41:00.548 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/tmp/18.CRI5/bin/java -Djava.library.path=/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/native --add-reads com.test.jlink=ALL-UNNAMED -XX:-UseCompressedOops -classpath /Users/jenkins/testDependency/system_lib/junit/junit.jar:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-09-04T22:41:01.090Z] STF 17:41:00.548 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/results/26.T5.stderr [2024-09-04T22:41:01.090Z] STF 17:41:00.548 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/results/26.T5.stdout [2024-09-04T22:41:01.090Z] STF 17:41:00.550 - Monitoring processes: T5 [2024-09-04T22:41:01.883Z] T5 JUnit version 4.12 [2024-09-04T22:41:01.883Z] T5 . [2024-09-04T22:41:01.883Z] T5 Time: 0.003 [2024-09-04T22:41:01.883Z] T5 [2024-09-04T22:41:01.883Z] T5 OK (1 test) [2024-09-04T22:41:01.883Z] T5 [2024-09-04T22:41:01.883Z] STF 17:41:00.804 - Monitoring Report Summary: [2024-09-04T22:41:01.883Z] STF 17:41:00.804 - o Process T5 ended with the expected exit code (0) [2024-09-04T22:41:01.883Z] STF 17:41:00.804 - [2024-09-04T22:41:01.883Z] STF 17:41:00.804 - +------ Step 27 - Run jlink command [2024-09-04T22:41:01.883Z] STF 17:41:00.804 - | Run foreground process [2024-09-04T22:41:01.883Z] STF 17:41:00.804 - | Program: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jlink [2024-09-04T22:41:01.883Z] STF 17:41:00.804 - | Mnemonic: JLNK [2024-09-04T22:41:01.883Z] STF 17:41:00.804 - | Echo: ECHO_ON [2024-09-04T22:41:01.883Z] STF 17:41:00.804 - | Expectation: NON_ZERO_EXIT [1] within 2m [2024-09-04T22:41:01.883Z] STF 17:41:00.804 - | [2024-09-04T22:41:01.883Z] STF 17:41:00.804 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/modules --limit-modules java.base --add-modules com.test.jlink --output /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/tmp/27.CRI6 [2024-09-04T22:41:01.883Z] STF 17:41:00.804 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/results/27.JLNK.stderr [2024-09-04T22:41:01.883Z] STF 17:41:00.804 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/results/27.JLNK.stdout [2024-09-04T22:41:01.883Z] STF 17:41:00.806 - Monitoring processes: JLNK [2024-09-04T22:41:01.883Z] JLNK Error: Module com.hello not found, required by com.test.jlink [2024-09-04T22:41:01.883Z] JLNK java.lang.module.FindException: Module com.hello not found, required by com.test.jlink [2024-09-04T22:41:01.883Z] JLNK at java.base/java.lang.module.Resolver.findFail(Resolver.java:893) [2024-09-04T22:41:01.883Z] JLNK at java.base/java.lang.module.Resolver.resolve(Resolver.java:192) [2024-09-04T22:41:01.883Z] JLNK at java.base/java.lang.module.Resolver.resolve(Resolver.java:141) [2024-09-04T22:41:01.883Z] JLNK at java.base/java.lang.module.Configuration.resolve(Configuration.java:421) [2024-09-04T22:41:01.883Z] JLNK at java.base/java.lang.module.Configuration.resolve(Configuration.java:255) [2024-09-04T22:41:01.883Z] JLNK at jdk.jlink/jdk.tools.jlink.internal.Jlink$JlinkConfiguration.resolve(Jlink.java:217) [2024-09-04T22:41:01.883Z] JLNK at jdk.jlink/jdk.tools.jlink.internal.JlinkTask.createImageProvider(JlinkTask.java:536) [2024-09-04T22:41:01.883Z] JLNK at jdk.jlink/jdk.tools.jlink.internal.JlinkTask.createImage(JlinkTask.java:424) [2024-09-04T22:41:01.883Z] JLNK at jdk.jlink/jdk.tools.jlink.internal.JlinkTask.run(JlinkTask.java:276) [2024-09-04T22:41:01.883Z] JLNK at jdk.jlink/jdk.tools.jlink.internal.Main.run(Main.java:55) [2024-09-04T22:41:01.883Z] JLNK at jdk.jlink/jdk.tools.jlink.internal.Main.main(Main.java:33) [2024-09-04T22:41:01.883Z] STF 17:41:01.182 - Monitoring Report Summary: [2024-09-04T22:41:01.883Z] STF 17:41:01.182 - o Process JLNK ended with the expected exit code (1) [2024-09-04T22:41:01.883Z] STF 17:41:01.182 - [2024-09-04T22:41:01.883Z] STF 17:41:01.182 - +------ Step 28 - Check output [2024-09-04T22:41:01.883Z] STF 17:41:01.182 - | Count file matches [2024-09-04T22:41:01.883Z] STF 17:41:01.182 - | TargetFile: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/results/27.JLNK.stdout [2024-09-04T22:41:01.883Z] STF 17:41:01.182 - | ExpectedNumMatches: 1 [2024-09-04T22:41:01.883Z] STF 17:41:01.182 - | SearchStrings: ["Error: Module com.hello not found, required by com.test.jlink"] [2024-09-04T22:41:01.883Z] STF 17:41:01.182 - | [2024-09-04T22:41:01.884Z] STF 17:41:01.182 - Found 1 instances of ["Error: Module com.hello not found, required by com.test.jlink"] [2024-09-04T22:41:01.884Z] STF 17:41:01.182 - [2024-09-04T22:41:01.884Z] STF 17:41:01.182 - +------ Step 29 - Run jlink command [2024-09-04T22:41:01.884Z] STF 17:41:01.182 - | Run foreground process [2024-09-04T22:41:01.884Z] STF 17:41:01.182 - | Program: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jlink [2024-09-04T22:41:01.884Z] STF 17:41:01.182 - | Mnemonic: JLNK [2024-09-04T22:41:01.884Z] STF 17:41:01.182 - | Echo: ECHO_ON [2024-09-04T22:41:01.884Z] STF 17:41:01.182 - | Expectation: NON_ZERO_EXIT [1] within 2m [2024-09-04T22:41:01.884Z] STF 17:41:01.182 - | [2024-09-04T22:41:01.884Z] STF 17:41:01.182 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/modules --limit-modules com.test.jlink --add-modules java.sql,com.test.jlink --output /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/tmp/29.CRI6 [2024-09-04T22:41:01.884Z] STF 17:41:01.182 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/results/29.JLNK.stderr [2024-09-04T22:41:01.884Z] STF 17:41:01.182 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/results/29.JLNK.stdout [2024-09-04T22:41:01.884Z] STF 17:41:01.184 - Monitoring processes: JLNK [2024-09-04T22:41:01.884Z] JLNK Error: Module java.xml not found, required by java.sql [2024-09-04T22:41:01.884Z] JLNK java.lang.module.FindException: Module java.xml not found, required by java.sql [2024-09-04T22:41:01.884Z] JLNK at java.base/java.lang.module.Resolver.findFail(Resolver.java:893) [2024-09-04T22:41:01.884Z] JLNK at java.base/java.lang.module.Resolver.resolve(Resolver.java:192) [2024-09-04T22:41:01.884Z] JLNK at java.base/java.lang.module.Resolver.resolve(Resolver.java:141) [2024-09-04T22:41:01.884Z] JLNK at java.base/java.lang.module.Configuration.resolve(Configuration.java:421) [2024-09-04T22:41:01.884Z] JLNK at java.base/java.lang.module.Configuration.resolve(Configuration.java:255) [2024-09-04T22:41:01.884Z] JLNK at jdk.jlink/jdk.tools.jlink.internal.Jlink$JlinkConfiguration.resolve(Jlink.java:217) [2024-09-04T22:41:01.884Z] JLNK at jdk.jlink/jdk.tools.jlink.internal.JlinkTask.createImageProvider(JlinkTask.java:536) [2024-09-04T22:41:01.884Z] JLNK at jdk.jlink/jdk.tools.jlink.internal.JlinkTask.createImage(JlinkTask.java:424) [2024-09-04T22:41:01.884Z] JLNK at jdk.jlink/jdk.tools.jlink.internal.JlinkTask.run(JlinkTask.java:276) [2024-09-04T22:41:01.884Z] JLNK at jdk.jlink/jdk.tools.jlink.internal.Main.run(Main.java:55) [2024-09-04T22:41:01.884Z] JLNK at jdk.jlink/jdk.tools.jlink.internal.Main.main(Main.java:33) [2024-09-04T22:41:01.884Z] STF 17:41:01.468 - Monitoring Report Summary: [2024-09-04T22:41:01.884Z] STF 17:41:01.468 - o Process JLNK ended with the expected exit code (1) [2024-09-04T22:41:01.884Z] STF 17:41:01.468 - [2024-09-04T22:41:01.884Z] STF 17:41:01.468 - +------ Step 30 - Check output [2024-09-04T22:41:01.884Z] STF 17:41:01.468 - | Count file matches [2024-09-04T22:41:01.884Z] STF 17:41:01.468 - | TargetFile: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/results/29.JLNK.stdout [2024-09-04T22:41:01.884Z] STF 17:41:01.468 - | ExpectedNumMatches: 2 [2024-09-04T22:41:01.884Z] STF 17:41:01.468 - | SearchStrings: ["not found, required by java.sql"] [2024-09-04T22:41:01.884Z] STF 17:41:01.468 - | [2024-09-04T22:41:01.884Z] STF 17:41:01.468 - Found 2 instances of ["not found, required by java.sql"] [2024-09-04T22:41:01.884Z] STF 17:41:01.468 - EXECUTE stage completed [2024-09-04T22:41:02.676Z] STF 17:41:01.521 - [2024-09-04T22:41:02.676Z] STF 17:41:01.522 - ==================== T E A R D O W N ==================== [2024-09-04T22:41:02.676Z] STF 17:41:01.522 - Running teardown: perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17254885485599/Jlink_AddMLimitM_1/20240904-174054-JlinkTest/tearDown.pl [2024-09-04T22:41:02.676Z] STF 17:41:01.580 - TEARDOWN stage completed [2024-09-04T22:41:02.676Z] STF 17:41:01.582 - [2024-09-04T22:41:02.676Z] STF 17:41:01.582 - ===================== R E S U L T S ===================== [2024-09-04T22:41:02.676Z] STF 17:41:01.582 - Stage results: [2024-09-04T22:41:02.676Z] STF 17:41:01.582 - setUp: pass [2024-09-04T22:41:02.676Z] STF 17:41:01.582 - execute: pass [2024-09-04T22:41:02.676Z] STF 17:41:01.582 - teardown: pass [2024-09-04T22:41:02.676Z] STF 17:41:01.582 - [2024-09-04T22:41:02.676Z] STF 17:41:01.582 - Overall result: PASSED [2024-09-04T22:41:02.676Z] ----------------------------------- [2024-09-04T22:41:02.676Z] Jlink_AddMLimitM_1_PASSED [2024-09-04T22:41:02.676Z] ----------------------------------- [2024-09-04T22:41:02.676Z] [2024-09-04T22:41:02.676Z] TEST TEARDOWN: [2024-09-04T22:41:02.676Z] Nothing to be done for teardown. [2024-09-04T22:41:02.676Z] Jlink_AddMLimitM_1 Finish Time: Wed Sep 4 17:41:01 2024 Epoch Time (ms): 1725489661625