Jlink_ReqMod_1

[2025-03-05T22:34:07.657Z] Running test Jlink_ReqMod_1 ... [2025-03-05T22:34:07.657Z] =============================================== [2025-03-05T22:34:07.657Z] Jlink_ReqMod_1 Start Time: Wed Mar 5 22:34:07 2025 Epoch Time (ms): 1741214047425 [2025-03-05T22:34:07.657Z] variation: Mode650 [2025-03-05T22:34:07.657Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-03-05T22:34:07.657Z] { \ [2025-03-05T22:34:07.657Z] echo ""; echo "TEST SETUP:"; \ [2025-03-05T22:34:07.658Z] echo "Nothing to be done for setup."; \ [2025-03-05T22:34:07.658Z] mkdir -p "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/../TKG/output_17412129765542/Jlink_ReqMod_1"; \ [2025-03-05T22:34:07.658Z] cd "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/../TKG/output_17412129765542/Jlink_ReqMod_1"; \ [2025-03-05T22:34:07.658Z] echo ""; echo "TESTING:"; \ [2025-03-05T22:34:07.658Z] perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/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/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/../../testDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/../TKG/output_17412129765542/Jlink_ReqMod_1" -test=JlinkTest -test-args="variant=ReqdMod"; \ [2025-03-05T22:34:07.658Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "Jlink_ReqMod_1""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/../TKG/output_17412129765542/Jlink_ReqMod_1"; else echo "-----------------------------------"; echo "Jlink_ReqMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-03-05T22:34:07.658Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-03-05T22:34:07.658Z] echo "Nothing to be done for teardown."; \ [2025-03-05T22:34:07.658Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/../TKG/output_17412129765542/TestTargetResult"; [2025-03-05T22:34:07.658Z] [2025-03-05T22:34:07.658Z] TEST SETUP: [2025-03-05T22:34:07.658Z] Nothing to be done for setup. [2025-03-05T22:34:07.658Z] [2025-03-05T22:34:07.658Z] TESTING: [2025-03-05T22:34:07.658Z] STF 22:34:07.527 - ========================= S T F ========================= [2025-03-05T22:34:07.658Z] 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/aqa-tests/TKG/../TKG/output_17412129765542/Jlink_ReqMod_1 [2025-03-05T22:34:07.658Z] There is 56353 Mb free [2025-03-05T22:34:07.658Z] STF 22:34:07.540 - ================== G E N E R A T I O N ================== [2025-03-05T22:34:07.658Z] STF 22:34:07.541 - Checking JVM: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/jdkbinary/j2sdk-image [2025-03-05T22:34:07.658Z] STF 22:34:07.541 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/../../testDependency/system_lib//asm/asm.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/../../testDependency/system_lib//asm/asm-commons.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/../../testDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/../../testDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/../TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/../TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest" [2025-03-05T22:34:11.075Z] GEN 22:34:10.458 - Found test. Project: 'openjdk.test.modularity' class: 'JlinkTest.class' Dir: '/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-03-05T22:34:11.075Z] GEN 22:34:10.485 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.JlinkTest' [2025-03-05T22:34:11.075Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-03-05T22:34:11.075Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-03-05T22:34:11.075Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-03-05T22:34:11.075Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-03-05T22:34:11.075Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-03-05T22:34:11.075Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-03-05T22:34:11.075Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-03-05T22:34:11.075Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-03-05T22:34:11.075Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-03-05T22:34:11.075Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-03-05T22:34:11.075Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-03-05T22:34:11.075Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-03-05T22:34:11.075Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-03-05T22:34:11.075Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-03-05T22:34:11.075Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-03-05T22:34:11.075Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-03-05T22:34:11.075Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/jvmtest/system/STF/stf.core/bin [2025-03-05T22:34:11.075Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-03-05T22:34:11.075Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-03-05T22:34:11.075Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar [2025-03-05T22:34:11.852Z] GEN 22:34:11.104 - Using Mode NoOptions. Values = '' [2025-03-05T22:34:11.852Z] GEN 22:34:11.629 - [2025-03-05T22:34:11.852Z] GEN 22:34:11.629 - Test command summary: [2025-03-05T22:34:11.852Z] GEN 22:34:11.633 - Step Stage Command Description [2025-03-05T22:34:11.852Z] GEN 22:34:11.634 - -----+--------+-----------------+------------ [2025-03-05T22:34:11.852Z] GEN 22:34:11.634 - 1 setUp cpDir Copying com.test.jlink [2025-03-05T22:34:11.852Z] GEN 22:34:11.634 - 2 setUp rm Removing natives folder from com.test.jLinkDirCopy [2025-03-05T22:34:11.852Z] GEN 22:34:11.638 - 3 setUp jar Create com.test.jlink jar [2025-03-05T22:34:11.852Z] GEN 22:34:11.638 - 4 setUp jar Create com.hello jar [2025-03-05T22:34:11.852Z] GEN 22:34:11.638 - 5 setUp fileCheck Check com.test.jlink modular jar created [2025-03-05T22:34:11.852Z] GEN 22:34:11.638 - 6 setUp fileCheck Check com.hello modular jar created [2025-03-05T22:34:11.852Z] GEN 22:34:11.638 - 7 setUp rm Removing conf folder from com.test.jLinkDirCopy [2025-03-05T22:34:11.852Z] GEN 22:34:11.638 - 8 setUp cpDir Copying .so from com.test.jlink/native [2025-03-05T22:34:11.852Z] GEN 22:34:11.638 - 9 setUp jmod Creating jmod of com.test.jlink module [2025-03-05T22:34:11.852Z] GEN 22:34:11.638 - 10 setUp jmod Creating jmod for com.hello module [2025-03-05T22:34:11.852Z] GEN 22:34:11.638 - 11 setUp fileCheck Check com.test.jlink jmod created [2025-03-05T22:34:11.852Z] GEN 22:34:11.639 - 12 setUp fileCheck Check com.hello jmod created [2025-03-05T22:34:11.852Z] GEN 22:34:11.639 - 13 execute jlink Create runtime image [2025-03-05T22:34:11.852Z] GEN 22:34:11.639 - 14 execute Run java Running listmods [2025-03-05T22:34:11.852Z] GEN 22:34:11.639 - 15 execute count Check output [2025-03-05T22:34:11.852Z] GEN 22:34:11.639 - 16 execute count Check output [2025-03-05T22:34:11.852Z] GEN 22:34:11.639 - 17 execute count Check output [2025-03-05T22:34:11.852Z] GEN 22:34:11.639 - 18 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-03-05T22:34:11.852Z] GEN 22:34:11.639 - 19 execute jlink Create runtime image [2025-03-05T22:34:11.852Z] GEN 22:34:11.639 - 20 execute Run java Running listmods [2025-03-05T22:34:11.852Z] GEN 22:34:11.639 - 21 execute count Check output [2025-03-05T22:34:11.852Z] GEN 22:34:11.639 - 22 execute count Check output [2025-03-05T22:34:11.852Z] GEN 22:34:11.639 - 23 execute count Check output [2025-03-05T22:34:11.852Z] GEN 22:34:11.639 - 24 execute Run java Running adoptopenjdk.test.modularity.jlink.JniTest [2025-03-05T22:34:11.852Z] GEN 22:34:11.640 - 25 execute jlink Create runtime image [2025-03-05T22:34:11.852Z] GEN 22:34:11.640 - 26 execute Run java Running listmods [2025-03-05T22:34:11.852Z] GEN 22:34:11.640 - 27 execute count Check output [2025-03-05T22:34:11.852Z] GEN 22:34:11.641 - 28 execute count Check output [2025-03-05T22:34:11.852Z] GEN 22:34:11.641 - 29 execute count Check output [2025-03-05T22:34:11.852Z] GEN 22:34:11.641 - 30 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-03-05T22:34:11.852Z] STF 22:34:11.745 - [2025-03-05T22:34:11.852Z] STF 22:34:11.748 - Script generation completed [2025-03-05T22:34:11.852Z] STF 22:34:11.748 - [2025-03-05T22:34:11.852Z] STF 22:34:11.748 - [2025-03-05T22:34:11.852Z] STF 22:34:11.748 - ======================= S E T U P ======================= [2025-03-05T22:34:11.852Z] STF 22:34:11.748 - Running setup: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/../TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/setUp.pl [2025-03-05T22:34:12.629Z] STF 22:34:11.840 - [2025-03-05T22:34:12.629Z] STF 22:34:11.840 - +------ Step 1 - Copying com.test.jlink [2025-03-05T22:34:12.629Z] STF 22:34:11.840 - | Copy a directory to a new directory [2025-03-05T22:34:12.629Z] STF 22:34:11.840 - | Source dir: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink [2025-03-05T22:34:12.629Z] STF 22:34:11.840 - | Dest dir: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/com.test.jLinkDirCopy [2025-03-05T22:34:12.629Z] STF 22:34:11.840 - | [2025-03-05T22:34:12.629Z] STF 22:34:11.845 - [2025-03-05T22:34:12.629Z] STF 22:34:11.845 - +------ Step 2 - Removing natives folder from com.test.jLinkDirCopy [2025-03-05T22:34:12.629Z] STF 22:34:11.845 - | Recursively delete a directory [2025-03-05T22:34:12.629Z] STF 22:34:11.845 - | Directory: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/com.test.jLinkDirCopy/native [2025-03-05T22:34:12.629Z] STF 22:34:11.845 - | [2025-03-05T22:34:12.629Z] STF 22:34:11.848 - [2025-03-05T22:34:12.629Z] STF 22:34:11.848 - +------ Step 3 - Create com.test.jlink jar [2025-03-05T22:34:12.629Z] STF 22:34:11.848 - | Create modular jar [2025-03-05T22:34:12.629Z] STF 22:34:11.848 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test.jlink [2025-03-05T22:34:12.629Z] STF 22:34:11.848 - | ModuleVersion: null [2025-03-05T22:34:12.629Z] STF 22:34:11.848 - | MainClass: null [2025-03-05T22:34:12.629Z] STF 22:34:11.848 - | HashModules: null [2025-03-05T22:34:12.629Z] STF 22:34:11.848 - | [2025-03-05T22:34:12.629Z] STF 22:34:11.848 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/modules/3.com.test.jlink.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink . [2025-03-05T22:34:12.629Z] STF 22:34:11.848 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/results/3.CMJ.stderr [2025-03-05T22:34:12.629Z] STF 22:34:11.848 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/results/3.CMJ.stdout [2025-03-05T22:34:12.629Z] STF 22:34:11.859 - Monitoring processes: CMJ [2025-03-05T22:34:12.629Z] STF 22:34:12.412 - Monitoring Report Summary: [2025-03-05T22:34:12.629Z] STF 22:34:12.412 - o Process CMJ ended with the expected exit code (0) [2025-03-05T22:34:12.629Z] STF 22:34:12.412 - Created modular jar: 3.com.test.jlink.jar [2025-03-05T22:34:12.629Z] STF 22:34:12.412 - [2025-03-05T22:34:12.629Z] STF 22:34:12.412 - +------ Step 4 - Create com.hello jar [2025-03-05T22:34:12.629Z] STF 22:34:12.412 - | Create modular jar [2025-03-05T22:34:12.629Z] STF 22:34:12.412 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-03-05T22:34:12.629Z] STF 22:34:12.412 - | ModuleVersion: null [2025-03-05T22:34:12.629Z] STF 22:34:12.412 - | MainClass: null [2025-03-05T22:34:12.629Z] STF 22:34:12.412 - | HashModules: null [2025-03-05T22:34:12.629Z] STF 22:34:12.412 - | [2025-03-05T22:34:12.629Z] STF 22:34:12.412 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/modules/4.com.hello.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-03-05T22:34:12.629Z] STF 22:34:12.412 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/results/4.CMJ.stderr [2025-03-05T22:34:12.629Z] STF 22:34:12.412 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/results/4.CMJ.stdout [2025-03-05T22:34:12.629Z] STF 22:34:12.416 - Monitoring processes: CMJ [2025-03-05T22:34:13.397Z] STF 22:34:12.977 - Monitoring Report Summary: [2025-03-05T22:34:13.397Z] STF 22:34:12.977 - o Process CMJ ended with the expected exit code (0) [2025-03-05T22:34:13.397Z] STF 22:34:12.977 - Created modular jar: 4.com.hello.jar [2025-03-05T22:34:13.397Z] STF 22:34:12.977 - [2025-03-05T22:34:13.397Z] STF 22:34:12.977 - +------ Step 5 - Check com.test.jlink modular jar created [2025-03-05T22:34:13.397Z] STF 22:34:12.977 - | Validate file exists [2025-03-05T22:34:13.397Z] STF 22:34:12.977 - | File: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/modules/3.com.test.jlink.jar [2025-03-05T22:34:13.397Z] STF 22:34:12.977 - | [2025-03-05T22:34:13.397Z] STF 22:34:12.977 - [2025-03-05T22:34:13.397Z] STF 22:34:12.977 - +------ Step 6 - Check com.hello modular jar created [2025-03-05T22:34:13.397Z] STF 22:34:12.977 - | Validate file exists [2025-03-05T22:34:13.397Z] STF 22:34:12.977 - | File: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/modules/4.com.hello.jar [2025-03-05T22:34:13.397Z] STF 22:34:12.977 - | [2025-03-05T22:34:13.397Z] STF 22:34:12.977 - [2025-03-05T22:34:13.397Z] STF 22:34:12.977 - +------ Step 7 - Removing conf folder from com.test.jLinkDirCopy [2025-03-05T22:34:13.397Z] STF 22:34:12.977 - | Recursively delete a directory [2025-03-05T22:34:13.397Z] STF 22:34:12.977 - | Directory: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/com.test.jLinkDirCopy/conf [2025-03-05T22:34:13.397Z] STF 22:34:12.977 - | [2025-03-05T22:34:13.397Z] STF 22:34:12.978 - [2025-03-05T22:34:13.397Z] STF 22:34:12.978 - +------ Step 8 - Copying .so from com.test.jlink/native [2025-03-05T22:34:13.397Z] STF 22:34:12.978 - | Copy a directory to a new directory [2025-03-05T22:34:13.397Z] STF 22:34:12.978 - | Source dir: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink/native/bin/linux [2025-03-05T22:34:13.397Z] STF 22:34:12.978 - | Dest dir: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/native [2025-03-05T22:34:13.397Z] STF 22:34:12.978 - | [2025-03-05T22:34:13.397Z] STF 22:34:12.979 - [2025-03-05T22:34:13.397Z] STF 22:34:12.979 - +------ Step 9 - Creating jmod of com.test.jlink module [2025-03-05T22:34:13.398Z] STF 22:34:12.979 - | Run jmod utility [2025-03-05T22:34:13.398Z] STF 22:34:12.979 - | jmod: com.test.jlink.jmod [2025-03-05T22:34:13.398Z] STF 22:34:12.979 - | [2025-03-05T22:34:13.398Z] STF 22:34:12.979 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/jdkbinary/j2sdk-image/bin/jmod create --class-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/com.test.jLinkDirCopy --config /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/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/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/native /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/tmp/com.test.jlink.jmod [2025-03-05T22:34:13.398Z] STF 22:34:12.979 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/results/9.JMOD.stderr [2025-03-05T22:34:13.398Z] STF 22:34:12.979 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/results/9.JMOD.stdout [2025-03-05T22:34:13.398Z] STF 22:34:12.983 - Monitoring processes: JMOD [2025-03-05T22:34:14.166Z] STF 22:34:13.983 - Monitoring Report Summary: [2025-03-05T22:34:14.166Z] STF 22:34:13.983 - o Process JMOD ended with the expected exit code (0) [2025-03-05T22:34:14.166Z] STF 22:34:13.983 - [2025-03-05T22:34:14.166Z] STF 22:34:13.983 - +------ Step 10 - Creating jmod for com.hello module [2025-03-05T22:34:14.166Z] STF 22:34:13.983 - | Run jmod utility [2025-03-05T22:34:14.166Z] STF 22:34:13.983 - | jmod: com.hello.jmod [2025-03-05T22:34:14.166Z] STF 22:34:13.983 - | [2025-03-05T22:34:14.166Z] STF 22:34:13.983 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/jdkbinary/j2sdk-image/bin/jmod create --class-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/tmp/com.hello.jmod [2025-03-05T22:34:14.166Z] STF 22:34:13.983 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/results/10.JMOD.stderr [2025-03-05T22:34:14.166Z] STF 22:34:13.983 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/results/10.JMOD.stdout [2025-03-05T22:34:14.166Z] STF 22:34:13.985 - Monitoring processes: JMOD [2025-03-05T22:34:14.933Z] STF 22:34:14.824 - Monitoring Report Summary: [2025-03-05T22:34:14.933Z] STF 22:34:14.824 - o Process JMOD ended with the expected exit code (0) [2025-03-05T22:34:14.933Z] STF 22:34:14.825 - [2025-03-05T22:34:14.933Z] STF 22:34:14.825 - +------ Step 11 - Check com.test.jlink jmod created [2025-03-05T22:34:14.933Z] STF 22:34:14.825 - | Validate file exists [2025-03-05T22:34:14.933Z] STF 22:34:14.825 - | File: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/tmp/com.test.jlink.jmod [2025-03-05T22:34:14.933Z] STF 22:34:14.825 - | [2025-03-05T22:34:14.933Z] STF 22:34:14.825 - [2025-03-05T22:34:14.933Z] STF 22:34:14.825 - +------ Step 12 - Check com.hello jmod created [2025-03-05T22:34:14.933Z] STF 22:34:14.825 - | Validate file exists [2025-03-05T22:34:14.933Z] STF 22:34:14.825 - | File: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/tmp/com.hello.jmod [2025-03-05T22:34:14.933Z] STF 22:34:14.825 - | [2025-03-05T22:34:14.933Z] STF 22:34:14.825 - SETUP stage completed [2025-03-05T22:34:14.933Z] STF 22:34:14.843 - [2025-03-05T22:34:14.933Z] STF 22:34:14.843 - ==================== E X E C U T E - ==================== [2025-03-05T22:34:14.933Z] STF 22:34:14.843 - Running execute: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/../TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/execute.pl [2025-03-05T22:34:15.700Z] STF 22:34:14.966 - [2025-03-05T22:34:15.700Z] STF 22:34:14.966 - Java version [2025-03-05T22:34:15.700Z] STF 22:34:14.966 - Running: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/jdkbinary/j2sdk-image/bin/java -version [2025-03-05T22:34:15.700Z] openjdk version "11.0.27-beta" 2025-04-15 [2025-03-05T22:34:15.700Z] OpenJDK Runtime Environment Temurin-11.0.27+4-202503052107 (build 11.0.27-beta+4-ea) [2025-03-05T22:34:15.700Z] OpenJDK 64-Bit Server VM Temurin-11.0.27+4-202503052107 (build 11.0.27-beta+4-ea, mixed mode) [2025-03-05T22:34:15.700Z] STF 22:34:15.215 - [2025-03-05T22:34:15.700Z] STF 22:34:15.215 - +------ Step 13 - Create runtime image [2025-03-05T22:34:15.700Z] STF 22:34:15.215 - | Run jlink to create runtime image [2025-03-05T22:34:15.700Z] STF 22:34:15.215 - | ImageName: CRI1 [2025-03-05T22:34:15.700Z] STF 22:34:15.215 - | [2025-03-05T22:34:15.700Z] STF 22:34:15.216 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/modules --add-modules com.test.jlink --output /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/tmp/13.CRI1 [2025-03-05T22:34:15.700Z] STF 22:34:15.216 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/results/13.JLNK.stderr [2025-03-05T22:34:15.700Z] STF 22:34:15.216 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/results/13.JLNK.stdout [2025-03-05T22:34:15.700Z] STF 22:34:15.252 - Monitoring processes: JLNK [2025-03-05T22:34:23.131Z] STF 22:34:22.180 - Monitoring Report Summary: [2025-03-05T22:34:23.131Z] STF 22:34:22.180 - o Process JLNK ended with the expected exit code (0) [2025-03-05T22:34:23.131Z] STF 22:34:22.180 - [2025-03-05T22:34:23.131Z] STF 22:34:22.180 - +------ Step 14 - Running listmods [2025-03-05T22:34:23.131Z] STF 22:34:22.180 - | Run foreground process [2025-03-05T22:34:23.131Z] STF 22:34:22.180 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/tmp/13.CRI1/bin/java [2025-03-05T22:34:23.131Z] STF 22:34:22.180 - | Mnemonic: LIST [2025-03-05T22:34:23.131Z] STF 22:34:22.180 - | Echo: ECHO_ON [2025-03-05T22:34:23.131Z] STF 22:34:22.180 - | Expectation: CLEAN_RUN within 1m [2025-03-05T22:34:23.131Z] STF 22:34:22.180 - | [2025-03-05T22:34:23.131Z] STF 22:34:22.181 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/tmp/13.CRI1/bin/java --list-modules -XX:-UseCompressedOops [2025-03-05T22:34:23.131Z] STF 22:34:22.181 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/results/14.LIST.stderr [2025-03-05T22:34:23.131Z] STF 22:34:22.181 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/results/14.LIST.stdout [2025-03-05T22:34:23.131Z] STF 22:34:22.183 - Monitoring processes: LIST [2025-03-05T22:34:23.131Z] LIST com.hello [2025-03-05T22:34:23.131Z] LIST com.test.jlink [2025-03-05T22:34:23.131Z] LIST java.base@11.0.27-beta [2025-03-05T22:34:23.131Z] STF 22:34:22.502 - Monitoring Report Summary: [2025-03-05T22:34:23.131Z] STF 22:34:22.502 - o Process LIST ended with the expected exit code (0) [2025-03-05T22:34:23.131Z] STF 22:34:22.502 - [2025-03-05T22:34:23.131Z] STF 22:34:22.502 - +------ Step 15 - Check output [2025-03-05T22:34:23.131Z] STF 22:34:22.502 - | Count file matches [2025-03-05T22:34:23.131Z] STF 22:34:22.502 - | TargetFile: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/results/14.LIST.stdout [2025-03-05T22:34:23.131Z] STF 22:34:22.502 - | ExpectedNumMatches: 1 [2025-03-05T22:34:23.131Z] STF 22:34:22.502 - | SearchStrings: ["com.hello"] [2025-03-05T22:34:23.131Z] STF 22:34:22.502 - | [2025-03-05T22:34:23.131Z] STF 22:34:22.502 - Found 1 instances of ["com.hello"] [2025-03-05T22:34:23.131Z] STF 22:34:22.502 - [2025-03-05T22:34:23.131Z] STF 22:34:22.502 - +------ Step 16 - Check output [2025-03-05T22:34:23.131Z] STF 22:34:22.502 - | Count file matches [2025-03-05T22:34:23.131Z] STF 22:34:22.502 - | TargetFile: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/results/14.LIST.stdout [2025-03-05T22:34:23.131Z] STF 22:34:22.502 - | ExpectedNumMatches: 1 [2025-03-05T22:34:23.131Z] STF 22:34:22.502 - | SearchStrings: ["com.test.jlink"] [2025-03-05T22:34:23.131Z] STF 22:34:22.502 - | [2025-03-05T22:34:23.131Z] STF 22:34:22.502 - Found 1 instances of ["com.test.jlink"] [2025-03-05T22:34:23.131Z] STF 22:34:22.502 - [2025-03-05T22:34:23.131Z] STF 22:34:22.502 - +------ Step 17 - Check output [2025-03-05T22:34:23.131Z] STF 22:34:22.502 - | Count file matches [2025-03-05T22:34:23.131Z] STF 22:34:22.502 - | TargetFile: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/results/14.LIST.stdout [2025-03-05T22:34:23.131Z] STF 22:34:22.502 - | ExpectedNumMatches: 1 [2025-03-05T22:34:23.131Z] STF 22:34:22.502 - | SearchStrings: ["java.base"] [2025-03-05T22:34:23.131Z] STF 22:34:22.502 - | [2025-03-05T22:34:23.131Z] STF 22:34:22.503 - Found 1 instances of ["java.base"] [2025-03-05T22:34:23.131Z] STF 22:34:22.503 - [2025-03-05T22:34:23.131Z] STF 22:34:22.503 - +------ Step 18 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-03-05T22:34:23.131Z] STF 22:34:22.503 - | Run foreground process [2025-03-05T22:34:23.131Z] STF 22:34:22.503 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/tmp/13.CRI1/bin/java [2025-03-05T22:34:23.131Z] STF 22:34:22.503 - | Mnemonic: T1 [2025-03-05T22:34:23.131Z] STF 22:34:22.503 - | Echo: ECHO_ON [2025-03-05T22:34:23.131Z] STF 22:34:22.503 - | Expectation: CLEAN_RUN within 1m [2025-03-05T22:34:23.131Z] STF 22:34:22.503 - | [2025-03-05T22:34:23.131Z] STF 22:34:22.503 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/tmp/13.CRI1/bin/java -Djava.library.path=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-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-03-05T22:34:23.131Z] STF 22:34:22.503 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/results/18.T1.stderr [2025-03-05T22:34:23.131Z] STF 22:34:22.503 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/results/18.T1.stdout [2025-03-05T22:34:23.131Z] STF 22:34:22.515 - Monitoring processes: T1 [2025-03-05T22:34:23.131Z] T1 JUnit version 4.12 [2025-03-05T22:34:23.905Z] T1 . [2025-03-05T22:34:23.905Z] T1 Time: 0.027 [2025-03-05T22:34:23.905Z] T1 [2025-03-05T22:34:23.905Z] T1 OK (1 test) [2025-03-05T22:34:23.905Z] T1 [2025-03-05T22:34:23.905Z] STF 22:34:23.121 - Monitoring Report Summary: [2025-03-05T22:34:23.905Z] STF 22:34:23.121 - o Process T1 ended with the expected exit code (0) [2025-03-05T22:34:23.905Z] STF 22:34:23.121 - [2025-03-05T22:34:23.905Z] STF 22:34:23.121 - +------ Step 19 - Create runtime image [2025-03-05T22:34:23.905Z] STF 22:34:23.121 - | Run jlink to create runtime image [2025-03-05T22:34:23.905Z] STF 22:34:23.121 - | ImageName: CRI2 [2025-03-05T22:34:23.905Z] STF 22:34:23.121 - | [2025-03-05T22:34:23.905Z] STF 22:34:23.122 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/tmp --add-modules com.test.jlink --output /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/tmp/19.CRI2 [2025-03-05T22:34:23.905Z] STF 22:34:23.122 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/results/19.JLNK.stderr [2025-03-05T22:34:23.905Z] STF 22:34:23.122 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/results/19.JLNK.stdout [2025-03-05T22:34:23.905Z] STF 22:34:23.123 - Monitoring processes: JLNK [2025-03-05T22:34:29.524Z] STF 22:34:29.005 - Monitoring Report Summary: [2025-03-05T22:34:29.524Z] STF 22:34:29.005 - o Process JLNK ended with the expected exit code (0) [2025-03-05T22:34:29.524Z] STF 22:34:29.006 - [2025-03-05T22:34:29.524Z] STF 22:34:29.006 - +------ Step 20 - Running listmods [2025-03-05T22:34:29.524Z] STF 22:34:29.006 - | Run foreground process [2025-03-05T22:34:29.524Z] STF 22:34:29.006 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/tmp/19.CRI2/bin/java [2025-03-05T22:34:29.524Z] STF 22:34:29.006 - | Mnemonic: LIST [2025-03-05T22:34:29.524Z] STF 22:34:29.006 - | Echo: ECHO_ON [2025-03-05T22:34:29.524Z] STF 22:34:29.006 - | Expectation: CLEAN_RUN within 1m [2025-03-05T22:34:29.524Z] STF 22:34:29.006 - | [2025-03-05T22:34:29.524Z] STF 22:34:29.007 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/tmp/19.CRI2/bin/java --list-modules -XX:-UseCompressedOops [2025-03-05T22:34:29.524Z] STF 22:34:29.007 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/results/20.LIST.stderr [2025-03-05T22:34:29.524Z] STF 22:34:29.007 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/results/20.LIST.stdout [2025-03-05T22:34:29.524Z] STF 22:34:29.011 - Monitoring processes: LIST [2025-03-05T22:34:29.524Z] LIST com.hello [2025-03-05T22:34:29.524Z] LIST com.test.jlink [2025-03-05T22:34:29.524Z] LIST java.base@11.0.27-beta [2025-03-05T22:34:29.524Z] STF 22:34:29.338 - Monitoring Report Summary: [2025-03-05T22:34:29.524Z] STF 22:34:29.338 - o Process LIST ended with the expected exit code (0) [2025-03-05T22:34:29.524Z] STF 22:34:29.339 - [2025-03-05T22:34:29.524Z] STF 22:34:29.339 - +------ Step 21 - Check output [2025-03-05T22:34:29.524Z] STF 22:34:29.339 - | Count file matches [2025-03-05T22:34:29.524Z] STF 22:34:29.339 - | TargetFile: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/results/20.LIST.stdout [2025-03-05T22:34:29.524Z] STF 22:34:29.339 - | ExpectedNumMatches: 1 [2025-03-05T22:34:29.524Z] STF 22:34:29.339 - | SearchStrings: ["com.hello"] [2025-03-05T22:34:29.524Z] STF 22:34:29.339 - | [2025-03-05T22:34:29.524Z] STF 22:34:29.339 - Found 1 instances of ["com.hello"] [2025-03-05T22:34:29.524Z] STF 22:34:29.339 - [2025-03-05T22:34:29.524Z] STF 22:34:29.339 - +------ Step 22 - Check output [2025-03-05T22:34:29.524Z] STF 22:34:29.339 - | Count file matches [2025-03-05T22:34:29.524Z] STF 22:34:29.339 - | TargetFile: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/results/20.LIST.stdout [2025-03-05T22:34:29.524Z] STF 22:34:29.339 - | ExpectedNumMatches: 1 [2025-03-05T22:34:29.524Z] STF 22:34:29.339 - | SearchStrings: ["com.test.jlink"] [2025-03-05T22:34:29.524Z] STF 22:34:29.339 - | [2025-03-05T22:34:29.524Z] STF 22:34:29.339 - Found 1 instances of ["com.test.jlink"] [2025-03-05T22:34:29.524Z] STF 22:34:29.339 - [2025-03-05T22:34:29.524Z] STF 22:34:29.339 - +------ Step 23 - Check output [2025-03-05T22:34:29.524Z] STF 22:34:29.339 - | Count file matches [2025-03-05T22:34:29.524Z] STF 22:34:29.339 - | TargetFile: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/results/20.LIST.stdout [2025-03-05T22:34:29.524Z] STF 22:34:29.339 - | ExpectedNumMatches: 1 [2025-03-05T22:34:29.524Z] STF 22:34:29.339 - | SearchStrings: ["java.base"] [2025-03-05T22:34:29.524Z] STF 22:34:29.339 - | [2025-03-05T22:34:29.524Z] STF 22:34:29.339 - Found 1 instances of ["java.base"] [2025-03-05T22:34:29.524Z] STF 22:34:29.339 - [2025-03-05T22:34:29.524Z] STF 22:34:29.339 - +------ Step 24 - Running adoptopenjdk.test.modularity.jlink.JniTest [2025-03-05T22:34:29.524Z] STF 22:34:29.339 - | Run foreground process [2025-03-05T22:34:29.524Z] STF 22:34:29.339 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/tmp/19.CRI2/bin/java [2025-03-05T22:34:29.524Z] STF 22:34:29.339 - | Mnemonic: T2 [2025-03-05T22:34:29.524Z] STF 22:34:29.339 - | Echo: ECHO_ON [2025-03-05T22:34:29.524Z] STF 22:34:29.339 - | Expectation: CLEAN_RUN within 1m [2025-03-05T22:34:29.524Z] STF 22:34:29.339 - | [2025-03-05T22:34:29.524Z] STF 22:34:29.340 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/tmp/19.CRI2/bin/java -Djava.library.path=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-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-03-05T22:34:29.524Z] STF 22:34:29.340 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/results/24.T2.stderr [2025-03-05T22:34:29.524Z] STF 22:34:29.340 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/results/24.T2.stdout [2025-03-05T22:34:29.524Z] STF 22:34:29.348 - Monitoring processes: T2 [2025-03-05T22:34:30.317Z] T2 JUnit version 4.12 [2025-03-05T22:34:30.317Z] T2 . [2025-03-05T22:34:30.317Z] T2 Time: 0.025 [2025-03-05T22:34:30.317Z] T2 [2025-03-05T22:34:30.317Z] T2 OK (1 test) [2025-03-05T22:34:30.317Z] T2 [2025-03-05T22:34:30.317Z] STF 22:34:29.886 - Monitoring Report Summary: [2025-03-05T22:34:30.317Z] STF 22:34:29.886 - o Process T2 ended with the expected exit code (0) [2025-03-05T22:34:30.317Z] STF 22:34:29.886 - [2025-03-05T22:34:30.317Z] STF 22:34:29.886 - +------ Step 25 - Create runtime image [2025-03-05T22:34:30.317Z] STF 22:34:29.886 - | Run jlink to create runtime image [2025-03-05T22:34:30.317Z] STF 22:34:29.886 - | ImageName: CRI3 [2025-03-05T22:34:30.317Z] STF 22:34:29.886 - | [2025-03-05T22:34:30.317Z] STF 22:34:29.887 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/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/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/tmp/25.CRI3 [2025-03-05T22:34:30.318Z] STF 22:34:29.887 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/results/25.JLNK.stderr [2025-03-05T22:34:30.318Z] STF 22:34:29.887 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/results/25.JLNK.stdout [2025-03-05T22:34:30.318Z] STF 22:34:29.888 - Monitoring processes: JLNK [2025-03-05T22:34:37.181Z] STF 22:34:35.838 - Monitoring Report Summary: [2025-03-05T22:34:37.181Z] STF 22:34:35.838 - o Process JLNK ended with the expected exit code (0) [2025-03-05T22:34:37.181Z] STF 22:34:35.838 - [2025-03-05T22:34:37.181Z] STF 22:34:35.838 - +------ Step 26 - Running listmods [2025-03-05T22:34:37.181Z] STF 22:34:35.838 - | Run foreground process [2025-03-05T22:34:37.181Z] STF 22:34:35.838 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/tmp/25.CRI3/bin/java [2025-03-05T22:34:37.181Z] STF 22:34:35.838 - | Mnemonic: LIST [2025-03-05T22:34:37.181Z] STF 22:34:35.838 - | Echo: ECHO_ON [2025-03-05T22:34:37.181Z] STF 22:34:35.838 - | Expectation: CLEAN_RUN within 1m [2025-03-05T22:34:37.181Z] STF 22:34:35.838 - | [2025-03-05T22:34:37.181Z] STF 22:34:35.839 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/tmp/25.CRI3/bin/java --list-modules -XX:-UseCompressedOops [2025-03-05T22:34:37.181Z] STF 22:34:35.839 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/results/26.LIST.stderr [2025-03-05T22:34:37.181Z] STF 22:34:35.839 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/results/26.LIST.stdout [2025-03-05T22:34:37.181Z] STF 22:34:35.844 - Monitoring processes: LIST [2025-03-05T22:34:37.181Z] LIST com.hello [2025-03-05T22:34:37.181Z] LIST com.test.jlink [2025-03-05T22:34:37.181Z] LIST java.base@11.0.27-beta [2025-03-05T22:34:37.181Z] STF 22:34:36.055 - Monitoring Report Summary: [2025-03-05T22:34:37.181Z] STF 22:34:36.055 - o Process LIST ended with the expected exit code (0) [2025-03-05T22:34:37.181Z] STF 22:34:36.055 - [2025-03-05T22:34:37.181Z] STF 22:34:36.055 - +------ Step 27 - Check output [2025-03-05T22:34:37.181Z] STF 22:34:36.055 - | Count file matches [2025-03-05T22:34:37.181Z] STF 22:34:36.055 - | TargetFile: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/results/26.LIST.stdout [2025-03-05T22:34:37.181Z] STF 22:34:36.055 - | ExpectedNumMatches: 1 [2025-03-05T22:34:37.181Z] STF 22:34:36.055 - | SearchStrings: ["com.hello"] [2025-03-05T22:34:37.181Z] STF 22:34:36.055 - | [2025-03-05T22:34:37.181Z] STF 22:34:36.055 - Found 1 instances of ["com.hello"] [2025-03-05T22:34:37.181Z] STF 22:34:36.055 - [2025-03-05T22:34:37.181Z] STF 22:34:36.055 - +------ Step 28 - Check output [2025-03-05T22:34:37.181Z] STF 22:34:36.055 - | Count file matches [2025-03-05T22:34:37.181Z] STF 22:34:36.055 - | TargetFile: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/results/26.LIST.stdout [2025-03-05T22:34:37.181Z] STF 22:34:36.055 - | ExpectedNumMatches: 1 [2025-03-05T22:34:37.181Z] STF 22:34:36.055 - | SearchStrings: ["com.test.jlink"] [2025-03-05T22:34:37.181Z] STF 22:34:36.055 - | [2025-03-05T22:34:37.181Z] STF 22:34:36.055 - Found 1 instances of ["com.test.jlink"] [2025-03-05T22:34:37.181Z] STF 22:34:36.055 - [2025-03-05T22:34:37.181Z] STF 22:34:36.055 - +------ Step 29 - Check output [2025-03-05T22:34:37.182Z] STF 22:34:36.055 - | Count file matches [2025-03-05T22:34:37.182Z] STF 22:34:36.055 - | TargetFile: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/results/26.LIST.stdout [2025-03-05T22:34:37.182Z] STF 22:34:36.055 - | ExpectedNumMatches: 1 [2025-03-05T22:34:37.182Z] STF 22:34:36.056 - | SearchStrings: ["java.base"] [2025-03-05T22:34:37.182Z] STF 22:34:36.056 - | [2025-03-05T22:34:37.182Z] STF 22:34:36.056 - Found 1 instances of ["java.base"] [2025-03-05T22:34:37.182Z] STF 22:34:36.056 - [2025-03-05T22:34:37.182Z] STF 22:34:36.056 - +------ Step 30 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-03-05T22:34:37.182Z] STF 22:34:36.056 - | Run foreground process [2025-03-05T22:34:37.182Z] STF 22:34:36.056 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/tmp/25.CRI3/bin/java [2025-03-05T22:34:37.182Z] STF 22:34:36.056 - | Mnemonic: T3 [2025-03-05T22:34:37.182Z] STF 22:34:36.056 - | Echo: ECHO_ON [2025-03-05T22:34:37.182Z] STF 22:34:36.056 - | Expectation: CLEAN_RUN within 1m [2025-03-05T22:34:37.182Z] STF 22:34:36.056 - | [2025-03-05T22:34:37.182Z] STF 22:34:36.056 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/tmp/25.CRI3/bin/java -Djava.library.path=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-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-03-05T22:34:37.182Z] STF 22:34:36.056 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/results/30.T3.stderr [2025-03-05T22:34:37.182Z] STF 22:34:36.056 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/results/30.T3.stdout [2025-03-05T22:34:37.182Z] STF 22:34:36.058 - Monitoring processes: T3 [2025-03-05T22:34:37.182Z] T3 JUnit version 4.12 [2025-03-05T22:34:37.182Z] T3 . [2025-03-05T22:34:37.182Z] T3 Time: 0.026 [2025-03-05T22:34:37.182Z] T3 [2025-03-05T22:34:37.182Z] T3 OK (1 test) [2025-03-05T22:34:37.182Z] T3 [2025-03-05T22:34:37.182Z] STF 22:34:36.799 - Monitoring Report Summary: [2025-03-05T22:34:37.182Z] STF 22:34:36.799 - o Process T3 ended with the expected exit code (0) [2025-03-05T22:34:37.182Z] STF 22:34:36.800 - EXECUTE stage completed [2025-03-05T22:34:37.182Z] STF 22:34:36.998 - [2025-03-05T22:34:37.182Z] STF 22:34:36.998 - ==================== T E A R D O W N ==================== [2025-03-05T22:34:37.182Z] STF 22:34:36.998 - Running teardown: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/aqa-tests/TKG/../TKG/output_17412129765542/Jlink_ReqMod_1/20250305-223407-JlinkTest/tearDown.pl [2025-03-05T22:34:37.952Z] STF 22:34:37.130 - TEARDOWN stage completed [2025-03-05T22:34:37.952Z] STF 22:34:37.137 - [2025-03-05T22:34:37.952Z] STF 22:34:37.137 - ===================== R E S U L T S ===================== [2025-03-05T22:34:37.952Z] STF 22:34:37.137 - Stage results: [2025-03-05T22:34:37.952Z] STF 22:34:37.137 - setUp: pass [2025-03-05T22:34:37.952Z] STF 22:34:37.137 - execute: pass [2025-03-05T22:34:37.952Z] STF 22:34:37.137 - teardown: pass [2025-03-05T22:34:37.952Z] STF 22:34:37.137 - [2025-03-05T22:34:37.952Z] STF 22:34:37.137 - Overall result: PASSED [2025-03-05T22:34:37.952Z] ----------------------------------- [2025-03-05T22:34:37.952Z] Jlink_ReqMod_1_PASSED [2025-03-05T22:34:37.952Z] ----------------------------------- [2025-03-05T22:34:37.952Z] [2025-03-05T22:34:37.952Z] TEST TEARDOWN: [2025-03-05T22:34:37.952Z] Nothing to be done for teardown. [2025-03-05T22:34:37.952Z] Jlink_ReqMod_1 Finish Time: Wed Mar 5 22:34:37 2025 Epoch Time (ms): 1741214077281