Jlink_ReqMod_0
[2024-11-08T09:16:37.582Z] Running test Jlink_ReqMod_0 ...
[2024-11-08T09:16:37.582Z] ===============================================
[2024-11-08T09:16:37.582Z] Jlink_ReqMod_0 Start Time: Fri Nov 8 09:16:37 2024 Epoch Time (ms): 1731057397506
[2024-11-08T09:16:37.582Z] variation: Mode150
[2024-11-08T09:16:37.582Z] JVM_OPTIONS: -XX:+UseCompressedOops
[2024-11-08T09:16:37.582Z] { \
[2024-11-08T09:16:37.582Z] echo ""; echo "TEST SETUP:"; \
[2024-11-08T09:16:37.582Z] echo "Nothing to be done for setup."; \
[2024-11-08T09:16:37.582Z] mkdir -p "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17310546718851/Jlink_ReqMod_0"; \
[2024-11-08T09:16:37.582Z] cd "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17310546718851/Jlink_ReqMod_0"; \
[2024-11-08T09:16:37.582Z] echo ""; echo "TESTING:"; \
[2024-11-08T09:16:37.582Z] 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_17310546718851/Jlink_ReqMod_0" -test=JlinkTest -test-args="variant=ReqdMod"; \
[2024-11-08T09:16:37.582Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "Jlink_ReqMod_0""_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_17310546718851/Jlink_ReqMod_0"; else echo "-----------------------------------"; echo "Jlink_ReqMod_0""_FAILED"; echo "-----------------------------------"; fi; \
[2024-11-08T09:16:37.582Z] echo ""; echo "TEST TEARDOWN:"; \
[2024-11-08T09:16:37.582Z] echo "Nothing to be done for teardown."; \
[2024-11-08T09:16:37.582Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17310546718851/TestTargetResult";
[2024-11-08T09:16:37.582Z]
[2024-11-08T09:16:37.582Z] TEST SETUP:
[2024-11-08T09:16:37.582Z] Nothing to be done for setup.
[2024-11-08T09:16:37.582Z]
[2024-11-08T09:16:37.582Z] TESTING:
[2024-11-08T09:16:37.921Z] STF 09:16:37.788 - ========================= S T F =========================
[2024-11-08T09:16:37.921Z] 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_17310546718851/Jlink_ReqMod_0
[2024-11-08T09:16:37.921Z] There is 76051 Mb free
[2024-11-08T09:16:37.921Z] STF 09:16:37.808 - ================== G E N E R A T I O N ==================
[2024-11-08T09:16:37.921Z] STF 09:16:37.812 - Checking JVM: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image
[2024-11-08T09:16:37.921Z] STF 09:16:37.812 - 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 -classpath /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_17310546718851/Jlink_ReqMod_0/20241108-091637-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_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest"
[2024-11-08T09:16:37.921Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-08T09:16:37.921Z] GEN [0.017s][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
[2024-11-08T09:16:42.682Z] GEN 09:16:42.557 - 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'
[2024-11-08T09:16:42.682Z] GEN 09:16:42.578 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.JlinkTest'
[2024-11-08T09:16:43.398Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2024-11-08T09:16:43.398Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService
[2024-11-08T09:16:43.398Z] 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
[2024-11-08T09:16:43.398Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1
[2024-11-08T09:16:43.398Z] 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
[2024-11-08T09:16:43.398Z] 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
[2024-11-08T09:16:43.398Z] 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
[2024-11-08T09:16:43.398Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2
[2024-11-08T09:16:43.398Z] 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
[2024-11-08T09:16:43.398Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override
[2024-11-08T09:16:43.398Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new
[2024-11-08T09:16:43.398Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3
[2024-11-08T09:16:43.398Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4
[2024-11-08T09:16:43.398Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common
[2024-11-08T09:16:43.398Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests
[2024-11-08T09:16:43.398Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin
[2024-11-08T09:16:43.398Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/bin
[2024-11-08T09:16:43.398Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar
[2024-11-08T09:16:43.398Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar
[2024-11-08T09:16:43.398Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar
[2024-11-08T09:16:43.398Z] GEN 09:16:43.314 - Using Mode NoOptions. Values = ''
[2024-11-08T09:16:44.114Z] GEN 09:16:43.777 -
[2024-11-08T09:16:44.114Z] GEN 09:16:43.778 - Test command summary:
[2024-11-08T09:16:44.114Z] GEN 09:16:43.780 - Step Stage Command Description
[2024-11-08T09:16:44.114Z] GEN 09:16:43.782 - -----+--------+-----------------+------------
[2024-11-08T09:16:44.114Z] GEN 09:16:43.783 - 1 setUp cpDir Copying com.test.jlink
[2024-11-08T09:16:44.114Z] GEN 09:16:43.784 - 2 setUp rm Removing natives folder from com.test.jLinkDirCopy
[2024-11-08T09:16:44.114Z] GEN 09:16:43.784 - 3 setUp jar Create com.test.jlink jar
[2024-11-08T09:16:44.114Z] GEN 09:16:43.785 - 4 setUp jar Create com.hello jar
[2024-11-08T09:16:44.114Z] GEN 09:16:43.785 - 5 setUp fileCheck Check com.test.jlink modular jar created
[2024-11-08T09:16:44.114Z] GEN 09:16:43.786 - 6 setUp fileCheck Check com.hello modular jar created
[2024-11-08T09:16:44.114Z] GEN 09:16:43.787 - 7 setUp rm Removing conf folder from com.test.jLinkDirCopy
[2024-11-08T09:16:44.114Z] GEN 09:16:43.788 - 8 setUp cpDir Copying .so from com.test.jlink/native
[2024-11-08T09:16:44.114Z] GEN 09:16:43.789 - 9 setUp jmod Creating jmod of com.test.jlink module
[2024-11-08T09:16:44.114Z] GEN 09:16:43.789 - 10 setUp jmod Creating jmod for com.hello module
[2024-11-08T09:16:44.114Z] GEN 09:16:43.790 - 11 setUp fileCheck Check com.test.jlink jmod created
[2024-11-08T09:16:44.114Z] GEN 09:16:43.790 - 12 setUp fileCheck Check com.hello jmod created
[2024-11-08T09:16:44.114Z] GEN 09:16:43.791 - 13 execute jlink Create runtime image
[2024-11-08T09:16:44.114Z] GEN 09:16:43.791 - 14 execute Run java Running listmods
[2024-11-08T09:16:44.114Z] GEN 09:16:43.791 - 15 execute count Check output
[2024-11-08T09:16:44.114Z] GEN 09:16:43.792 - 16 execute count Check output
[2024-11-08T09:16:44.114Z] GEN 09:16:43.793 - 17 execute count Check output
[2024-11-08T09:16:44.114Z] GEN 09:16:43.793 - 18 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest
[2024-11-08T09:16:44.114Z] GEN 09:16:43.794 - 19 execute jlink Create runtime image
[2024-11-08T09:16:44.114Z] GEN 09:16:43.794 - 20 execute Run java Running listmods
[2024-11-08T09:16:44.114Z] GEN 09:16:43.795 - 21 execute count Check output
[2024-11-08T09:16:44.114Z] GEN 09:16:43.795 - 22 execute count Check output
[2024-11-08T09:16:44.114Z] GEN 09:16:43.796 - 23 execute count Check output
[2024-11-08T09:16:44.114Z] GEN 09:16:43.796 - 24 execute Run java Running adoptopenjdk.test.modularity.jlink.JniTest
[2024-11-08T09:16:44.114Z] GEN 09:16:43.797 - 25 execute jlink Create runtime image
[2024-11-08T09:16:44.114Z] GEN 09:16:43.797 - 26 execute Run java Running listmods
[2024-11-08T09:16:44.114Z] GEN 09:16:43.798 - 27 execute count Check output
[2024-11-08T09:16:44.114Z] GEN 09:16:43.799 - 28 execute count Check output
[2024-11-08T09:16:44.114Z] GEN 09:16:43.799 - 29 execute count Check output
[2024-11-08T09:16:44.114Z] GEN 09:16:43.800 - 30 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest
[2024-11-08T09:16:44.114Z] STF 09:16:43.883 -
[2024-11-08T09:16:44.114Z] STF 09:16:43.883 - Script generation completed
[2024-11-08T09:16:44.114Z] STF 09:16:43.884 -
[2024-11-08T09:16:44.114Z] STF 09:16:43.887 -
[2024-11-08T09:16:44.114Z] STF 09:16:43.888 - ======================= S E T U P =======================
[2024-11-08T09:16:44.114Z] STF 09:16:43.888 - Running setup: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/setUp.pl
[2024-11-08T09:16:44.441Z] STF 09:16:44.133 -
[2024-11-08T09:16:44.441Z] STF 09:16:44.134 - +------ Step 1 - Copying com.test.jlink
[2024-11-08T09:16:44.441Z] STF 09:16:44.134 - | Copy a directory to a new directory
[2024-11-08T09:16:44.441Z] STF 09:16:44.134 - | 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
[2024-11-08T09:16:44.441Z] STF 09:16:44.134 - | Dest dir: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/com.test.jLinkDirCopy
[2024-11-08T09:16:44.441Z] STF 09:16:44.134 - |
[2024-11-08T09:16:44.441Z] STF 09:16:44.149 -
[2024-11-08T09:16:44.441Z] STF 09:16:44.150 - +------ Step 2 - Removing natives folder from com.test.jLinkDirCopy
[2024-11-08T09:16:44.441Z] STF 09:16:44.150 - | Recursively delete a directory
[2024-11-08T09:16:44.441Z] STF 09:16:44.150 - | Directory: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/com.test.jLinkDirCopy/native
[2024-11-08T09:16:44.441Z] STF 09:16:44.150 - |
[2024-11-08T09:16:44.441Z] STF 09:16:44.153 -
[2024-11-08T09:16:44.441Z] STF 09:16:44.153 - +------ Step 3 - Create com.test.jlink jar
[2024-11-08T09:16:44.441Z] STF 09:16:44.153 - | Create modular jar
[2024-11-08T09:16:44.441Z] STF 09:16:44.153 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test.jlink
[2024-11-08T09:16:44.441Z] STF 09:16:44.153 - | ModuleVersion: null
[2024-11-08T09:16:44.441Z] STF 09:16:44.153 - | MainClass: null
[2024-11-08T09:16:44.441Z] STF 09:16:44.153 - | HashModules: null
[2024-11-08T09:16:44.441Z] STF 09:16:44.154 - |
[2024-11-08T09:16:44.441Z] STF 09:16:44.154 - 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_17310546718851/Jlink_ReqMod_0/20241108-091637-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 .
[2024-11-08T09:16:44.441Z] STF 09:16:44.155 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/results/3.CMJ.stderr
[2024-11-08T09:16:44.441Z] STF 09:16:44.155 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/results/3.CMJ.stdout
[2024-11-08T09:16:44.441Z] STF 09:16:44.188 - Monitoring processes: CMJ
[2024-11-08T09:16:44.441Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-08T09:16:46.103Z] STF 09:16:45.590 - Monitoring Report Summary:
[2024-11-08T09:16:46.103Z] STF 09:16:45.590 - o Process CMJ ended with the expected exit code (0)
[2024-11-08T09:16:46.103Z] STF 09:16:45.591 - Created modular jar: 3.com.test.jlink.jar
[2024-11-08T09:16:46.103Z] STF 09:16:45.591 -
[2024-11-08T09:16:46.103Z] STF 09:16:45.591 - +------ Step 4 - Create com.hello jar
[2024-11-08T09:16:46.103Z] STF 09:16:45.591 - | Create modular jar
[2024-11-08T09:16:46.103Z] STF 09:16:45.591 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello
[2024-11-08T09:16:46.103Z] STF 09:16:45.592 - | ModuleVersion: null
[2024-11-08T09:16:46.103Z] STF 09:16:45.592 - | MainClass: null
[2024-11-08T09:16:46.103Z] STF 09:16:45.592 - | HashModules: null
[2024-11-08T09:16:46.103Z] STF 09:16:45.592 - |
[2024-11-08T09:16:46.103Z] STF 09:16:45.593 - 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_17310546718851/Jlink_ReqMod_0/20241108-091637-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 .
[2024-11-08T09:16:46.103Z] STF 09:16:45.593 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/results/4.CMJ.stderr
[2024-11-08T09:16:46.103Z] STF 09:16:45.593 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/results/4.CMJ.stdout
[2024-11-08T09:16:46.103Z] STF 09:16:45.601 - Monitoring processes: CMJ
[2024-11-08T09:16:46.103Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-08T09:16:47.257Z] STF 09:16:46.898 - Monitoring Report Summary:
[2024-11-08T09:16:47.257Z] STF 09:16:46.898 - o Process CMJ ended with the expected exit code (0)
[2024-11-08T09:16:47.257Z] STF 09:16:46.899 - Created modular jar: 4.com.hello.jar
[2024-11-08T09:16:47.257Z] STF 09:16:46.899 -
[2024-11-08T09:16:47.257Z] STF 09:16:46.899 - +------ Step 5 - Check com.test.jlink modular jar created
[2024-11-08T09:16:47.257Z] STF 09:16:46.899 - | Validate file exists
[2024-11-08T09:16:47.257Z] STF 09:16:46.899 - | File: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/modules/3.com.test.jlink.jar
[2024-11-08T09:16:47.257Z] STF 09:16:46.899 - |
[2024-11-08T09:16:47.257Z] STF 09:16:46.899 -
[2024-11-08T09:16:47.257Z] STF 09:16:46.899 - +------ Step 6 - Check com.hello modular jar created
[2024-11-08T09:16:47.257Z] STF 09:16:46.899 - | Validate file exists
[2024-11-08T09:16:47.257Z] STF 09:16:46.899 - | File: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/modules/4.com.hello.jar
[2024-11-08T09:16:47.257Z] STF 09:16:46.899 - |
[2024-11-08T09:16:47.257Z] STF 09:16:46.899 -
[2024-11-08T09:16:47.257Z] STF 09:16:46.900 - +------ Step 7 - Removing conf folder from com.test.jLinkDirCopy
[2024-11-08T09:16:47.257Z] STF 09:16:46.900 - | Recursively delete a directory
[2024-11-08T09:16:47.257Z] STF 09:16:46.900 - | Directory: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/com.test.jLinkDirCopy/conf
[2024-11-08T09:16:47.257Z] STF 09:16:46.900 - |
[2024-11-08T09:16:47.257Z] STF 09:16:46.901 -
[2024-11-08T09:16:47.257Z] STF 09:16:46.901 - +------ Step 8 - Copying .so from com.test.jlink/native
[2024-11-08T09:16:47.257Z] STF 09:16:46.901 - | Copy a directory to a new directory
[2024-11-08T09:16:47.257Z] STF 09:16:46.901 - | 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
[2024-11-08T09:16:47.257Z] STF 09:16:46.901 - | Dest dir: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/native
[2024-11-08T09:16:47.257Z] STF 09:16:46.901 - |
[2024-11-08T09:16:47.257Z] STF 09:16:46.904 -
[2024-11-08T09:16:47.257Z] STF 09:16:46.904 - +------ Step 9 - Creating jmod of com.test.jlink module
[2024-11-08T09:16:47.257Z] STF 09:16:46.904 - | Run jmod utility
[2024-11-08T09:16:47.257Z] STF 09:16:46.904 - | jmod: com.test.jlink.jmod
[2024-11-08T09:16:47.257Z] STF 09:16:46.904 - |
[2024-11-08T09:16:47.257Z] STF 09:16:46.905 - 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_17310546718851/Jlink_ReqMod_0/20241108-091637-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_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/native /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/tmp/com.test.jlink.jmod
[2024-11-08T09:16:47.257Z] STF 09:16:46.905 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/results/9.JMOD.stderr
[2024-11-08T09:16:47.257Z] STF 09:16:46.905 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/results/9.JMOD.stdout
[2024-11-08T09:16:47.257Z] STF 09:16:46.913 - Monitoring processes: JMOD
[2024-11-08T09:16:47.257Z] JMOD stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-08T09:16:48.398Z] STF 09:16:48.247 - Monitoring Report Summary:
[2024-11-08T09:16:48.398Z] STF 09:16:48.248 - o Process JMOD ended with the expected exit code (0)
[2024-11-08T09:16:48.398Z] STF 09:16:48.249 -
[2024-11-08T09:16:48.398Z] STF 09:16:48.249 - +------ Step 10 - Creating jmod for com.hello module
[2024-11-08T09:16:48.398Z] STF 09:16:48.249 - | Run jmod utility
[2024-11-08T09:16:48.398Z] STF 09:16:48.249 - | jmod: com.hello.jmod
[2024-11-08T09:16:48.398Z] STF 09:16:48.249 - |
[2024-11-08T09:16:48.398Z] STF 09:16:48.251 - 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_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/tmp/com.hello.jmod
[2024-11-08T09:16:48.398Z] STF 09:16:48.251 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/results/10.JMOD.stderr
[2024-11-08T09:16:48.398Z] STF 09:16:48.251 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/results/10.JMOD.stdout
[2024-11-08T09:16:48.398Z] STF 09:16:48.260 - Monitoring processes: JMOD
[2024-11-08T09:16:48.398Z] JMOD stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-08T09:16:50.063Z] STF 09:16:49.597 - Monitoring Report Summary:
[2024-11-08T09:16:50.063Z] STF 09:16:49.597 - o Process JMOD ended with the expected exit code (0)
[2024-11-08T09:16:50.063Z] STF 09:16:49.599 -
[2024-11-08T09:16:50.063Z] STF 09:16:49.600 - +------ Step 11 - Check com.test.jlink jmod created
[2024-11-08T09:16:50.063Z] STF 09:16:49.600 - | Validate file exists
[2024-11-08T09:16:50.063Z] STF 09:16:49.600 - | File: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/tmp/com.test.jlink.jmod
[2024-11-08T09:16:50.063Z] STF 09:16:49.600 - |
[2024-11-08T09:16:50.063Z] STF 09:16:49.600 -
[2024-11-08T09:16:50.063Z] STF 09:16:49.600 - +------ Step 12 - Check com.hello jmod created
[2024-11-08T09:16:50.063Z] STF 09:16:49.600 - | Validate file exists
[2024-11-08T09:16:50.063Z] STF 09:16:49.601 - | File: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/tmp/com.hello.jmod
[2024-11-08T09:16:50.063Z] STF 09:16:49.601 - |
[2024-11-08T09:16:50.063Z] STF 09:16:49.601 - SETUP stage completed
[2024-11-08T09:16:50.063Z] STF 09:16:49.678 -
[2024-11-08T09:16:50.063Z] STF 09:16:49.678 - ==================== E X E C U T E - ====================
[2024-11-08T09:16:50.063Z] STF 09:16:49.679 - Running execute: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/execute.pl
[2024-11-08T09:16:50.063Z] STF 09:16:49.918 -
[2024-11-08T09:16:50.063Z] STF 09:16:49.919 - Java version
[2024-11-08T09:16:50.063Z] STF 09:16:49.919 - Running: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/java -version
[2024-11-08T09:16:50.063Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-08T09:16:50.402Z] openjdk version "21.0.6-beta" 2025-01-21
[2024-11-08T09:16:50.402Z] OpenJDK Runtime Environment Temurin-21.0.6+2-202411072257 (build 21.0.6-beta+2-ea)
[2024-11-08T09:16:50.402Z] OpenJDK 64-Bit Server VM Temurin-21.0.6+2-202411072257 (build 21.0.6-beta+2-ea, mixed mode, sharing)
[2024-11-08T09:16:50.402Z] STF 09:16:50.171 -
[2024-11-08T09:16:50.402Z] STF 09:16:50.171 - +------ Step 13 - Create runtime image
[2024-11-08T09:16:50.402Z] STF 09:16:50.171 - | Run jlink to create runtime image
[2024-11-08T09:16:50.402Z] STF 09:16:50.171 - | ImageName: CRI1
[2024-11-08T09:16:50.402Z] STF 09:16:50.171 - |
[2024-11-08T09:16:50.402Z] STF 09:16:50.173 - 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_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/modules --add-modules com.test.jlink --output /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/tmp/13.CRI1
[2024-11-08T09:16:50.402Z] STF 09:16:50.173 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/results/13.JLNK.stderr
[2024-11-08T09:16:50.402Z] STF 09:16:50.173 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/results/13.JLNK.stdout
[2024-11-08T09:16:50.402Z] STF 09:16:50.211 - Monitoring processes: JLNK
[2024-11-08T09:16:50.402Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-08T09:16:59.306Z] STF 09:16:59.178 - Monitoring Report Summary:
[2024-11-08T09:16:59.306Z] STF 09:16:59.178 - o Process JLNK ended with the expected exit code (0)
[2024-11-08T09:16:59.306Z] STF 09:16:59.180 -
[2024-11-08T09:16:59.306Z] STF 09:16:59.180 - +------ Step 14 - Running listmods
[2024-11-08T09:16:59.306Z] STF 09:16:59.180 - | Run foreground process
[2024-11-08T09:16:59.306Z] STF 09:16:59.180 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/tmp/13.CRI1/bin/java
[2024-11-08T09:16:59.306Z] STF 09:16:59.180 - | Mnemonic: LIST
[2024-11-08T09:16:59.306Z] STF 09:16:59.180 - | Echo: ECHO_ON
[2024-11-08T09:16:59.306Z] STF 09:16:59.181 - | Expectation: CLEAN_RUN within 1m
[2024-11-08T09:16:59.306Z] STF 09:16:59.181 - |
[2024-11-08T09:16:59.306Z] STF 09:16:59.182 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/tmp/13.CRI1/bin/java --list-modules -XX:+UseCompressedOops
[2024-11-08T09:16:59.306Z] STF 09:16:59.183 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/results/14.LIST.stderr
[2024-11-08T09:16:59.306Z] STF 09:16:59.183 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/results/14.LIST.stdout
[2024-11-08T09:16:59.306Z] STF 09:16:59.193 - Monitoring processes: LIST
[2024-11-08T09:16:59.640Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-08T09:16:59.974Z] LIST com.hello
[2024-11-08T09:16:59.974Z] LIST com.test.jlink
[2024-11-08T09:16:59.974Z] LIST java.base@21.0.6-beta
[2024-11-08T09:16:59.974Z] STF 09:16:59.863 - Monitoring Report Summary:
[2024-11-08T09:16:59.974Z] STF 09:16:59.863 - o Process LIST ended with the expected exit code (0)
[2024-11-08T09:16:59.974Z] STF 09:16:59.864 -
[2024-11-08T09:16:59.974Z] STF 09:16:59.864 - +------ Step 15 - Check output
[2024-11-08T09:16:59.974Z] STF 09:16:59.864 - | Count file matches
[2024-11-08T09:16:59.974Z] STF 09:16:59.864 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/results/14.LIST.stdout
[2024-11-08T09:16:59.974Z] STF 09:16:59.864 - | ExpectedNumMatches: 1
[2024-11-08T09:16:59.974Z] STF 09:16:59.864 - | SearchStrings: ["com.hello"]
[2024-11-08T09:16:59.974Z] STF 09:16:59.864 - |
[2024-11-08T09:16:59.974Z] STF 09:16:59.864 - Found 1 instances of ["com.hello"]
[2024-11-08T09:16:59.974Z] STF 09:16:59.864 -
[2024-11-08T09:16:59.974Z] STF 09:16:59.865 - +------ Step 16 - Check output
[2024-11-08T09:16:59.974Z] STF 09:16:59.865 - | Count file matches
[2024-11-08T09:16:59.974Z] STF 09:16:59.865 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/results/14.LIST.stdout
[2024-11-08T09:16:59.974Z] STF 09:16:59.865 - | ExpectedNumMatches: 1
[2024-11-08T09:16:59.974Z] STF 09:16:59.865 - | SearchStrings: ["com.test.jlink"]
[2024-11-08T09:16:59.974Z] STF 09:16:59.865 - |
[2024-11-08T09:16:59.974Z] STF 09:16:59.865 - Found 1 instances of ["com.test.jlink"]
[2024-11-08T09:16:59.974Z] STF 09:16:59.865 -
[2024-11-08T09:16:59.974Z] STF 09:16:59.865 - +------ Step 17 - Check output
[2024-11-08T09:16:59.974Z] STF 09:16:59.865 - | Count file matches
[2024-11-08T09:16:59.974Z] STF 09:16:59.865 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/results/14.LIST.stdout
[2024-11-08T09:16:59.974Z] STF 09:16:59.865 - | ExpectedNumMatches: 1
[2024-11-08T09:16:59.974Z] STF 09:16:59.865 - | SearchStrings: ["java.base"]
[2024-11-08T09:16:59.974Z] STF 09:16:59.866 - |
[2024-11-08T09:16:59.974Z] STF 09:16:59.866 - Found 1 instances of ["java.base"]
[2024-11-08T09:16:59.974Z] STF 09:16:59.866 -
[2024-11-08T09:16:59.974Z] STF 09:16:59.866 - +------ Step 18 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest
[2024-11-08T09:16:59.974Z] STF 09:16:59.866 - | Run foreground process
[2024-11-08T09:16:59.974Z] STF 09:16:59.866 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/tmp/13.CRI1/bin/java
[2024-11-08T09:16:59.974Z] STF 09:16:59.866 - | Mnemonic: T1
[2024-11-08T09:16:59.974Z] STF 09:16:59.866 - | Echo: ECHO_ON
[2024-11-08T09:16:59.974Z] STF 09:16:59.866 - | Expectation: CLEAN_RUN within 1m
[2024-11-08T09:16:59.974Z] STF 09:16:59.866 - |
[2024-11-08T09:16:59.974Z] STF 09:16:59.867 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-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_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/native --add-reads com.test.jlink=ALL-UNNAMED -XX:+UseCompressedOops -classpath /home/jenkins/testDependency/system_lib/junit/junit.jar:/home/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore adoptopenjdk.test.modularity.jlink.PropertyReadTest
[2024-11-08T09:16:59.974Z] STF 09:16:59.868 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/results/18.T1.stderr
[2024-11-08T09:16:59.974Z] STF 09:16:59.868 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/results/18.T1.stdout
[2024-11-08T09:16:59.974Z] STF 09:16:59.874 - Monitoring processes: T1
[2024-11-08T09:16:59.974Z] T1 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-08T09:17:00.676Z] T1 JUnit version 4.12
[2024-11-08T09:17:01.386Z] T1 .
[2024-11-08T09:17:01.386Z] T1 Time: 0.042
[2024-11-08T09:17:01.386Z] T1
[2024-11-08T09:17:01.386Z] T1 OK (1 test)
[2024-11-08T09:17:01.386Z] T1
[2024-11-08T09:17:01.714Z] STF 09:17:01.304 - Monitoring Report Summary:
[2024-11-08T09:17:01.714Z] STF 09:17:01.304 - o Process T1 ended with the expected exit code (0)
[2024-11-08T09:17:01.714Z] STF 09:17:01.305 -
[2024-11-08T09:17:01.714Z] STF 09:17:01.305 - +------ Step 19 - Create runtime image
[2024-11-08T09:17:01.714Z] STF 09:17:01.306 - | Run jlink to create runtime image
[2024-11-08T09:17:01.714Z] STF 09:17:01.306 - | ImageName: CRI2
[2024-11-08T09:17:01.714Z] STF 09:17:01.306 - |
[2024-11-08T09:17:01.714Z] STF 09:17:01.308 - 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_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/tmp --add-modules com.test.jlink --output /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/tmp/19.CRI2
[2024-11-08T09:17:01.714Z] STF 09:17:01.308 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/results/19.JLNK.stderr
[2024-11-08T09:17:01.714Z] STF 09:17:01.308 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/results/19.JLNK.stdout
[2024-11-08T09:17:01.714Z] STF 09:17:01.319 - Monitoring processes: JLNK
[2024-11-08T09:17:01.714Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-08T09:17:10.606Z] STF 09:17:10.203 - Monitoring Report Summary:
[2024-11-08T09:17:10.606Z] STF 09:17:10.203 - o Process JLNK ended with the expected exit code (0)
[2024-11-08T09:17:10.606Z] STF 09:17:10.205 -
[2024-11-08T09:17:10.606Z] STF 09:17:10.205 - +------ Step 20 - Running listmods
[2024-11-08T09:17:10.606Z] STF 09:17:10.205 - | Run foreground process
[2024-11-08T09:17:10.606Z] STF 09:17:10.205 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/tmp/19.CRI2/bin/java
[2024-11-08T09:17:10.606Z] STF 09:17:10.206 - | Mnemonic: LIST
[2024-11-08T09:17:10.606Z] STF 09:17:10.206 - | Echo: ECHO_ON
[2024-11-08T09:17:10.606Z] STF 09:17:10.206 - | Expectation: CLEAN_RUN within 1m
[2024-11-08T09:17:10.606Z] STF 09:17:10.206 - |
[2024-11-08T09:17:10.606Z] STF 09:17:10.208 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/tmp/19.CRI2/bin/java --list-modules -XX:+UseCompressedOops
[2024-11-08T09:17:10.606Z] STF 09:17:10.208 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/results/20.LIST.stderr
[2024-11-08T09:17:10.606Z] STF 09:17:10.208 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/results/20.LIST.stdout
[2024-11-08T09:17:10.606Z] STF 09:17:10.221 - Monitoring processes: LIST
[2024-11-08T09:17:10.606Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-08T09:17:10.938Z] LIST com.hello
[2024-11-08T09:17:10.938Z] LIST com.test.jlink
[2024-11-08T09:17:10.938Z] LIST java.base@21.0.6-beta
[2024-11-08T09:17:11.270Z] STF 09:17:10.892 - Monitoring Report Summary:
[2024-11-08T09:17:11.270Z] STF 09:17:10.893 - o Process LIST ended with the expected exit code (0)
[2024-11-08T09:17:11.270Z] STF 09:17:10.893 -
[2024-11-08T09:17:11.270Z] STF 09:17:10.893 - +------ Step 21 - Check output
[2024-11-08T09:17:11.270Z] STF 09:17:10.893 - | Count file matches
[2024-11-08T09:17:11.270Z] STF 09:17:10.893 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/results/20.LIST.stdout
[2024-11-08T09:17:11.270Z] STF 09:17:10.893 - | ExpectedNumMatches: 1
[2024-11-08T09:17:11.270Z] STF 09:17:10.894 - | SearchStrings: ["com.hello"]
[2024-11-08T09:17:11.270Z] STF 09:17:10.894 - |
[2024-11-08T09:17:11.270Z] STF 09:17:10.894 - Found 1 instances of ["com.hello"]
[2024-11-08T09:17:11.270Z] STF 09:17:10.894 -
[2024-11-08T09:17:11.270Z] STF 09:17:10.894 - +------ Step 22 - Check output
[2024-11-08T09:17:11.270Z] STF 09:17:10.894 - | Count file matches
[2024-11-08T09:17:11.270Z] STF 09:17:10.894 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/results/20.LIST.stdout
[2024-11-08T09:17:11.270Z] STF 09:17:10.894 - | ExpectedNumMatches: 1
[2024-11-08T09:17:11.270Z] STF 09:17:10.894 - | SearchStrings: ["com.test.jlink"]
[2024-11-08T09:17:11.270Z] STF 09:17:10.894 - |
[2024-11-08T09:17:11.270Z] STF 09:17:10.894 - Found 1 instances of ["com.test.jlink"]
[2024-11-08T09:17:11.270Z] STF 09:17:10.895 -
[2024-11-08T09:17:11.270Z] STF 09:17:10.895 - +------ Step 23 - Check output
[2024-11-08T09:17:11.270Z] STF 09:17:10.895 - | Count file matches
[2024-11-08T09:17:11.270Z] STF 09:17:10.895 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/results/20.LIST.stdout
[2024-11-08T09:17:11.270Z] STF 09:17:10.895 - | ExpectedNumMatches: 1
[2024-11-08T09:17:11.270Z] STF 09:17:10.895 - | SearchStrings: ["java.base"]
[2024-11-08T09:17:11.270Z] STF 09:17:10.895 - |
[2024-11-08T09:17:11.270Z] STF 09:17:10.895 - Found 1 instances of ["java.base"]
[2024-11-08T09:17:11.270Z] STF 09:17:10.895 -
[2024-11-08T09:17:11.270Z] STF 09:17:10.895 - +------ Step 24 - Running adoptopenjdk.test.modularity.jlink.JniTest
[2024-11-08T09:17:11.270Z] STF 09:17:10.896 - | Run foreground process
[2024-11-08T09:17:11.270Z] STF 09:17:10.896 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/tmp/19.CRI2/bin/java
[2024-11-08T09:17:11.270Z] STF 09:17:10.896 - | Mnemonic: T2
[2024-11-08T09:17:11.270Z] STF 09:17:10.896 - | Echo: ECHO_ON
[2024-11-08T09:17:11.270Z] STF 09:17:10.896 - | Expectation: CLEAN_RUN within 1m
[2024-11-08T09:17:11.270Z] STF 09:17:10.896 - |
[2024-11-08T09:17:11.270Z] STF 09:17:10.897 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-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_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/native --add-reads com.test.jlink=ALL-UNNAMED -XX:+UseCompressedOops -classpath /home/jenkins/testDependency/system_lib/junit/junit.jar:/home/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore adoptopenjdk.test.modularity.jlink.JniTest
[2024-11-08T09:17:11.270Z] STF 09:17:10.898 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/results/24.T2.stderr
[2024-11-08T09:17:11.270Z] STF 09:17:10.898 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/results/24.T2.stdout
[2024-11-08T09:17:11.270Z] STF 09:17:10.906 - Monitoring processes: T2
[2024-11-08T09:17:11.270Z] T2 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-08T09:17:11.596Z] T2 JUnit version 4.12
[2024-11-08T09:17:12.298Z] T2 .
[2024-11-08T09:17:12.638Z] T2 Time: 0.043
[2024-11-08T09:17:12.638Z] T2
[2024-11-08T09:17:12.638Z] T2 OK (1 test)
[2024-11-08T09:17:12.638Z] T2
[2024-11-08T09:17:12.638Z] STF 09:17:12.325 - Monitoring Report Summary:
[2024-11-08T09:17:12.638Z] STF 09:17:12.325 - o Process T2 ended with the expected exit code (0)
[2024-11-08T09:17:12.638Z] STF 09:17:12.326 -
[2024-11-08T09:17:12.638Z] STF 09:17:12.327 - +------ Step 25 - Create runtime image
[2024-11-08T09:17:12.638Z] STF 09:17:12.327 - | Run jlink to create runtime image
[2024-11-08T09:17:12.638Z] STF 09:17:12.327 - | ImageName: CRI3
[2024-11-08T09:17:12.638Z] STF 09:17:12.327 - |
[2024-11-08T09:17:12.639Z] STF 09:17:12.328 - 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_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/tmp/25.CRI3
[2024-11-08T09:17:12.639Z] STF 09:17:12.328 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/results/25.JLNK.stderr
[2024-11-08T09:17:12.639Z] STF 09:17:12.328 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/results/25.JLNK.stdout
[2024-11-08T09:17:12.639Z] STF 09:17:12.335 - Monitoring processes: JLNK
[2024-11-08T09:17:12.639Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-08T09:17:21.553Z] STF 09:17:21.290 - Monitoring Report Summary:
[2024-11-08T09:17:21.553Z] STF 09:17:21.291 - o Process JLNK ended with the expected exit code (0)
[2024-11-08T09:17:21.553Z] STF 09:17:21.293 -
[2024-11-08T09:17:21.553Z] STF 09:17:21.293 - +------ Step 26 - Running listmods
[2024-11-08T09:17:21.553Z] STF 09:17:21.293 - | Run foreground process
[2024-11-08T09:17:21.553Z] STF 09:17:21.293 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/tmp/25.CRI3/bin/java
[2024-11-08T09:17:21.553Z] STF 09:17:21.293 - | Mnemonic: LIST
[2024-11-08T09:17:21.553Z] STF 09:17:21.293 - | Echo: ECHO_ON
[2024-11-08T09:17:21.553Z] STF 09:17:21.294 - | Expectation: CLEAN_RUN within 1m
[2024-11-08T09:17:21.553Z] STF 09:17:21.294 - |
[2024-11-08T09:17:21.553Z] STF 09:17:21.295 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/tmp/25.CRI3/bin/java --list-modules -XX:+UseCompressedOops
[2024-11-08T09:17:21.553Z] STF 09:17:21.295 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/results/26.LIST.stderr
[2024-11-08T09:17:21.553Z] STF 09:17:21.295 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/results/26.LIST.stdout
[2024-11-08T09:17:21.553Z] STF 09:17:21.302 - Monitoring processes: LIST
[2024-11-08T09:17:21.553Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-08T09:17:22.266Z] LIST com.hello
[2024-11-08T09:17:22.266Z] LIST com.test.jlink
[2024-11-08T09:17:22.266Z] LIST java.base@21.0.6-beta
[2024-11-08T09:17:22.266Z] STF 09:17:21.965 - Monitoring Report Summary:
[2024-11-08T09:17:22.266Z] STF 09:17:21.965 - o Process LIST ended with the expected exit code (0)
[2024-11-08T09:17:22.266Z] STF 09:17:21.966 -
[2024-11-08T09:17:22.266Z] STF 09:17:21.967 - +------ Step 27 - Check output
[2024-11-08T09:17:22.266Z] STF 09:17:21.967 - | Count file matches
[2024-11-08T09:17:22.266Z] STF 09:17:21.967 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/results/26.LIST.stdout
[2024-11-08T09:17:22.266Z] STF 09:17:21.967 - | ExpectedNumMatches: 1
[2024-11-08T09:17:22.266Z] STF 09:17:21.967 - | SearchStrings: ["com.hello"]
[2024-11-08T09:17:22.266Z] STF 09:17:21.967 - |
[2024-11-08T09:17:22.266Z] STF 09:17:21.967 - Found 1 instances of ["com.hello"]
[2024-11-08T09:17:22.266Z] STF 09:17:21.967 -
[2024-11-08T09:17:22.266Z] STF 09:17:21.968 - +------ Step 28 - Check output
[2024-11-08T09:17:22.266Z] STF 09:17:21.968 - | Count file matches
[2024-11-08T09:17:22.266Z] STF 09:17:21.968 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/results/26.LIST.stdout
[2024-11-08T09:17:22.266Z] STF 09:17:21.968 - | ExpectedNumMatches: 1
[2024-11-08T09:17:22.266Z] STF 09:17:21.968 - | SearchStrings: ["com.test.jlink"]
[2024-11-08T09:17:22.266Z] STF 09:17:21.968 - |
[2024-11-08T09:17:22.266Z] STF 09:17:21.968 - Found 1 instances of ["com.test.jlink"]
[2024-11-08T09:17:22.266Z] STF 09:17:21.968 -
[2024-11-08T09:17:22.266Z] STF 09:17:21.968 - +------ Step 29 - Check output
[2024-11-08T09:17:22.266Z] STF 09:17:21.968 - | Count file matches
[2024-11-08T09:17:22.266Z] STF 09:17:21.968 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/results/26.LIST.stdout
[2024-11-08T09:17:22.266Z] STF 09:17:21.969 - | ExpectedNumMatches: 1
[2024-11-08T09:17:22.266Z] STF 09:17:21.969 - | SearchStrings: ["java.base"]
[2024-11-08T09:17:22.266Z] STF 09:17:21.969 - |
[2024-11-08T09:17:22.266Z] STF 09:17:21.969 - Found 1 instances of ["java.base"]
[2024-11-08T09:17:22.266Z] STF 09:17:21.969 -
[2024-11-08T09:17:22.266Z] STF 09:17:21.969 - +------ Step 30 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest
[2024-11-08T09:17:22.266Z] STF 09:17:21.969 - | Run foreground process
[2024-11-08T09:17:22.266Z] STF 09:17:21.969 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/tmp/25.CRI3/bin/java
[2024-11-08T09:17:22.266Z] STF 09:17:21.969 - | Mnemonic: T3
[2024-11-08T09:17:22.266Z] STF 09:17:21.969 - | Echo: ECHO_ON
[2024-11-08T09:17:22.266Z] STF 09:17:21.969 - | Expectation: CLEAN_RUN within 1m
[2024-11-08T09:17:22.266Z] STF 09:17:21.970 - |
[2024-11-08T09:17:22.266Z] STF 09:17:21.971 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-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_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/native --add-reads com.test.jlink=ALL-UNNAMED -XX:+UseCompressedOops -classpath /home/jenkins/testDependency/system_lib/junit/junit.jar:/home/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore adoptopenjdk.test.modularity.jlink.PropertyReadTest
[2024-11-08T09:17:22.266Z] STF 09:17:21.971 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/results/30.T3.stderr
[2024-11-08T09:17:22.266Z] STF 09:17:21.971 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/results/30.T3.stdout
[2024-11-08T09:17:22.266Z] STF 09:17:21.979 - Monitoring processes: T3
[2024-11-08T09:17:22.266Z] T3 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-08T09:17:22.970Z] T3 JUnit version 4.12
[2024-11-08T09:17:23.687Z] T3 .
[2024-11-08T09:17:23.687Z] T3 Time: 0.043
[2024-11-08T09:17:23.687Z] T3
[2024-11-08T09:17:23.687Z] T3 OK (1 test)
[2024-11-08T09:17:23.687Z] T3
[2024-11-08T09:17:24.018Z] STF 09:17:23.409 - Monitoring Report Summary:
[2024-11-08T09:17:24.018Z] STF 09:17:23.409 - o Process T3 ended with the expected exit code (0)
[2024-11-08T09:17:24.018Z] STF 09:17:23.411 - EXECUTE stage completed
[2024-11-08T09:17:24.018Z] STF 09:17:23.733 -
[2024-11-08T09:17:24.018Z] STF 09:17:23.733 - ==================== T E A R D O W N ====================
[2024-11-08T09:17:24.018Z] STF 09:17:23.733 - Running teardown: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17310546718851/Jlink_ReqMod_0/20241108-091637-JlinkTest/tearDown.pl
[2024-11-08T09:17:24.018Z] STF 09:17:23.976 - TEARDOWN stage completed
[2024-11-08T09:17:24.018Z] STF 09:17:23.983 -
[2024-11-08T09:17:24.018Z] STF 09:17:23.983 - ===================== R E S U L T S =====================
[2024-11-08T09:17:24.018Z] STF 09:17:23.983 - Stage results:
[2024-11-08T09:17:24.018Z] STF 09:17:23.983 - setUp: pass
[2024-11-08T09:17:24.018Z] STF 09:17:23.984 - execute: pass
[2024-11-08T09:17:24.018Z] STF 09:17:23.984 - teardown: pass
[2024-11-08T09:17:24.018Z] STF 09:17:23.984 -
[2024-11-08T09:17:24.018Z] STF 09:17:23.984 - Overall result: PASSED
[2024-11-08T09:17:24.018Z] -----------------------------------
[2024-11-08T09:17:24.018Z] Jlink_ReqMod_0_PASSED
[2024-11-08T09:17:24.018Z] -----------------------------------
[2024-11-08T09:17:24.345Z]
[2024-11-08T09:17:24.345Z] TEST TEARDOWN:
[2024-11-08T09:17:24.345Z] Nothing to be done for teardown.
[2024-11-08T09:17:24.345Z] Jlink_ReqMod_0 Finish Time: Fri Nov 8 09:17:24 2024 Epoch Time (ms): 1731057444288