Jlink_ReqMod_1

[2024-11-20T23:41:14.462Z] Running test Jlink_ReqMod_1 ... [2024-11-20T23:41:14.462Z] =============================================== [2024-11-20T23:41:14.462Z] Jlink_ReqMod_1 Start Time: Wed Nov 20 23:41:14 2024 Epoch Time (ms): 1732146074142 [2024-11-20T23:41:14.462Z] variation: Mode650 [2024-11-20T23:41:14.462Z] JVM_OPTIONS: -XX:-UseCompressedOops [2024-11-20T23:41:14.462Z] { \ [2024-11-20T23:41:14.462Z] echo ""; echo "TEST SETUP:"; \ [2024-11-20T23:41:14.462Z] echo "Nothing to be done for setup."; \ [2024-11-20T23:41:14.462Z] mkdir -p "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17321442864547/Jlink_ReqMod_1"; \ [2024-11-20T23:41:14.462Z] cd "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17321442864547/Jlink_ReqMod_1"; \ [2024-11-20T23:41:14.462Z] echo ""; echo "TESTING:"; \ [2024-11-20T23:41:14.462Z] perl /Users/jenkins/workspace/Test_openjdk21_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_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17321442864547/Jlink_ReqMod_1" -test=JlinkTest -test-args="variant=ReqdMod"; \ [2024-11-20T23:41:14.462Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "Jlink_ReqMod_1""_PASSED"; echo "-----------------------------------"; cd /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/..; rm -f -r "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17321442864547/Jlink_ReqMod_1"; else echo "-----------------------------------"; echo "Jlink_ReqMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2024-11-20T23:41:14.462Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-11-20T23:41:14.462Z] echo "Nothing to be done for teardown."; \ [2024-11-20T23:41:14.462Z] } 2>&1 | tee -a "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17321442864547/TestTargetResult"; [2024-11-20T23:41:14.462Z] [2024-11-20T23:41:14.462Z] TEST SETUP: [2024-11-20T23:41:14.462Z] Nothing to be done for setup. [2024-11-20T23:41:14.462Z] [2024-11-20T23:41:14.462Z] TESTING: [2024-11-20T23:41:14.462Z] STF 23:41:14.239 - ========================= S T F ========================= [2024-11-20T23:41:14.462Z] systemtest-prereqs has been processed, and set to: /Users/jenkins/testDependency/system_libRetrieving amount of free space on drive containing /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17321442864547/Jlink_ReqMod_1 [2024-11-20T23:41:14.462Z] There is 55699 Mb free [2024-11-20T23:41:14.462Z] STF 23:41:14.247 - ================== G E N E R A T I O N ================== [2024-11-20T23:41:14.462Z] STF 23:41:14.249 - Checking JVM: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2024-11-20T23:41:14.462Z] STF 23:41:14.249 - Starting process to generate scripts: /Users/jenkins/workspace/Test_openjdk21_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_openjdk21_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//log4j/log4j-api.jar:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//log4j/log4j-core.jar:/Users/jenkins/workspace/Test_openjdk21_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_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/stf_parameters.properties, , /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest" [2024-11-20T23:41:14.462Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-20T23:41:15.723Z] GEN Java lib directory does not exist: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/lib [2024-11-20T23:41:15.723Z] GEN 23:41:15.284 - Found test. Project: 'openjdk.test.modularity' class: 'JlinkTest.class' Dir: '/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2024-11-20T23:41:15.723Z] GEN 23:41:15.297 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.JlinkTest' [2024-11-20T23:41:15.723Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-11-20T23:41:15.723Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2024-11-20T23:41:15.723Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2024-11-20T23:41:15.723Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2024-11-20T23:41:15.723Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2024-11-20T23:41:15.723Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2024-11-20T23:41:15.723Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2024-11-20T23:41:15.723Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2024-11-20T23:41:15.723Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2024-11-20T23:41:15.723Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2024-11-20T23:41:15.723Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2024-11-20T23:41:15.723Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2024-11-20T23:41:15.723Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2024-11-20T23:41:15.723Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2024-11-20T23:41:15.723Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2024-11-20T23:41:15.723Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2024-11-20T23:41:15.723Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/bin [2024-11-20T23:41:15.723Z] GEN /Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-11-20T23:41:15.723Z] GEN /Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-11-20T23:41:15.723Z] GEN /Users/jenkins/testDependency/system_lib/junit/junit.jar [2024-11-20T23:41:15.723Z] GEN Java lib directory does not exist: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/lib [2024-11-20T23:41:15.723Z] GEN 23:41:15.502 - Using Mode NoOptions. Values = '' [2024-11-20T23:41:15.723Z] GEN 23:41:15.608 - [2024-11-20T23:41:15.723Z] GEN 23:41:15.608 - Test command summary: [2024-11-20T23:41:15.723Z] GEN 23:41:15.608 - Step Stage Command Description [2024-11-20T23:41:15.723Z] GEN 23:41:15.608 - -----+--------+-----------------+------------ [2024-11-20T23:41:15.723Z] GEN 23:41:15.608 - 1 setUp cpDir Copying com.test.jlink [2024-11-20T23:41:15.723Z] GEN 23:41:15.609 - 2 setUp rm Removing natives folder from com.test.jLinkDirCopy [2024-11-20T23:41:15.723Z] GEN 23:41:15.609 - 3 setUp jar Create com.test.jlink jar [2024-11-20T23:41:15.723Z] GEN 23:41:15.609 - 4 setUp jar Create com.hello jar [2024-11-20T23:41:15.724Z] GEN 23:41:15.609 - 5 setUp fileCheck Check com.test.jlink modular jar created [2024-11-20T23:41:15.724Z] GEN 23:41:15.609 - 6 setUp fileCheck Check com.hello modular jar created [2024-11-20T23:41:15.724Z] GEN 23:41:15.609 - 7 setUp rm Removing conf folder from com.test.jLinkDirCopy [2024-11-20T23:41:15.724Z] GEN 23:41:15.609 - 8 setUp cpDir Copying .so from com.test.jlink/native [2024-11-20T23:41:15.724Z] GEN 23:41:15.609 - 9 setUp jmod Creating jmod of com.test.jlink module [2024-11-20T23:41:15.724Z] GEN 23:41:15.609 - 10 setUp jmod Creating jmod for com.hello module [2024-11-20T23:41:15.724Z] GEN 23:41:15.610 - 11 setUp fileCheck Check com.test.jlink jmod created [2024-11-20T23:41:15.724Z] GEN 23:41:15.610 - 12 setUp fileCheck Check com.hello jmod created [2024-11-20T23:41:15.724Z] GEN 23:41:15.610 - 13 execute jlink Create runtime image [2024-11-20T23:41:15.724Z] GEN 23:41:15.610 - 14 execute Run java Running listmods [2024-11-20T23:41:15.724Z] GEN 23:41:15.610 - 15 execute count Check output [2024-11-20T23:41:15.724Z] GEN 23:41:15.610 - 16 execute count Check output [2024-11-20T23:41:15.724Z] GEN 23:41:15.610 - 17 execute count Check output [2024-11-20T23:41:15.724Z] GEN 23:41:15.610 - 18 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-11-20T23:41:15.724Z] GEN 23:41:15.610 - 19 execute jlink Create runtime image [2024-11-20T23:41:15.724Z] GEN 23:41:15.610 - 20 execute Run java Running listmods [2024-11-20T23:41:15.724Z] GEN 23:41:15.610 - 21 execute count Check output [2024-11-20T23:41:15.724Z] GEN 23:41:15.610 - 22 execute count Check output [2024-11-20T23:41:15.724Z] GEN 23:41:15.610 - 23 execute count Check output [2024-11-20T23:41:15.724Z] GEN 23:41:15.610 - 24 execute Run java Running adoptopenjdk.test.modularity.jlink.JniTest [2024-11-20T23:41:15.724Z] GEN 23:41:15.611 - 25 execute jlink Create runtime image [2024-11-20T23:41:15.724Z] GEN 23:41:15.611 - 26 execute Run java Running listmods [2024-11-20T23:41:15.724Z] GEN 23:41:15.611 - 27 execute count Check output [2024-11-20T23:41:15.724Z] GEN 23:41:15.611 - 28 execute count Check output [2024-11-20T23:41:15.724Z] GEN 23:41:15.611 - 29 execute count Check output [2024-11-20T23:41:15.724Z] GEN 23:41:15.611 - 30 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-11-20T23:41:15.724Z] STF 23:41:15.641 - [2024-11-20T23:41:15.724Z] STF 23:41:15.641 - Script generation completed [2024-11-20T23:41:15.724Z] STF 23:41:15.641 - [2024-11-20T23:41:15.724Z] STF 23:41:15.642 - [2024-11-20T23:41:15.724Z] STF 23:41:15.642 - ======================= S E T U P ======================= [2024-11-20T23:41:15.724Z] STF 23:41:15.642 - Running setup: perl /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/setUp.pl [2024-11-20T23:41:16.085Z] STF 23:41:15.719 - [2024-11-20T23:41:16.085Z] STF 23:41:15.719 - +------ Step 1 - Copying com.test.jlink [2024-11-20T23:41:16.085Z] STF 23:41:15.719 - | Copy a directory to a new directory [2024-11-20T23:41:16.086Z] STF 23:41:15.719 - | Source dir: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink [2024-11-20T23:41:16.086Z] STF 23:41:15.719 - | Dest dir: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/com.test.jLinkDirCopy [2024-11-20T23:41:16.086Z] STF 23:41:15.719 - | [2024-11-20T23:41:16.086Z] STF 23:41:15.728 - [2024-11-20T23:41:16.086Z] STF 23:41:15.728 - +------ Step 2 - Removing natives folder from com.test.jLinkDirCopy [2024-11-20T23:41:16.086Z] STF 23:41:15.728 - | Recursively delete a directory [2024-11-20T23:41:16.086Z] STF 23:41:15.728 - | Directory: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/com.test.jLinkDirCopy/native [2024-11-20T23:41:16.086Z] STF 23:41:15.728 - | [2024-11-20T23:41:16.086Z] STF 23:41:15.730 - [2024-11-20T23:41:16.086Z] STF 23:41:15.731 - +------ Step 3 - Create com.test.jlink jar [2024-11-20T23:41:16.086Z] STF 23:41:15.731 - | Create modular jar [2024-11-20T23:41:16.086Z] STF 23:41:15.731 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test.jlink [2024-11-20T23:41:16.086Z] STF 23:41:15.731 - | ModuleVersion: null [2024-11-20T23:41:16.086Z] STF 23:41:15.731 - | MainClass: null [2024-11-20T23:41:16.086Z] STF 23:41:15.731 - | HashModules: null [2024-11-20T23:41:16.086Z] STF 23:41:15.731 - | [2024-11-20T23:41:16.086Z] STF 23:41:15.732 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/modules/3.com.test.jlink.jar -C /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink . [2024-11-20T23:41:16.086Z] STF 23:41:15.732 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/results/3.CMJ.stderr [2024-11-20T23:41:16.086Z] STF 23:41:15.732 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/results/3.CMJ.stdout [2024-11-20T23:41:16.086Z] STF 23:41:15.746 - Monitoring processes: CMJ [2024-11-20T23:41:16.086Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-20T23:41:16.444Z] STF 23:41:16.157 - Monitoring Report Summary: [2024-11-20T23:41:16.444Z] STF 23:41:16.157 - o Process CMJ ended with the expected exit code (0) [2024-11-20T23:41:16.444Z] STF 23:41:16.158 - Created modular jar: 3.com.test.jlink.jar [2024-11-20T23:41:16.444Z] STF 23:41:16.158 - [2024-11-20T23:41:16.444Z] STF 23:41:16.158 - +------ Step 4 - Create com.hello jar [2024-11-20T23:41:16.444Z] STF 23:41:16.158 - | Create modular jar [2024-11-20T23:41:16.444Z] STF 23:41:16.158 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-11-20T23:41:16.444Z] STF 23:41:16.158 - | ModuleVersion: null [2024-11-20T23:41:16.444Z] STF 23:41:16.158 - | MainClass: null [2024-11-20T23:41:16.444Z] STF 23:41:16.158 - | HashModules: null [2024-11-20T23:41:16.444Z] STF 23:41:16.158 - | [2024-11-20T23:41:16.445Z] STF 23:41:16.158 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/modules/4.com.hello.jar -C /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2024-11-20T23:41:16.445Z] STF 23:41:16.158 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/results/4.CMJ.stderr [2024-11-20T23:41:16.445Z] STF 23:41:16.158 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/results/4.CMJ.stdout [2024-11-20T23:41:16.445Z] STF 23:41:16.160 - Monitoring processes: CMJ [2024-11-20T23:41:16.445Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-20T23:41:16.802Z] STF 23:41:16.580 - Monitoring Report Summary: [2024-11-20T23:41:16.802Z] STF 23:41:16.580 - o Process CMJ ended with the expected exit code (0) [2024-11-20T23:41:16.802Z] STF 23:41:16.581 - Created modular jar: 4.com.hello.jar [2024-11-20T23:41:16.802Z] STF 23:41:16.581 - [2024-11-20T23:41:16.802Z] STF 23:41:16.581 - +------ Step 5 - Check com.test.jlink modular jar created [2024-11-20T23:41:16.802Z] STF 23:41:16.581 - | Validate file exists [2024-11-20T23:41:16.802Z] STF 23:41:16.581 - | File: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/modules/3.com.test.jlink.jar [2024-11-20T23:41:16.802Z] STF 23:41:16.581 - | [2024-11-20T23:41:16.802Z] STF 23:41:16.581 - [2024-11-20T23:41:16.802Z] STF 23:41:16.581 - +------ Step 6 - Check com.hello modular jar created [2024-11-20T23:41:16.802Z] STF 23:41:16.581 - | Validate file exists [2024-11-20T23:41:16.802Z] STF 23:41:16.581 - | File: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/modules/4.com.hello.jar [2024-11-20T23:41:16.802Z] STF 23:41:16.581 - | [2024-11-20T23:41:16.802Z] STF 23:41:16.581 - [2024-11-20T23:41:16.802Z] STF 23:41:16.581 - +------ Step 7 - Removing conf folder from com.test.jLinkDirCopy [2024-11-20T23:41:16.802Z] STF 23:41:16.581 - | Recursively delete a directory [2024-11-20T23:41:16.802Z] STF 23:41:16.581 - | Directory: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/com.test.jLinkDirCopy/conf [2024-11-20T23:41:16.802Z] STF 23:41:16.581 - | [2024-11-20T23:41:16.802Z] STF 23:41:16.581 - [2024-11-20T23:41:16.802Z] STF 23:41:16.582 - +------ Step 8 - Copying .so from com.test.jlink/native [2024-11-20T23:41:16.802Z] STF 23:41:16.582 - | Copy a directory to a new directory [2024-11-20T23:41:16.802Z] STF 23:41:16.582 - | Source dir: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink/native/bin/osx [2024-11-20T23:41:16.802Z] STF 23:41:16.582 - | Dest dir: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/native [2024-11-20T23:41:16.802Z] STF 23:41:16.582 - | [2024-11-20T23:41:16.802Z] STF 23:41:16.583 - [2024-11-20T23:41:16.802Z] STF 23:41:16.583 - +------ Step 9 - Creating jmod of com.test.jlink module [2024-11-20T23:41:16.802Z] STF 23:41:16.583 - | Run jmod utility [2024-11-20T23:41:16.802Z] STF 23:41:16.583 - | jmod: com.test.jlink.jmod [2024-11-20T23:41:16.802Z] STF 23:41:16.583 - | [2024-11-20T23:41:16.802Z] STF 23:41:16.583 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jmod create --class-path /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/com.test.jLinkDirCopy --config /Users/jenkins/workspace/Test_openjdk21_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_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/native /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/tmp/com.test.jlink.jmod [2024-11-20T23:41:16.802Z] STF 23:41:16.583 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/results/9.JMOD.stderr [2024-11-20T23:41:16.802Z] STF 23:41:16.583 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/results/9.JMOD.stdout [2024-11-20T23:41:16.802Z] STF 23:41:16.585 - Monitoring processes: JMOD [2024-11-20T23:41:16.802Z] JMOD stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-20T23:41:17.156Z] STF 23:41:16.946 - Monitoring Report Summary: [2024-11-20T23:41:17.156Z] STF 23:41:16.946 - o Process JMOD ended with the expected exit code (0) [2024-11-20T23:41:17.156Z] STF 23:41:16.947 - [2024-11-20T23:41:17.156Z] STF 23:41:16.947 - +------ Step 10 - Creating jmod for com.hello module [2024-11-20T23:41:17.156Z] STF 23:41:16.947 - | Run jmod utility [2024-11-20T23:41:17.156Z] STF 23:41:16.947 - | jmod: com.hello.jmod [2024-11-20T23:41:17.156Z] STF 23:41:16.947 - | [2024-11-20T23:41:17.156Z] STF 23:41:16.947 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jmod create --class-path /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/tmp/com.hello.jmod [2024-11-20T23:41:17.156Z] STF 23:41:16.947 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/results/10.JMOD.stderr [2024-11-20T23:41:17.156Z] STF 23:41:16.947 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/results/10.JMOD.stdout [2024-11-20T23:41:17.156Z] STF 23:41:16.949 - Monitoring processes: JMOD [2024-11-20T23:41:17.156Z] JMOD stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-20T23:41:17.510Z] STF 23:41:17.310 - Monitoring Report Summary: [2024-11-20T23:41:17.510Z] STF 23:41:17.310 - o Process JMOD ended with the expected exit code (0) [2024-11-20T23:41:17.510Z] STF 23:41:17.310 - [2024-11-20T23:41:17.510Z] STF 23:41:17.310 - +------ Step 11 - Check com.test.jlink jmod created [2024-11-20T23:41:17.510Z] STF 23:41:17.310 - | Validate file exists [2024-11-20T23:41:17.510Z] STF 23:41:17.310 - | File: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/tmp/com.test.jlink.jmod [2024-11-20T23:41:17.510Z] STF 23:41:17.310 - | [2024-11-20T23:41:17.510Z] STF 23:41:17.310 - [2024-11-20T23:41:17.510Z] STF 23:41:17.310 - +------ Step 12 - Check com.hello jmod created [2024-11-20T23:41:17.510Z] STF 23:41:17.310 - | Validate file exists [2024-11-20T23:41:17.510Z] STF 23:41:17.310 - | File: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/tmp/com.hello.jmod [2024-11-20T23:41:17.510Z] STF 23:41:17.310 - | [2024-11-20T23:41:17.510Z] STF 23:41:17.310 - SETUP stage completed [2024-11-20T23:41:17.510Z] STF 23:41:17.323 - [2024-11-20T23:41:17.510Z] STF 23:41:17.324 - ==================== E X E C U T E - ==================== [2024-11-20T23:41:17.510Z] STF 23:41:17.324 - Running execute: perl /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/execute.pl [2024-11-20T23:41:17.510Z] STF 23:41:17.401 - [2024-11-20T23:41:17.510Z] STF 23:41:17.401 - Java version [2024-11-20T23:41:17.510Z] STF 23:41:17.401 - Running: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2024-11-20T23:41:17.510Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-20T23:41:17.864Z] openjdk version "21.0.6-beta" 2025-01-21 [2024-11-20T23:41:17.864Z] OpenJDK Runtime Environment Temurin-21.0.6+4-202411202005 (build 21.0.6-beta+4-ea) [2024-11-20T23:41:17.864Z] OpenJDK 64-Bit Server VM Temurin-21.0.6+4-202411202005 (build 21.0.6-beta+4-ea, mixed mode) [2024-11-20T23:41:17.864Z] STF 23:41:17.515 - [2024-11-20T23:41:17.864Z] STF 23:41:17.515 - +------ Step 13 - Create runtime image [2024-11-20T23:41:17.864Z] STF 23:41:17.515 - | Run jlink to create runtime image [2024-11-20T23:41:17.864Z] STF 23:41:17.515 - | ImageName: CRI1 [2024-11-20T23:41:17.864Z] STF 23:41:17.515 - | [2024-11-20T23:41:17.864Z] STF 23:41:17.516 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/modules --add-modules com.test.jlink --output /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/tmp/13.CRI1 [2024-11-20T23:41:17.864Z] STF 23:41:17.516 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/results/13.JLNK.stderr [2024-11-20T23:41:17.864Z] STF 23:41:17.516 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/results/13.JLNK.stdout [2024-11-20T23:41:17.864Z] STF 23:41:17.526 - Monitoring processes: JLNK [2024-11-20T23:41:17.864Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-20T23:41:19.635Z] STF 23:41:19.527 - Monitoring Report Summary: [2024-11-20T23:41:19.635Z] STF 23:41:19.528 - o Process JLNK ended with the expected exit code (0) [2024-11-20T23:41:19.635Z] STF 23:41:19.528 - [2024-11-20T23:41:19.635Z] STF 23:41:19.528 - +------ Step 14 - Running listmods [2024-11-20T23:41:19.635Z] STF 23:41:19.528 - | Run foreground process [2024-11-20T23:41:19.635Z] STF 23:41:19.528 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/tmp/13.CRI1/bin/java [2024-11-20T23:41:19.635Z] STF 23:41:19.528 - | Mnemonic: LIST [2024-11-20T23:41:19.635Z] STF 23:41:19.528 - | Echo: ECHO_ON [2024-11-20T23:41:19.635Z] STF 23:41:19.528 - | Expectation: CLEAN_RUN within 1m [2024-11-20T23:41:19.635Z] STF 23:41:19.528 - | [2024-11-20T23:41:19.635Z] STF 23:41:19.528 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/tmp/13.CRI1/bin/java --list-modules -XX:-UseCompressedOops [2024-11-20T23:41:19.635Z] STF 23:41:19.528 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/results/14.LIST.stderr [2024-11-20T23:41:19.635Z] STF 23:41:19.528 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/results/14.LIST.stdout [2024-11-20T23:41:19.635Z] STF 23:41:19.530 - Monitoring processes: LIST [2024-11-20T23:41:19.991Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-20T23:41:19.992Z] LIST com.hello [2024-11-20T23:41:19.992Z] LIST com.test.jlink [2024-11-20T23:41:19.992Z] LIST java.base@21.0.6-beta [2024-11-20T23:41:19.992Z] STF 23:41:19.801 - Monitoring Report Summary: [2024-11-20T23:41:19.992Z] STF 23:41:19.802 - o Process LIST ended with the expected exit code (0) [2024-11-20T23:41:19.992Z] STF 23:41:19.802 - [2024-11-20T23:41:19.992Z] STF 23:41:19.802 - +------ Step 15 - Check output [2024-11-20T23:41:19.992Z] STF 23:41:19.802 - | Count file matches [2024-11-20T23:41:19.992Z] STF 23:41:19.802 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/results/14.LIST.stdout [2024-11-20T23:41:19.992Z] STF 23:41:19.802 - | ExpectedNumMatches: 1 [2024-11-20T23:41:19.992Z] STF 23:41:19.802 - | SearchStrings: ["com.hello"] [2024-11-20T23:41:19.992Z] STF 23:41:19.802 - | [2024-11-20T23:41:19.992Z] STF 23:41:19.802 - Found 1 instances of ["com.hello"] [2024-11-20T23:41:19.992Z] STF 23:41:19.802 - [2024-11-20T23:41:19.992Z] STF 23:41:19.802 - +------ Step 16 - Check output [2024-11-20T23:41:19.992Z] STF 23:41:19.802 - | Count file matches [2024-11-20T23:41:19.992Z] STF 23:41:19.802 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/results/14.LIST.stdout [2024-11-20T23:41:19.992Z] STF 23:41:19.802 - | ExpectedNumMatches: 1 [2024-11-20T23:41:19.992Z] STF 23:41:19.802 - | SearchStrings: ["com.test.jlink"] [2024-11-20T23:41:19.992Z] STF 23:41:19.802 - | [2024-11-20T23:41:19.992Z] STF 23:41:19.802 - Found 1 instances of ["com.test.jlink"] [2024-11-20T23:41:19.992Z] STF 23:41:19.802 - [2024-11-20T23:41:19.992Z] STF 23:41:19.802 - +------ Step 17 - Check output [2024-11-20T23:41:19.992Z] STF 23:41:19.802 - | Count file matches [2024-11-20T23:41:19.992Z] STF 23:41:19.802 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/results/14.LIST.stdout [2024-11-20T23:41:19.992Z] STF 23:41:19.802 - | ExpectedNumMatches: 1 [2024-11-20T23:41:19.992Z] STF 23:41:19.802 - | SearchStrings: ["java.base"] [2024-11-20T23:41:19.992Z] STF 23:41:19.802 - | [2024-11-20T23:41:19.992Z] STF 23:41:19.802 - Found 1 instances of ["java.base"] [2024-11-20T23:41:19.992Z] STF 23:41:19.802 - [2024-11-20T23:41:19.992Z] STF 23:41:19.802 - +------ Step 18 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-11-20T23:41:19.992Z] STF 23:41:19.803 - | Run foreground process [2024-11-20T23:41:19.992Z] STF 23:41:19.803 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/tmp/13.CRI1/bin/java [2024-11-20T23:41:19.992Z] STF 23:41:19.803 - | Mnemonic: T1 [2024-11-20T23:41:19.992Z] STF 23:41:19.803 - | Echo: ECHO_ON [2024-11-20T23:41:19.992Z] STF 23:41:19.803 - | Expectation: CLEAN_RUN within 1m [2024-11-20T23:41:19.992Z] STF 23:41:19.803 - | [2024-11-20T23:41:19.992Z] STF 23:41:19.803 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/tmp/13.CRI1/bin/java -Djava.library.path=/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-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-11-20T23:41:19.992Z] STF 23:41:19.803 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/results/18.T1.stderr [2024-11-20T23:41:19.992Z] STF 23:41:19.803 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/results/18.T1.stdout [2024-11-20T23:41:19.992Z] STF 23:41:19.805 - Monitoring processes: T1 [2024-11-20T23:41:19.992Z] T1 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-20T23:41:20.347Z] T1 JUnit version 4.12 [2024-11-20T23:41:20.347Z] T1 . [2024-11-20T23:41:20.347Z] T1 Time: 0.007 [2024-11-20T23:41:20.347Z] T1 [2024-11-20T23:41:20.347Z] T1 OK (1 test) [2024-11-20T23:41:20.347Z] T1 [2024-11-20T23:41:20.347Z] STF 23:41:20.133 - Monitoring Report Summary: [2024-11-20T23:41:20.347Z] STF 23:41:20.133 - o Process T1 ended with the expected exit code (0) [2024-11-20T23:41:20.347Z] STF 23:41:20.134 - [2024-11-20T23:41:20.347Z] STF 23:41:20.134 - +------ Step 19 - Create runtime image [2024-11-20T23:41:20.347Z] STF 23:41:20.134 - | Run jlink to create runtime image [2024-11-20T23:41:20.347Z] STF 23:41:20.134 - | ImageName: CRI2 [2024-11-20T23:41:20.347Z] STF 23:41:20.134 - | [2024-11-20T23:41:20.348Z] STF 23:41:20.134 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/tmp --add-modules com.test.jlink --output /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/tmp/19.CRI2 [2024-11-20T23:41:20.348Z] STF 23:41:20.134 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/results/19.JLNK.stderr [2024-11-20T23:41:20.348Z] STF 23:41:20.134 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/results/19.JLNK.stdout [2024-11-20T23:41:20.348Z] STF 23:41:20.136 - Monitoring processes: JLNK [2024-11-20T23:41:20.348Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-20T23:41:22.744Z] STF 23:41:22.098 - Monitoring Report Summary: [2024-11-20T23:41:22.744Z] STF 23:41:22.098 - o Process JLNK ended with the expected exit code (0) [2024-11-20T23:41:22.744Z] STF 23:41:22.098 - [2024-11-20T23:41:22.744Z] STF 23:41:22.098 - +------ Step 20 - Running listmods [2024-11-20T23:41:22.744Z] STF 23:41:22.098 - | Run foreground process [2024-11-20T23:41:22.744Z] STF 23:41:22.098 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/tmp/19.CRI2/bin/java [2024-11-20T23:41:22.744Z] STF 23:41:22.098 - | Mnemonic: LIST [2024-11-20T23:41:22.744Z] STF 23:41:22.098 - | Echo: ECHO_ON [2024-11-20T23:41:22.744Z] STF 23:41:22.098 - | Expectation: CLEAN_RUN within 1m [2024-11-20T23:41:22.744Z] STF 23:41:22.098 - | [2024-11-20T23:41:22.744Z] STF 23:41:22.099 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/tmp/19.CRI2/bin/java --list-modules -XX:-UseCompressedOops [2024-11-20T23:41:22.744Z] STF 23:41:22.099 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/results/20.LIST.stderr [2024-11-20T23:41:22.744Z] STF 23:41:22.099 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/results/20.LIST.stdout [2024-11-20T23:41:22.744Z] STF 23:41:22.100 - Monitoring processes: LIST [2024-11-20T23:41:22.744Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-20T23:41:22.744Z] LIST com.hello [2024-11-20T23:41:22.744Z] LIST com.test.jlink [2024-11-20T23:41:22.744Z] LIST java.base@21.0.6-beta [2024-11-20T23:41:22.744Z] STF 23:41:22.371 - Monitoring Report Summary: [2024-11-20T23:41:22.744Z] STF 23:41:22.371 - o Process LIST ended with the expected exit code (0) [2024-11-20T23:41:22.744Z] STF 23:41:22.371 - [2024-11-20T23:41:22.744Z] STF 23:41:22.371 - +------ Step 21 - Check output [2024-11-20T23:41:22.744Z] STF 23:41:22.371 - | Count file matches [2024-11-20T23:41:22.744Z] STF 23:41:22.371 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/results/20.LIST.stdout [2024-11-20T23:41:22.744Z] STF 23:41:22.371 - | ExpectedNumMatches: 1 [2024-11-20T23:41:22.744Z] STF 23:41:22.371 - | SearchStrings: ["com.hello"] [2024-11-20T23:41:22.744Z] STF 23:41:22.372 - | [2024-11-20T23:41:22.744Z] STF 23:41:22.372 - Found 1 instances of ["com.hello"] [2024-11-20T23:41:22.744Z] STF 23:41:22.372 - [2024-11-20T23:41:22.744Z] STF 23:41:22.372 - +------ Step 22 - Check output [2024-11-20T23:41:22.744Z] STF 23:41:22.372 - | Count file matches [2024-11-20T23:41:22.744Z] STF 23:41:22.372 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/results/20.LIST.stdout [2024-11-20T23:41:22.744Z] STF 23:41:22.372 - | ExpectedNumMatches: 1 [2024-11-20T23:41:22.744Z] STF 23:41:22.372 - | SearchStrings: ["com.test.jlink"] [2024-11-20T23:41:22.744Z] STF 23:41:22.372 - | [2024-11-20T23:41:22.744Z] STF 23:41:22.372 - Found 1 instances of ["com.test.jlink"] [2024-11-20T23:41:22.744Z] STF 23:41:22.372 - [2024-11-20T23:41:22.744Z] STF 23:41:22.372 - +------ Step 23 - Check output [2024-11-20T23:41:22.744Z] STF 23:41:22.372 - | Count file matches [2024-11-20T23:41:22.744Z] STF 23:41:22.372 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/results/20.LIST.stdout [2024-11-20T23:41:22.744Z] STF 23:41:22.372 - | ExpectedNumMatches: 1 [2024-11-20T23:41:22.744Z] STF 23:41:22.372 - | SearchStrings: ["java.base"] [2024-11-20T23:41:22.744Z] STF 23:41:22.372 - | [2024-11-20T23:41:22.744Z] STF 23:41:22.372 - Found 1 instances of ["java.base"] [2024-11-20T23:41:22.744Z] STF 23:41:22.372 - [2024-11-20T23:41:22.744Z] STF 23:41:22.372 - +------ Step 24 - Running adoptopenjdk.test.modularity.jlink.JniTest [2024-11-20T23:41:22.744Z] STF 23:41:22.372 - | Run foreground process [2024-11-20T23:41:22.744Z] STF 23:41:22.372 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/tmp/19.CRI2/bin/java [2024-11-20T23:41:22.744Z] STF 23:41:22.372 - | Mnemonic: T2 [2024-11-20T23:41:22.744Z] STF 23:41:22.372 - | Echo: ECHO_ON [2024-11-20T23:41:22.744Z] STF 23:41:22.372 - | Expectation: CLEAN_RUN within 1m [2024-11-20T23:41:22.744Z] STF 23:41:22.372 - | [2024-11-20T23:41:22.744Z] STF 23:41:22.373 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/tmp/19.CRI2/bin/java -Djava.library.path=/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-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.JniTest [2024-11-20T23:41:22.744Z] STF 23:41:22.373 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/results/24.T2.stderr [2024-11-20T23:41:22.744Z] STF 23:41:22.373 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/results/24.T2.stdout [2024-11-20T23:41:22.744Z] STF 23:41:22.374 - Monitoring processes: T2 [2024-11-20T23:41:22.744Z] T2 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-20T23:41:22.744Z] T2 JUnit version 4.12 [2024-11-20T23:41:22.744Z] T2 . [2024-11-20T23:41:22.744Z] T2 Time: 0.006 [2024-11-20T23:41:22.744Z] T2 [2024-11-20T23:41:22.744Z] T2 OK (1 test) [2024-11-20T23:41:22.744Z] T2 [2024-11-20T23:41:22.744Z] STF 23:41:22.703 - Monitoring Report Summary: [2024-11-20T23:41:22.744Z] STF 23:41:22.703 - o Process T2 ended with the expected exit code (0) [2024-11-20T23:41:22.744Z] STF 23:41:22.703 - [2024-11-20T23:41:22.744Z] STF 23:41:22.704 - +------ Step 25 - Create runtime image [2024-11-20T23:41:22.744Z] STF 23:41:22.704 - | Run jlink to create runtime image [2024-11-20T23:41:22.744Z] STF 23:41:22.704 - | ImageName: CRI3 [2024-11-20T23:41:22.744Z] STF 23:41:22.704 - | [2024-11-20T23:41:22.744Z] STF 23:41:22.704 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --add-modules com.test.jlink --output /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/tmp/25.CRI3 [2024-11-20T23:41:22.744Z] STF 23:41:22.704 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/results/25.JLNK.stderr [2024-11-20T23:41:22.744Z] STF 23:41:22.704 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/results/25.JLNK.stdout [2024-11-20T23:41:22.744Z] STF 23:41:22.706 - Monitoring processes: JLNK [2024-11-20T23:41:23.102Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-20T23:41:24.871Z] STF 23:41:24.727 - Monitoring Report Summary: [2024-11-20T23:41:24.871Z] STF 23:41:24.728 - o Process JLNK ended with the expected exit code (0) [2024-11-20T23:41:24.871Z] STF 23:41:24.728 - [2024-11-20T23:41:24.871Z] STF 23:41:24.728 - +------ Step 26 - Running listmods [2024-11-20T23:41:24.871Z] STF 23:41:24.728 - | Run foreground process [2024-11-20T23:41:24.871Z] STF 23:41:24.728 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/tmp/25.CRI3/bin/java [2024-11-20T23:41:24.871Z] STF 23:41:24.728 - | Mnemonic: LIST [2024-11-20T23:41:24.871Z] STF 23:41:24.728 - | Echo: ECHO_ON [2024-11-20T23:41:24.871Z] STF 23:41:24.728 - | Expectation: CLEAN_RUN within 1m [2024-11-20T23:41:24.871Z] STF 23:41:24.728 - | [2024-11-20T23:41:24.871Z] STF 23:41:24.728 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/tmp/25.CRI3/bin/java --list-modules -XX:-UseCompressedOops [2024-11-20T23:41:24.871Z] STF 23:41:24.728 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/results/26.LIST.stderr [2024-11-20T23:41:24.871Z] STF 23:41:24.728 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/results/26.LIST.stdout [2024-11-20T23:41:24.871Z] STF 23:41:24.730 - Monitoring processes: LIST [2024-11-20T23:41:24.871Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-20T23:41:25.229Z] LIST com.hello [2024-11-20T23:41:25.229Z] LIST com.test.jlink [2024-11-20T23:41:25.229Z] LIST java.base@21.0.6-beta [2024-11-20T23:41:25.229Z] STF 23:41:25.001 - Monitoring Report Summary: [2024-11-20T23:41:25.229Z] STF 23:41:25.001 - o Process LIST ended with the expected exit code (0) [2024-11-20T23:41:25.229Z] STF 23:41:25.001 - [2024-11-20T23:41:25.229Z] STF 23:41:25.001 - +------ Step 27 - Check output [2024-11-20T23:41:25.229Z] STF 23:41:25.001 - | Count file matches [2024-11-20T23:41:25.229Z] STF 23:41:25.001 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/results/26.LIST.stdout [2024-11-20T23:41:25.229Z] STF 23:41:25.001 - | ExpectedNumMatches: 1 [2024-11-20T23:41:25.229Z] STF 23:41:25.002 - | SearchStrings: ["com.hello"] [2024-11-20T23:41:25.229Z] STF 23:41:25.002 - | [2024-11-20T23:41:25.229Z] STF 23:41:25.002 - Found 1 instances of ["com.hello"] [2024-11-20T23:41:25.229Z] STF 23:41:25.002 - [2024-11-20T23:41:25.229Z] STF 23:41:25.002 - +------ Step 28 - Check output [2024-11-20T23:41:25.229Z] STF 23:41:25.002 - | Count file matches [2024-11-20T23:41:25.229Z] STF 23:41:25.002 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/results/26.LIST.stdout [2024-11-20T23:41:25.229Z] STF 23:41:25.002 - | ExpectedNumMatches: 1 [2024-11-20T23:41:25.229Z] STF 23:41:25.002 - | SearchStrings: ["com.test.jlink"] [2024-11-20T23:41:25.229Z] STF 23:41:25.002 - | [2024-11-20T23:41:25.229Z] STF 23:41:25.002 - Found 1 instances of ["com.test.jlink"] [2024-11-20T23:41:25.229Z] STF 23:41:25.002 - [2024-11-20T23:41:25.229Z] STF 23:41:25.002 - +------ Step 29 - Check output [2024-11-20T23:41:25.229Z] STF 23:41:25.002 - | Count file matches [2024-11-20T23:41:25.229Z] STF 23:41:25.002 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/results/26.LIST.stdout [2024-11-20T23:41:25.229Z] STF 23:41:25.002 - | ExpectedNumMatches: 1 [2024-11-20T23:41:25.229Z] STF 23:41:25.002 - | SearchStrings: ["java.base"] [2024-11-20T23:41:25.229Z] STF 23:41:25.002 - | [2024-11-20T23:41:25.229Z] STF 23:41:25.002 - Found 1 instances of ["java.base"] [2024-11-20T23:41:25.229Z] STF 23:41:25.002 - [2024-11-20T23:41:25.229Z] STF 23:41:25.002 - +------ Step 30 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-11-20T23:41:25.229Z] STF 23:41:25.002 - | Run foreground process [2024-11-20T23:41:25.229Z] STF 23:41:25.002 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/tmp/25.CRI3/bin/java [2024-11-20T23:41:25.229Z] STF 23:41:25.002 - | Mnemonic: T3 [2024-11-20T23:41:25.229Z] STF 23:41:25.002 - | Echo: ECHO_ON [2024-11-20T23:41:25.229Z] STF 23:41:25.002 - | Expectation: CLEAN_RUN within 1m [2024-11-20T23:41:25.229Z] STF 23:41:25.002 - | [2024-11-20T23:41:25.229Z] STF 23:41:25.002 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/tmp/25.CRI3/bin/java -Djava.library.path=/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-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-11-20T23:41:25.229Z] STF 23:41:25.002 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/results/30.T3.stderr [2024-11-20T23:41:25.229Z] STF 23:41:25.002 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/results/30.T3.stdout [2024-11-20T23:41:25.229Z] STF 23:41:25.004 - Monitoring processes: T3 [2024-11-20T23:41:25.229Z] T3 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-20T23:41:25.588Z] T3 JUnit version 4.12 [2024-11-20T23:41:25.588Z] T3 . [2024-11-20T23:41:25.588Z] T3 Time: 0.007 [2024-11-20T23:41:25.588Z] T3 [2024-11-20T23:41:25.588Z] T3 OK (1 test) [2024-11-20T23:41:25.588Z] T3 [2024-11-20T23:41:25.588Z] STF 23:41:25.334 - Monitoring Report Summary: [2024-11-20T23:41:25.588Z] STF 23:41:25.334 - o Process T3 ended with the expected exit code (0) [2024-11-20T23:41:25.588Z] STF 23:41:25.334 - EXECUTE stage completed [2024-11-20T23:41:25.588Z] STF 23:41:25.402 - [2024-11-20T23:41:25.588Z] STF 23:41:25.402 - ==================== T E A R D O W N ==================== [2024-11-20T23:41:25.588Z] STF 23:41:25.402 - Running teardown: perl /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17321442864547/Jlink_ReqMod_1/20241120-234114-JlinkTest/tearDown.pl [2024-11-20T23:41:25.588Z] STF 23:41:25.478 - TEARDOWN stage completed [2024-11-20T23:41:25.588Z] STF 23:41:25.487 - [2024-11-20T23:41:25.588Z] STF 23:41:25.487 - ===================== R E S U L T S ===================== [2024-11-20T23:41:25.588Z] STF 23:41:25.487 - Stage results: [2024-11-20T23:41:25.588Z] STF 23:41:25.487 - setUp: pass [2024-11-20T23:41:25.588Z] STF 23:41:25.487 - execute: pass [2024-11-20T23:41:25.588Z] STF 23:41:25.487 - teardown: pass [2024-11-20T23:41:25.588Z] STF 23:41:25.487 - [2024-11-20T23:41:25.588Z] STF 23:41:25.487 - Overall result: PASSED [2024-11-20T23:41:25.588Z] ----------------------------------- [2024-11-20T23:41:25.588Z] Jlink_ReqMod_1_PASSED [2024-11-20T23:41:25.588Z] ----------------------------------- [2024-11-20T23:41:25.588Z] [2024-11-20T23:41:25.588Z] TEST TEARDOWN: [2024-11-20T23:41:25.588Z] Nothing to be done for teardown. [2024-11-20T23:41:25.588Z] Jlink_ReqMod_1 Finish Time: Wed Nov 20 23:41:25 2024 Epoch Time (ms): 1732146085546