Jlink_ReqMod_0

[2024-11-14T08:01:02.166Z] Running test Jlink_ReqMod_0 ... [2024-11-14T08:01:02.166Z] =============================================== [2024-11-14T08:01:02.166Z] Jlink_ReqMod_0 Start Time: Thu Nov 14 02:01:01 2024 Epoch Time (ms): 1731571261917 [2024-11-14T08:01:02.166Z] variation: Mode150 [2024-11-14T08:01:02.166Z] JVM_OPTIONS: -XX:+UseCompressedOops [2024-11-14T08:01:02.166Z] { \ [2024-11-14T08:01:02.166Z] echo ""; echo "TEST SETUP:"; \ [2024-11-14T08:01:02.166Z] echo "Nothing to be done for setup."; \ [2024-11-14T08:01:02.166Z] mkdir -p "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_1731571049611/Jlink_ReqMod_0"; \ [2024-11-14T08:01:02.166Z] cd "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_1731571049611/Jlink_ReqMod_0"; \ [2024-11-14T08:01:02.166Z] echo ""; echo "TESTING:"; \ [2024-11-14T08:01:02.166Z] perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/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_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/../../testDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_1731571049611/Jlink_ReqMod_0" -test=JlinkTest -test-args="variant=ReqdMod"; \ [2024-11-14T08:01:02.166Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "Jlink_ReqMod_0""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_1731571049611/Jlink_ReqMod_0"; else echo "-----------------------------------"; echo "Jlink_ReqMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2024-11-14T08:01:02.166Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-11-14T08:01:02.166Z] echo "Nothing to be done for teardown."; \ [2024-11-14T08:01:02.166Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_1731571049611/TestTargetResult"; [2024-11-14T08:01:02.166Z] [2024-11-14T08:01:02.166Z] TEST SETUP: [2024-11-14T08:01:02.166Z] Nothing to be done for setup. [2024-11-14T08:01:02.166Z] [2024-11-14T08:01:02.166Z] TESTING: [2024-11-14T08:01:02.166Z] STF 02:01:02.013 - ========================= S T F ========================= [2024-11-14T08:01:02.166Z] systemtest-prereqs has been processed, and set to: /home/jenkins/testDependency/system_libRetrieving amount of free space on drive containing /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_1731571049611/Jlink_ReqMod_0 [2024-11-14T08:01:02.166Z] There is 9642 Mb free [2024-11-14T08:01:02.166Z] STF 02:01:02.022 - ================== G E N E R A T I O N ================== [2024-11-14T08:01:02.166Z] STF 02:01:02.022 - Checking JVM: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk-11.0.26+1/bin/../ [2024-11-14T08:01:02.166Z] STF 02:01:02.023 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk-11.0.26+1/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_2/../../testDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/../../testDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/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_2/aqa-tests/TKG/../TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest" [2024-11-14T08:01:03.560Z] GEN 02:01:02.968 - Found test. Project: 'openjdk.test.modularity' class: 'JlinkTest.class' Dir: '/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2024-11-14T08:01:03.560Z] GEN 02:01:02.978 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.JlinkTest' [2024-11-14T08:01:03.560Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-11-14T08:01:03.560Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2024-11-14T08:01:03.560Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2024-11-14T08:01:03.560Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2024-11-14T08:01:03.560Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2024-11-14T08:01:03.560Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2024-11-14T08:01:03.560Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2024-11-14T08:01:03.560Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2024-11-14T08:01:03.560Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2024-11-14T08:01:03.560Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2024-11-14T08:01:03.560Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2024-11-14T08:01:03.560Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2024-11-14T08:01:03.560Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2024-11-14T08:01:03.560Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2024-11-14T08:01:03.560Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2024-11-14T08:01:03.560Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2024-11-14T08:01:03.560Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/STF/stf.core/bin [2024-11-14T08:01:03.560Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-11-14T08:01:03.560Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-11-14T08:01:03.560Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar [2024-11-14T08:01:03.560Z] GEN 02:01:03.201 - Using Mode NoOptions. Values = '' [2024-11-14T08:01:03.560Z] GEN 02:01:03.306 - [2024-11-14T08:01:03.560Z] GEN 02:01:03.306 - Test command summary: [2024-11-14T08:01:03.560Z] GEN 02:01:03.306 - Step Stage Command Description [2024-11-14T08:01:03.560Z] GEN 02:01:03.307 - -----+--------+-----------------+------------ [2024-11-14T08:01:03.560Z] GEN 02:01:03.307 - 1 setUp cpDir Copying com.test.jlink [2024-11-14T08:01:03.560Z] GEN 02:01:03.307 - 2 setUp rm Removing natives folder from com.test.jLinkDirCopy [2024-11-14T08:01:03.560Z] GEN 02:01:03.307 - 3 setUp jar Create com.test.jlink jar [2024-11-14T08:01:03.560Z] GEN 02:01:03.307 - 4 setUp jar Create com.hello jar [2024-11-14T08:01:03.560Z] GEN 02:01:03.307 - 5 setUp fileCheck Check com.test.jlink modular jar created [2024-11-14T08:01:03.560Z] GEN 02:01:03.307 - 6 setUp fileCheck Check com.hello modular jar created [2024-11-14T08:01:03.560Z] GEN 02:01:03.307 - 7 setUp rm Removing conf folder from com.test.jLinkDirCopy [2024-11-14T08:01:03.560Z] GEN 02:01:03.307 - 8 setUp cpDir Copying .so from com.test.jlink/native [2024-11-14T08:01:03.560Z] GEN 02:01:03.307 - 9 setUp jmod Creating jmod of com.test.jlink module [2024-11-14T08:01:03.560Z] GEN 02:01:03.307 - 10 setUp jmod Creating jmod for com.hello module [2024-11-14T08:01:03.560Z] GEN 02:01:03.307 - 11 setUp fileCheck Check com.test.jlink jmod created [2024-11-14T08:01:03.560Z] GEN 02:01:03.307 - 12 setUp fileCheck Check com.hello jmod created [2024-11-14T08:01:03.560Z] GEN 02:01:03.307 - 13 execute jlink Create runtime image [2024-11-14T08:01:03.560Z] GEN 02:01:03.307 - 14 execute Run java Running listmods [2024-11-14T08:01:03.560Z] GEN 02:01:03.307 - 15 execute count Check output [2024-11-14T08:01:03.560Z] GEN 02:01:03.307 - 16 execute count Check output [2024-11-14T08:01:03.560Z] GEN 02:01:03.307 - 17 execute count Check output [2024-11-14T08:01:03.560Z] GEN 02:01:03.307 - 18 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-11-14T08:01:03.560Z] GEN 02:01:03.307 - 19 execute jlink Create runtime image [2024-11-14T08:01:03.560Z] GEN 02:01:03.307 - 20 execute Run java Running listmods [2024-11-14T08:01:03.560Z] GEN 02:01:03.307 - 21 execute count Check output [2024-11-14T08:01:03.560Z] GEN 02:01:03.307 - 22 execute count Check output [2024-11-14T08:01:03.560Z] GEN 02:01:03.307 - 23 execute count Check output [2024-11-14T08:01:03.560Z] GEN 02:01:03.307 - 24 execute Run java Running adoptopenjdk.test.modularity.jlink.JniTest [2024-11-14T08:01:03.560Z] GEN 02:01:03.308 - 25 execute jlink Create runtime image [2024-11-14T08:01:03.560Z] GEN 02:01:03.308 - 26 execute Run java Running listmods [2024-11-14T08:01:03.560Z] GEN 02:01:03.308 - 27 execute count Check output [2024-11-14T08:01:03.560Z] GEN 02:01:03.308 - 28 execute count Check output [2024-11-14T08:01:03.560Z] GEN 02:01:03.308 - 29 execute count Check output [2024-11-14T08:01:03.560Z] GEN 02:01:03.308 - 30 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-11-14T08:01:03.560Z] STF 02:01:03.363 - [2024-11-14T08:01:03.560Z] STF 02:01:03.363 - Script generation completed [2024-11-14T08:01:03.560Z] STF 02:01:03.363 - [2024-11-14T08:01:03.560Z] STF 02:01:03.364 - [2024-11-14T08:01:03.560Z] STF 02:01:03.364 - ======================= S E T U P ======================= [2024-11-14T08:01:03.560Z] STF 02:01:03.364 - Running setup: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/setUp.pl [2024-11-14T08:01:03.560Z] STF 02:01:03.417 - [2024-11-14T08:01:03.560Z] STF 02:01:03.418 - +------ Step 1 - Copying com.test.jlink [2024-11-14T08:01:03.560Z] STF 02:01:03.418 - | Copy a directory to a new directory [2024-11-14T08:01:03.560Z] STF 02:01:03.418 - | Source dir: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink [2024-11-14T08:01:03.560Z] STF 02:01:03.418 - | Dest dir: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/com.test.jLinkDirCopy [2024-11-14T08:01:03.560Z] STF 02:01:03.418 - | [2024-11-14T08:01:03.560Z] STF 02:01:03.421 - [2024-11-14T08:01:03.560Z] STF 02:01:03.421 - +------ Step 2 - Removing natives folder from com.test.jLinkDirCopy [2024-11-14T08:01:03.560Z] STF 02:01:03.421 - | Recursively delete a directory [2024-11-14T08:01:03.560Z] STF 02:01:03.421 - | Directory: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/com.test.jLinkDirCopy/native [2024-11-14T08:01:03.560Z] STF 02:01:03.421 - | [2024-11-14T08:01:03.560Z] STF 02:01:03.422 - [2024-11-14T08:01:03.560Z] STF 02:01:03.422 - +------ Step 3 - Create com.test.jlink jar [2024-11-14T08:01:03.560Z] STF 02:01:03.422 - | Create modular jar [2024-11-14T08:01:03.560Z] STF 02:01:03.422 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test.jlink [2024-11-14T08:01:03.560Z] STF 02:01:03.422 - | ModuleVersion: null [2024-11-14T08:01:03.560Z] STF 02:01:03.422 - | MainClass: null [2024-11-14T08:01:03.560Z] STF 02:01:03.422 - | HashModules: null [2024-11-14T08:01:03.560Z] STF 02:01:03.422 - | [2024-11-14T08:01:03.560Z] STF 02:01:03.422 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk-11.0.26+1/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/modules/3.com.test.jlink.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink . [2024-11-14T08:01:03.560Z] STF 02:01:03.422 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/results/3.CMJ.stderr [2024-11-14T08:01:03.560Z] STF 02:01:03.422 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/results/3.CMJ.stdout [2024-11-14T08:01:03.560Z] STF 02:01:03.428 - Monitoring processes: CMJ [2024-11-14T08:01:04.231Z] STF 02:01:03.657 - Monitoring Report Summary: [2024-11-14T08:01:04.231Z] STF 02:01:03.657 - o Process CMJ ended with the expected exit code (0) [2024-11-14T08:01:04.231Z] STF 02:01:03.658 - Created modular jar: 3.com.test.jlink.jar [2024-11-14T08:01:04.231Z] STF 02:01:03.658 - [2024-11-14T08:01:04.231Z] STF 02:01:03.658 - +------ Step 4 - Create com.hello jar [2024-11-14T08:01:04.231Z] STF 02:01:03.658 - | Create modular jar [2024-11-14T08:01:04.231Z] STF 02:01:03.658 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-11-14T08:01:04.231Z] STF 02:01:03.658 - | ModuleVersion: null [2024-11-14T08:01:04.231Z] STF 02:01:03.658 - | MainClass: null [2024-11-14T08:01:04.231Z] STF 02:01:03.658 - | HashModules: null [2024-11-14T08:01:04.231Z] STF 02:01:03.658 - | [2024-11-14T08:01:04.231Z] STF 02:01:03.658 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk-11.0.26+1/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/modules/4.com.hello.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2024-11-14T08:01:04.231Z] STF 02:01:03.658 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/results/4.CMJ.stderr [2024-11-14T08:01:04.231Z] STF 02:01:03.658 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/results/4.CMJ.stdout [2024-11-14T08:01:04.231Z] STF 02:01:03.660 - Monitoring processes: CMJ [2024-11-14T08:01:04.231Z] STF 02:01:03.873 - Monitoring Report Summary: [2024-11-14T08:01:04.231Z] STF 02:01:03.873 - o Process CMJ ended with the expected exit code (0) [2024-11-14T08:01:04.231Z] STF 02:01:03.874 - Created modular jar: 4.com.hello.jar [2024-11-14T08:01:04.231Z] STF 02:01:03.874 - [2024-11-14T08:01:04.231Z] STF 02:01:03.874 - +------ Step 5 - Check com.test.jlink modular jar created [2024-11-14T08:01:04.231Z] STF 02:01:03.874 - | Validate file exists [2024-11-14T08:01:04.231Z] STF 02:01:03.874 - | File: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/modules/3.com.test.jlink.jar [2024-11-14T08:01:04.231Z] STF 02:01:03.874 - | [2024-11-14T08:01:04.231Z] STF 02:01:03.874 - [2024-11-14T08:01:04.231Z] STF 02:01:03.874 - +------ Step 6 - Check com.hello modular jar created [2024-11-14T08:01:04.231Z] STF 02:01:03.874 - | Validate file exists [2024-11-14T08:01:04.231Z] STF 02:01:03.874 - | File: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/modules/4.com.hello.jar [2024-11-14T08:01:04.231Z] STF 02:01:03.874 - | [2024-11-14T08:01:04.231Z] STF 02:01:03.874 - [2024-11-14T08:01:04.231Z] STF 02:01:03.874 - +------ Step 7 - Removing conf folder from com.test.jLinkDirCopy [2024-11-14T08:01:04.231Z] STF 02:01:03.874 - | Recursively delete a directory [2024-11-14T08:01:04.231Z] STF 02:01:03.874 - | Directory: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/com.test.jLinkDirCopy/conf [2024-11-14T08:01:04.231Z] STF 02:01:03.874 - | [2024-11-14T08:01:04.231Z] STF 02:01:03.875 - [2024-11-14T08:01:04.231Z] STF 02:01:03.875 - +------ Step 8 - Copying .so from com.test.jlink/native [2024-11-14T08:01:04.231Z] STF 02:01:03.875 - | Copy a directory to a new directory [2024-11-14T08:01:04.231Z] STF 02:01:03.875 - | Source dir: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink/native/bin/linux [2024-11-14T08:01:04.231Z] STF 02:01:03.875 - | Dest dir: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/native [2024-11-14T08:01:04.231Z] STF 02:01:03.875 - | [2024-11-14T08:01:04.231Z] STF 02:01:03.877 - [2024-11-14T08:01:04.231Z] STF 02:01:03.877 - +------ Step 9 - Creating jmod of com.test.jlink module [2024-11-14T08:01:04.231Z] STF 02:01:03.877 - | Run jmod utility [2024-11-14T08:01:04.231Z] STF 02:01:03.877 - | jmod: com.test.jlink.jmod [2024-11-14T08:01:04.231Z] STF 02:01:03.877 - | [2024-11-14T08:01:04.231Z] STF 02:01:03.878 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk-11.0.26+1/bin/jmod create --class-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/com.test.jLinkDirCopy --config /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/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_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/native /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/tmp/com.test.jlink.jmod [2024-11-14T08:01:04.231Z] STF 02:01:03.878 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/results/9.JMOD.stderr [2024-11-14T08:01:04.231Z] STF 02:01:03.878 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/results/9.JMOD.stdout [2024-11-14T08:01:04.231Z] STF 02:01:03.881 - Monitoring processes: JMOD [2024-11-14T08:01:04.231Z] STF 02:01:04.111 - Monitoring Report Summary: [2024-11-14T08:01:04.231Z] STF 02:01:04.111 - o Process JMOD ended with the expected exit code (0) [2024-11-14T08:01:04.231Z] STF 02:01:04.112 - [2024-11-14T08:01:04.231Z] STF 02:01:04.112 - +------ Step 10 - Creating jmod for com.hello module [2024-11-14T08:01:04.231Z] STF 02:01:04.112 - | Run jmod utility [2024-11-14T08:01:04.231Z] STF 02:01:04.112 - | jmod: com.hello.jmod [2024-11-14T08:01:04.231Z] STF 02:01:04.112 - | [2024-11-14T08:01:04.231Z] STF 02:01:04.112 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk-11.0.26+1/bin/jmod create --class-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/tmp/com.hello.jmod [2024-11-14T08:01:04.232Z] STF 02:01:04.112 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/results/10.JMOD.stderr [2024-11-14T08:01:04.232Z] STF 02:01:04.112 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/results/10.JMOD.stdout [2024-11-14T08:01:04.232Z] STF 02:01:04.116 - Monitoring processes: JMOD [2024-11-14T08:01:04.903Z] STF 02:01:04.393 - Monitoring Report Summary: [2024-11-14T08:01:04.903Z] STF 02:01:04.393 - o Process JMOD ended with the expected exit code (0) [2024-11-14T08:01:04.903Z] STF 02:01:04.393 - [2024-11-14T08:01:04.903Z] STF 02:01:04.393 - +------ Step 11 - Check com.test.jlink jmod created [2024-11-14T08:01:04.903Z] STF 02:01:04.393 - | Validate file exists [2024-11-14T08:01:04.903Z] STF 02:01:04.393 - | File: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/tmp/com.test.jlink.jmod [2024-11-14T08:01:04.903Z] STF 02:01:04.393 - | [2024-11-14T08:01:04.903Z] STF 02:01:04.393 - [2024-11-14T08:01:04.903Z] STF 02:01:04.393 - +------ Step 12 - Check com.hello jmod created [2024-11-14T08:01:04.903Z] STF 02:01:04.393 - | Validate file exists [2024-11-14T08:01:04.903Z] STF 02:01:04.393 - | File: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/tmp/com.hello.jmod [2024-11-14T08:01:04.903Z] STF 02:01:04.393 - | [2024-11-14T08:01:04.903Z] STF 02:01:04.394 - SETUP stage completed [2024-11-14T08:01:04.903Z] STF 02:01:04.405 - [2024-11-14T08:01:04.903Z] STF 02:01:04.406 - ==================== E X E C U T E - ==================== [2024-11-14T08:01:04.903Z] STF 02:01:04.406 - Running execute: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/execute.pl [2024-11-14T08:01:04.903Z] STF 02:01:04.464 - [2024-11-14T08:01:04.903Z] STF 02:01:04.464 - Java version [2024-11-14T08:01:04.904Z] STF 02:01:04.464 - Running: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk-11.0.26+1/bin/java -version [2024-11-14T08:01:04.904Z] openjdk version "11.0.26-beta" 2025-01-21 [2024-11-14T08:01:04.904Z] OpenJDK Runtime Environment Temurin-11.0.26+1-202411132109 (build 11.0.26-beta+1-ea) [2024-11-14T08:01:04.904Z] OpenJDK 64-Bit Server VM Temurin-11.0.26+1-202411132109 (build 11.0.26-beta+1-ea, mixed mode) [2024-11-14T08:01:04.904Z] STF 02:01:04.578 - [2024-11-14T08:01:04.904Z] STF 02:01:04.578 - +------ Step 13 - Create runtime image [2024-11-14T08:01:04.904Z] STF 02:01:04.578 - | Run jlink to create runtime image [2024-11-14T08:01:04.904Z] STF 02:01:04.578 - | ImageName: CRI1 [2024-11-14T08:01:04.904Z] STF 02:01:04.578 - | [2024-11-14T08:01:04.904Z] STF 02:01:04.579 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk-11.0.26+1/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk-11.0.26+1/jmods:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/modules --add-modules com.test.jlink --output /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/tmp/13.CRI1 [2024-11-14T08:01:04.904Z] STF 02:01:04.579 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/results/13.JLNK.stderr [2024-11-14T08:01:04.904Z] STF 02:01:04.579 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/results/13.JLNK.stdout [2024-11-14T08:01:04.904Z] STF 02:01:04.596 - Monitoring processes: JLNK [2024-11-14T08:01:07.073Z] STF 02:01:06.548 - Monitoring Report Summary: [2024-11-14T08:01:07.073Z] STF 02:01:06.548 - o Process JLNK ended with the expected exit code (0) [2024-11-14T08:01:07.073Z] STF 02:01:06.549 - [2024-11-14T08:01:07.073Z] STF 02:01:06.549 - +------ Step 14 - Running listmods [2024-11-14T08:01:07.073Z] STF 02:01:06.549 - | Run foreground process [2024-11-14T08:01:07.073Z] STF 02:01:06.549 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/tmp/13.CRI1/bin/java [2024-11-14T08:01:07.073Z] STF 02:01:06.549 - | Mnemonic: LIST [2024-11-14T08:01:07.073Z] STF 02:01:06.549 - | Echo: ECHO_ON [2024-11-14T08:01:07.073Z] STF 02:01:06.549 - | Expectation: CLEAN_RUN within 1m [2024-11-14T08:01:07.073Z] STF 02:01:06.549 - | [2024-11-14T08:01:07.073Z] STF 02:01:06.549 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/tmp/13.CRI1/bin/java --list-modules -XX:+UseCompressedOops [2024-11-14T08:01:07.073Z] STF 02:01:06.549 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/results/14.LIST.stderr [2024-11-14T08:01:07.073Z] STF 02:01:06.549 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/results/14.LIST.stdout [2024-11-14T08:01:07.073Z] STF 02:01:06.550 - Monitoring processes: LIST [2024-11-14T08:01:07.073Z] LIST com.hello [2024-11-14T08:01:07.073Z] LIST com.test.jlink [2024-11-14T08:01:07.073Z] LIST java.base@11.0.26-beta [2024-11-14T08:01:07.073Z] STF 02:01:06.681 - Monitoring Report Summary: [2024-11-14T08:01:07.073Z] STF 02:01:06.681 - o Process LIST ended with the expected exit code (0) [2024-11-14T08:01:07.073Z] STF 02:01:06.681 - [2024-11-14T08:01:07.073Z] STF 02:01:06.681 - +------ Step 15 - Check output [2024-11-14T08:01:07.073Z] STF 02:01:06.681 - | Count file matches [2024-11-14T08:01:07.073Z] STF 02:01:06.681 - | TargetFile: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/results/14.LIST.stdout [2024-11-14T08:01:07.073Z] STF 02:01:06.681 - | ExpectedNumMatches: 1 [2024-11-14T08:01:07.073Z] STF 02:01:06.681 - | SearchStrings: ["com.hello"] [2024-11-14T08:01:07.073Z] STF 02:01:06.681 - | [2024-11-14T08:01:07.073Z] STF 02:01:06.681 - Found 1 instances of ["com.hello"] [2024-11-14T08:01:07.073Z] STF 02:01:06.682 - [2024-11-14T08:01:07.073Z] STF 02:01:06.682 - +------ Step 16 - Check output [2024-11-14T08:01:07.073Z] STF 02:01:06.682 - | Count file matches [2024-11-14T08:01:07.073Z] STF 02:01:06.682 - | TargetFile: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/results/14.LIST.stdout [2024-11-14T08:01:07.073Z] STF 02:01:06.682 - | ExpectedNumMatches: 1 [2024-11-14T08:01:07.073Z] STF 02:01:06.682 - | SearchStrings: ["com.test.jlink"] [2024-11-14T08:01:07.073Z] STF 02:01:06.682 - | [2024-11-14T08:01:07.073Z] STF 02:01:06.682 - Found 1 instances of ["com.test.jlink"] [2024-11-14T08:01:07.073Z] STF 02:01:06.682 - [2024-11-14T08:01:07.073Z] STF 02:01:06.682 - +------ Step 17 - Check output [2024-11-14T08:01:07.073Z] STF 02:01:06.682 - | Count file matches [2024-11-14T08:01:07.073Z] STF 02:01:06.682 - | TargetFile: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/results/14.LIST.stdout [2024-11-14T08:01:07.073Z] STF 02:01:06.682 - | ExpectedNumMatches: 1 [2024-11-14T08:01:07.073Z] STF 02:01:06.682 - | SearchStrings: ["java.base"] [2024-11-14T08:01:07.073Z] STF 02:01:06.682 - | [2024-11-14T08:01:07.073Z] STF 02:01:06.682 - Found 1 instances of ["java.base"] [2024-11-14T08:01:07.073Z] STF 02:01:06.682 - [2024-11-14T08:01:07.073Z] STF 02:01:06.682 - +------ Step 18 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-11-14T08:01:07.073Z] STF 02:01:06.682 - | Run foreground process [2024-11-14T08:01:07.073Z] STF 02:01:06.682 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/tmp/13.CRI1/bin/java [2024-11-14T08:01:07.073Z] STF 02:01:06.682 - | Mnemonic: T1 [2024-11-14T08:01:07.073Z] STF 02:01:06.682 - | Echo: ECHO_ON [2024-11-14T08:01:07.073Z] STF 02:01:06.682 - | Expectation: CLEAN_RUN within 1m [2024-11-14T08:01:07.073Z] STF 02:01:06.682 - | [2024-11-14T08:01:07.073Z] STF 02:01:06.683 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/tmp/13.CRI1/bin/java -Djava.library.path=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/native --add-reads com.test.jlink=ALL-UNNAMED -XX:+UseCompressedOops -classpath /home/jenkins/testDependency/system_lib/junit/junit.jar:/home/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-11-14T08:01:07.073Z] STF 02:01:06.683 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/results/18.T1.stderr [2024-11-14T08:01:07.073Z] STF 02:01:06.683 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/results/18.T1.stdout [2024-11-14T08:01:07.073Z] STF 02:01:06.686 - Monitoring processes: T1 [2024-11-14T08:01:07.073Z] T1 JUnit version 4.12 [2024-11-14T08:01:07.073Z] T1 . [2024-11-14T08:01:07.073Z] T1 Time: 0.005 [2024-11-14T08:01:07.073Z] T1 [2024-11-14T08:01:07.073Z] T1 OK (1 test) [2024-11-14T08:01:07.073Z] T1 [2024-11-14T08:01:07.073Z] STF 02:01:06.897 - Monitoring Report Summary: [2024-11-14T08:01:07.073Z] STF 02:01:06.898 - o Process T1 ended with the expected exit code (0) [2024-11-14T08:01:07.073Z] STF 02:01:06.898 - [2024-11-14T08:01:07.073Z] STF 02:01:06.898 - +------ Step 19 - Create runtime image [2024-11-14T08:01:07.073Z] STF 02:01:06.898 - | Run jlink to create runtime image [2024-11-14T08:01:07.073Z] STF 02:01:06.898 - | ImageName: CRI2 [2024-11-14T08:01:07.073Z] STF 02:01:06.898 - | [2024-11-14T08:01:07.073Z] STF 02:01:06.899 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk-11.0.26+1/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk-11.0.26+1/jmods:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/tmp --add-modules com.test.jlink --output /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/tmp/19.CRI2 [2024-11-14T08:01:07.073Z] STF 02:01:06.899 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/results/19.JLNK.stderr [2024-11-14T08:01:07.073Z] STF 02:01:06.899 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/results/19.JLNK.stdout [2024-11-14T08:01:07.074Z] STF 02:01:06.902 - Monitoring processes: JLNK [2024-11-14T08:01:09.249Z] STF 02:01:08.738 - Monitoring Report Summary: [2024-11-14T08:01:09.250Z] STF 02:01:08.738 - o Process JLNK ended with the expected exit code (0) [2024-11-14T08:01:09.250Z] STF 02:01:08.739 - [2024-11-14T08:01:09.250Z] STF 02:01:08.739 - +------ Step 20 - Running listmods [2024-11-14T08:01:09.250Z] STF 02:01:08.739 - | Run foreground process [2024-11-14T08:01:09.250Z] STF 02:01:08.739 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/tmp/19.CRI2/bin/java [2024-11-14T08:01:09.250Z] STF 02:01:08.739 - | Mnemonic: LIST [2024-11-14T08:01:09.250Z] STF 02:01:08.739 - | Echo: ECHO_ON [2024-11-14T08:01:09.250Z] STF 02:01:08.739 - | Expectation: CLEAN_RUN within 1m [2024-11-14T08:01:09.250Z] STF 02:01:08.739 - | [2024-11-14T08:01:09.250Z] STF 02:01:08.740 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/tmp/19.CRI2/bin/java --list-modules -XX:+UseCompressedOops [2024-11-14T08:01:09.250Z] STF 02:01:08.740 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/results/20.LIST.stderr [2024-11-14T08:01:09.250Z] STF 02:01:08.740 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/results/20.LIST.stdout [2024-11-14T08:01:09.250Z] STF 02:01:08.743 - Monitoring processes: LIST [2024-11-14T08:01:09.250Z] LIST com.hello [2024-11-14T08:01:09.250Z] LIST com.test.jlink [2024-11-14T08:01:09.250Z] LIST java.base@11.0.26-beta [2024-11-14T08:01:09.250Z] STF 02:01:08.865 - Monitoring Report Summary: [2024-11-14T08:01:09.250Z] STF 02:01:08.865 - o Process LIST ended with the expected exit code (0) [2024-11-14T08:01:09.250Z] STF 02:01:08.865 - [2024-11-14T08:01:09.250Z] STF 02:01:08.866 - +------ Step 21 - Check output [2024-11-14T08:01:09.250Z] STF 02:01:08.866 - | Count file matches [2024-11-14T08:01:09.250Z] STF 02:01:08.866 - | TargetFile: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/results/20.LIST.stdout [2024-11-14T08:01:09.250Z] STF 02:01:08.866 - | ExpectedNumMatches: 1 [2024-11-14T08:01:09.250Z] STF 02:01:08.866 - | SearchStrings: ["com.hello"] [2024-11-14T08:01:09.250Z] STF 02:01:08.866 - | [2024-11-14T08:01:09.250Z] STF 02:01:08.866 - Found 1 instances of ["com.hello"] [2024-11-14T08:01:09.250Z] STF 02:01:08.866 - [2024-11-14T08:01:09.250Z] STF 02:01:08.866 - +------ Step 22 - Check output [2024-11-14T08:01:09.250Z] STF 02:01:08.866 - | Count file matches [2024-11-14T08:01:09.250Z] STF 02:01:08.866 - | TargetFile: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/results/20.LIST.stdout [2024-11-14T08:01:09.250Z] STF 02:01:08.866 - | ExpectedNumMatches: 1 [2024-11-14T08:01:09.250Z] STF 02:01:08.866 - | SearchStrings: ["com.test.jlink"] [2024-11-14T08:01:09.250Z] STF 02:01:08.866 - | [2024-11-14T08:01:09.250Z] STF 02:01:08.866 - Found 1 instances of ["com.test.jlink"] [2024-11-14T08:01:09.250Z] STF 02:01:08.866 - [2024-11-14T08:01:09.250Z] STF 02:01:08.866 - +------ Step 23 - Check output [2024-11-14T08:01:09.250Z] STF 02:01:08.866 - | Count file matches [2024-11-14T08:01:09.250Z] STF 02:01:08.866 - | TargetFile: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/results/20.LIST.stdout [2024-11-14T08:01:09.250Z] STF 02:01:08.866 - | ExpectedNumMatches: 1 [2024-11-14T08:01:09.250Z] STF 02:01:08.866 - | SearchStrings: ["java.base"] [2024-11-14T08:01:09.250Z] STF 02:01:08.866 - | [2024-11-14T08:01:09.250Z] STF 02:01:08.866 - Found 1 instances of ["java.base"] [2024-11-14T08:01:09.250Z] STF 02:01:08.866 - [2024-11-14T08:01:09.250Z] STF 02:01:08.866 - +------ Step 24 - Running adoptopenjdk.test.modularity.jlink.JniTest [2024-11-14T08:01:09.250Z] STF 02:01:08.867 - | Run foreground process [2024-11-14T08:01:09.250Z] STF 02:01:08.867 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/tmp/19.CRI2/bin/java [2024-11-14T08:01:09.250Z] STF 02:01:08.867 - | Mnemonic: T2 [2024-11-14T08:01:09.250Z] STF 02:01:08.867 - | Echo: ECHO_ON [2024-11-14T08:01:09.250Z] STF 02:01:08.867 - | Expectation: CLEAN_RUN within 1m [2024-11-14T08:01:09.250Z] STF 02:01:08.867 - | [2024-11-14T08:01:09.250Z] STF 02:01:08.867 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/tmp/19.CRI2/bin/java -Djava.library.path=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/native --add-reads com.test.jlink=ALL-UNNAMED -XX:+UseCompressedOops -classpath /home/jenkins/testDependency/system_lib/junit/junit.jar:/home/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore adoptopenjdk.test.modularity.jlink.JniTest [2024-11-14T08:01:09.250Z] STF 02:01:08.867 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/results/24.T2.stderr [2024-11-14T08:01:09.250Z] STF 02:01:08.867 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/results/24.T2.stdout [2024-11-14T08:01:09.250Z] STF 02:01:08.870 - Monitoring processes: T2 [2024-11-14T08:01:09.250Z] T2 JUnit version 4.12 [2024-11-14T08:01:09.250Z] T2 . [2024-11-14T08:01:09.250Z] T2 Time: 0.006 [2024-11-14T08:01:09.250Z] T2 [2024-11-14T08:01:09.250Z] T2 OK (1 test) [2024-11-14T08:01:09.250Z] T2 [2024-11-14T08:01:09.250Z] STF 02:01:09.089 - Monitoring Report Summary: [2024-11-14T08:01:09.250Z] STF 02:01:09.089 - o Process T2 ended with the expected exit code (0) [2024-11-14T08:01:09.250Z] STF 02:01:09.089 - [2024-11-14T08:01:09.250Z] STF 02:01:09.089 - +------ Step 25 - Create runtime image [2024-11-14T08:01:09.250Z] STF 02:01:09.089 - | Run jlink to create runtime image [2024-11-14T08:01:09.250Z] STF 02:01:09.089 - | ImageName: CRI3 [2024-11-14T08:01:09.250Z] STF 02:01:09.089 - | [2024-11-14T08:01:09.250Z] STF 02:01:09.090 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk-11.0.26+1/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk-11.0.26+1/jmods:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/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_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/tmp/25.CRI3 [2024-11-14T08:01:09.250Z] STF 02:01:09.090 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/results/25.JLNK.stderr [2024-11-14T08:01:09.250Z] STF 02:01:09.090 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/results/25.JLNK.stdout [2024-11-14T08:01:09.250Z] STF 02:01:09.091 - Monitoring processes: JLNK [2024-11-14T08:01:11.421Z] STF 02:01:10.677 - Monitoring Report Summary: [2024-11-14T08:01:11.421Z] STF 02:01:10.677 - o Process JLNK ended with the expected exit code (0) [2024-11-14T08:01:11.421Z] STF 02:01:10.677 - [2024-11-14T08:01:11.421Z] STF 02:01:10.677 - +------ Step 26 - Running listmods [2024-11-14T08:01:11.421Z] STF 02:01:10.677 - | Run foreground process [2024-11-14T08:01:11.421Z] STF 02:01:10.677 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/tmp/25.CRI3/bin/java [2024-11-14T08:01:11.421Z] STF 02:01:10.677 - | Mnemonic: LIST [2024-11-14T08:01:11.421Z] STF 02:01:10.677 - | Echo: ECHO_ON [2024-11-14T08:01:11.421Z] STF 02:01:10.677 - | Expectation: CLEAN_RUN within 1m [2024-11-14T08:01:11.421Z] STF 02:01:10.677 - | [2024-11-14T08:01:11.421Z] STF 02:01:10.677 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/tmp/25.CRI3/bin/java --list-modules -XX:+UseCompressedOops [2024-11-14T08:01:11.421Z] STF 02:01:10.677 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/results/26.LIST.stderr [2024-11-14T08:01:11.421Z] STF 02:01:10.677 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/results/26.LIST.stdout [2024-11-14T08:01:11.421Z] STF 02:01:10.679 - Monitoring processes: LIST [2024-11-14T08:01:11.421Z] LIST com.hello [2024-11-14T08:01:11.421Z] LIST com.test.jlink [2024-11-14T08:01:11.421Z] LIST java.base@11.0.26-beta [2024-11-14T08:01:11.421Z] STF 02:01:10.833 - Monitoring Report Summary: [2024-11-14T08:01:11.421Z] STF 02:01:10.833 - o Process LIST ended with the expected exit code (0) [2024-11-14T08:01:11.421Z] STF 02:01:10.834 - [2024-11-14T08:01:11.421Z] STF 02:01:10.834 - +------ Step 27 - Check output [2024-11-14T08:01:11.421Z] STF 02:01:10.834 - | Count file matches [2024-11-14T08:01:11.421Z] STF 02:01:10.834 - | TargetFile: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/results/26.LIST.stdout [2024-11-14T08:01:11.421Z] STF 02:01:10.834 - | ExpectedNumMatches: 1 [2024-11-14T08:01:11.421Z] STF 02:01:10.834 - | SearchStrings: ["com.hello"] [2024-11-14T08:01:11.421Z] STF 02:01:10.834 - | [2024-11-14T08:01:11.421Z] STF 02:01:10.834 - Found 1 instances of ["com.hello"] [2024-11-14T08:01:11.421Z] STF 02:01:10.834 - [2024-11-14T08:01:11.421Z] STF 02:01:10.834 - +------ Step 28 - Check output [2024-11-14T08:01:11.421Z] STF 02:01:10.834 - | Count file matches [2024-11-14T08:01:11.421Z] STF 02:01:10.834 - | TargetFile: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/results/26.LIST.stdout [2024-11-14T08:01:11.421Z] STF 02:01:10.834 - | ExpectedNumMatches: 1 [2024-11-14T08:01:11.421Z] STF 02:01:10.834 - | SearchStrings: ["com.test.jlink"] [2024-11-14T08:01:11.421Z] STF 02:01:10.834 - | [2024-11-14T08:01:11.421Z] STF 02:01:10.834 - Found 1 instances of ["com.test.jlink"] [2024-11-14T08:01:11.421Z] STF 02:01:10.834 - [2024-11-14T08:01:11.421Z] STF 02:01:10.834 - +------ Step 29 - Check output [2024-11-14T08:01:11.421Z] STF 02:01:10.834 - | Count file matches [2024-11-14T08:01:11.421Z] STF 02:01:10.834 - | TargetFile: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/results/26.LIST.stdout [2024-11-14T08:01:11.421Z] STF 02:01:10.834 - | ExpectedNumMatches: 1 [2024-11-14T08:01:11.421Z] STF 02:01:10.834 - | SearchStrings: ["java.base"] [2024-11-14T08:01:11.421Z] STF 02:01:10.835 - | [2024-11-14T08:01:11.421Z] STF 02:01:10.835 - Found 1 instances of ["java.base"] [2024-11-14T08:01:11.421Z] STF 02:01:10.835 - [2024-11-14T08:01:11.421Z] STF 02:01:10.835 - +------ Step 30 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-11-14T08:01:11.421Z] STF 02:01:10.835 - | Run foreground process [2024-11-14T08:01:11.421Z] STF 02:01:10.835 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/tmp/25.CRI3/bin/java [2024-11-14T08:01:11.421Z] STF 02:01:10.835 - | Mnemonic: T3 [2024-11-14T08:01:11.421Z] STF 02:01:10.835 - | Echo: ECHO_ON [2024-11-14T08:01:11.421Z] STF 02:01:10.835 - | Expectation: CLEAN_RUN within 1m [2024-11-14T08:01:11.421Z] STF 02:01:10.835 - | [2024-11-14T08:01:11.421Z] STF 02:01:10.835 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/tmp/25.CRI3/bin/java -Djava.library.path=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/native --add-reads com.test.jlink=ALL-UNNAMED -XX:+UseCompressedOops -classpath /home/jenkins/testDependency/system_lib/junit/junit.jar:/home/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-11-14T08:01:11.421Z] STF 02:01:10.836 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/results/30.T3.stderr [2024-11-14T08:01:11.421Z] STF 02:01:10.836 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/results/30.T3.stdout [2024-11-14T08:01:11.421Z] STF 02:01:10.838 - Monitoring processes: T3 [2024-11-14T08:01:11.422Z] T3 JUnit version 4.12 [2024-11-14T08:01:11.422Z] T3 . [2024-11-14T08:01:11.422Z] T3 Time: 0.005 [2024-11-14T08:01:11.422Z] T3 [2024-11-14T08:01:11.422Z] T3 OK (1 test) [2024-11-14T08:01:11.422Z] T3 [2024-11-14T08:01:11.422Z] STF 02:01:11.060 - Monitoring Report Summary: [2024-11-14T08:01:11.422Z] STF 02:01:11.061 - o Process T3 ended with the expected exit code (0) [2024-11-14T08:01:11.422Z] STF 02:01:11.061 - EXECUTE stage completed [2024-11-14T08:01:11.422Z] STF 02:01:11.110 - [2024-11-14T08:01:11.422Z] STF 02:01:11.110 - ==================== T E A R D O W N ==================== [2024-11-14T08:01:11.422Z] STF 02:01:11.110 - Running teardown: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_1731571049611/Jlink_ReqMod_0/20241114-020102-JlinkTest/tearDown.pl [2024-11-14T08:01:11.422Z] STF 02:01:11.172 - TEARDOWN stage completed [2024-11-14T08:01:11.422Z] STF 02:01:11.175 - [2024-11-14T08:01:11.422Z] STF 02:01:11.175 - ===================== R E S U L T S ===================== [2024-11-14T08:01:11.422Z] STF 02:01:11.175 - Stage results: [2024-11-14T08:01:11.422Z] STF 02:01:11.175 - setUp: pass [2024-11-14T08:01:11.422Z] STF 02:01:11.175 - execute: pass [2024-11-14T08:01:11.422Z] STF 02:01:11.175 - teardown: pass [2024-11-14T08:01:11.422Z] STF 02:01:11.175 - [2024-11-14T08:01:11.422Z] STF 02:01:11.175 - Overall result: PASSED [2024-11-14T08:01:11.422Z] ----------------------------------- [2024-11-14T08:01:11.422Z] Jlink_ReqMod_0_PASSED [2024-11-14T08:01:11.422Z] ----------------------------------- [2024-11-14T08:01:11.422Z] [2024-11-14T08:01:11.422Z] TEST TEARDOWN: [2024-11-14T08:01:11.422Z] Nothing to be done for teardown. [2024-11-14T08:01:11.422Z] Jlink_ReqMod_0 Finish Time: Thu Nov 14 02:01:11 2024 Epoch Time (ms): 1731571271251