Jlink_ReqMod_1

[2024-07-12T13:51:55.476Z] Running test Jlink_ReqMod_1 ... [2024-07-12T13:51:55.476Z] =============================================== [2024-07-12T13:51:55.476Z] Jlink_ReqMod_1 Start Time: Fri Jul 12 08:51:55 2024 Epoch Time (ms): 1720792315153 [2024-07-12T13:51:55.476Z] variation: Mode650 [2024-07-12T13:51:55.476Z] JVM_OPTIONS: -XX:-UseCompressedOops [2024-07-12T13:51:55.476Z] { \ [2024-07-12T13:51:55.476Z] echo ""; echo "TEST SETUP:"; \ [2024-07-12T13:51:55.476Z] echo "Nothing to be done for setup."; \ [2024-07-12T13:51:55.476Z] mkdir -p "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17207909059949/Jlink_ReqMod_1"; \ [2024-07-12T13:51:55.476Z] cd "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17207909059949/Jlink_ReqMod_1"; \ [2024-07-12T13:51:55.476Z] echo ""; echo "TESTING:"; \ [2024-07-12T13:51:55.476Z] perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//systemtest_prereqs" -java-args=' -XX:-UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17207909059949/Jlink_ReqMod_1" -test=JlinkTest -test-args="variant=ReqdMod"; \ [2024-07-12T13:51:55.476Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "Jlink_ReqMod_1""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17207909059949/Jlink_ReqMod_1"; else echo "-----------------------------------"; echo "Jlink_ReqMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2024-07-12T13:51:55.476Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-07-12T13:51:55.477Z] echo "Nothing to be done for teardown."; \ [2024-07-12T13:51:55.477Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17207909059949/TestTargetResult"; [2024-07-12T13:51:55.477Z] [2024-07-12T13:51:55.477Z] TEST SETUP: [2024-07-12T13:51:55.477Z] Nothing to be done for setup. [2024-07-12T13:51:55.477Z] [2024-07-12T13:51:55.477Z] TESTING: [2024-07-12T13:51:55.477Z] STF 08:51:55.286 - ========================= S T F ========================= [2024-07-12T13:51:55.477Z] systemtest-prereqs has been processed, and set to: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/systemtest_prereqsRetrieving amount of free space on drive containing /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17207909059949/Jlink_ReqMod_1 [2024-07-12T13:51:55.477Z] There is 40991 Mb free [2024-07-12T13:51:55.477Z] STF 08:51:55.302 - ================== G E N E R A T I O N ================== [2024-07-12T13:51:55.477Z] STF 08:51:55.305 - Checking JVM: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/jdk-11.0.24+6/bin/../ [2024-07-12T13:51:55.477Z] STF 08:51:55.305 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/jdk-11.0.24+6/bin/..//bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//systemtest_prereqs/log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//systemtest_prereqs/log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest" [2024-07-12T13:51:56.866Z] GEN 08:51:56.344 - Found test. Project: 'openjdk.test.modularity' class: 'JlinkTest.class' Dir: '/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2024-07-12T13:51:56.866Z] GEN 08:51:56.360 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.JlinkTest' [2024-07-12T13:51:56.866Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-07-12T13:51:56.866Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2024-07-12T13:51:56.866Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2024-07-12T13:51:56.866Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2024-07-12T13:51:56.866Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2024-07-12T13:51:56.866Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2024-07-12T13:51:56.866Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2024-07-12T13:51:56.866Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2024-07-12T13:51:56.866Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2024-07-12T13:51:56.866Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2024-07-12T13:51:56.866Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2024-07-12T13:51:56.866Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2024-07-12T13:51:56.866Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2024-07-12T13:51:56.866Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2024-07-12T13:51:56.866Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2024-07-12T13:51:56.866Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2024-07-12T13:51:56.866Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/STF/stf.core/bin [2024-07-12T13:51:56.866Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/systemtest_prereqs/log4j/log4j-api.jar [2024-07-12T13:51:56.866Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/systemtest_prereqs/log4j/log4j-core.jar [2024-07-12T13:51:56.866Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/systemtest_prereqs/junit/junit.jar [2024-07-12T13:51:56.866Z] GEN 08:51:56.606 - Using Mode NoOptions. Values = '' [2024-07-12T13:51:56.866Z] GEN 08:51:56.739 - [2024-07-12T13:51:56.866Z] GEN 08:51:56.739 - Test command summary: [2024-07-12T13:51:56.866Z] GEN 08:51:56.740 - Step Stage Command Description [2024-07-12T13:51:56.866Z] GEN 08:51:56.740 - -----+--------+-----------------+------------ [2024-07-12T13:51:56.866Z] GEN 08:51:56.740 - 1 setUp cpDir Copying com.test.jlink [2024-07-12T13:51:56.866Z] GEN 08:51:56.740 - 2 setUp rm Removing natives folder from com.test.jLinkDirCopy [2024-07-12T13:51:56.866Z] GEN 08:51:56.740 - 3 setUp jar Create com.test.jlink jar [2024-07-12T13:51:56.866Z] GEN 08:51:56.740 - 4 setUp jar Create com.hello jar [2024-07-12T13:51:56.866Z] GEN 08:51:56.740 - 5 setUp fileCheck Check com.test.jlink modular jar created [2024-07-12T13:51:56.866Z] GEN 08:51:56.740 - 6 setUp fileCheck Check com.hello modular jar created [2024-07-12T13:51:56.866Z] GEN 08:51:56.740 - 7 setUp rm Removing conf folder from com.test.jLinkDirCopy [2024-07-12T13:51:56.866Z] GEN 08:51:56.740 - 8 setUp cpDir Copying .so from com.test.jlink/native [2024-07-12T13:51:56.866Z] GEN 08:51:56.740 - 9 setUp jmod Creating jmod of com.test.jlink module [2024-07-12T13:51:56.866Z] GEN 08:51:56.741 - 10 setUp jmod Creating jmod for com.hello module [2024-07-12T13:51:56.866Z] GEN 08:51:56.741 - 11 setUp fileCheck Check com.test.jlink jmod created [2024-07-12T13:51:56.866Z] GEN 08:51:56.741 - 12 setUp fileCheck Check com.hello jmod created [2024-07-12T13:51:56.866Z] GEN 08:51:56.741 - 13 execute jlink Create runtime image [2024-07-12T13:51:56.866Z] GEN 08:51:56.741 - 14 execute Run java Running listmods [2024-07-12T13:51:56.866Z] GEN 08:51:56.741 - 15 execute count Check output [2024-07-12T13:51:56.866Z] GEN 08:51:56.741 - 16 execute count Check output [2024-07-12T13:51:56.866Z] GEN 08:51:56.741 - 17 execute count Check output [2024-07-12T13:51:56.866Z] GEN 08:51:56.742 - 18 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-07-12T13:51:56.866Z] GEN 08:51:56.742 - 19 execute jlink Create runtime image [2024-07-12T13:51:56.866Z] GEN 08:51:56.742 - 20 execute Run java Running listmods [2024-07-12T13:51:56.866Z] GEN 08:51:56.742 - 21 execute count Check output [2024-07-12T13:51:56.866Z] GEN 08:51:56.742 - 22 execute count Check output [2024-07-12T13:51:56.866Z] GEN 08:51:56.742 - 23 execute count Check output [2024-07-12T13:51:56.866Z] GEN 08:51:56.742 - 24 execute Run java Running adoptopenjdk.test.modularity.jlink.JniTest [2024-07-12T13:51:56.866Z] GEN 08:51:56.742 - 25 execute jlink Create runtime image [2024-07-12T13:51:56.866Z] GEN 08:51:56.742 - 26 execute Run java Running listmods [2024-07-12T13:51:56.866Z] GEN 08:51:56.742 - 27 execute count Check output [2024-07-12T13:51:56.866Z] GEN 08:51:56.742 - 28 execute count Check output [2024-07-12T13:51:56.866Z] GEN 08:51:56.742 - 29 execute count Check output [2024-07-12T13:51:56.866Z] GEN 08:51:56.743 - 30 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-07-12T13:51:56.866Z] STF 08:51:56.814 - [2024-07-12T13:51:56.866Z] STF 08:51:56.814 - Script generation completed [2024-07-12T13:51:56.866Z] STF 08:51:56.814 - [2024-07-12T13:51:56.866Z] STF 08:51:56.815 - [2024-07-12T13:51:56.866Z] STF 08:51:56.815 - ======================= S E T U P ======================= [2024-07-12T13:51:56.866Z] STF 08:51:56.816 - Running setup: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/setUp.pl [2024-07-12T13:51:57.535Z] STF 08:51:56.895 - [2024-07-12T13:51:57.535Z] STF 08:51:56.895 - +------ Step 1 - Copying com.test.jlink [2024-07-12T13:51:57.535Z] STF 08:51:56.895 - | Copy a directory to a new directory [2024-07-12T13:51:57.535Z] STF 08:51:56.895 - | Source dir: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink [2024-07-12T13:51:57.535Z] STF 08:51:56.895 - | Dest dir: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/com.test.jLinkDirCopy [2024-07-12T13:51:57.535Z] STF 08:51:56.895 - | [2024-07-12T13:51:57.535Z] STF 08:51:56.900 - [2024-07-12T13:51:57.535Z] STF 08:51:56.900 - +------ Step 2 - Removing natives folder from com.test.jLinkDirCopy [2024-07-12T13:51:57.535Z] STF 08:51:56.901 - | Recursively delete a directory [2024-07-12T13:51:57.535Z] STF 08:51:56.901 - | Directory: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/com.test.jLinkDirCopy/native [2024-07-12T13:51:57.535Z] STF 08:51:56.901 - | [2024-07-12T13:51:57.535Z] STF 08:51:56.901 - [2024-07-12T13:51:57.535Z] STF 08:51:56.901 - +------ Step 3 - Create com.test.jlink jar [2024-07-12T13:51:57.535Z] STF 08:51:56.901 - | Create modular jar [2024-07-12T13:51:57.535Z] STF 08:51:56.901 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test.jlink [2024-07-12T13:51:57.535Z] STF 08:51:56.901 - | ModuleVersion: null [2024-07-12T13:51:57.535Z] STF 08:51:56.901 - | MainClass: null [2024-07-12T13:51:57.535Z] STF 08:51:56.901 - | HashModules: null [2024-07-12T13:51:57.535Z] STF 08:51:56.901 - | [2024-07-12T13:51:57.535Z] STF 08:51:56.902 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/jdk-11.0.24+6/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/modules/3.com.test.jlink.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink . [2024-07-12T13:51:57.535Z] STF 08:51:56.902 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/results/3.CMJ.stderr [2024-07-12T13:51:57.535Z] STF 08:51:56.902 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/results/3.CMJ.stdout [2024-07-12T13:51:57.535Z] STF 08:51:56.911 - Monitoring processes: CMJ [2024-07-12T13:51:57.535Z] STF 08:51:57.236 - Monitoring Report Summary: [2024-07-12T13:51:57.535Z] STF 08:51:57.236 - o Process CMJ ended with the expected exit code (0) [2024-07-12T13:51:57.535Z] STF 08:51:57.236 - Created modular jar: 3.com.test.jlink.jar [2024-07-12T13:51:57.535Z] STF 08:51:57.236 - [2024-07-12T13:51:57.536Z] STF 08:51:57.237 - +------ Step 4 - Create com.hello jar [2024-07-12T13:51:57.536Z] STF 08:51:57.237 - | Create modular jar [2024-07-12T13:51:57.536Z] STF 08:51:57.237 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-07-12T13:51:57.536Z] STF 08:51:57.237 - | ModuleVersion: null [2024-07-12T13:51:57.536Z] STF 08:51:57.237 - | MainClass: null [2024-07-12T13:51:57.536Z] STF 08:51:57.237 - | HashModules: null [2024-07-12T13:51:57.536Z] STF 08:51:57.237 - | [2024-07-12T13:51:57.536Z] STF 08:51:57.238 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/jdk-11.0.24+6/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/modules/4.com.hello.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2024-07-12T13:51:57.536Z] STF 08:51:57.238 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/results/4.CMJ.stderr [2024-07-12T13:51:57.536Z] STF 08:51:57.238 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/results/4.CMJ.stdout [2024-07-12T13:51:57.536Z] STF 08:51:57.249 - Monitoring processes: CMJ [2024-07-12T13:51:58.205Z] STF 08:51:57.541 - Monitoring Report Summary: [2024-07-12T13:51:58.205Z] STF 08:51:57.541 - o Process CMJ ended with the expected exit code (0) [2024-07-12T13:51:58.205Z] STF 08:51:57.542 - Created modular jar: 4.com.hello.jar [2024-07-12T13:51:58.205Z] STF 08:51:57.542 - [2024-07-12T13:51:58.205Z] STF 08:51:57.542 - +------ Step 5 - Check com.test.jlink modular jar created [2024-07-12T13:51:58.205Z] STF 08:51:57.542 - | Validate file exists [2024-07-12T13:51:58.205Z] STF 08:51:57.542 - | File: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/modules/3.com.test.jlink.jar [2024-07-12T13:51:58.205Z] STF 08:51:57.542 - | [2024-07-12T13:51:58.205Z] STF 08:51:57.542 - [2024-07-12T13:51:58.205Z] STF 08:51:57.542 - +------ Step 6 - Check com.hello modular jar created [2024-07-12T13:51:58.205Z] STF 08:51:57.542 - | Validate file exists [2024-07-12T13:51:58.205Z] STF 08:51:57.542 - | File: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/modules/4.com.hello.jar [2024-07-12T13:51:58.205Z] STF 08:51:57.543 - | [2024-07-12T13:51:58.205Z] STF 08:51:57.543 - [2024-07-12T13:51:58.205Z] STF 08:51:57.543 - +------ Step 7 - Removing conf folder from com.test.jLinkDirCopy [2024-07-12T13:51:58.205Z] STF 08:51:57.543 - | Recursively delete a directory [2024-07-12T13:51:58.205Z] STF 08:51:57.543 - | Directory: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/com.test.jLinkDirCopy/conf [2024-07-12T13:51:58.205Z] STF 08:51:57.543 - | [2024-07-12T13:51:58.205Z] STF 08:51:57.544 - [2024-07-12T13:51:58.205Z] STF 08:51:57.544 - +------ Step 8 - Copying .so from com.test.jlink/native [2024-07-12T13:51:58.205Z] STF 08:51:57.544 - | Copy a directory to a new directory [2024-07-12T13:51:58.205Z] STF 08:51:57.544 - | Source dir: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink/native/bin/linux [2024-07-12T13:51:58.205Z] STF 08:51:57.544 - | Dest dir: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/native [2024-07-12T13:51:58.205Z] STF 08:51:57.544 - | [2024-07-12T13:51:58.205Z] STF 08:51:57.547 - [2024-07-12T13:51:58.205Z] STF 08:51:57.547 - +------ Step 9 - Creating jmod of com.test.jlink module [2024-07-12T13:51:58.205Z] STF 08:51:57.547 - | Run jmod utility [2024-07-12T13:51:58.205Z] STF 08:51:57.547 - | jmod: com.test.jlink.jmod [2024-07-12T13:51:58.205Z] STF 08:51:57.547 - | [2024-07-12T13:51:58.205Z] STF 08:51:57.548 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/jdk-11.0.24+6/bin/jmod create --class-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/com.test.jLinkDirCopy --config /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink/conf --libs /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/native /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/tmp/com.test.jlink.jmod [2024-07-12T13:51:58.205Z] STF 08:51:57.548 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/results/9.JMOD.stderr [2024-07-12T13:51:58.205Z] STF 08:51:57.548 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/results/9.JMOD.stdout [2024-07-12T13:51:58.205Z] STF 08:51:57.557 - Monitoring processes: JMOD [2024-07-12T13:51:58.205Z] STF 08:51:57.893 - Monitoring Report Summary: [2024-07-12T13:51:58.205Z] STF 08:51:57.893 - o Process JMOD ended with the expected exit code (0) [2024-07-12T13:51:58.205Z] STF 08:51:57.893 - [2024-07-12T13:51:58.205Z] STF 08:51:57.894 - +------ Step 10 - Creating jmod for com.hello module [2024-07-12T13:51:58.205Z] STF 08:51:57.894 - | Run jmod utility [2024-07-12T13:51:58.205Z] STF 08:51:57.894 - | jmod: com.hello.jmod [2024-07-12T13:51:58.205Z] STF 08:51:57.894 - | [2024-07-12T13:51:58.205Z] STF 08:51:57.895 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/jdk-11.0.24+6/bin/jmod create --class-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/tmp/com.hello.jmod [2024-07-12T13:51:58.205Z] STF 08:51:57.895 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/results/10.JMOD.stderr [2024-07-12T13:51:58.205Z] STF 08:51:57.895 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/results/10.JMOD.stdout [2024-07-12T13:51:58.205Z] STF 08:51:57.907 - Monitoring processes: JMOD [2024-07-12T13:51:58.875Z] STF 08:51:58.256 - Monitoring Report Summary: [2024-07-12T13:51:58.876Z] STF 08:51:58.256 - o Process JMOD ended with the expected exit code (0) [2024-07-12T13:51:58.876Z] STF 08:51:58.256 - [2024-07-12T13:51:58.876Z] STF 08:51:58.256 - +------ Step 11 - Check com.test.jlink jmod created [2024-07-12T13:51:58.876Z] STF 08:51:58.257 - | Validate file exists [2024-07-12T13:51:58.876Z] STF 08:51:58.257 - | File: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/tmp/com.test.jlink.jmod [2024-07-12T13:51:58.876Z] STF 08:51:58.257 - | [2024-07-12T13:51:58.876Z] STF 08:51:58.257 - [2024-07-12T13:51:58.876Z] STF 08:51:58.257 - +------ Step 12 - Check com.hello jmod created [2024-07-12T13:51:58.876Z] STF 08:51:58.257 - | Validate file exists [2024-07-12T13:51:58.876Z] STF 08:51:58.257 - | File: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/tmp/com.hello.jmod [2024-07-12T13:51:58.876Z] STF 08:51:58.257 - | [2024-07-12T13:51:58.876Z] STF 08:51:58.257 - SETUP stage completed [2024-07-12T13:51:58.876Z] STF 08:51:58.284 - [2024-07-12T13:51:58.876Z] STF 08:51:58.284 - ==================== E X E C U T E - ==================== [2024-07-12T13:51:58.876Z] STF 08:51:58.284 - Running execute: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/execute.pl [2024-07-12T13:51:58.876Z] STF 08:51:58.366 - [2024-07-12T13:51:58.876Z] STF 08:51:58.366 - Java version [2024-07-12T13:51:58.876Z] STF 08:51:58.366 - Running: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/jdk-11.0.24+6/bin/java -version [2024-07-12T13:51:58.876Z] openjdk version "11.0.24" 2024-07-16 [2024-07-12T13:51:58.876Z] OpenJDK Runtime Environment Temurin-11.0.24+6 (build 11.0.24+6) [2024-07-12T13:51:58.876Z] OpenJDK 64-Bit Server VM Temurin-11.0.24+6 (build 11.0.24+6, mixed mode) [2024-07-12T13:51:58.876Z] STF 08:51:58.530 - [2024-07-12T13:51:58.876Z] STF 08:51:58.530 - +------ Step 13 - Create runtime image [2024-07-12T13:51:58.876Z] STF 08:51:58.530 - | Run jlink to create runtime image [2024-07-12T13:51:58.876Z] STF 08:51:58.530 - | ImageName: CRI1 [2024-07-12T13:51:58.876Z] STF 08:51:58.530 - | [2024-07-12T13:51:58.876Z] STF 08:51:58.533 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/jdk-11.0.24+6/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/jdk-11.0.24+6/jmods:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/modules --add-modules com.test.jlink --output /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/tmp/13.CRI1 [2024-07-12T13:51:58.876Z] STF 08:51:58.533 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/results/13.JLNK.stderr [2024-07-12T13:51:58.876Z] STF 08:51:58.533 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/results/13.JLNK.stdout [2024-07-12T13:51:58.876Z] STF 08:51:58.555 - Monitoring processes: JLNK [2024-07-12T13:52:01.042Z] STF 08:52:00.515 - Monitoring Report Summary: [2024-07-12T13:52:01.042Z] STF 08:52:00.516 - o Process JLNK ended with the expected exit code (0) [2024-07-12T13:52:01.042Z] STF 08:52:00.516 - [2024-07-12T13:52:01.042Z] STF 08:52:00.516 - +------ Step 14 - Running listmods [2024-07-12T13:52:01.042Z] STF 08:52:00.516 - | Run foreground process [2024-07-12T13:52:01.042Z] STF 08:52:00.516 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/tmp/13.CRI1/bin/java [2024-07-12T13:52:01.042Z] STF 08:52:00.517 - | Mnemonic: LIST [2024-07-12T13:52:01.042Z] STF 08:52:00.517 - | Echo: ECHO_ON [2024-07-12T13:52:01.042Z] STF 08:52:00.517 - | Expectation: CLEAN_RUN within 1m [2024-07-12T13:52:01.042Z] STF 08:52:00.517 - | [2024-07-12T13:52:01.042Z] STF 08:52:00.518 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/tmp/13.CRI1/bin/java --list-modules -XX:-UseCompressedOops [2024-07-12T13:52:01.042Z] STF 08:52:00.518 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/results/14.LIST.stderr [2024-07-12T13:52:01.042Z] STF 08:52:00.518 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/results/14.LIST.stdout [2024-07-12T13:52:01.042Z] STF 08:52:00.529 - Monitoring processes: LIST [2024-07-12T13:52:01.042Z] LIST com.hello [2024-07-12T13:52:01.042Z] LIST com.test.jlink [2024-07-12T13:52:01.042Z] LIST java.base@11.0.24 [2024-07-12T13:52:01.042Z] STF 08:52:00.699 - Monitoring Report Summary: [2024-07-12T13:52:01.042Z] STF 08:52:00.699 - o Process LIST ended with the expected exit code (0) [2024-07-12T13:52:01.042Z] STF 08:52:00.700 - [2024-07-12T13:52:01.042Z] STF 08:52:00.700 - +------ Step 15 - Check output [2024-07-12T13:52:01.042Z] STF 08:52:00.700 - | Count file matches [2024-07-12T13:52:01.042Z] STF 08:52:00.700 - | TargetFile: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/results/14.LIST.stdout [2024-07-12T13:52:01.042Z] STF 08:52:00.700 - | ExpectedNumMatches: 1 [2024-07-12T13:52:01.042Z] STF 08:52:00.700 - | SearchStrings: ["com.hello"] [2024-07-12T13:52:01.043Z] STF 08:52:00.700 - | [2024-07-12T13:52:01.043Z] STF 08:52:00.700 - Found 1 instances of ["com.hello"] [2024-07-12T13:52:01.043Z] STF 08:52:00.700 - [2024-07-12T13:52:01.043Z] STF 08:52:00.701 - +------ Step 16 - Check output [2024-07-12T13:52:01.043Z] STF 08:52:00.701 - | Count file matches [2024-07-12T13:52:01.043Z] STF 08:52:00.701 - | TargetFile: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/results/14.LIST.stdout [2024-07-12T13:52:01.043Z] STF 08:52:00.701 - | ExpectedNumMatches: 1 [2024-07-12T13:52:01.043Z] STF 08:52:00.701 - | SearchStrings: ["com.test.jlink"] [2024-07-12T13:52:01.043Z] STF 08:52:00.701 - | [2024-07-12T13:52:01.043Z] STF 08:52:00.701 - Found 1 instances of ["com.test.jlink"] [2024-07-12T13:52:01.043Z] STF 08:52:00.701 - [2024-07-12T13:52:01.043Z] STF 08:52:00.701 - +------ Step 17 - Check output [2024-07-12T13:52:01.043Z] STF 08:52:00.701 - | Count file matches [2024-07-12T13:52:01.043Z] STF 08:52:00.701 - | TargetFile: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/results/14.LIST.stdout [2024-07-12T13:52:01.043Z] STF 08:52:00.701 - | ExpectedNumMatches: 1 [2024-07-12T13:52:01.043Z] STF 08:52:00.701 - | SearchStrings: ["java.base"] [2024-07-12T13:52:01.043Z] STF 08:52:00.702 - | [2024-07-12T13:52:01.043Z] STF 08:52:00.702 - Found 1 instances of ["java.base"] [2024-07-12T13:52:01.043Z] STF 08:52:00.702 - [2024-07-12T13:52:01.043Z] STF 08:52:00.702 - +------ Step 18 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-07-12T13:52:01.043Z] STF 08:52:00.702 - | Run foreground process [2024-07-12T13:52:01.043Z] STF 08:52:00.702 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/tmp/13.CRI1/bin/java [2024-07-12T13:52:01.043Z] STF 08:52:00.702 - | Mnemonic: T1 [2024-07-12T13:52:01.043Z] STF 08:52:00.702 - | Echo: ECHO_ON [2024-07-12T13:52:01.043Z] STF 08:52:00.702 - | Expectation: CLEAN_RUN within 1m [2024-07-12T13:52:01.043Z] STF 08:52:00.702 - | [2024-07-12T13:52:01.043Z] STF 08:52:00.703 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/tmp/13.CRI1/bin/java -Djava.library.path=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/native --add-reads com.test.jlink=ALL-UNNAMED -XX:-UseCompressedOops -classpath /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/systemtest_prereqs/junit/junit.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/systemtest_prereqs/junit/hamcrest-core.jar org.junit.runner.JUnitCore adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-07-12T13:52:01.043Z] STF 08:52:00.703 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/results/18.T1.stderr [2024-07-12T13:52:01.043Z] STF 08:52:00.703 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/results/18.T1.stdout [2024-07-12T13:52:01.043Z] STF 08:52:00.715 - Monitoring processes: T1 [2024-07-12T13:52:01.043Z] T1 JUnit version 4.12 [2024-07-12T13:52:01.043Z] T1 . [2024-07-12T13:52:01.709Z] T1 Time: 0.006 [2024-07-12T13:52:01.709Z] T1 [2024-07-12T13:52:01.709Z] T1 OK (1 test) [2024-07-12T13:52:01.709Z] T1 [2024-07-12T13:52:01.709Z] STF 08:52:00.999 - Monitoring Report Summary: [2024-07-12T13:52:01.709Z] STF 08:52:00.999 - o Process T1 ended with the expected exit code (0) [2024-07-12T13:52:01.709Z] STF 08:52:01.000 - [2024-07-12T13:52:01.709Z] STF 08:52:01.000 - +------ Step 19 - Create runtime image [2024-07-12T13:52:01.709Z] STF 08:52:01.000 - | Run jlink to create runtime image [2024-07-12T13:52:01.709Z] STF 08:52:01.000 - | ImageName: CRI2 [2024-07-12T13:52:01.709Z] STF 08:52:01.000 - | [2024-07-12T13:52:01.709Z] STF 08:52:01.001 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/jdk-11.0.24+6/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/jdk-11.0.24+6/jmods:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/tmp --add-modules com.test.jlink --output /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/tmp/19.CRI2 [2024-07-12T13:52:01.709Z] STF 08:52:01.001 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/results/19.JLNK.stderr [2024-07-12T13:52:01.709Z] STF 08:52:01.001 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/results/19.JLNK.stdout [2024-07-12T13:52:01.709Z] STF 08:52:01.012 - Monitoring processes: JLNK [2024-07-12T13:52:03.873Z] STF 08:52:03.091 - Monitoring Report Summary: [2024-07-12T13:52:03.873Z] STF 08:52:03.091 - o Process JLNK ended with the expected exit code (0) [2024-07-12T13:52:03.873Z] STF 08:52:03.092 - [2024-07-12T13:52:03.873Z] STF 08:52:03.092 - +------ Step 20 - Running listmods [2024-07-12T13:52:03.873Z] STF 08:52:03.092 - | Run foreground process [2024-07-12T13:52:03.873Z] STF 08:52:03.092 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/tmp/19.CRI2/bin/java [2024-07-12T13:52:03.873Z] STF 08:52:03.092 - | Mnemonic: LIST [2024-07-12T13:52:03.873Z] STF 08:52:03.092 - | Echo: ECHO_ON [2024-07-12T13:52:03.873Z] STF 08:52:03.092 - | Expectation: CLEAN_RUN within 1m [2024-07-12T13:52:03.873Z] STF 08:52:03.092 - | [2024-07-12T13:52:03.873Z] STF 08:52:03.093 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/tmp/19.CRI2/bin/java --list-modules -XX:-UseCompressedOops [2024-07-12T13:52:03.873Z] STF 08:52:03.093 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/results/20.LIST.stderr [2024-07-12T13:52:03.873Z] STF 08:52:03.093 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/results/20.LIST.stdout [2024-07-12T13:52:03.873Z] STF 08:52:03.105 - Monitoring processes: LIST [2024-07-12T13:52:03.873Z] LIST com.hello [2024-07-12T13:52:03.873Z] LIST com.test.jlink [2024-07-12T13:52:03.873Z] LIST java.base@11.0.24 [2024-07-12T13:52:03.873Z] STF 08:52:03.273 - Monitoring Report Summary: [2024-07-12T13:52:03.873Z] STF 08:52:03.273 - o Process LIST ended with the expected exit code (0) [2024-07-12T13:52:03.873Z] STF 08:52:03.274 - [2024-07-12T13:52:03.873Z] STF 08:52:03.274 - +------ Step 21 - Check output [2024-07-12T13:52:03.873Z] STF 08:52:03.274 - | Count file matches [2024-07-12T13:52:03.873Z] STF 08:52:03.274 - | TargetFile: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/results/20.LIST.stdout [2024-07-12T13:52:03.873Z] STF 08:52:03.274 - | ExpectedNumMatches: 1 [2024-07-12T13:52:03.873Z] STF 08:52:03.274 - | SearchStrings: ["com.hello"] [2024-07-12T13:52:03.873Z] STF 08:52:03.274 - | [2024-07-12T13:52:03.873Z] STF 08:52:03.275 - Found 1 instances of ["com.hello"] [2024-07-12T13:52:03.873Z] STF 08:52:03.275 - [2024-07-12T13:52:03.873Z] STF 08:52:03.275 - +------ Step 22 - Check output [2024-07-12T13:52:03.873Z] STF 08:52:03.275 - | Count file matches [2024-07-12T13:52:03.873Z] STF 08:52:03.275 - | TargetFile: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/results/20.LIST.stdout [2024-07-12T13:52:03.873Z] STF 08:52:03.275 - | ExpectedNumMatches: 1 [2024-07-12T13:52:03.873Z] STF 08:52:03.275 - | SearchStrings: ["com.test.jlink"] [2024-07-12T13:52:03.873Z] STF 08:52:03.275 - | [2024-07-12T13:52:03.873Z] STF 08:52:03.275 - Found 1 instances of ["com.test.jlink"] [2024-07-12T13:52:03.873Z] STF 08:52:03.275 - [2024-07-12T13:52:03.873Z] STF 08:52:03.275 - +------ Step 23 - Check output [2024-07-12T13:52:03.873Z] STF 08:52:03.275 - | Count file matches [2024-07-12T13:52:03.873Z] STF 08:52:03.275 - | TargetFile: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/results/20.LIST.stdout [2024-07-12T13:52:03.873Z] STF 08:52:03.276 - | ExpectedNumMatches: 1 [2024-07-12T13:52:03.873Z] STF 08:52:03.276 - | SearchStrings: ["java.base"] [2024-07-12T13:52:03.873Z] STF 08:52:03.276 - | [2024-07-12T13:52:03.873Z] STF 08:52:03.276 - Found 1 instances of ["java.base"] [2024-07-12T13:52:03.873Z] STF 08:52:03.276 - [2024-07-12T13:52:03.873Z] STF 08:52:03.276 - +------ Step 24 - Running adoptopenjdk.test.modularity.jlink.JniTest [2024-07-12T13:52:03.873Z] STF 08:52:03.276 - | Run foreground process [2024-07-12T13:52:03.873Z] STF 08:52:03.276 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/tmp/19.CRI2/bin/java [2024-07-12T13:52:03.873Z] STF 08:52:03.276 - | Mnemonic: T2 [2024-07-12T13:52:03.873Z] STF 08:52:03.276 - | Echo: ECHO_ON [2024-07-12T13:52:03.873Z] STF 08:52:03.276 - | Expectation: CLEAN_RUN within 1m [2024-07-12T13:52:03.873Z] STF 08:52:03.276 - | [2024-07-12T13:52:03.873Z] STF 08:52:03.277 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/tmp/19.CRI2/bin/java -Djava.library.path=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/native --add-reads com.test.jlink=ALL-UNNAMED -XX:-UseCompressedOops -classpath /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/systemtest_prereqs/junit/junit.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/systemtest_prereqs/junit/hamcrest-core.jar org.junit.runner.JUnitCore adoptopenjdk.test.modularity.jlink.JniTest [2024-07-12T13:52:03.873Z] STF 08:52:03.278 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/results/24.T2.stderr [2024-07-12T13:52:03.873Z] STF 08:52:03.278 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/results/24.T2.stdout [2024-07-12T13:52:03.873Z] STF 08:52:03.289 - Monitoring processes: T2 [2024-07-12T13:52:03.873Z] T2 JUnit version 4.12 [2024-07-12T13:52:03.873Z] T2 . [2024-07-12T13:52:03.873Z] T2 Time: 0.006 [2024-07-12T13:52:03.873Z] T2 [2024-07-12T13:52:03.873Z] T2 OK (1 test) [2024-07-12T13:52:03.873Z] T2 [2024-07-12T13:52:03.873Z] STF 08:52:03.598 - Monitoring Report Summary: [2024-07-12T13:52:03.873Z] STF 08:52:03.598 - o Process T2 ended with the expected exit code (0) [2024-07-12T13:52:03.873Z] STF 08:52:03.598 - [2024-07-12T13:52:03.873Z] STF 08:52:03.598 - +------ Step 25 - Create runtime image [2024-07-12T13:52:03.873Z] STF 08:52:03.598 - | Run jlink to create runtime image [2024-07-12T13:52:03.873Z] STF 08:52:03.598 - | ImageName: CRI3 [2024-07-12T13:52:03.873Z] STF 08:52:03.598 - | [2024-07-12T13:52:03.873Z] STF 08:52:03.599 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/jdk-11.0.24+6/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/jdk-11.0.24+6/jmods:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --add-modules com.test.jlink --output /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/tmp/25.CRI3 [2024-07-12T13:52:03.873Z] STF 08:52:03.599 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/results/25.JLNK.stderr [2024-07-12T13:52:03.873Z] STF 08:52:03.599 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/results/25.JLNK.stdout [2024-07-12T13:52:03.873Z] STF 08:52:03.608 - Monitoring processes: JLNK [2024-07-12T13:52:06.035Z] STF 08:52:05.554 - Monitoring Report Summary: [2024-07-12T13:52:06.035Z] STF 08:52:05.554 - o Process JLNK ended with the expected exit code (0) [2024-07-12T13:52:06.035Z] STF 08:52:05.555 - [2024-07-12T13:52:06.035Z] STF 08:52:05.555 - +------ Step 26 - Running listmods [2024-07-12T13:52:06.035Z] STF 08:52:05.555 - | Run foreground process [2024-07-12T13:52:06.035Z] STF 08:52:05.555 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/tmp/25.CRI3/bin/java [2024-07-12T13:52:06.035Z] STF 08:52:05.555 - | Mnemonic: LIST [2024-07-12T13:52:06.035Z] STF 08:52:05.555 - | Echo: ECHO_ON [2024-07-12T13:52:06.035Z] STF 08:52:05.555 - | Expectation: CLEAN_RUN within 1m [2024-07-12T13:52:06.035Z] STF 08:52:05.555 - | [2024-07-12T13:52:06.035Z] STF 08:52:05.556 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/tmp/25.CRI3/bin/java --list-modules -XX:-UseCompressedOops [2024-07-12T13:52:06.035Z] STF 08:52:05.556 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/results/26.LIST.stderr [2024-07-12T13:52:06.035Z] STF 08:52:05.556 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/results/26.LIST.stdout [2024-07-12T13:52:06.035Z] STF 08:52:05.568 - Monitoring processes: LIST [2024-07-12T13:52:06.035Z] LIST com.hello [2024-07-12T13:52:06.035Z] LIST com.test.jlink [2024-07-12T13:52:06.035Z] LIST java.base@11.0.24 [2024-07-12T13:52:06.035Z] STF 08:52:05.736 - Monitoring Report Summary: [2024-07-12T13:52:06.035Z] STF 08:52:05.736 - o Process LIST ended with the expected exit code (0) [2024-07-12T13:52:06.035Z] STF 08:52:05.736 - [2024-07-12T13:52:06.035Z] STF 08:52:05.736 - +------ Step 27 - Check output [2024-07-12T13:52:06.035Z] STF 08:52:05.736 - | Count file matches [2024-07-12T13:52:06.035Z] STF 08:52:05.736 - | TargetFile: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/results/26.LIST.stdout [2024-07-12T13:52:06.035Z] STF 08:52:05.736 - | ExpectedNumMatches: 1 [2024-07-12T13:52:06.035Z] STF 08:52:05.736 - | SearchStrings: ["com.hello"] [2024-07-12T13:52:06.035Z] STF 08:52:05.737 - | [2024-07-12T13:52:06.035Z] STF 08:52:05.737 - Found 1 instances of ["com.hello"] [2024-07-12T13:52:06.035Z] STF 08:52:05.737 - [2024-07-12T13:52:06.035Z] STF 08:52:05.737 - +------ Step 28 - Check output [2024-07-12T13:52:06.035Z] STF 08:52:05.737 - | Count file matches [2024-07-12T13:52:06.035Z] STF 08:52:05.737 - | TargetFile: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/results/26.LIST.stdout [2024-07-12T13:52:06.035Z] STF 08:52:05.737 - | ExpectedNumMatches: 1 [2024-07-12T13:52:06.035Z] STF 08:52:05.737 - | SearchStrings: ["com.test.jlink"] [2024-07-12T13:52:06.035Z] STF 08:52:05.737 - | [2024-07-12T13:52:06.035Z] STF 08:52:05.737 - Found 1 instances of ["com.test.jlink"] [2024-07-12T13:52:06.035Z] STF 08:52:05.737 - [2024-07-12T13:52:06.035Z] STF 08:52:05.737 - +------ Step 29 - Check output [2024-07-12T13:52:06.035Z] STF 08:52:05.737 - | Count file matches [2024-07-12T13:52:06.035Z] STF 08:52:05.737 - | TargetFile: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/results/26.LIST.stdout [2024-07-12T13:52:06.035Z] STF 08:52:05.737 - | ExpectedNumMatches: 1 [2024-07-12T13:52:06.035Z] STF 08:52:05.737 - | SearchStrings: ["java.base"] [2024-07-12T13:52:06.035Z] STF 08:52:05.737 - | [2024-07-12T13:52:06.035Z] STF 08:52:05.737 - Found 1 instances of ["java.base"] [2024-07-12T13:52:06.035Z] STF 08:52:05.737 - [2024-07-12T13:52:06.035Z] STF 08:52:05.737 - +------ Step 30 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-07-12T13:52:06.035Z] STF 08:52:05.737 - | Run foreground process [2024-07-12T13:52:06.035Z] STF 08:52:05.737 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/tmp/25.CRI3/bin/java [2024-07-12T13:52:06.035Z] STF 08:52:05.737 - | Mnemonic: T3 [2024-07-12T13:52:06.035Z] STF 08:52:05.737 - | Echo: ECHO_ON [2024-07-12T13:52:06.035Z] STF 08:52:05.737 - | Expectation: CLEAN_RUN within 1m [2024-07-12T13:52:06.035Z] STF 08:52:05.737 - | [2024-07-12T13:52:06.035Z] STF 08:52:05.738 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/tmp/25.CRI3/bin/java -Djava.library.path=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/native --add-reads com.test.jlink=ALL-UNNAMED -XX:-UseCompressedOops -classpath /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/systemtest_prereqs/junit/junit.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/systemtest_prereqs/junit/hamcrest-core.jar org.junit.runner.JUnitCore adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-07-12T13:52:06.036Z] STF 08:52:05.738 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/results/30.T3.stderr [2024-07-12T13:52:06.036Z] STF 08:52:05.738 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/results/30.T3.stdout [2024-07-12T13:52:06.036Z] STF 08:52:05.744 - Monitoring processes: T3 [2024-07-12T13:52:06.036Z] T3 JUnit version 4.12 [2024-07-12T13:52:06.704Z] T3 . [2024-07-12T13:52:06.704Z] T3 Time: 0.006 [2024-07-12T13:52:06.704Z] T3 [2024-07-12T13:52:06.704Z] T3 OK (1 test) [2024-07-12T13:52:06.704Z] T3 [2024-07-12T13:52:06.704Z] STF 08:52:06.044 - Monitoring Report Summary: [2024-07-12T13:52:06.704Z] STF 08:52:06.044 - o Process T3 ended with the expected exit code (0) [2024-07-12T13:52:06.704Z] STF 08:52:06.045 - EXECUTE stage completed [2024-07-12T13:52:06.704Z] STF 08:52:06.095 - [2024-07-12T13:52:06.704Z] STF 08:52:06.095 - ==================== T E A R D O W N ==================== [2024-07-12T13:52:06.704Z] STF 08:52:06.095 - Running teardown: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17207909059949/Jlink_ReqMod_1/20240712-085155-JlinkTest/tearDown.pl [2024-07-12T13:52:06.704Z] STF 08:52:06.174 - TEARDOWN stage completed [2024-07-12T13:52:06.704Z] STF 08:52:06.182 - [2024-07-12T13:52:06.704Z] STF 08:52:06.183 - ===================== R E S U L T S ===================== [2024-07-12T13:52:06.704Z] STF 08:52:06.183 - Stage results: [2024-07-12T13:52:06.704Z] STF 08:52:06.183 - setUp: pass [2024-07-12T13:52:06.704Z] STF 08:52:06.183 - execute: pass [2024-07-12T13:52:06.704Z] STF 08:52:06.184 - teardown: pass [2024-07-12T13:52:06.704Z] STF 08:52:06.184 - [2024-07-12T13:52:06.704Z] STF 08:52:06.184 - Overall result: PASSED [2024-07-12T13:52:06.704Z] ----------------------------------- [2024-07-12T13:52:06.704Z] Jlink_ReqMod_1_PASSED [2024-07-12T13:52:06.704Z] ----------------------------------- [2024-07-12T13:52:06.704Z] [2024-07-12T13:52:06.704Z] TEST TEARDOWN: [2024-07-12T13:52:06.704Z] Nothing to be done for teardown. [2024-07-12T13:52:06.704Z] Jlink_ReqMod_1 Finish Time: Fri Jul 12 08:52:06 2024 Epoch Time (ms): 1720792326295