Jlink_ReqMod_1

[2024-08-09T21:39:12.142Z] Running test Jlink_ReqMod_1 ... [2024-08-09T21:39:12.142Z] =============================================== [2024-08-09T21:39:12.142Z] Jlink_ReqMod_1 Start Time: Fri Aug 9 22:39:12 2024 Epoch Time (ms): 1723239552015 [2024-08-09T21:39:12.142Z] variation: Mode650 [2024-08-09T21:39:12.142Z] JVM_OPTIONS: -XX:-UseCompressedOops [2024-08-09T21:39:12.142Z] { \ [2024-08-09T21:39:12.142Z] echo ""; echo "TEST SETUP:"; \ [2024-08-09T21:39:12.142Z] echo "Nothing to be done for setup."; \ [2024-08-09T21:39:12.142Z] mkdir -p "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_1723236957608/Jlink_ReqMod_1"; \ [2024-08-09T21:39:12.142Z] cd "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_1723236957608/Jlink_ReqMod_1"; \ [2024-08-09T21:39:12.142Z] echo ""; echo "TESTING:"; \ [2024-08-09T21:39:12.142Z] perl /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/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_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_1723236957608/Jlink_ReqMod_1" -test=JlinkTest -test-args="variant=ReqdMod"; \ [2024-08-09T21:39:12.143Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "Jlink_ReqMod_1""_PASSED"; echo "-----------------------------------"; cd /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/..; rm -f -r "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_1723236957608/Jlink_ReqMod_1"; else echo "-----------------------------------"; echo "Jlink_ReqMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2024-08-09T21:39:12.143Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-08-09T21:39:12.143Z] echo "Nothing to be done for teardown."; \ [2024-08-09T21:39:12.143Z] } 2>&1 | tee -a "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_1723236957608/TestTargetResult"; [2024-08-09T21:39:12.143Z] [2024-08-09T21:39:12.143Z] TEST SETUP: [2024-08-09T21:39:12.143Z] Nothing to be done for setup. [2024-08-09T21:39:12.143Z] [2024-08-09T21:39:12.143Z] TESTING: [2024-08-09T21:39:12.143Z] STF 22:39:12.109 - ========================= S T F ========================= [2024-08-09T21:39:12.143Z] 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_1/aqa-tests/TKG/../TKG/output_1723236957608/Jlink_ReqMod_1 [2024-08-09T21:39:12.143Z] There is 56675 Mb free [2024-08-09T21:39:12.143Z] STF 22:39:12.118 - ================== G E N E R A T I O N ================== [2024-08-09T21:39:12.143Z] STF 22:39:12.119 - Checking JVM: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2024-08-09T21:39:12.143Z] STF 22:39:12.119 - Starting process to generate scripts: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/..//bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib//log4j/log4j-api.jar:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib//log4j/log4j-core.jar:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/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_1/aqa-tests/TKG/../TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/stf_parameters.properties, , /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest" [2024-08-09T21:39:12.490Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-09T21:39:13.235Z] GEN 22:39:13.121 - Found test. Project: 'openjdk.test.modularity' class: 'JlinkTest.class' Dir: '/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2024-08-09T21:39:13.235Z] GEN 22:39:13.135 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.JlinkTest' [2024-08-09T21:39:13.591Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-08-09T21:39:13.591Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2024-08-09T21:39:13.591Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2024-08-09T21:39:13.591Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2024-08-09T21:39:13.591Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2024-08-09T21:39:13.591Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2024-08-09T21:39:13.591Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2024-08-09T21:39:13.591Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2024-08-09T21:39:13.591Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2024-08-09T21:39:13.591Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2024-08-09T21:39:13.591Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2024-08-09T21:39:13.591Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2024-08-09T21:39:13.591Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2024-08-09T21:39:13.591Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2024-08-09T21:39:13.591Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2024-08-09T21:39:13.591Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2024-08-09T21:39:13.591Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/bin [2024-08-09T21:39:13.591Z] GEN /Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-08-09T21:39:13.591Z] GEN /Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-08-09T21:39:13.591Z] GEN /Users/jenkins/testDependency/system_lib/junit/junit.jar [2024-08-09T21:39:13.591Z] GEN 22:39:13.351 - Using Mode NoOptions. Values = '' [2024-08-09T21:39:13.591Z] GEN 22:39:13.464 - [2024-08-09T21:39:13.591Z] GEN 22:39:13.464 - Test command summary: [2024-08-09T21:39:13.591Z] GEN 22:39:13.464 - Step Stage Command Description [2024-08-09T21:39:13.591Z] GEN 22:39:13.465 - -----+--------+-----------------+------------ [2024-08-09T21:39:13.591Z] GEN 22:39:13.465 - 1 setUp cpDir Copying com.test.jlink [2024-08-09T21:39:13.591Z] GEN 22:39:13.465 - 2 setUp rm Removing natives folder from com.test.jLinkDirCopy [2024-08-09T21:39:13.591Z] GEN 22:39:13.465 - 3 setUp jar Create com.test.jlink jar [2024-08-09T21:39:13.591Z] GEN 22:39:13.465 - 4 setUp jar Create com.hello jar [2024-08-09T21:39:13.591Z] GEN 22:39:13.465 - 5 setUp fileCheck Check com.test.jlink modular jar created [2024-08-09T21:39:13.591Z] GEN 22:39:13.465 - 6 setUp fileCheck Check com.hello modular jar created [2024-08-09T21:39:13.591Z] GEN 22:39:13.465 - 7 setUp rm Removing conf folder from com.test.jLinkDirCopy [2024-08-09T21:39:13.591Z] GEN 22:39:13.465 - 8 setUp cpDir Copying .so from com.test.jlink/native [2024-08-09T21:39:13.591Z] GEN 22:39:13.466 - 9 setUp jmod Creating jmod of com.test.jlink module [2024-08-09T21:39:13.591Z] GEN 22:39:13.466 - 10 setUp jmod Creating jmod for com.hello module [2024-08-09T21:39:13.591Z] GEN 22:39:13.466 - 11 setUp fileCheck Check com.test.jlink jmod created [2024-08-09T21:39:13.591Z] GEN 22:39:13.466 - 12 setUp fileCheck Check com.hello jmod created [2024-08-09T21:39:13.591Z] GEN 22:39:13.466 - 13 execute jlink Create runtime image [2024-08-09T21:39:13.591Z] GEN 22:39:13.466 - 14 execute Run java Running listmods [2024-08-09T21:39:13.591Z] GEN 22:39:13.466 - 15 execute count Check output [2024-08-09T21:39:13.591Z] GEN 22:39:13.466 - 16 execute count Check output [2024-08-09T21:39:13.591Z] GEN 22:39:13.466 - 17 execute count Check output [2024-08-09T21:39:13.591Z] GEN 22:39:13.466 - 18 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-08-09T21:39:13.591Z] GEN 22:39:13.466 - 19 execute jlink Create runtime image [2024-08-09T21:39:13.591Z] GEN 22:39:13.466 - 20 execute Run java Running listmods [2024-08-09T21:39:13.591Z] GEN 22:39:13.466 - 21 execute count Check output [2024-08-09T21:39:13.591Z] GEN 22:39:13.466 - 22 execute count Check output [2024-08-09T21:39:13.591Z] GEN 22:39:13.467 - 23 execute count Check output [2024-08-09T21:39:13.591Z] GEN 22:39:13.467 - 24 execute Run java Running adoptopenjdk.test.modularity.jlink.JniTest [2024-08-09T21:39:13.591Z] GEN 22:39:13.467 - 25 execute jlink Create runtime image [2024-08-09T21:39:13.591Z] GEN 22:39:13.467 - 26 execute Run java Running listmods [2024-08-09T21:39:13.591Z] GEN 22:39:13.467 - 27 execute count Check output [2024-08-09T21:39:13.591Z] GEN 22:39:13.467 - 28 execute count Check output [2024-08-09T21:39:13.591Z] GEN 22:39:13.467 - 29 execute count Check output [2024-08-09T21:39:13.591Z] GEN 22:39:13.467 - 30 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-08-09T21:39:13.591Z] STF 22:39:13.501 - [2024-08-09T21:39:13.591Z] STF 22:39:13.501 - Script generation completed [2024-08-09T21:39:13.591Z] STF 22:39:13.501 - [2024-08-09T21:39:13.591Z] STF 22:39:13.501 - [2024-08-09T21:39:13.591Z] STF 22:39:13.501 - ======================= S E T U P ======================= [2024-08-09T21:39:13.591Z] STF 22:39:13.501 - Running setup: perl /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/setUp.pl [2024-08-09T21:39:13.938Z] STF 22:39:13.581 - [2024-08-09T21:39:13.938Z] STF 22:39:13.581 - +------ Step 1 - Copying com.test.jlink [2024-08-09T21:39:13.938Z] STF 22:39:13.581 - | Copy a directory to a new directory [2024-08-09T21:39:13.938Z] STF 22:39:13.581 - | Source dir: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink [2024-08-09T21:39:13.938Z] STF 22:39:13.581 - | Dest dir: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/com.test.jLinkDirCopy [2024-08-09T21:39:13.938Z] STF 22:39:13.581 - | [2024-08-09T21:39:13.938Z] STF 22:39:13.591 - [2024-08-09T21:39:13.938Z] STF 22:39:13.591 - +------ Step 2 - Removing natives folder from com.test.jLinkDirCopy [2024-08-09T21:39:13.938Z] STF 22:39:13.591 - | Recursively delete a directory [2024-08-09T21:39:13.938Z] STF 22:39:13.591 - | Directory: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/com.test.jLinkDirCopy/native [2024-08-09T21:39:13.938Z] STF 22:39:13.591 - | [2024-08-09T21:39:13.938Z] STF 22:39:13.594 - [2024-08-09T21:39:13.938Z] STF 22:39:13.594 - +------ Step 3 - Create com.test.jlink jar [2024-08-09T21:39:13.938Z] STF 22:39:13.594 - | Create modular jar [2024-08-09T21:39:13.938Z] STF 22:39:13.594 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test.jlink [2024-08-09T21:39:13.938Z] STF 22:39:13.594 - | ModuleVersion: null [2024-08-09T21:39:13.938Z] STF 22:39:13.594 - | MainClass: null [2024-08-09T21:39:13.938Z] STF 22:39:13.594 - | HashModules: null [2024-08-09T21:39:13.938Z] STF 22:39:13.594 - | [2024-08-09T21:39:13.938Z] STF 22:39:13.594 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/modules/3.com.test.jlink.jar -C /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink . [2024-08-09T21:39:13.938Z] STF 22:39:13.594 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/results/3.CMJ.stderr [2024-08-09T21:39:13.938Z] STF 22:39:13.594 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/results/3.CMJ.stdout [2024-08-09T21:39:13.938Z] STF 22:39:13.609 - Monitoring processes: CMJ [2024-08-09T21:39:13.938Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-09T21:39:14.285Z] STF 22:39:13.982 - Monitoring Report Summary: [2024-08-09T21:39:14.286Z] STF 22:39:13.982 - o Process CMJ ended with the expected exit code (0) [2024-08-09T21:39:14.286Z] STF 22:39:13.982 - Created modular jar: 3.com.test.jlink.jar [2024-08-09T21:39:14.286Z] STF 22:39:13.982 - [2024-08-09T21:39:14.286Z] STF 22:39:13.982 - +------ Step 4 - Create com.hello jar [2024-08-09T21:39:14.286Z] STF 22:39:13.982 - | Create modular jar [2024-08-09T21:39:14.286Z] STF 22:39:13.982 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-08-09T21:39:14.286Z] STF 22:39:13.982 - | ModuleVersion: null [2024-08-09T21:39:14.286Z] STF 22:39:13.982 - | MainClass: null [2024-08-09T21:39:14.286Z] STF 22:39:13.982 - | HashModules: null [2024-08-09T21:39:14.286Z] STF 22:39:13.982 - | [2024-08-09T21:39:14.286Z] STF 22:39:13.983 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/modules/4.com.hello.jar -C /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2024-08-09T21:39:14.286Z] STF 22:39:13.983 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/results/4.CMJ.stderr [2024-08-09T21:39:14.286Z] STF 22:39:13.983 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/results/4.CMJ.stdout [2024-08-09T21:39:14.286Z] STF 22:39:13.984 - Monitoring processes: CMJ [2024-08-09T21:39:14.286Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-09T21:39:14.633Z] STF 22:39:14.344 - Monitoring Report Summary: [2024-08-09T21:39:14.633Z] STF 22:39:14.344 - o Process CMJ ended with the expected exit code (0) [2024-08-09T21:39:14.633Z] STF 22:39:14.344 - Created modular jar: 4.com.hello.jar [2024-08-09T21:39:14.633Z] STF 22:39:14.344 - [2024-08-09T21:39:14.633Z] STF 22:39:14.344 - +------ Step 5 - Check com.test.jlink modular jar created [2024-08-09T21:39:14.633Z] STF 22:39:14.344 - | Validate file exists [2024-08-09T21:39:14.633Z] STF 22:39:14.344 - | File: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/modules/3.com.test.jlink.jar [2024-08-09T21:39:14.633Z] STF 22:39:14.344 - | [2024-08-09T21:39:14.633Z] STF 22:39:14.344 - [2024-08-09T21:39:14.633Z] STF 22:39:14.345 - +------ Step 6 - Check com.hello modular jar created [2024-08-09T21:39:14.633Z] STF 22:39:14.345 - | Validate file exists [2024-08-09T21:39:14.633Z] STF 22:39:14.345 - | File: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/modules/4.com.hello.jar [2024-08-09T21:39:14.633Z] STF 22:39:14.345 - | [2024-08-09T21:39:14.633Z] STF 22:39:14.345 - [2024-08-09T21:39:14.633Z] STF 22:39:14.345 - +------ Step 7 - Removing conf folder from com.test.jLinkDirCopy [2024-08-09T21:39:14.633Z] STF 22:39:14.345 - | Recursively delete a directory [2024-08-09T21:39:14.633Z] STF 22:39:14.345 - | Directory: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/com.test.jLinkDirCopy/conf [2024-08-09T21:39:14.633Z] STF 22:39:14.345 - | [2024-08-09T21:39:14.633Z] STF 22:39:14.345 - [2024-08-09T21:39:14.633Z] STF 22:39:14.345 - +------ Step 8 - Copying .so from com.test.jlink/native [2024-08-09T21:39:14.633Z] STF 22:39:14.345 - | Copy a directory to a new directory [2024-08-09T21:39:14.633Z] STF 22:39:14.345 - | Source dir: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink/native/bin/osx [2024-08-09T21:39:14.633Z] STF 22:39:14.345 - | Dest dir: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/native [2024-08-09T21:39:14.633Z] STF 22:39:14.345 - | [2024-08-09T21:39:14.633Z] STF 22:39:14.346 - [2024-08-09T21:39:14.633Z] STF 22:39:14.346 - +------ Step 9 - Creating jmod of com.test.jlink module [2024-08-09T21:39:14.633Z] STF 22:39:14.346 - | Run jmod utility [2024-08-09T21:39:14.633Z] STF 22:39:14.346 - | jmod: com.test.jlink.jmod [2024-08-09T21:39:14.633Z] STF 22:39:14.346 - | [2024-08-09T21:39:14.633Z] STF 22:39:14.347 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jmod create --class-path /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/com.test.jLinkDirCopy --config /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/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_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/native /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/tmp/com.test.jlink.jmod [2024-08-09T21:39:14.633Z] STF 22:39:14.347 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/results/9.JMOD.stderr [2024-08-09T21:39:14.633Z] STF 22:39:14.347 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/results/9.JMOD.stdout [2024-08-09T21:39:14.633Z] STF 22:39:14.349 - Monitoring processes: JMOD [2024-08-09T21:39:14.633Z] JMOD stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-09T21:39:14.981Z] STF 22:39:14.712 - Monitoring Report Summary: [2024-08-09T21:39:14.981Z] STF 22:39:14.712 - o Process JMOD ended with the expected exit code (0) [2024-08-09T21:39:14.981Z] STF 22:39:14.712 - [2024-08-09T21:39:14.981Z] STF 22:39:14.712 - +------ Step 10 - Creating jmod for com.hello module [2024-08-09T21:39:14.981Z] STF 22:39:14.712 - | Run jmod utility [2024-08-09T21:39:14.981Z] STF 22:39:14.712 - | jmod: com.hello.jmod [2024-08-09T21:39:14.981Z] STF 22:39:14.712 - | [2024-08-09T21:39:14.981Z] STF 22:39:14.713 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jmod create --class-path /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/tmp/com.hello.jmod [2024-08-09T21:39:14.981Z] STF 22:39:14.713 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/results/10.JMOD.stderr [2024-08-09T21:39:14.981Z] STF 22:39:14.713 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/results/10.JMOD.stdout [2024-08-09T21:39:14.981Z] STF 22:39:14.715 - Monitoring processes: JMOD [2024-08-09T21:39:14.981Z] JMOD stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-09T21:39:15.330Z] STF 22:39:15.070 - Monitoring Report Summary: [2024-08-09T21:39:15.330Z] STF 22:39:15.071 - o Process JMOD ended with the expected exit code (0) [2024-08-09T21:39:15.330Z] STF 22:39:15.071 - [2024-08-09T21:39:15.330Z] STF 22:39:15.071 - +------ Step 11 - Check com.test.jlink jmod created [2024-08-09T21:39:15.330Z] STF 22:39:15.071 - | Validate file exists [2024-08-09T21:39:15.330Z] STF 22:39:15.071 - | File: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/tmp/com.test.jlink.jmod [2024-08-09T21:39:15.330Z] STF 22:39:15.071 - | [2024-08-09T21:39:15.330Z] STF 22:39:15.071 - [2024-08-09T21:39:15.330Z] STF 22:39:15.071 - +------ Step 12 - Check com.hello jmod created [2024-08-09T21:39:15.330Z] STF 22:39:15.071 - | Validate file exists [2024-08-09T21:39:15.330Z] STF 22:39:15.071 - | File: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/tmp/com.hello.jmod [2024-08-09T21:39:15.330Z] STF 22:39:15.071 - | [2024-08-09T21:39:15.330Z] STF 22:39:15.071 - SETUP stage completed [2024-08-09T21:39:15.330Z] STF 22:39:15.085 - [2024-08-09T21:39:15.330Z] STF 22:39:15.085 - ==================== E X E C U T E - ==================== [2024-08-09T21:39:15.331Z] STF 22:39:15.085 - Running execute: perl /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/execute.pl [2024-08-09T21:39:15.331Z] STF 22:39:15.159 - [2024-08-09T21:39:15.331Z] STF 22:39:15.160 - Java version [2024-08-09T21:39:15.331Z] STF 22:39:15.160 - Running: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2024-08-09T21:39:15.331Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-09T21:39:15.331Z] openjdk version "21.0.5-beta" 2024-10-15 [2024-08-09T21:39:15.331Z] OpenJDK Runtime Environment Temurin-21.0.5+2-202408091905 (build 21.0.5-beta+2-ea) [2024-08-09T21:39:15.331Z] OpenJDK 64-Bit Server VM Temurin-21.0.5+2-202408091905 (build 21.0.5-beta+2-ea, mixed mode) [2024-08-09T21:39:15.331Z] STF 22:39:15.271 - [2024-08-09T21:39:15.331Z] STF 22:39:15.271 - +------ Step 13 - Create runtime image [2024-08-09T21:39:15.331Z] STF 22:39:15.271 - | Run jlink to create runtime image [2024-08-09T21:39:15.331Z] STF 22:39:15.271 - | ImageName: CRI1 [2024-08-09T21:39:15.331Z] STF 22:39:15.271 - | [2024-08-09T21:39:15.331Z] STF 22:39:15.272 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/modules --add-modules com.test.jlink --output /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/tmp/13.CRI1 [2024-08-09T21:39:15.331Z] STF 22:39:15.272 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/results/13.JLNK.stderr [2024-08-09T21:39:15.331Z] STF 22:39:15.272 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/results/13.JLNK.stdout [2024-08-09T21:39:15.331Z] STF 22:39:15.283 - Monitoring processes: JLNK [2024-08-09T21:39:15.680Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-09T21:39:17.437Z] STF 22:39:17.264 - Monitoring Report Summary: [2024-08-09T21:39:17.437Z] STF 22:39:17.265 - o Process JLNK ended with the expected exit code (0) [2024-08-09T21:39:17.437Z] STF 22:39:17.265 - [2024-08-09T21:39:17.437Z] STF 22:39:17.265 - +------ Step 14 - Running listmods [2024-08-09T21:39:17.437Z] STF 22:39:17.265 - | Run foreground process [2024-08-09T21:39:17.437Z] STF 22:39:17.265 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/tmp/13.CRI1/bin/java [2024-08-09T21:39:17.437Z] STF 22:39:17.265 - | Mnemonic: LIST [2024-08-09T21:39:17.437Z] STF 22:39:17.265 - | Echo: ECHO_ON [2024-08-09T21:39:17.437Z] STF 22:39:17.265 - | Expectation: CLEAN_RUN within 1m [2024-08-09T21:39:17.437Z] STF 22:39:17.265 - | [2024-08-09T21:39:17.437Z] STF 22:39:17.265 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/tmp/13.CRI1/bin/java --list-modules -XX:-UseCompressedOops [2024-08-09T21:39:17.437Z] STF 22:39:17.265 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/results/14.LIST.stderr [2024-08-09T21:39:17.437Z] STF 22:39:17.265 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/results/14.LIST.stdout [2024-08-09T21:39:17.437Z] STF 22:39:17.267 - Monitoring processes: LIST [2024-08-09T21:39:17.437Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-09T21:39:17.785Z] LIST com.hello [2024-08-09T21:39:17.785Z] LIST com.test.jlink [2024-08-09T21:39:17.785Z] LIST java.base@21.0.5-beta [2024-08-09T21:39:17.785Z] STF 22:39:17.527 - Monitoring Report Summary: [2024-08-09T21:39:17.785Z] STF 22:39:17.527 - o Process LIST ended with the expected exit code (0) [2024-08-09T21:39:17.785Z] STF 22:39:17.528 - [2024-08-09T21:39:17.785Z] STF 22:39:17.528 - +------ Step 15 - Check output [2024-08-09T21:39:17.785Z] STF 22:39:17.528 - | Count file matches [2024-08-09T21:39:17.785Z] STF 22:39:17.528 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/results/14.LIST.stdout [2024-08-09T21:39:17.785Z] STF 22:39:17.528 - | ExpectedNumMatches: 1 [2024-08-09T21:39:17.785Z] STF 22:39:17.528 - | SearchStrings: ["com.hello"] [2024-08-09T21:39:17.785Z] STF 22:39:17.528 - | [2024-08-09T21:39:17.785Z] STF 22:39:17.528 - Found 1 instances of ["com.hello"] [2024-08-09T21:39:17.785Z] STF 22:39:17.528 - [2024-08-09T21:39:17.785Z] STF 22:39:17.528 - +------ Step 16 - Check output [2024-08-09T21:39:17.785Z] STF 22:39:17.528 - | Count file matches [2024-08-09T21:39:17.785Z] STF 22:39:17.528 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/results/14.LIST.stdout [2024-08-09T21:39:17.785Z] STF 22:39:17.528 - | ExpectedNumMatches: 1 [2024-08-09T21:39:17.785Z] STF 22:39:17.528 - | SearchStrings: ["com.test.jlink"] [2024-08-09T21:39:17.785Z] STF 22:39:17.528 - | [2024-08-09T21:39:17.785Z] STF 22:39:17.528 - Found 1 instances of ["com.test.jlink"] [2024-08-09T21:39:17.785Z] STF 22:39:17.528 - [2024-08-09T21:39:17.785Z] STF 22:39:17.528 - +------ Step 17 - Check output [2024-08-09T21:39:17.785Z] STF 22:39:17.528 - | Count file matches [2024-08-09T21:39:17.785Z] STF 22:39:17.528 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/results/14.LIST.stdout [2024-08-09T21:39:17.785Z] STF 22:39:17.528 - | ExpectedNumMatches: 1 [2024-08-09T21:39:17.785Z] STF 22:39:17.528 - | SearchStrings: ["java.base"] [2024-08-09T21:39:17.785Z] STF 22:39:17.528 - | [2024-08-09T21:39:17.785Z] STF 22:39:17.528 - Found 1 instances of ["java.base"] [2024-08-09T21:39:17.785Z] STF 22:39:17.528 - [2024-08-09T21:39:17.785Z] STF 22:39:17.528 - +------ Step 18 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-08-09T21:39:17.785Z] STF 22:39:17.528 - | Run foreground process [2024-08-09T21:39:17.785Z] STF 22:39:17.528 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/tmp/13.CRI1/bin/java [2024-08-09T21:39:17.785Z] STF 22:39:17.528 - | Mnemonic: T1 [2024-08-09T21:39:17.785Z] STF 22:39:17.528 - | Echo: ECHO_ON [2024-08-09T21:39:17.785Z] STF 22:39:17.528 - | Expectation: CLEAN_RUN within 1m [2024-08-09T21:39:17.785Z] STF 22:39:17.528 - | [2024-08-09T21:39:17.785Z] STF 22:39:17.529 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/tmp/13.CRI1/bin/java -Djava.library.path=/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-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-08-09T21:39:17.785Z] STF 22:39:17.529 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/results/18.T1.stderr [2024-08-09T21:39:17.785Z] STF 22:39:17.529 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/results/18.T1.stdout [2024-08-09T21:39:17.785Z] STF 22:39:17.530 - Monitoring processes: T1 [2024-08-09T21:39:17.785Z] T1 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-09T21:39:17.785Z] T1 JUnit version 4.12 [2024-08-09T21:39:18.133Z] T1 . [2024-08-09T21:39:18.133Z] T1 Time: 0.007 [2024-08-09T21:39:18.133Z] T1 [2024-08-09T21:39:18.133Z] T1 OK (1 test) [2024-08-09T21:39:18.133Z] T1 [2024-08-09T21:39:18.133Z] STF 22:39:17.846 - Monitoring Report Summary: [2024-08-09T21:39:18.133Z] STF 22:39:17.846 - o Process T1 ended with the expected exit code (0) [2024-08-09T21:39:18.133Z] STF 22:39:17.846 - [2024-08-09T21:39:18.133Z] STF 22:39:17.846 - +------ Step 19 - Create runtime image [2024-08-09T21:39:18.133Z] STF 22:39:17.846 - | Run jlink to create runtime image [2024-08-09T21:39:18.133Z] STF 22:39:17.846 - | ImageName: CRI2 [2024-08-09T21:39:18.133Z] STF 22:39:17.846 - | [2024-08-09T21:39:18.133Z] STF 22:39:17.847 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/tmp --add-modules com.test.jlink --output /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/tmp/19.CRI2 [2024-08-09T21:39:18.133Z] STF 22:39:17.847 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/results/19.JLNK.stderr [2024-08-09T21:39:18.133Z] STF 22:39:17.847 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/results/19.JLNK.stdout [2024-08-09T21:39:18.133Z] STF 22:39:17.848 - Monitoring processes: JLNK [2024-08-09T21:39:18.133Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-09T21:39:19.867Z] STF 22:39:19.763 - Monitoring Report Summary: [2024-08-09T21:39:19.867Z] STF 22:39:19.763 - o Process JLNK ended with the expected exit code (0) [2024-08-09T21:39:19.867Z] STF 22:39:19.764 - [2024-08-09T21:39:19.867Z] STF 22:39:19.764 - +------ Step 20 - Running listmods [2024-08-09T21:39:19.867Z] STF 22:39:19.764 - | Run foreground process [2024-08-09T21:39:19.867Z] STF 22:39:19.764 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/tmp/19.CRI2/bin/java [2024-08-09T21:39:19.867Z] STF 22:39:19.764 - | Mnemonic: LIST [2024-08-09T21:39:19.867Z] STF 22:39:19.764 - | Echo: ECHO_ON [2024-08-09T21:39:19.867Z] STF 22:39:19.764 - | Expectation: CLEAN_RUN within 1m [2024-08-09T21:39:19.867Z] STF 22:39:19.764 - | [2024-08-09T21:39:19.867Z] STF 22:39:19.764 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/tmp/19.CRI2/bin/java --list-modules -XX:-UseCompressedOops [2024-08-09T21:39:19.867Z] STF 22:39:19.764 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/results/20.LIST.stderr [2024-08-09T21:39:19.867Z] STF 22:39:19.764 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/results/20.LIST.stdout [2024-08-09T21:39:19.867Z] STF 22:39:19.766 - Monitoring processes: LIST [2024-08-09T21:39:20.214Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-09T21:39:20.214Z] LIST com.hello [2024-08-09T21:39:20.214Z] LIST com.test.jlink [2024-08-09T21:39:20.214Z] LIST java.base@21.0.5-beta [2024-08-09T21:39:20.214Z] STF 22:39:20.034 - Monitoring Report Summary: [2024-08-09T21:39:20.214Z] STF 22:39:20.034 - o Process LIST ended with the expected exit code (0) [2024-08-09T21:39:20.214Z] STF 22:39:20.034 - [2024-08-09T21:39:20.214Z] STF 22:39:20.034 - +------ Step 21 - Check output [2024-08-09T21:39:20.214Z] STF 22:39:20.034 - | Count file matches [2024-08-09T21:39:20.214Z] STF 22:39:20.034 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/results/20.LIST.stdout [2024-08-09T21:39:20.214Z] STF 22:39:20.035 - | ExpectedNumMatches: 1 [2024-08-09T21:39:20.214Z] STF 22:39:20.035 - | SearchStrings: ["com.hello"] [2024-08-09T21:39:20.214Z] STF 22:39:20.035 - | [2024-08-09T21:39:20.214Z] STF 22:39:20.035 - Found 1 instances of ["com.hello"] [2024-08-09T21:39:20.214Z] STF 22:39:20.035 - [2024-08-09T21:39:20.214Z] STF 22:39:20.035 - +------ Step 22 - Check output [2024-08-09T21:39:20.214Z] STF 22:39:20.035 - | Count file matches [2024-08-09T21:39:20.214Z] STF 22:39:20.035 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/results/20.LIST.stdout [2024-08-09T21:39:20.214Z] STF 22:39:20.035 - | ExpectedNumMatches: 1 [2024-08-09T21:39:20.214Z] STF 22:39:20.035 - | SearchStrings: ["com.test.jlink"] [2024-08-09T21:39:20.214Z] STF 22:39:20.035 - | [2024-08-09T21:39:20.214Z] STF 22:39:20.035 - Found 1 instances of ["com.test.jlink"] [2024-08-09T21:39:20.214Z] STF 22:39:20.035 - [2024-08-09T21:39:20.214Z] STF 22:39:20.035 - +------ Step 23 - Check output [2024-08-09T21:39:20.214Z] STF 22:39:20.035 - | Count file matches [2024-08-09T21:39:20.214Z] STF 22:39:20.035 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/results/20.LIST.stdout [2024-08-09T21:39:20.214Z] STF 22:39:20.035 - | ExpectedNumMatches: 1 [2024-08-09T21:39:20.214Z] STF 22:39:20.035 - | SearchStrings: ["java.base"] [2024-08-09T21:39:20.214Z] STF 22:39:20.035 - | [2024-08-09T21:39:20.214Z] STF 22:39:20.035 - Found 1 instances of ["java.base"] [2024-08-09T21:39:20.214Z] STF 22:39:20.035 - [2024-08-09T21:39:20.214Z] STF 22:39:20.035 - +------ Step 24 - Running adoptopenjdk.test.modularity.jlink.JniTest [2024-08-09T21:39:20.214Z] STF 22:39:20.035 - | Run foreground process [2024-08-09T21:39:20.214Z] STF 22:39:20.035 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/tmp/19.CRI2/bin/java [2024-08-09T21:39:20.214Z] STF 22:39:20.035 - | Mnemonic: T2 [2024-08-09T21:39:20.214Z] STF 22:39:20.035 - | Echo: ECHO_ON [2024-08-09T21:39:20.214Z] STF 22:39:20.035 - | Expectation: CLEAN_RUN within 1m [2024-08-09T21:39:20.214Z] STF 22:39:20.035 - | [2024-08-09T21:39:20.214Z] STF 22:39:20.036 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/tmp/19.CRI2/bin/java -Djava.library.path=/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-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-08-09T21:39:20.214Z] STF 22:39:20.036 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/results/24.T2.stderr [2024-08-09T21:39:20.214Z] STF 22:39:20.036 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/results/24.T2.stdout [2024-08-09T21:39:20.214Z] STF 22:39:20.037 - Monitoring processes: T2 [2024-08-09T21:39:20.214Z] T2 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-09T21:39:20.562Z] T2 JUnit version 4.12 [2024-08-09T21:39:20.562Z] T2 . [2024-08-09T21:39:20.562Z] T2 Time: 0.007 [2024-08-09T21:39:20.562Z] T2 [2024-08-09T21:39:20.562Z] T2 OK (1 test) [2024-08-09T21:39:20.562Z] T2 [2024-08-09T21:39:20.562Z] STF 22:39:20.371 - Monitoring Report Summary: [2024-08-09T21:39:20.562Z] STF 22:39:20.371 - o Process T2 ended with the expected exit code (0) [2024-08-09T21:39:20.562Z] STF 22:39:20.371 - [2024-08-09T21:39:20.562Z] STF 22:39:20.371 - +------ Step 25 - Create runtime image [2024-08-09T21:39:20.562Z] STF 22:39:20.371 - | Run jlink to create runtime image [2024-08-09T21:39:20.562Z] STF 22:39:20.371 - | ImageName: CRI3 [2024-08-09T21:39:20.562Z] STF 22:39:20.371 - | [2024-08-09T21:39:20.562Z] STF 22:39:20.372 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/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_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/tmp/25.CRI3 [2024-08-09T21:39:20.562Z] STF 22:39:20.372 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/results/25.JLNK.stderr [2024-08-09T21:39:20.562Z] STF 22:39:20.372 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/results/25.JLNK.stdout [2024-08-09T21:39:20.562Z] STF 22:39:20.374 - Monitoring processes: JLNK [2024-08-09T21:39:20.562Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-09T21:39:22.915Z] STF 22:39:22.364 - Monitoring Report Summary: [2024-08-09T21:39:22.915Z] STF 22:39:22.364 - o Process JLNK ended with the expected exit code (0) [2024-08-09T21:39:22.915Z] STF 22:39:22.365 - [2024-08-09T21:39:22.915Z] STF 22:39:22.365 - +------ Step 26 - Running listmods [2024-08-09T21:39:22.915Z] STF 22:39:22.365 - | Run foreground process [2024-08-09T21:39:22.915Z] STF 22:39:22.365 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/tmp/25.CRI3/bin/java [2024-08-09T21:39:22.915Z] STF 22:39:22.365 - | Mnemonic: LIST [2024-08-09T21:39:22.915Z] STF 22:39:22.365 - | Echo: ECHO_ON [2024-08-09T21:39:22.915Z] STF 22:39:22.365 - | Expectation: CLEAN_RUN within 1m [2024-08-09T21:39:22.915Z] STF 22:39:22.365 - | [2024-08-09T21:39:22.915Z] STF 22:39:22.365 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/tmp/25.CRI3/bin/java --list-modules -XX:-UseCompressedOops [2024-08-09T21:39:22.915Z] STF 22:39:22.365 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/results/26.LIST.stderr [2024-08-09T21:39:22.915Z] STF 22:39:22.365 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/results/26.LIST.stdout [2024-08-09T21:39:22.915Z] STF 22:39:22.367 - Monitoring processes: LIST [2024-08-09T21:39:22.915Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-09T21:39:22.915Z] LIST com.hello [2024-08-09T21:39:22.915Z] LIST com.test.jlink [2024-08-09T21:39:22.915Z] LIST java.base@21.0.5-beta [2024-08-09T21:39:22.915Z] STF 22:39:22.632 - Monitoring Report Summary: [2024-08-09T21:39:22.915Z] STF 22:39:22.632 - o Process LIST ended with the expected exit code (0) [2024-08-09T21:39:22.915Z] STF 22:39:22.632 - [2024-08-09T21:39:22.915Z] STF 22:39:22.632 - +------ Step 27 - Check output [2024-08-09T21:39:22.915Z] STF 22:39:22.632 - | Count file matches [2024-08-09T21:39:22.915Z] STF 22:39:22.632 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/results/26.LIST.stdout [2024-08-09T21:39:22.915Z] STF 22:39:22.632 - | ExpectedNumMatches: 1 [2024-08-09T21:39:22.915Z] STF 22:39:22.632 - | SearchStrings: ["com.hello"] [2024-08-09T21:39:22.915Z] STF 22:39:22.632 - | [2024-08-09T21:39:22.915Z] STF 22:39:22.632 - Found 1 instances of ["com.hello"] [2024-08-09T21:39:22.915Z] STF 22:39:22.632 - [2024-08-09T21:39:22.915Z] STF 22:39:22.632 - +------ Step 28 - Check output [2024-08-09T21:39:22.915Z] STF 22:39:22.633 - | Count file matches [2024-08-09T21:39:22.915Z] STF 22:39:22.633 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/results/26.LIST.stdout [2024-08-09T21:39:22.915Z] STF 22:39:22.633 - | ExpectedNumMatches: 1 [2024-08-09T21:39:22.915Z] STF 22:39:22.633 - | SearchStrings: ["com.test.jlink"] [2024-08-09T21:39:22.915Z] STF 22:39:22.633 - | [2024-08-09T21:39:22.915Z] STF 22:39:22.633 - Found 1 instances of ["com.test.jlink"] [2024-08-09T21:39:22.915Z] STF 22:39:22.633 - [2024-08-09T21:39:22.915Z] STF 22:39:22.633 - +------ Step 29 - Check output [2024-08-09T21:39:22.915Z] STF 22:39:22.633 - | Count file matches [2024-08-09T21:39:22.915Z] STF 22:39:22.633 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/results/26.LIST.stdout [2024-08-09T21:39:22.915Z] STF 22:39:22.633 - | ExpectedNumMatches: 1 [2024-08-09T21:39:22.915Z] STF 22:39:22.633 - | SearchStrings: ["java.base"] [2024-08-09T21:39:22.915Z] STF 22:39:22.633 - | [2024-08-09T21:39:22.915Z] STF 22:39:22.633 - Found 1 instances of ["java.base"] [2024-08-09T21:39:22.915Z] STF 22:39:22.633 - [2024-08-09T21:39:22.915Z] STF 22:39:22.633 - +------ Step 30 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-08-09T21:39:22.915Z] STF 22:39:22.633 - | Run foreground process [2024-08-09T21:39:22.915Z] STF 22:39:22.633 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/tmp/25.CRI3/bin/java [2024-08-09T21:39:22.915Z] STF 22:39:22.633 - | Mnemonic: T3 [2024-08-09T21:39:22.915Z] STF 22:39:22.633 - | Echo: ECHO_ON [2024-08-09T21:39:22.915Z] STF 22:39:22.633 - | Expectation: CLEAN_RUN within 1m [2024-08-09T21:39:22.915Z] STF 22:39:22.633 - | [2024-08-09T21:39:22.915Z] STF 22:39:22.633 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/tmp/25.CRI3/bin/java -Djava.library.path=/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-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-08-09T21:39:22.915Z] STF 22:39:22.633 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/results/30.T3.stderr [2024-08-09T21:39:22.915Z] STF 22:39:22.633 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/results/30.T3.stdout [2024-08-09T21:39:22.915Z] STF 22:39:22.635 - Monitoring processes: T3 [2024-08-09T21:39:22.915Z] T3 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-09T21:39:22.915Z] T3 JUnit version 4.12 [2024-08-09T21:39:23.263Z] T3 . [2024-08-09T21:39:23.263Z] T3 Time: 0.008 [2024-08-09T21:39:23.263Z] T3 [2024-08-09T21:39:23.263Z] T3 OK (1 test) [2024-08-09T21:39:23.263Z] T3 [2024-08-09T21:39:23.263Z] STF 22:39:22.959 - Monitoring Report Summary: [2024-08-09T21:39:23.263Z] STF 22:39:22.959 - o Process T3 ended with the expected exit code (0) [2024-08-09T21:39:23.263Z] STF 22:39:22.960 - EXECUTE stage completed [2024-08-09T21:39:23.263Z] STF 22:39:22.984 - [2024-08-09T21:39:23.264Z] STF 22:39:22.984 - ==================== T E A R D O W N ==================== [2024-08-09T21:39:23.264Z] STF 22:39:22.984 - Running teardown: perl /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_1723236957608/Jlink_ReqMod_1/20240809-223912-JlinkTest/tearDown.pl [2024-08-09T21:39:23.264Z] STF 22:39:23.059 - TEARDOWN stage completed [2024-08-09T21:39:23.264Z] STF 22:39:23.067 - [2024-08-09T21:39:23.264Z] STF 22:39:23.067 - ===================== R E S U L T S ===================== [2024-08-09T21:39:23.264Z] STF 22:39:23.067 - Stage results: [2024-08-09T21:39:23.264Z] STF 22:39:23.067 - setUp: pass [2024-08-09T21:39:23.264Z] STF 22:39:23.067 - execute: pass [2024-08-09T21:39:23.264Z] STF 22:39:23.067 - teardown: pass [2024-08-09T21:39:23.264Z] STF 22:39:23.067 - [2024-08-09T21:39:23.264Z] STF 22:39:23.067 - Overall result: PASSED [2024-08-09T21:39:23.264Z] ----------------------------------- [2024-08-09T21:39:23.264Z] Jlink_ReqMod_1_PASSED [2024-08-09T21:39:23.264Z] ----------------------------------- [2024-08-09T21:39:23.264Z] [2024-08-09T21:39:23.264Z] TEST TEARDOWN: [2024-08-09T21:39:23.264Z] Nothing to be done for teardown. [2024-08-09T21:39:23.264Z] Jlink_ReqMod_1 Finish Time: Fri Aug 9 22:39:23 2024 Epoch Time (ms): 1723239563128