Jlink_ReqMod_1

[2025-02-06T00:17:01.475Z] Running test Jlink_ReqMod_1 ... [2025-02-06T00:17:01.475Z] =============================================== [2025-02-06T00:17:01.475Z] Jlink_ReqMod_1 Start Time: Thu Feb 6 00:17:01 2025 Epoch Time (ms): 1738801021426 [2025-02-06T00:17:01.475Z] variation: Mode650 [2025-02-06T00:17:01.475Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-02-06T00:17:01.475Z] { \ [2025-02-06T00:17:01.475Z] echo ""; echo "TEST SETUP:"; \ [2025-02-06T00:17:01.475Z] echo "Nothing to be done for setup."; \ [2025-02-06T00:17:01.475Z] mkdir -p "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17387997699385/Jlink_ReqMod_1"; \ [2025-02-06T00:17:01.475Z] cd "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17387997699385/Jlink_ReqMod_1"; \ [2025-02-06T00:17:01.475Z] echo ""; echo "TESTING:"; \ [2025-02-06T00:17:01.475Z] perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/../../testDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17387997699385/Jlink_ReqMod_1" -test=JlinkTest -test-args="variant=ReqdMod"; \ [2025-02-06T00:17:01.475Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "Jlink_ReqMod_1""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17387997699385/Jlink_ReqMod_1"; else echo "-----------------------------------"; echo "Jlink_ReqMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-02-06T00:17:01.475Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-02-06T00:17:01.475Z] echo "Nothing to be done for teardown."; \ [2025-02-06T00:17:01.475Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17387997699385/TestTargetResult"; [2025-02-06T00:17:01.475Z] [2025-02-06T00:17:01.475Z] TEST SETUP: [2025-02-06T00:17:01.475Z] Nothing to be done for setup. [2025-02-06T00:17:01.475Z] [2025-02-06T00:17:01.475Z] TESTING: [2025-02-06T00:17:02.008Z] STF 00:17:01.695 - ========================= S T F ========================= [2025-02-06T00:17:02.008Z] systemtest-prereqs has been processed, and set to: /home/jenkins/testDependency/system_libRetrieving amount of free space on drive containing /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17387997699385/Jlink_ReqMod_1 [2025-02-06T00:17:02.008Z] There is 88977 Mb free [2025-02-06T00:17:02.008Z] STF 00:17:01.727 - ================== G E N E R A T I O N ================== [2025-02-06T00:17:02.008Z] STF 00:17:01.732 - Checking JVM: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image [2025-02-06T00:17:02.008Z] STF 00:17:01.732 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/../../testDependency/system_lib//asm/asm.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/../../testDependency/system_lib//asm/asm-commons.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/../../testDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/../../testDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest" [2025-02-06T00:17:02.008Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-06T00:17:02.008Z] GEN [0.018s][warning][cds] Archived non-system classes are disabled because the java.system.class.loader property is specified (value = "net.adoptopenjdk.stf.runner.StfClassLoader"). To use archived non-system classes, this property must not be set [2025-02-06T00:17:06.851Z] GEN 00:17:06.389 - Found test. Project: 'openjdk.test.modularity' class: 'JlinkTest.class' Dir: '/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-02-06T00:17:06.851Z] GEN 00:17:06.436 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.JlinkTest' [2025-02-06T00:17:07.176Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-02-06T00:17:07.176Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-02-06T00:17:07.176Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-02-06T00:17:07.176Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-02-06T00:17:07.176Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-02-06T00:17:07.176Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-02-06T00:17:07.176Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-02-06T00:17:07.176Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-02-06T00:17:07.176Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-02-06T00:17:07.176Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-02-06T00:17:07.176Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-02-06T00:17:07.176Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-02-06T00:17:07.176Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-02-06T00:17:07.176Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-02-06T00:17:07.176Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-02-06T00:17:07.176Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-02-06T00:17:07.176Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/bin [2025-02-06T00:17:07.176Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-02-06T00:17:07.176Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-02-06T00:17:07.176Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar [2025-02-06T00:17:07.566Z] GEN 00:17:07.178 - Using Mode NoOptions. Values = '' [2025-02-06T00:17:07.998Z] GEN 00:17:07.659 - [2025-02-06T00:17:07.998Z] GEN 00:17:07.660 - Test command summary: [2025-02-06T00:17:07.998Z] GEN 00:17:07.662 - Step Stage Command Description [2025-02-06T00:17:07.998Z] GEN 00:17:07.663 - -----+--------+-----------------+------------ [2025-02-06T00:17:07.998Z] GEN 00:17:07.664 - 1 setUp cpDir Copying com.test.jlink [2025-02-06T00:17:07.998Z] GEN 00:17:07.665 - 2 setUp rm Removing natives folder from com.test.jLinkDirCopy [2025-02-06T00:17:07.998Z] GEN 00:17:07.666 - 3 setUp jar Create com.test.jlink jar [2025-02-06T00:17:07.998Z] GEN 00:17:07.667 - 4 setUp jar Create com.hello jar [2025-02-06T00:17:07.998Z] GEN 00:17:07.667 - 5 setUp fileCheck Check com.test.jlink modular jar created [2025-02-06T00:17:07.998Z] GEN 00:17:07.668 - 6 setUp fileCheck Check com.hello modular jar created [2025-02-06T00:17:07.998Z] GEN 00:17:07.669 - 7 setUp rm Removing conf folder from com.test.jLinkDirCopy [2025-02-06T00:17:07.998Z] GEN 00:17:07.670 - 8 setUp cpDir Copying .so from com.test.jlink/native [2025-02-06T00:17:07.998Z] GEN 00:17:07.671 - 9 setUp jmod Creating jmod of com.test.jlink module [2025-02-06T00:17:07.998Z] GEN 00:17:07.671 - 10 setUp jmod Creating jmod for com.hello module [2025-02-06T00:17:07.998Z] GEN 00:17:07.672 - 11 setUp fileCheck Check com.test.jlink jmod created [2025-02-06T00:17:07.998Z] GEN 00:17:07.672 - 12 setUp fileCheck Check com.hello jmod created [2025-02-06T00:17:07.998Z] GEN 00:17:07.673 - 13 execute jlink Create runtime image [2025-02-06T00:17:07.998Z] GEN 00:17:07.673 - 14 execute Run java Running listmods [2025-02-06T00:17:07.998Z] GEN 00:17:07.674 - 15 execute count Check output [2025-02-06T00:17:07.998Z] GEN 00:17:07.674 - 16 execute count Check output [2025-02-06T00:17:07.998Z] GEN 00:17:07.675 - 17 execute count Check output [2025-02-06T00:17:07.998Z] GEN 00:17:07.676 - 18 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-06T00:17:07.998Z] GEN 00:17:07.676 - 19 execute jlink Create runtime image [2025-02-06T00:17:07.998Z] GEN 00:17:07.677 - 20 execute Run java Running listmods [2025-02-06T00:17:07.998Z] GEN 00:17:07.678 - 21 execute count Check output [2025-02-06T00:17:07.998Z] GEN 00:17:07.678 - 22 execute count Check output [2025-02-06T00:17:07.998Z] GEN 00:17:07.679 - 23 execute count Check output [2025-02-06T00:17:07.998Z] GEN 00:17:07.680 - 24 execute Run java Running adoptopenjdk.test.modularity.jlink.JniTest [2025-02-06T00:17:07.998Z] GEN 00:17:07.680 - 25 execute jlink Create runtime image [2025-02-06T00:17:07.998Z] GEN 00:17:07.681 - 26 execute Run java Running listmods [2025-02-06T00:17:07.998Z] GEN 00:17:07.681 - 27 execute count Check output [2025-02-06T00:17:07.998Z] GEN 00:17:07.682 - 28 execute count Check output [2025-02-06T00:17:07.998Z] GEN 00:17:07.683 - 29 execute count Check output [2025-02-06T00:17:07.998Z] GEN 00:17:07.683 - 30 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-06T00:17:07.998Z] STF 00:17:07.820 - [2025-02-06T00:17:07.998Z] STF 00:17:07.820 - Script generation completed [2025-02-06T00:17:07.998Z] STF 00:17:07.820 - [2025-02-06T00:17:07.998Z] STF 00:17:07.824 - [2025-02-06T00:17:07.998Z] STF 00:17:07.825 - ======================= S E T U P ======================= [2025-02-06T00:17:07.998Z] STF 00:17:07.825 - Running setup: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/setUp.pl [2025-02-06T00:17:08.363Z] STF 00:17:08.135 - [2025-02-06T00:17:08.363Z] STF 00:17:08.135 - +------ Step 1 - Copying com.test.jlink [2025-02-06T00:17:08.363Z] STF 00:17:08.135 - | Copy a directory to a new directory [2025-02-06T00:17:08.363Z] STF 00:17:08.135 - | Source dir: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink [2025-02-06T00:17:08.363Z] STF 00:17:08.135 - | Dest dir: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/com.test.jLinkDirCopy [2025-02-06T00:17:08.363Z] STF 00:17:08.135 - | [2025-02-06T00:17:08.363Z] STF 00:17:08.150 - [2025-02-06T00:17:08.363Z] STF 00:17:08.150 - +------ Step 2 - Removing natives folder from com.test.jLinkDirCopy [2025-02-06T00:17:08.363Z] STF 00:17:08.150 - | Recursively delete a directory [2025-02-06T00:17:08.363Z] STF 00:17:08.150 - | Directory: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/com.test.jLinkDirCopy/native [2025-02-06T00:17:08.363Z] STF 00:17:08.150 - | [2025-02-06T00:17:08.363Z] STF 00:17:08.154 - [2025-02-06T00:17:08.363Z] STF 00:17:08.154 - +------ Step 3 - Create com.test.jlink jar [2025-02-06T00:17:08.363Z] STF 00:17:08.154 - | Create modular jar [2025-02-06T00:17:08.363Z] STF 00:17:08.154 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test.jlink [2025-02-06T00:17:08.363Z] STF 00:17:08.154 - | ModuleVersion: null [2025-02-06T00:17:08.363Z] STF 00:17:08.154 - | MainClass: null [2025-02-06T00:17:08.363Z] STF 00:17:08.154 - | HashModules: null [2025-02-06T00:17:08.363Z] STF 00:17:08.154 - | [2025-02-06T00:17:08.363Z] STF 00:17:08.155 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/modules/3.com.test.jlink.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink . [2025-02-06T00:17:08.363Z] STF 00:17:08.155 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/results/3.CMJ.stderr [2025-02-06T00:17:08.363Z] STF 00:17:08.155 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/results/3.CMJ.stdout [2025-02-06T00:17:08.363Z] STF 00:17:08.190 - Monitoring processes: CMJ [2025-02-06T00:17:08.363Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-06T00:17:10.016Z] STF 00:17:09.570 - Monitoring Report Summary: [2025-02-06T00:17:10.016Z] STF 00:17:09.570 - o Process CMJ ended with the expected exit code (0) [2025-02-06T00:17:10.016Z] STF 00:17:09.572 - Created modular jar: 3.com.test.jlink.jar [2025-02-06T00:17:10.016Z] STF 00:17:09.572 - [2025-02-06T00:17:10.016Z] STF 00:17:09.572 - +------ Step 4 - Create com.hello jar [2025-02-06T00:17:10.016Z] STF 00:17:09.572 - | Create modular jar [2025-02-06T00:17:10.016Z] STF 00:17:09.572 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-02-06T00:17:10.016Z] STF 00:17:09.572 - | ModuleVersion: null [2025-02-06T00:17:10.016Z] STF 00:17:09.572 - | MainClass: null [2025-02-06T00:17:10.016Z] STF 00:17:09.573 - | HashModules: null [2025-02-06T00:17:10.016Z] STF 00:17:09.573 - | [2025-02-06T00:17:10.016Z] STF 00:17:09.574 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/modules/4.com.hello.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-02-06T00:17:10.016Z] STF 00:17:09.574 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/results/4.CMJ.stderr [2025-02-06T00:17:10.016Z] STF 00:17:09.574 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/results/4.CMJ.stdout [2025-02-06T00:17:10.016Z] STF 00:17:09.585 - Monitoring processes: CMJ [2025-02-06T00:17:10.016Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-06T00:17:11.162Z] STF 00:17:10.893 - Monitoring Report Summary: [2025-02-06T00:17:11.162Z] STF 00:17:10.893 - o Process CMJ ended with the expected exit code (0) [2025-02-06T00:17:11.162Z] STF 00:17:10.894 - Created modular jar: 4.com.hello.jar [2025-02-06T00:17:11.162Z] STF 00:17:10.894 - [2025-02-06T00:17:11.162Z] STF 00:17:10.894 - +------ Step 5 - Check com.test.jlink modular jar created [2025-02-06T00:17:11.162Z] STF 00:17:10.895 - | Validate file exists [2025-02-06T00:17:11.162Z] STF 00:17:10.895 - | File: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/modules/3.com.test.jlink.jar [2025-02-06T00:17:11.162Z] STF 00:17:10.895 - | [2025-02-06T00:17:11.162Z] STF 00:17:10.895 - [2025-02-06T00:17:11.162Z] STF 00:17:10.895 - +------ Step 6 - Check com.hello modular jar created [2025-02-06T00:17:11.162Z] STF 00:17:10.895 - | Validate file exists [2025-02-06T00:17:11.162Z] STF 00:17:10.895 - | File: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/modules/4.com.hello.jar [2025-02-06T00:17:11.162Z] STF 00:17:10.895 - | [2025-02-06T00:17:11.162Z] STF 00:17:10.895 - [2025-02-06T00:17:11.162Z] STF 00:17:10.895 - +------ Step 7 - Removing conf folder from com.test.jLinkDirCopy [2025-02-06T00:17:11.162Z] STF 00:17:10.895 - | Recursively delete a directory [2025-02-06T00:17:11.162Z] STF 00:17:10.895 - | Directory: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/com.test.jLinkDirCopy/conf [2025-02-06T00:17:11.162Z] STF 00:17:10.895 - | [2025-02-06T00:17:11.162Z] STF 00:17:10.897 - [2025-02-06T00:17:11.162Z] STF 00:17:10.897 - +------ Step 8 - Copying .so from com.test.jlink/native [2025-02-06T00:17:11.162Z] STF 00:17:10.897 - | Copy a directory to a new directory [2025-02-06T00:17:11.162Z] STF 00:17:10.897 - | Source dir: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink/native/bin/linux [2025-02-06T00:17:11.162Z] STF 00:17:10.897 - | Dest dir: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/native [2025-02-06T00:17:11.162Z] STF 00:17:10.897 - | [2025-02-06T00:17:11.162Z] STF 00:17:10.899 - [2025-02-06T00:17:11.162Z] STF 00:17:10.899 - +------ Step 9 - Creating jmod of com.test.jlink module [2025-02-06T00:17:11.162Z] STF 00:17:10.899 - | Run jmod utility [2025-02-06T00:17:11.162Z] STF 00:17:10.899 - | jmod: com.test.jlink.jmod [2025-02-06T00:17:11.162Z] STF 00:17:10.899 - | [2025-02-06T00:17:11.162Z] STF 00:17:10.900 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jmod create --class-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/com.test.jLinkDirCopy --config /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink/conf --libs /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/native /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/tmp/com.test.jlink.jmod [2025-02-06T00:17:11.162Z] STF 00:17:10.900 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/results/9.JMOD.stderr [2025-02-06T00:17:11.162Z] STF 00:17:10.900 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/results/9.JMOD.stdout [2025-02-06T00:17:11.162Z] STF 00:17:10.906 - Monitoring processes: JMOD [2025-02-06T00:17:11.162Z] JMOD stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-06T00:17:12.304Z] STF 00:17:12.252 - Monitoring Report Summary: [2025-02-06T00:17:12.304Z] STF 00:17:12.252 - o Process JMOD ended with the expected exit code (0) [2025-02-06T00:17:12.304Z] STF 00:17:12.254 - [2025-02-06T00:17:12.304Z] STF 00:17:12.254 - +------ Step 10 - Creating jmod for com.hello module [2025-02-06T00:17:12.304Z] STF 00:17:12.254 - | Run jmod utility [2025-02-06T00:17:12.304Z] STF 00:17:12.255 - | jmod: com.hello.jmod [2025-02-06T00:17:12.304Z] STF 00:17:12.255 - | [2025-02-06T00:17:12.304Z] STF 00:17:12.257 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jmod create --class-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/tmp/com.hello.jmod [2025-02-06T00:17:12.304Z] STF 00:17:12.257 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/results/10.JMOD.stderr [2025-02-06T00:17:12.304Z] STF 00:17:12.257 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/results/10.JMOD.stdout [2025-02-06T00:17:12.304Z] STF 00:17:12.270 - Monitoring processes: JMOD [2025-02-06T00:17:12.632Z] JMOD stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-06T00:17:13.777Z] STF 00:17:13.560 - Monitoring Report Summary: [2025-02-06T00:17:13.778Z] STF 00:17:13.561 - o Process JMOD ended with the expected exit code (0) [2025-02-06T00:17:13.778Z] STF 00:17:13.561 - [2025-02-06T00:17:13.778Z] STF 00:17:13.561 - +------ Step 11 - Check com.test.jlink jmod created [2025-02-06T00:17:13.778Z] STF 00:17:13.561 - | Validate file exists [2025-02-06T00:17:13.778Z] STF 00:17:13.562 - | File: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/tmp/com.test.jlink.jmod [2025-02-06T00:17:13.778Z] STF 00:17:13.562 - | [2025-02-06T00:17:13.778Z] STF 00:17:13.562 - [2025-02-06T00:17:13.778Z] STF 00:17:13.562 - +------ Step 12 - Check com.hello jmod created [2025-02-06T00:17:13.778Z] STF 00:17:13.562 - | Validate file exists [2025-02-06T00:17:13.778Z] STF 00:17:13.562 - | File: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/tmp/com.hello.jmod [2025-02-06T00:17:13.778Z] STF 00:17:13.562 - | [2025-02-06T00:17:13.778Z] STF 00:17:13.562 - SETUP stage completed [2025-02-06T00:17:13.778Z] STF 00:17:13.615 - [2025-02-06T00:17:13.778Z] STF 00:17:13.616 - ==================== E X E C U T E - ==================== [2025-02-06T00:17:13.778Z] STF 00:17:13.616 - Running execute: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/execute.pl [2025-02-06T00:17:14.102Z] STF 00:17:13.853 - [2025-02-06T00:17:14.102Z] STF 00:17:13.853 - Java version [2025-02-06T00:17:14.102Z] STF 00:17:13.853 - Running: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/java -version [2025-02-06T00:17:14.102Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-06T00:17:14.102Z] openjdk version "21.0.7-beta" 2025-04-15 [2025-02-06T00:17:14.102Z] OpenJDK Runtime Environment Temurin-21.0.7+1-202502052050 (build 21.0.7-beta+1-ea) [2025-02-06T00:17:14.102Z] OpenJDK 64-Bit Server VM Temurin-21.0.7+1-202502052050 (build 21.0.7-beta+1-ea, mixed mode, sharing) [2025-02-06T00:17:14.434Z] STF 00:17:14.099 - [2025-02-06T00:17:14.434Z] STF 00:17:14.099 - +------ Step 13 - Create runtime image [2025-02-06T00:17:14.434Z] STF 00:17:14.099 - | Run jlink to create runtime image [2025-02-06T00:17:14.434Z] STF 00:17:14.099 - | ImageName: CRI1 [2025-02-06T00:17:14.434Z] STF 00:17:14.099 - | [2025-02-06T00:17:14.434Z] STF 00:17:14.101 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/modules --add-modules com.test.jlink --output /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/tmp/13.CRI1 [2025-02-06T00:17:14.434Z] STF 00:17:14.101 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/results/13.JLNK.stderr [2025-02-06T00:17:14.434Z] STF 00:17:14.101 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/results/13.JLNK.stdout [2025-02-06T00:17:14.434Z] STF 00:17:14.139 - Monitoring processes: JLNK [2025-02-06T00:17:14.434Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-06T00:17:23.286Z] STF 00:17:22.749 - Monitoring Report Summary: [2025-02-06T00:17:23.286Z] STF 00:17:22.750 - o Process JLNK ended with the expected exit code (0) [2025-02-06T00:17:23.286Z] STF 00:17:22.751 - [2025-02-06T00:17:23.286Z] STF 00:17:22.751 - +------ Step 14 - Running listmods [2025-02-06T00:17:23.286Z] STF 00:17:22.751 - | Run foreground process [2025-02-06T00:17:23.286Z] STF 00:17:22.751 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/tmp/13.CRI1/bin/java [2025-02-06T00:17:23.286Z] STF 00:17:22.751 - | Mnemonic: LIST [2025-02-06T00:17:23.286Z] STF 00:17:22.751 - | Echo: ECHO_ON [2025-02-06T00:17:23.286Z] STF 00:17:22.751 - | Expectation: CLEAN_RUN within 1m [2025-02-06T00:17:23.286Z] STF 00:17:22.751 - | [2025-02-06T00:17:23.286Z] STF 00:17:22.752 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/tmp/13.CRI1/bin/java --list-modules -XX:-UseCompressedOops [2025-02-06T00:17:23.286Z] STF 00:17:22.753 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/results/14.LIST.stderr [2025-02-06T00:17:23.286Z] STF 00:17:22.753 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/results/14.LIST.stdout [2025-02-06T00:17:23.286Z] STF 00:17:22.759 - Monitoring processes: LIST [2025-02-06T00:17:23.286Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-06T00:17:23.613Z] LIST com.hello [2025-02-06T00:17:23.613Z] LIST com.test.jlink [2025-02-06T00:17:23.613Z] LIST java.base@21.0.7-beta [2025-02-06T00:17:23.613Z] STF 00:17:23.425 - Monitoring Report Summary: [2025-02-06T00:17:23.613Z] STF 00:17:23.425 - o Process LIST ended with the expected exit code (0) [2025-02-06T00:17:23.613Z] STF 00:17:23.427 - [2025-02-06T00:17:23.613Z] STF 00:17:23.427 - +------ Step 15 - Check output [2025-02-06T00:17:23.613Z] STF 00:17:23.427 - | Count file matches [2025-02-06T00:17:23.613Z] STF 00:17:23.427 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/results/14.LIST.stdout [2025-02-06T00:17:23.613Z] STF 00:17:23.428 - | ExpectedNumMatches: 1 [2025-02-06T00:17:23.613Z] STF 00:17:23.428 - | SearchStrings: ["com.hello"] [2025-02-06T00:17:23.613Z] STF 00:17:23.428 - | [2025-02-06T00:17:23.613Z] STF 00:17:23.428 - Found 1 instances of ["com.hello"] [2025-02-06T00:17:23.613Z] STF 00:17:23.428 - [2025-02-06T00:17:23.613Z] STF 00:17:23.428 - +------ Step 16 - Check output [2025-02-06T00:17:23.613Z] STF 00:17:23.428 - | Count file matches [2025-02-06T00:17:23.613Z] STF 00:17:23.429 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/results/14.LIST.stdout [2025-02-06T00:17:23.614Z] STF 00:17:23.429 - | ExpectedNumMatches: 1 [2025-02-06T00:17:23.614Z] STF 00:17:23.429 - | SearchStrings: ["com.test.jlink"] [2025-02-06T00:17:23.614Z] STF 00:17:23.429 - | [2025-02-06T00:17:23.614Z] STF 00:17:23.430 - Found 1 instances of ["com.test.jlink"] [2025-02-06T00:17:23.614Z] STF 00:17:23.430 - [2025-02-06T00:17:23.614Z] STF 00:17:23.430 - +------ Step 17 - Check output [2025-02-06T00:17:23.614Z] STF 00:17:23.430 - | Count file matches [2025-02-06T00:17:23.614Z] STF 00:17:23.430 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/results/14.LIST.stdout [2025-02-06T00:17:23.614Z] STF 00:17:23.430 - | ExpectedNumMatches: 1 [2025-02-06T00:17:23.614Z] STF 00:17:23.430 - | SearchStrings: ["java.base"] [2025-02-06T00:17:23.614Z] STF 00:17:23.431 - | [2025-02-06T00:17:23.614Z] STF 00:17:23.431 - Found 1 instances of ["java.base"] [2025-02-06T00:17:23.614Z] STF 00:17:23.431 - [2025-02-06T00:17:23.614Z] STF 00:17:23.431 - +------ Step 18 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-06T00:17:23.614Z] STF 00:17:23.431 - | Run foreground process [2025-02-06T00:17:23.614Z] STF 00:17:23.431 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/tmp/13.CRI1/bin/java [2025-02-06T00:17:23.614Z] STF 00:17:23.432 - | Mnemonic: T1 [2025-02-06T00:17:23.614Z] STF 00:17:23.432 - | Echo: ECHO_ON [2025-02-06T00:17:23.614Z] STF 00:17:23.432 - | Expectation: CLEAN_RUN within 1m [2025-02-06T00:17:23.614Z] STF 00:17:23.432 - | [2025-02-06T00:17:23.614Z] STF 00:17:23.434 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/tmp/13.CRI1/bin/java -Djava.library.path=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-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 [2025-02-06T00:17:23.614Z] STF 00:17:23.434 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/results/18.T1.stderr [2025-02-06T00:17:23.614Z] STF 00:17:23.434 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/results/18.T1.stdout [2025-02-06T00:17:23.614Z] STF 00:17:23.444 - Monitoring processes: T1 [2025-02-06T00:17:23.614Z] T1 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-06T00:17:24.311Z] T1 JUnit version 4.12 [2025-02-06T00:17:25.015Z] T1 . [2025-02-06T00:17:25.015Z] T1 Time: 0.048 [2025-02-06T00:17:25.015Z] T1 [2025-02-06T00:17:25.015Z] T1 OK (1 test) [2025-02-06T00:17:25.015Z] T1 [2025-02-06T00:17:25.015Z] STF 00:17:24.849 - Monitoring Report Summary: [2025-02-06T00:17:25.015Z] STF 00:17:24.849 - o Process T1 ended with the expected exit code (0) [2025-02-06T00:17:25.015Z] STF 00:17:24.851 - [2025-02-06T00:17:25.015Z] STF 00:17:24.851 - +------ Step 19 - Create runtime image [2025-02-06T00:17:25.015Z] STF 00:17:24.851 - | Run jlink to create runtime image [2025-02-06T00:17:25.015Z] STF 00:17:24.851 - | ImageName: CRI2 [2025-02-06T00:17:25.015Z] STF 00:17:24.851 - | [2025-02-06T00:17:25.015Z] STF 00:17:24.853 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/tmp --add-modules com.test.jlink --output /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/tmp/19.CRI2 [2025-02-06T00:17:25.015Z] STF 00:17:24.853 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/results/19.JLNK.stderr [2025-02-06T00:17:25.015Z] STF 00:17:24.853 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/results/19.JLNK.stdout [2025-02-06T00:17:25.015Z] STF 00:17:24.864 - Monitoring processes: JLNK [2025-02-06T00:17:25.015Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-06T00:17:35.805Z] STF 00:17:33.725 - Monitoring Report Summary: [2025-02-06T00:17:35.805Z] STF 00:17:33.726 - o Process JLNK ended with the expected exit code (0) [2025-02-06T00:17:35.805Z] STF 00:17:33.729 - [2025-02-06T00:17:35.805Z] STF 00:17:33.729 - +------ Step 20 - Running listmods [2025-02-06T00:17:35.805Z] STF 00:17:33.729 - | Run foreground process [2025-02-06T00:17:35.805Z] STF 00:17:33.730 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/tmp/19.CRI2/bin/java [2025-02-06T00:17:35.805Z] STF 00:17:33.731 - | Mnemonic: LIST [2025-02-06T00:17:35.805Z] STF 00:17:33.731 - | Echo: ECHO_ON [2025-02-06T00:17:35.805Z] STF 00:17:33.731 - | Expectation: CLEAN_RUN within 1m [2025-02-06T00:17:35.805Z] STF 00:17:33.732 - | [2025-02-06T00:17:35.805Z] STF 00:17:33.735 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/tmp/19.CRI2/bin/java --list-modules -XX:-UseCompressedOops [2025-02-06T00:17:35.805Z] STF 00:17:33.735 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/results/20.LIST.stderr [2025-02-06T00:17:35.805Z] STF 00:17:33.736 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/results/20.LIST.stdout [2025-02-06T00:17:35.805Z] STF 00:17:33.744 - Monitoring processes: LIST [2025-02-06T00:17:35.805Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-06T00:17:35.805Z] LIST com.hello [2025-02-06T00:17:35.805Z] LIST com.test.jlink [2025-02-06T00:17:35.805Z] LIST java.base@21.0.7-beta [2025-02-06T00:17:35.805Z] STF 00:17:34.407 - Monitoring Report Summary: [2025-02-06T00:17:35.805Z] STF 00:17:34.408 - o Process LIST ended with the expected exit code (0) [2025-02-06T00:17:35.805Z] STF 00:17:34.409 - [2025-02-06T00:17:35.805Z] STF 00:17:34.409 - +------ Step 21 - Check output [2025-02-06T00:17:35.805Z] STF 00:17:34.409 - | Count file matches [2025-02-06T00:17:35.805Z] STF 00:17:34.409 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/results/20.LIST.stdout [2025-02-06T00:17:35.805Z] STF 00:17:34.409 - | ExpectedNumMatches: 1 [2025-02-06T00:17:35.805Z] STF 00:17:34.409 - | SearchStrings: ["com.hello"] [2025-02-06T00:17:35.805Z] STF 00:17:34.409 - | [2025-02-06T00:17:35.805Z] STF 00:17:34.409 - Found 1 instances of ["com.hello"] [2025-02-06T00:17:35.805Z] STF 00:17:34.409 - [2025-02-06T00:17:35.805Z] STF 00:17:34.410 - +------ Step 22 - Check output [2025-02-06T00:17:35.806Z] STF 00:17:34.410 - | Count file matches [2025-02-06T00:17:35.806Z] STF 00:17:34.410 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/results/20.LIST.stdout [2025-02-06T00:17:35.806Z] STF 00:17:34.410 - | ExpectedNumMatches: 1 [2025-02-06T00:17:35.806Z] STF 00:17:34.410 - | SearchStrings: ["com.test.jlink"] [2025-02-06T00:17:35.806Z] STF 00:17:34.410 - | [2025-02-06T00:17:35.806Z] STF 00:17:34.410 - Found 1 instances of ["com.test.jlink"] [2025-02-06T00:17:35.806Z] STF 00:17:34.410 - [2025-02-06T00:17:35.806Z] STF 00:17:34.410 - +------ Step 23 - Check output [2025-02-06T00:17:35.806Z] STF 00:17:34.410 - | Count file matches [2025-02-06T00:17:35.806Z] STF 00:17:34.411 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/results/20.LIST.stdout [2025-02-06T00:17:35.806Z] STF 00:17:34.411 - | ExpectedNumMatches: 1 [2025-02-06T00:17:35.806Z] STF 00:17:34.411 - | SearchStrings: ["java.base"] [2025-02-06T00:17:35.806Z] STF 00:17:34.411 - | [2025-02-06T00:17:35.806Z] STF 00:17:34.411 - Found 1 instances of ["java.base"] [2025-02-06T00:17:35.806Z] STF 00:17:34.411 - [2025-02-06T00:17:35.806Z] STF 00:17:34.411 - +------ Step 24 - Running adoptopenjdk.test.modularity.jlink.JniTest [2025-02-06T00:17:35.806Z] STF 00:17:34.411 - | Run foreground process [2025-02-06T00:17:35.806Z] STF 00:17:34.411 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/tmp/19.CRI2/bin/java [2025-02-06T00:17:35.806Z] STF 00:17:34.411 - | Mnemonic: T2 [2025-02-06T00:17:35.806Z] STF 00:17:34.411 - | Echo: ECHO_ON [2025-02-06T00:17:35.806Z] STF 00:17:34.412 - | Expectation: CLEAN_RUN within 1m [2025-02-06T00:17:35.806Z] STF 00:17:34.412 - | [2025-02-06T00:17:35.806Z] STF 00:17:34.413 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/tmp/19.CRI2/bin/java -Djava.library.path=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-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 [2025-02-06T00:17:35.806Z] STF 00:17:34.413 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/results/24.T2.stderr [2025-02-06T00:17:35.806Z] STF 00:17:34.413 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/results/24.T2.stdout [2025-02-06T00:17:35.806Z] STF 00:17:34.418 - Monitoring processes: T2 [2025-02-06T00:17:35.806Z] T2 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-06T00:17:35.806Z] T2 JUnit version 4.12 [2025-02-06T00:17:36.140Z] T2 . [2025-02-06T00:17:36.140Z] T2 Time: 0.042 [2025-02-06T00:17:36.140Z] T2 [2025-02-06T00:17:36.140Z] T2 OK (1 test) [2025-02-06T00:17:36.140Z] T2 [2025-02-06T00:17:36.140Z] STF 00:17:35.829 - Monitoring Report Summary: [2025-02-06T00:17:36.140Z] STF 00:17:35.829 - o Process T2 ended with the expected exit code (0) [2025-02-06T00:17:36.140Z] STF 00:17:35.831 - [2025-02-06T00:17:36.140Z] STF 00:17:35.831 - +------ Step 25 - Create runtime image [2025-02-06T00:17:36.140Z] STF 00:17:35.831 - | Run jlink to create runtime image [2025-02-06T00:17:36.140Z] STF 00:17:35.831 - | ImageName: CRI3 [2025-02-06T00:17:36.140Z] STF 00:17:35.831 - | [2025-02-06T00:17:36.140Z] STF 00:17:35.833 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --add-modules com.test.jlink --output /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/tmp/25.CRI3 [2025-02-06T00:17:36.140Z] STF 00:17:35.834 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/results/25.JLNK.stderr [2025-02-06T00:17:36.140Z] STF 00:17:35.834 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/results/25.JLNK.stdout [2025-02-06T00:17:36.140Z] STF 00:17:35.846 - Monitoring processes: JLNK [2025-02-06T00:17:36.140Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-06T00:17:45.005Z] STF 00:17:44.473 - Monitoring Report Summary: [2025-02-06T00:17:45.005Z] STF 00:17:44.473 - o Process JLNK ended with the expected exit code (0) [2025-02-06T00:17:45.005Z] STF 00:17:44.475 - [2025-02-06T00:17:45.005Z] STF 00:17:44.475 - +------ Step 26 - Running listmods [2025-02-06T00:17:45.005Z] STF 00:17:44.475 - | Run foreground process [2025-02-06T00:17:45.005Z] STF 00:17:44.475 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/tmp/25.CRI3/bin/java [2025-02-06T00:17:45.005Z] STF 00:17:44.475 - | Mnemonic: LIST [2025-02-06T00:17:45.005Z] STF 00:17:44.475 - | Echo: ECHO_ON [2025-02-06T00:17:45.005Z] STF 00:17:44.475 - | Expectation: CLEAN_RUN within 1m [2025-02-06T00:17:45.005Z] STF 00:17:44.476 - | [2025-02-06T00:17:45.005Z] STF 00:17:44.477 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/tmp/25.CRI3/bin/java --list-modules -XX:-UseCompressedOops [2025-02-06T00:17:45.005Z] STF 00:17:44.477 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/results/26.LIST.stderr [2025-02-06T00:17:45.005Z] STF 00:17:44.477 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/results/26.LIST.stdout [2025-02-06T00:17:45.005Z] STF 00:17:44.491 - Monitoring processes: LIST [2025-02-06T00:17:45.005Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-06T00:17:45.330Z] LIST com.hello [2025-02-06T00:17:45.330Z] LIST com.test.jlink [2025-02-06T00:17:45.330Z] LIST java.base@21.0.7-beta [2025-02-06T00:17:45.330Z] STF 00:17:45.158 - Monitoring Report Summary: [2025-02-06T00:17:45.330Z] STF 00:17:45.158 - o Process LIST ended with the expected exit code (0) [2025-02-06T00:17:45.330Z] STF 00:17:45.159 - [2025-02-06T00:17:45.330Z] STF 00:17:45.159 - +------ Step 27 - Check output [2025-02-06T00:17:45.654Z] STF 00:17:45.160 - | Count file matches [2025-02-06T00:17:45.654Z] STF 00:17:45.160 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/results/26.LIST.stdout [2025-02-06T00:17:45.654Z] STF 00:17:45.160 - | ExpectedNumMatches: 1 [2025-02-06T00:17:45.654Z] STF 00:17:45.160 - | SearchStrings: ["com.hello"] [2025-02-06T00:17:45.654Z] STF 00:17:45.160 - | [2025-02-06T00:17:45.654Z] STF 00:17:45.161 - Found 1 instances of ["com.hello"] [2025-02-06T00:17:45.654Z] STF 00:17:45.161 - [2025-02-06T00:17:45.654Z] STF 00:17:45.161 - +------ Step 28 - Check output [2025-02-06T00:17:45.654Z] STF 00:17:45.161 - | Count file matches [2025-02-06T00:17:45.654Z] STF 00:17:45.161 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/results/26.LIST.stdout [2025-02-06T00:17:45.654Z] STF 00:17:45.161 - | ExpectedNumMatches: 1 [2025-02-06T00:17:45.654Z] STF 00:17:45.161 - | SearchStrings: ["com.test.jlink"] [2025-02-06T00:17:45.654Z] STF 00:17:45.161 - | [2025-02-06T00:17:45.654Z] STF 00:17:45.161 - Found 1 instances of ["com.test.jlink"] [2025-02-06T00:17:45.654Z] STF 00:17:45.161 - [2025-02-06T00:17:45.654Z] STF 00:17:45.161 - +------ Step 29 - Check output [2025-02-06T00:17:45.654Z] STF 00:17:45.162 - | Count file matches [2025-02-06T00:17:45.654Z] STF 00:17:45.162 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/results/26.LIST.stdout [2025-02-06T00:17:45.654Z] STF 00:17:45.162 - | ExpectedNumMatches: 1 [2025-02-06T00:17:45.654Z] STF 00:17:45.162 - | SearchStrings: ["java.base"] [2025-02-06T00:17:45.654Z] STF 00:17:45.162 - | [2025-02-06T00:17:45.654Z] STF 00:17:45.162 - Found 1 instances of ["java.base"] [2025-02-06T00:17:45.654Z] STF 00:17:45.162 - [2025-02-06T00:17:45.654Z] STF 00:17:45.162 - +------ Step 30 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-06T00:17:45.654Z] STF 00:17:45.162 - | Run foreground process [2025-02-06T00:17:45.654Z] STF 00:17:45.162 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/tmp/25.CRI3/bin/java [2025-02-06T00:17:45.654Z] STF 00:17:45.162 - | Mnemonic: T3 [2025-02-06T00:17:45.654Z] STF 00:17:45.162 - | Echo: ECHO_ON [2025-02-06T00:17:45.654Z] STF 00:17:45.163 - | Expectation: CLEAN_RUN within 1m [2025-02-06T00:17:45.654Z] STF 00:17:45.163 - | [2025-02-06T00:17:45.654Z] STF 00:17:45.164 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/tmp/25.CRI3/bin/java -Djava.library.path=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-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 [2025-02-06T00:17:45.654Z] STF 00:17:45.164 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/results/30.T3.stderr [2025-02-06T00:17:45.654Z] STF 00:17:45.164 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/results/30.T3.stdout [2025-02-06T00:17:45.654Z] STF 00:17:45.172 - Monitoring processes: T3 [2025-02-06T00:17:45.654Z] T3 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-06T00:17:45.977Z] T3 JUnit version 4.12 [2025-02-06T00:17:46.692Z] T3 . [2025-02-06T00:17:47.018Z] T3 Time: 0.044 [2025-02-06T00:17:47.018Z] T3 [2025-02-06T00:17:47.018Z] T3 OK (1 test) [2025-02-06T00:17:47.018Z] T3 [2025-02-06T00:17:47.018Z] STF 00:17:46.584 - Monitoring Report Summary: [2025-02-06T00:17:47.018Z] STF 00:17:46.584 - o Process T3 ended with the expected exit code (0) [2025-02-06T00:17:47.018Z] STF 00:17:46.584 - EXECUTE stage completed [2025-02-06T00:17:47.018Z] STF 00:17:46.796 - [2025-02-06T00:17:47.018Z] STF 00:17:46.796 - ==================== T E A R D O W N ==================== [2025-02-06T00:17:47.018Z] STF 00:17:46.796 - Running teardown: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17387997699385/Jlink_ReqMod_1/20250206-001701-JlinkTest/tearDown.pl [2025-02-06T00:17:47.340Z] STF 00:17:47.037 - TEARDOWN stage completed [2025-02-06T00:17:47.340Z] STF 00:17:47.048 - [2025-02-06T00:17:47.340Z] STF 00:17:47.048 - ===================== R E S U L T S ===================== [2025-02-06T00:17:47.340Z] STF 00:17:47.048 - Stage results: [2025-02-06T00:17:47.340Z] STF 00:17:47.048 - setUp: pass [2025-02-06T00:17:47.340Z] STF 00:17:47.048 - execute: pass [2025-02-06T00:17:47.340Z] STF 00:17:47.048 - teardown: pass [2025-02-06T00:17:47.340Z] STF 00:17:47.048 - [2025-02-06T00:17:47.340Z] STF 00:17:47.048 - Overall result: PASSED [2025-02-06T00:17:47.340Z] ----------------------------------- [2025-02-06T00:17:47.340Z] Jlink_ReqMod_1_PASSED [2025-02-06T00:17:47.340Z] ----------------------------------- [2025-02-06T00:17:47.340Z] [2025-02-06T00:17:47.340Z] TEST TEARDOWN: [2025-02-06T00:17:47.340Z] Nothing to be done for teardown. [2025-02-06T00:17:47.670Z] Jlink_ReqMod_1 Finish Time: Thu Feb 6 00:17:47 2025 Epoch Time (ms): 1738801067343