Jlink_ReqMod_0
[2024-08-10T04:17:50.103Z] Running test Jlink_ReqMod_0 ...
[2024-08-10T04:17:50.103Z] ===============================================
[2024-08-10T04:17:50.103Z] Jlink_ReqMod_0 Start Time: Sat Aug 10 04:17:50 2024 Epoch Time (ms): 1723263470014
[2024-08-10T04:17:50.103Z] variation: Mode150
[2024-08-10T04:17:50.103Z] JVM_OPTIONS: -XX:+UseCompressedOops
[2024-08-10T04:17:50.103Z] { \
[2024-08-10T04:17:50.103Z] echo ""; echo "TEST SETUP:"; \
[2024-08-10T04:17:50.103Z] echo "Nothing to be done for setup."; \
[2024-08-10T04:17:50.103Z] mkdir -p "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_1723260406797/Jlink_ReqMod_0"; \
[2024-08-10T04:17:50.103Z] cd "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_1723260406797/Jlink_ReqMod_0"; \
[2024-08-10T04:17:50.103Z] echo ""; echo "TESTING:"; \
[2024-08-10T04:17:50.103Z] 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_1723260406797/Jlink_ReqMod_0" -test=JlinkTest -test-args="variant=ReqdMod"; \
[2024-08-10T04:17:50.103Z] 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_1723260406797/Jlink_ReqMod_0"; else echo "-----------------------------------"; echo "Jlink_ReqMod_0""_FAILED"; echo "-----------------------------------"; fi; \
[2024-08-10T04:17:50.103Z] echo ""; echo "TEST TEARDOWN:"; \
[2024-08-10T04:17:50.103Z] echo "Nothing to be done for teardown."; \
[2024-08-10T04:17:50.103Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_1723260406797/TestTargetResult";
[2024-08-10T04:17:50.103Z]
[2024-08-10T04:17:50.103Z] TEST SETUP:
[2024-08-10T04:17:50.103Z] Nothing to be done for setup.
[2024-08-10T04:17:50.103Z]
[2024-08-10T04:17:50.103Z] TESTING:
[2024-08-10T04:17:51.346Z] STF 04:17:50.280 - ========================= S T F =========================
[2024-08-10T04:17:51.346Z] 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_1723260406797/Jlink_ReqMod_0
[2024-08-10T04:17:51.346Z] There is 91352 Mb free
[2024-08-10T04:17:51.346Z] STF 04:17:50.301 - ================== G E N E R A T I O N ==================
[2024-08-10T04:17:51.346Z] STF 04:17:50.304 - Checking JVM: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image
[2024-08-10T04:17:51.346Z] STF 04:17:50.304 - 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_1723260406797/Jlink_ReqMod_0/20240810-041750-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_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest"
[2024-08-10T04:17:51.346Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-10T04:17:51.346Z] GEN [0.016s][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-08-10T04:17:56.533Z] GEN 04:17:55.712 - 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-08-10T04:17:56.533Z] GEN 04:17:55.733 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.JlinkTest'
[2024-08-10T04:17:56.533Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2024-08-10T04:17:56.533Z] 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-08-10T04:17:56.533Z] 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-08-10T04:17:56.533Z] 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-08-10T04:17:56.533Z] 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-08-10T04:17:56.533Z] 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-08-10T04:17:56.533Z] 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-08-10T04:17:56.533Z] 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-08-10T04:17:56.533Z] 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-08-10T04:17:56.533Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override
[2024-08-10T04:17:56.533Z] 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-08-10T04:17:56.533Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3
[2024-08-10T04:17:56.533Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4
[2024-08-10T04:17:56.533Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common
[2024-08-10T04:17:56.533Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests
[2024-08-10T04:17:56.533Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin
[2024-08-10T04:17:56.533Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/bin
[2024-08-10T04:17:56.533Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar
[2024-08-10T04:17:56.533Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar
[2024-08-10T04:17:56.533Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar
[2024-08-10T04:17:57.234Z] GEN 04:17:56.538 - Using Mode NoOptions. Values = ''
[2024-08-10T04:17:57.234Z] GEN 04:17:57.112 -
[2024-08-10T04:17:57.234Z] GEN 04:17:57.113 - Test command summary:
[2024-08-10T04:17:57.234Z] GEN 04:17:57.115 - Step Stage Command Description
[2024-08-10T04:17:57.234Z] GEN 04:17:57.117 - -----+--------+-----------------+------------
[2024-08-10T04:17:57.234Z] GEN 04:17:57.118 - 1 setUp cpDir Copying com.test.jlink
[2024-08-10T04:17:57.234Z] GEN 04:17:57.119 - 2 setUp rm Removing natives folder from com.test.jLinkDirCopy
[2024-08-10T04:17:57.234Z] GEN 04:17:57.121 - 3 setUp jar Create com.test.jlink jar
[2024-08-10T04:17:57.234Z] GEN 04:17:57.122 - 4 setUp jar Create com.hello jar
[2024-08-10T04:17:57.234Z] GEN 04:17:57.124 - 5 setUp fileCheck Check com.test.jlink modular jar created
[2024-08-10T04:17:57.234Z] GEN 04:17:57.125 - 6 setUp fileCheck Check com.hello modular jar created
[2024-08-10T04:17:57.234Z] GEN 04:17:57.128 - 7 setUp rm Removing conf folder from com.test.jLinkDirCopy
[2024-08-10T04:17:57.234Z] GEN 04:17:57.128 - 8 setUp cpDir Copying .so from com.test.jlink/native
[2024-08-10T04:17:57.234Z] GEN 04:17:57.128 - 9 setUp jmod Creating jmod of com.test.jlink module
[2024-08-10T04:17:57.234Z] GEN 04:17:57.129 - 10 setUp jmod Creating jmod for com.hello module
[2024-08-10T04:17:57.234Z] GEN 04:17:57.129 - 11 setUp fileCheck Check com.test.jlink jmod created
[2024-08-10T04:17:57.234Z] GEN 04:17:57.129 - 12 setUp fileCheck Check com.hello jmod created
[2024-08-10T04:17:57.234Z] GEN 04:17:57.130 - 13 execute jlink Create runtime image
[2024-08-10T04:17:57.234Z] GEN 04:17:57.131 - 14 execute Run java Running listmods
[2024-08-10T04:17:57.235Z] GEN 04:17:57.131 - 15 execute count Check output
[2024-08-10T04:17:57.235Z] GEN 04:17:57.133 - 16 execute count Check output
[2024-08-10T04:17:57.235Z] GEN 04:17:57.133 - 17 execute count Check output
[2024-08-10T04:17:57.235Z] GEN 04:17:57.136 - 18 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest
[2024-08-10T04:17:57.235Z] GEN 04:17:57.137 - 19 execute jlink Create runtime image
[2024-08-10T04:17:57.235Z] GEN 04:17:57.137 - 20 execute Run java Running listmods
[2024-08-10T04:17:57.235Z] GEN 04:17:57.137 - 21 execute count Check output
[2024-08-10T04:17:57.235Z] GEN 04:17:57.138 - 22 execute count Check output
[2024-08-10T04:17:57.235Z] GEN 04:17:57.139 - 23 execute count Check output
[2024-08-10T04:17:57.235Z] GEN 04:17:57.140 - 24 execute Run java Running adoptopenjdk.test.modularity.jlink.JniTest
[2024-08-10T04:17:57.235Z] GEN 04:17:57.140 - 25 execute jlink Create runtime image
[2024-08-10T04:17:57.235Z] GEN 04:17:57.141 - 26 execute Run java Running listmods
[2024-08-10T04:17:57.235Z] GEN 04:17:57.141 - 27 execute count Check output
[2024-08-10T04:17:57.235Z] GEN 04:17:57.143 - 28 execute count Check output
[2024-08-10T04:17:57.235Z] GEN 04:17:57.143 - 29 execute count Check output
[2024-08-10T04:17:57.235Z] GEN 04:17:57.144 - 30 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest
[2024-08-10T04:17:57.893Z] STF 04:17:57.280 -
[2024-08-10T04:17:57.893Z] STF 04:17:57.281 - Script generation completed
[2024-08-10T04:17:57.893Z] STF 04:17:57.281 -
[2024-08-10T04:17:57.893Z] STF 04:17:57.282 -
[2024-08-10T04:17:57.893Z] STF 04:17:57.282 - ======================= S E T U P =======================
[2024-08-10T04:17:57.893Z] STF 04:17:57.282 - Running setup: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/setUp.pl
[2024-08-10T04:17:57.893Z] STF 04:17:57.520 -
[2024-08-10T04:17:57.893Z] STF 04:17:57.520 - +------ Step 1 - Copying com.test.jlink
[2024-08-10T04:17:57.893Z] STF 04:17:57.520 - | Copy a directory to a new directory
[2024-08-10T04:17:57.893Z] STF 04:17:57.520 - | 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-08-10T04:17:57.893Z] STF 04:17:57.520 - | Dest dir: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/com.test.jLinkDirCopy
[2024-08-10T04:17:57.893Z] STF 04:17:57.520 - |
[2024-08-10T04:17:57.893Z] STF 04:17:57.537 -
[2024-08-10T04:17:57.893Z] STF 04:17:57.537 - +------ Step 2 - Removing natives folder from com.test.jLinkDirCopy
[2024-08-10T04:17:57.893Z] STF 04:17:57.537 - | Recursively delete a directory
[2024-08-10T04:17:57.893Z] STF 04:17:57.538 - | Directory: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/com.test.jLinkDirCopy/native
[2024-08-10T04:17:57.893Z] STF 04:17:57.538 - |
[2024-08-10T04:17:57.893Z] STF 04:17:57.541 -
[2024-08-10T04:17:57.893Z] STF 04:17:57.541 - +------ Step 3 - Create com.test.jlink jar
[2024-08-10T04:17:57.893Z] STF 04:17:57.541 - | Create modular jar
[2024-08-10T04:17:57.893Z] STF 04:17:57.541 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test.jlink
[2024-08-10T04:17:57.893Z] STF 04:17:57.542 - | ModuleVersion: null
[2024-08-10T04:17:57.893Z] STF 04:17:57.542 - | MainClass: null
[2024-08-10T04:17:57.893Z] STF 04:17:57.542 - | HashModules: null
[2024-08-10T04:17:57.893Z] STF 04:17:57.542 - |
[2024-08-10T04:17:57.893Z] STF 04:17:57.543 - 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_1723260406797/Jlink_ReqMod_0/20240810-041750-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-08-10T04:17:57.893Z] STF 04:17:57.543 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/results/3.CMJ.stderr
[2024-08-10T04:17:57.893Z] STF 04:17:57.543 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/results/3.CMJ.stdout
[2024-08-10T04:17:57.893Z] STF 04:17:57.577 - Monitoring processes: CMJ
[2024-08-10T04:17:57.893Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-10T04:17:59.584Z] STF 04:17:59.137 - Monitoring Report Summary:
[2024-08-10T04:17:59.584Z] STF 04:17:59.137 - o Process CMJ ended with the expected exit code (0)
[2024-08-10T04:17:59.584Z] STF 04:17:59.138 - Created modular jar: 3.com.test.jlink.jar
[2024-08-10T04:17:59.584Z] STF 04:17:59.138 -
[2024-08-10T04:17:59.584Z] STF 04:17:59.138 - +------ Step 4 - Create com.hello jar
[2024-08-10T04:17:59.584Z] STF 04:17:59.138 - | Create modular jar
[2024-08-10T04:17:59.584Z] STF 04:17:59.138 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello
[2024-08-10T04:17:59.584Z] STF 04:17:59.138 - | ModuleVersion: null
[2024-08-10T04:17:59.584Z] STF 04:17:59.138 - | MainClass: null
[2024-08-10T04:17:59.584Z] STF 04:17:59.138 - | HashModules: null
[2024-08-10T04:17:59.584Z] STF 04:17:59.138 - |
[2024-08-10T04:17:59.584Z] STF 04:17:59.139 - 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_1723260406797/Jlink_ReqMod_0/20240810-041750-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-08-10T04:17:59.584Z] STF 04:17:59.139 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/results/4.CMJ.stderr
[2024-08-10T04:17:59.584Z] STF 04:17:59.139 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/results/4.CMJ.stdout
[2024-08-10T04:17:59.584Z] STF 04:17:59.143 - Monitoring processes: CMJ
[2024-08-10T04:17:59.584Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-10T04:18:00.949Z] STF 04:18:00.536 - Monitoring Report Summary:
[2024-08-10T04:18:00.949Z] STF 04:18:00.536 - o Process CMJ ended with the expected exit code (0)
[2024-08-10T04:18:00.949Z] STF 04:18:00.537 - Created modular jar: 4.com.hello.jar
[2024-08-10T04:18:00.949Z] STF 04:18:00.537 -
[2024-08-10T04:18:00.949Z] STF 04:18:00.537 - +------ Step 5 - Check com.test.jlink modular jar created
[2024-08-10T04:18:00.949Z] STF 04:18:00.537 - | Validate file exists
[2024-08-10T04:18:00.949Z] STF 04:18:00.537 - | File: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/modules/3.com.test.jlink.jar
[2024-08-10T04:18:00.949Z] STF 04:18:00.537 - |
[2024-08-10T04:18:00.949Z] STF 04:18:00.537 -
[2024-08-10T04:18:00.950Z] STF 04:18:00.537 - +------ Step 6 - Check com.hello modular jar created
[2024-08-10T04:18:00.950Z] STF 04:18:00.537 - | Validate file exists
[2024-08-10T04:18:00.950Z] STF 04:18:00.537 - | File: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/modules/4.com.hello.jar
[2024-08-10T04:18:00.950Z] STF 04:18:00.537 - |
[2024-08-10T04:18:00.950Z] STF 04:18:00.537 -
[2024-08-10T04:18:00.950Z] STF 04:18:00.537 - +------ Step 7 - Removing conf folder from com.test.jLinkDirCopy
[2024-08-10T04:18:00.950Z] STF 04:18:00.537 - | Recursively delete a directory
[2024-08-10T04:18:00.950Z] STF 04:18:00.537 - | Directory: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/com.test.jLinkDirCopy/conf
[2024-08-10T04:18:00.950Z] STF 04:18:00.537 - |
[2024-08-10T04:18:00.950Z] STF 04:18:00.539 -
[2024-08-10T04:18:00.950Z] STF 04:18:00.539 - +------ Step 8 - Copying .so from com.test.jlink/native
[2024-08-10T04:18:00.950Z] STF 04:18:00.539 - | Copy a directory to a new directory
[2024-08-10T04:18:00.950Z] STF 04:18:00.539 - | 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-08-10T04:18:00.950Z] STF 04:18:00.539 - | Dest dir: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/native
[2024-08-10T04:18:00.950Z] STF 04:18:00.539 - |
[2024-08-10T04:18:00.950Z] STF 04:18:00.541 -
[2024-08-10T04:18:00.950Z] STF 04:18:00.541 - +------ Step 9 - Creating jmod of com.test.jlink module
[2024-08-10T04:18:00.950Z] STF 04:18:00.541 - | Run jmod utility
[2024-08-10T04:18:00.950Z] STF 04:18:00.541 - | jmod: com.test.jlink.jmod
[2024-08-10T04:18:00.950Z] STF 04:18:00.541 - |
[2024-08-10T04:18:00.950Z] STF 04:18:00.542 - 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_1723260406797/Jlink_ReqMod_0/20240810-041750-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_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/native /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/tmp/com.test.jlink.jmod
[2024-08-10T04:18:00.950Z] STF 04:18:00.542 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/results/9.JMOD.stderr
[2024-08-10T04:18:00.950Z] STF 04:18:00.542 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/results/9.JMOD.stdout
[2024-08-10T04:18:00.950Z] STF 04:18:00.550 - Monitoring processes: JMOD
[2024-08-10T04:18:00.950Z] JMOD stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-10T04:18:02.241Z] STF 04:18:01.979 - Monitoring Report Summary:
[2024-08-10T04:18:02.241Z] STF 04:18:01.979 - o Process JMOD ended with the expected exit code (0)
[2024-08-10T04:18:02.241Z] STF 04:18:01.980 -
[2024-08-10T04:18:02.241Z] STF 04:18:01.980 - +------ Step 10 - Creating jmod for com.hello module
[2024-08-10T04:18:02.241Z] STF 04:18:01.980 - | Run jmod utility
[2024-08-10T04:18:02.241Z] STF 04:18:01.980 - | jmod: com.hello.jmod
[2024-08-10T04:18:02.241Z] STF 04:18:01.980 - |
[2024-08-10T04:18:02.241Z] STF 04:18:01.981 - 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_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/tmp/com.hello.jmod
[2024-08-10T04:18:02.241Z] STF 04:18:01.981 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/results/10.JMOD.stderr
[2024-08-10T04:18:02.241Z] STF 04:18:01.981 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/results/10.JMOD.stdout
[2024-08-10T04:18:02.241Z] STF 04:18:01.986 - Monitoring processes: JMOD
[2024-08-10T04:18:02.241Z] JMOD stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-10T04:18:04.136Z] STF 04:18:03.305 - Monitoring Report Summary:
[2024-08-10T04:18:04.136Z] STF 04:18:03.305 - o Process JMOD ended with the expected exit code (0)
[2024-08-10T04:18:04.136Z] STF 04:18:03.307 -
[2024-08-10T04:18:04.136Z] STF 04:18:03.308 - +------ Step 11 - Check com.test.jlink jmod created
[2024-08-10T04:18:04.136Z] STF 04:18:03.308 - | Validate file exists
[2024-08-10T04:18:04.136Z] STF 04:18:03.308 - | File: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/tmp/com.test.jlink.jmod
[2024-08-10T04:18:04.136Z] STF 04:18:03.308 - |
[2024-08-10T04:18:04.136Z] STF 04:18:03.309 -
[2024-08-10T04:18:04.136Z] STF 04:18:03.309 - +------ Step 12 - Check com.hello jmod created
[2024-08-10T04:18:04.136Z] STF 04:18:03.309 - | Validate file exists
[2024-08-10T04:18:04.136Z] STF 04:18:03.309 - | File: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/tmp/com.hello.jmod
[2024-08-10T04:18:04.136Z] STF 04:18:03.309 - |
[2024-08-10T04:18:04.136Z] STF 04:18:03.309 - SETUP stage completed
[2024-08-10T04:18:04.136Z] STF 04:18:03.331 -
[2024-08-10T04:18:04.136Z] STF 04:18:03.331 - ==================== E X E C U T E - ====================
[2024-08-10T04:18:04.136Z] STF 04:18:03.331 - Running execute: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/execute.pl
[2024-08-10T04:18:04.136Z] STF 04:18:03.565 -
[2024-08-10T04:18:04.136Z] STF 04:18:03.565 - Java version
[2024-08-10T04:18:04.136Z] STF 04:18:03.565 - Running: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/java -version
[2024-08-10T04:18:04.136Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-10T04:18:04.136Z] openjdk version "21.0.5-beta" 2024-10-15
[2024-08-10T04:18:04.136Z] OpenJDK Runtime Environment Temurin-21.0.5+2-202408091928 (build 21.0.5-beta+2-ea)
[2024-08-10T04:18:04.136Z] OpenJDK 64-Bit Server VM Temurin-21.0.5+2-202408091928 (build 21.0.5-beta+2-ea, mixed mode, sharing)
[2024-08-10T04:18:04.136Z] STF 04:18:03.794 -
[2024-08-10T04:18:04.136Z] STF 04:18:03.794 - +------ Step 13 - Create runtime image
[2024-08-10T04:18:04.136Z] STF 04:18:03.794 - | Run jlink to create runtime image
[2024-08-10T04:18:04.136Z] STF 04:18:03.794 - | ImageName: CRI1
[2024-08-10T04:18:04.136Z] STF 04:18:03.794 - |
[2024-08-10T04:18:04.136Z] STF 04:18:03.795 - 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_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/modules --add-modules com.test.jlink --output /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/tmp/13.CRI1
[2024-08-10T04:18:04.136Z] STF 04:18:03.795 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/results/13.JLNK.stderr
[2024-08-10T04:18:04.136Z] STF 04:18:03.796 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/results/13.JLNK.stdout
[2024-08-10T04:18:04.136Z] STF 04:18:03.835 - Monitoring processes: JLNK
[2024-08-10T04:18:04.136Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-10T04:18:13.773Z] STF 04:18:12.669 - Monitoring Report Summary:
[2024-08-10T04:18:13.773Z] STF 04:18:12.669 - o Process JLNK ended with the expected exit code (0)
[2024-08-10T04:18:13.773Z] STF 04:18:12.670 -
[2024-08-10T04:18:13.773Z] STF 04:18:12.670 - +------ Step 14 - Running listmods
[2024-08-10T04:18:13.773Z] STF 04:18:12.670 - | Run foreground process
[2024-08-10T04:18:13.773Z] STF 04:18:12.671 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/tmp/13.CRI1/bin/java
[2024-08-10T04:18:13.773Z] STF 04:18:12.671 - | Mnemonic: LIST
[2024-08-10T04:18:13.773Z] STF 04:18:12.671 - | Echo: ECHO_ON
[2024-08-10T04:18:13.773Z] STF 04:18:12.671 - | Expectation: CLEAN_RUN within 1m
[2024-08-10T04:18:13.773Z] STF 04:18:12.671 - |
[2024-08-10T04:18:13.773Z] STF 04:18:12.673 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/tmp/13.CRI1/bin/java --list-modules -XX:+UseCompressedOops
[2024-08-10T04:18:13.773Z] STF 04:18:12.673 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/results/14.LIST.stderr
[2024-08-10T04:18:13.773Z] STF 04:18:12.673 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/results/14.LIST.stdout
[2024-08-10T04:18:13.773Z] STF 04:18:12.681 - Monitoring processes: LIST
[2024-08-10T04:18:13.773Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-10T04:18:13.773Z] LIST com.hello
[2024-08-10T04:18:13.773Z] LIST com.test.jlink
[2024-08-10T04:18:13.773Z] LIST java.base@21.0.5-beta
[2024-08-10T04:18:13.773Z] STF 04:18:13.342 - Monitoring Report Summary:
[2024-08-10T04:18:13.773Z] STF 04:18:13.342 - o Process LIST ended with the expected exit code (0)
[2024-08-10T04:18:13.773Z] STF 04:18:13.344 -
[2024-08-10T04:18:13.773Z] STF 04:18:13.344 - +------ Step 15 - Check output
[2024-08-10T04:18:13.773Z] STF 04:18:13.344 - | Count file matches
[2024-08-10T04:18:13.773Z] STF 04:18:13.344 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/results/14.LIST.stdout
[2024-08-10T04:18:13.773Z] STF 04:18:13.344 - | ExpectedNumMatches: 1
[2024-08-10T04:18:13.773Z] STF 04:18:13.344 - | SearchStrings: ["com.hello"]
[2024-08-10T04:18:13.773Z] STF 04:18:13.344 - |
[2024-08-10T04:18:13.773Z] STF 04:18:13.344 - Found 1 instances of ["com.hello"]
[2024-08-10T04:18:13.773Z] STF 04:18:13.345 -
[2024-08-10T04:18:13.773Z] STF 04:18:13.345 - +------ Step 16 - Check output
[2024-08-10T04:18:13.773Z] STF 04:18:13.345 - | Count file matches
[2024-08-10T04:18:13.773Z] STF 04:18:13.345 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/results/14.LIST.stdout
[2024-08-10T04:18:13.773Z] STF 04:18:13.345 - | ExpectedNumMatches: 1
[2024-08-10T04:18:13.773Z] STF 04:18:13.345 - | SearchStrings: ["com.test.jlink"]
[2024-08-10T04:18:13.773Z] STF 04:18:13.345 - |
[2024-08-10T04:18:13.773Z] STF 04:18:13.345 - Found 1 instances of ["com.test.jlink"]
[2024-08-10T04:18:13.773Z] STF 04:18:13.346 -
[2024-08-10T04:18:13.773Z] STF 04:18:13.346 - +------ Step 17 - Check output
[2024-08-10T04:18:13.773Z] STF 04:18:13.346 - | Count file matches
[2024-08-10T04:18:13.773Z] STF 04:18:13.346 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/results/14.LIST.stdout
[2024-08-10T04:18:13.773Z] STF 04:18:13.346 - | ExpectedNumMatches: 1
[2024-08-10T04:18:13.773Z] STF 04:18:13.346 - | SearchStrings: ["java.base"]
[2024-08-10T04:18:13.773Z] STF 04:18:13.346 - |
[2024-08-10T04:18:13.773Z] STF 04:18:13.347 - Found 1 instances of ["java.base"]
[2024-08-10T04:18:13.773Z] STF 04:18:13.347 -
[2024-08-10T04:18:13.773Z] STF 04:18:13.347 - +------ Step 18 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest
[2024-08-10T04:18:13.773Z] STF 04:18:13.347 - | Run foreground process
[2024-08-10T04:18:13.773Z] STF 04:18:13.347 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/tmp/13.CRI1/bin/java
[2024-08-10T04:18:13.773Z] STF 04:18:13.347 - | Mnemonic: T1
[2024-08-10T04:18:13.773Z] STF 04:18:13.347 - | Echo: ECHO_ON
[2024-08-10T04:18:13.773Z] STF 04:18:13.347 - | Expectation: CLEAN_RUN within 1m
[2024-08-10T04:18:13.773Z] STF 04:18:13.347 - |
[2024-08-10T04:18:13.773Z] STF 04:18:13.349 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-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_1723260406797/Jlink_ReqMod_0/20240810-041750-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-08-10T04:18:13.773Z] STF 04:18:13.349 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/results/18.T1.stderr
[2024-08-10T04:18:13.773Z] STF 04:18:13.349 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/results/18.T1.stdout
[2024-08-10T04:18:13.773Z] STF 04:18:13.356 - Monitoring processes: T1
[2024-08-10T04:18:13.773Z] T1 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-10T04:18:14.424Z] T1 JUnit version 4.12
[2024-08-10T04:18:15.035Z] T1 .
[2024-08-10T04:18:15.035Z] T1 Time: 0.042
[2024-08-10T04:18:15.035Z] T1
[2024-08-10T04:18:15.035Z] T1 OK (1 test)
[2024-08-10T04:18:15.035Z] T1
[2024-08-10T04:18:15.035Z] STF 04:18:14.841 - Monitoring Report Summary:
[2024-08-10T04:18:15.035Z] STF 04:18:14.841 - o Process T1 ended with the expected exit code (0)
[2024-08-10T04:18:15.035Z] STF 04:18:14.842 -
[2024-08-10T04:18:15.035Z] STF 04:18:14.842 - +------ Step 19 - Create runtime image
[2024-08-10T04:18:15.035Z] STF 04:18:14.842 - | Run jlink to create runtime image
[2024-08-10T04:18:15.035Z] STF 04:18:14.842 - | ImageName: CRI2
[2024-08-10T04:18:15.035Z] STF 04:18:14.842 - |
[2024-08-10T04:18:15.035Z] STF 04:18:14.843 - 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_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/tmp --add-modules com.test.jlink --output /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/tmp/19.CRI2
[2024-08-10T04:18:15.035Z] STF 04:18:14.843 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/results/19.JLNK.stderr
[2024-08-10T04:18:15.035Z] STF 04:18:14.843 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/results/19.JLNK.stdout
[2024-08-10T04:18:15.035Z] STF 04:18:14.847 - Monitoring processes: JLNK
[2024-08-10T04:18:15.035Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-10T04:18:24.500Z] STF 04:18:23.829 - Monitoring Report Summary:
[2024-08-10T04:18:24.500Z] STF 04:18:23.830 - o Process JLNK ended with the expected exit code (0)
[2024-08-10T04:18:24.500Z] STF 04:18:23.833 -
[2024-08-10T04:18:24.500Z] STF 04:18:23.833 - +------ Step 20 - Running listmods
[2024-08-10T04:18:24.500Z] STF 04:18:23.833 - | Run foreground process
[2024-08-10T04:18:24.500Z] STF 04:18:23.834 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/tmp/19.CRI2/bin/java
[2024-08-10T04:18:24.500Z] STF 04:18:23.834 - | Mnemonic: LIST
[2024-08-10T04:18:24.500Z] STF 04:18:23.834 - | Echo: ECHO_ON
[2024-08-10T04:18:24.500Z] STF 04:18:23.835 - | Expectation: CLEAN_RUN within 1m
[2024-08-10T04:18:24.500Z] STF 04:18:23.835 - |
[2024-08-10T04:18:24.500Z] STF 04:18:23.839 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/tmp/19.CRI2/bin/java --list-modules -XX:+UseCompressedOops
[2024-08-10T04:18:24.500Z] STF 04:18:23.839 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/results/20.LIST.stderr
[2024-08-10T04:18:24.500Z] STF 04:18:23.840 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/results/20.LIST.stdout
[2024-08-10T04:18:24.500Z] STF 04:18:23.849 - Monitoring processes: LIST
[2024-08-10T04:18:24.500Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-10T04:18:25.265Z] LIST com.hello
[2024-08-10T04:18:25.265Z] LIST com.test.jlink
[2024-08-10T04:18:25.265Z] LIST java.base@21.0.5-beta
[2024-08-10T04:18:25.265Z] STF 04:18:24.516 - Monitoring Report Summary:
[2024-08-10T04:18:25.265Z] STF 04:18:24.516 - o Process LIST ended with the expected exit code (0)
[2024-08-10T04:18:25.265Z] STF 04:18:24.517 -
[2024-08-10T04:18:25.265Z] STF 04:18:24.517 - +------ Step 21 - Check output
[2024-08-10T04:18:25.265Z] STF 04:18:24.517 - | Count file matches
[2024-08-10T04:18:25.265Z] STF 04:18:24.517 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/results/20.LIST.stdout
[2024-08-10T04:18:25.265Z] STF 04:18:24.517 - | ExpectedNumMatches: 1
[2024-08-10T04:18:25.265Z] STF 04:18:24.517 - | SearchStrings: ["com.hello"]
[2024-08-10T04:18:25.265Z] STF 04:18:24.517 - |
[2024-08-10T04:18:25.265Z] STF 04:18:24.518 - Found 1 instances of ["com.hello"]
[2024-08-10T04:18:25.265Z] STF 04:18:24.518 -
[2024-08-10T04:18:25.265Z] STF 04:18:24.518 - +------ Step 22 - Check output
[2024-08-10T04:18:25.265Z] STF 04:18:24.518 - | Count file matches
[2024-08-10T04:18:25.265Z] STF 04:18:24.518 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/results/20.LIST.stdout
[2024-08-10T04:18:25.265Z] STF 04:18:24.518 - | ExpectedNumMatches: 1
[2024-08-10T04:18:25.265Z] STF 04:18:24.518 - | SearchStrings: ["com.test.jlink"]
[2024-08-10T04:18:25.265Z] STF 04:18:24.518 - |
[2024-08-10T04:18:25.265Z] STF 04:18:24.519 - Found 1 instances of ["com.test.jlink"]
[2024-08-10T04:18:25.265Z] STF 04:18:24.519 -
[2024-08-10T04:18:25.265Z] STF 04:18:24.520 - +------ Step 23 - Check output
[2024-08-10T04:18:25.265Z] STF 04:18:24.520 - | Count file matches
[2024-08-10T04:18:25.265Z] STF 04:18:24.520 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/results/20.LIST.stdout
[2024-08-10T04:18:25.265Z] STF 04:18:24.520 - | ExpectedNumMatches: 1
[2024-08-10T04:18:25.265Z] STF 04:18:24.520 - | SearchStrings: ["java.base"]
[2024-08-10T04:18:25.265Z] STF 04:18:24.520 - |
[2024-08-10T04:18:25.265Z] STF 04:18:24.520 - Found 1 instances of ["java.base"]
[2024-08-10T04:18:25.265Z] STF 04:18:24.520 -
[2024-08-10T04:18:25.265Z] STF 04:18:24.520 - +------ Step 24 - Running adoptopenjdk.test.modularity.jlink.JniTest
[2024-08-10T04:18:25.265Z] STF 04:18:24.521 - | Run foreground process
[2024-08-10T04:18:25.265Z] STF 04:18:24.521 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/tmp/19.CRI2/bin/java
[2024-08-10T04:18:25.265Z] STF 04:18:24.521 - | Mnemonic: T2
[2024-08-10T04:18:25.265Z] STF 04:18:24.521 - | Echo: ECHO_ON
[2024-08-10T04:18:25.265Z] STF 04:18:24.521 - | Expectation: CLEAN_RUN within 1m
[2024-08-10T04:18:25.265Z] STF 04:18:24.521 - |
[2024-08-10T04:18:25.265Z] STF 04:18:24.522 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-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_1723260406797/Jlink_ReqMod_0/20240810-041750-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-08-10T04:18:25.265Z] STF 04:18:24.522 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/results/24.T2.stderr
[2024-08-10T04:18:25.265Z] STF 04:18:24.523 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/results/24.T2.stdout
[2024-08-10T04:18:25.265Z] STF 04:18:24.529 - Monitoring processes: T2
[2024-08-10T04:18:25.265Z] T2 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-10T04:18:25.265Z] T2 JUnit version 4.12
[2024-08-10T04:18:26.526Z] T2 .
[2024-08-10T04:18:26.526Z] T2 Time: 0.042
[2024-08-10T04:18:26.526Z] T2
[2024-08-10T04:18:26.526Z] T2 OK (1 test)
[2024-08-10T04:18:26.526Z] T2
[2024-08-10T04:18:26.526Z] STF 04:18:25.947 - Monitoring Report Summary:
[2024-08-10T04:18:26.526Z] STF 04:18:25.947 - o Process T2 ended with the expected exit code (0)
[2024-08-10T04:18:26.526Z] STF 04:18:25.948 -
[2024-08-10T04:18:26.526Z] STF 04:18:25.948 - +------ Step 25 - Create runtime image
[2024-08-10T04:18:26.526Z] STF 04:18:25.948 - | Run jlink to create runtime image
[2024-08-10T04:18:26.526Z] STF 04:18:25.948 - | ImageName: CRI3
[2024-08-10T04:18:26.526Z] STF 04:18:25.948 - |
[2024-08-10T04:18:26.526Z] STF 04:18:25.949 - 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_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/tmp/25.CRI3
[2024-08-10T04:18:26.526Z] STF 04:18:25.949 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/results/25.JLNK.stderr
[2024-08-10T04:18:26.526Z] STF 04:18:25.949 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/results/25.JLNK.stdout
[2024-08-10T04:18:26.526Z] STF 04:18:25.955 - Monitoring processes: JLNK
[2024-08-10T04:18:26.526Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-10T04:18:36.218Z] STF 04:18:34.911 - Monitoring Report Summary:
[2024-08-10T04:18:36.218Z] STF 04:18:34.911 - o Process JLNK ended with the expected exit code (0)
[2024-08-10T04:18:36.218Z] STF 04:18:34.912 -
[2024-08-10T04:18:36.218Z] STF 04:18:34.912 - +------ Step 26 - Running listmods
[2024-08-10T04:18:36.219Z] STF 04:18:34.912 - | Run foreground process
[2024-08-10T04:18:36.219Z] STF 04:18:34.912 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/tmp/25.CRI3/bin/java
[2024-08-10T04:18:36.219Z] STF 04:18:34.912 - | Mnemonic: LIST
[2024-08-10T04:18:36.219Z] STF 04:18:34.912 - | Echo: ECHO_ON
[2024-08-10T04:18:36.219Z] STF 04:18:34.912 - | Expectation: CLEAN_RUN within 1m
[2024-08-10T04:18:36.219Z] STF 04:18:34.912 - |
[2024-08-10T04:18:36.219Z] STF 04:18:34.913 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/tmp/25.CRI3/bin/java --list-modules -XX:+UseCompressedOops
[2024-08-10T04:18:36.219Z] STF 04:18:34.913 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/results/26.LIST.stderr
[2024-08-10T04:18:36.219Z] STF 04:18:34.913 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/results/26.LIST.stdout
[2024-08-10T04:18:36.219Z] STF 04:18:34.920 - Monitoring processes: LIST
[2024-08-10T04:18:36.219Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-10T04:18:36.219Z] LIST com.hello
[2024-08-10T04:18:36.219Z] LIST com.test.jlink
[2024-08-10T04:18:36.219Z] LIST java.base@21.0.5-beta
[2024-08-10T04:18:36.219Z] STF 04:18:35.582 - Monitoring Report Summary:
[2024-08-10T04:18:36.219Z] STF 04:18:35.582 - o Process LIST ended with the expected exit code (0)
[2024-08-10T04:18:36.219Z] STF 04:18:35.583 -
[2024-08-10T04:18:36.219Z] STF 04:18:35.584 - +------ Step 27 - Check output
[2024-08-10T04:18:36.219Z] STF 04:18:35.584 - | Count file matches
[2024-08-10T04:18:36.219Z] STF 04:18:35.584 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/results/26.LIST.stdout
[2024-08-10T04:18:36.219Z] STF 04:18:35.584 - | ExpectedNumMatches: 1
[2024-08-10T04:18:36.219Z] STF 04:18:35.584 - | SearchStrings: ["com.hello"]
[2024-08-10T04:18:36.219Z] STF 04:18:35.584 - |
[2024-08-10T04:18:36.219Z] STF 04:18:35.584 - Found 1 instances of ["com.hello"]
[2024-08-10T04:18:36.219Z] STF 04:18:35.585 -
[2024-08-10T04:18:36.219Z] STF 04:18:35.585 - +------ Step 28 - Check output
[2024-08-10T04:18:36.219Z] STF 04:18:35.585 - | Count file matches
[2024-08-10T04:18:36.219Z] STF 04:18:35.585 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/results/26.LIST.stdout
[2024-08-10T04:18:36.219Z] STF 04:18:35.585 - | ExpectedNumMatches: 1
[2024-08-10T04:18:36.219Z] STF 04:18:35.585 - | SearchStrings: ["com.test.jlink"]
[2024-08-10T04:18:36.219Z] STF 04:18:35.585 - |
[2024-08-10T04:18:36.219Z] STF 04:18:35.585 - Found 1 instances of ["com.test.jlink"]
[2024-08-10T04:18:36.219Z] STF 04:18:35.585 -
[2024-08-10T04:18:36.219Z] STF 04:18:35.586 - +------ Step 29 - Check output
[2024-08-10T04:18:36.219Z] STF 04:18:35.586 - | Count file matches
[2024-08-10T04:18:36.219Z] STF 04:18:35.586 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/results/26.LIST.stdout
[2024-08-10T04:18:36.219Z] STF 04:18:35.586 - | ExpectedNumMatches: 1
[2024-08-10T04:18:36.219Z] STF 04:18:35.586 - | SearchStrings: ["java.base"]
[2024-08-10T04:18:36.219Z] STF 04:18:35.586 - |
[2024-08-10T04:18:36.219Z] STF 04:18:35.586 - Found 1 instances of ["java.base"]
[2024-08-10T04:18:36.219Z] STF 04:18:35.587 -
[2024-08-10T04:18:36.219Z] STF 04:18:35.587 - +------ Step 30 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest
[2024-08-10T04:18:36.219Z] STF 04:18:35.587 - | Run foreground process
[2024-08-10T04:18:36.219Z] STF 04:18:35.587 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/tmp/25.CRI3/bin/java
[2024-08-10T04:18:36.219Z] STF 04:18:35.587 - | Mnemonic: T3
[2024-08-10T04:18:36.219Z] STF 04:18:35.587 - | Echo: ECHO_ON
[2024-08-10T04:18:36.219Z] STF 04:18:35.587 - | Expectation: CLEAN_RUN within 1m
[2024-08-10T04:18:36.219Z] STF 04:18:35.587 - |
[2024-08-10T04:18:36.219Z] STF 04:18:35.589 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-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_1723260406797/Jlink_ReqMod_0/20240810-041750-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-08-10T04:18:36.219Z] STF 04:18:35.589 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/results/30.T3.stderr
[2024-08-10T04:18:36.219Z] STF 04:18:35.589 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/results/30.T3.stdout
[2024-08-10T04:18:36.219Z] STF 04:18:35.598 - Monitoring processes: T3
[2024-08-10T04:18:36.219Z] T3 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-10T04:18:36.826Z] T3 JUnit version 4.12
[2024-08-10T04:18:37.469Z] T3 .
[2024-08-10T04:18:37.469Z] T3 Time: 0.044
[2024-08-10T04:18:37.469Z] T3
[2024-08-10T04:18:37.469Z] T3 OK (1 test)
[2024-08-10T04:18:37.469Z] T3
[2024-08-10T04:18:37.469Z] STF 04:18:37.049 - Monitoring Report Summary:
[2024-08-10T04:18:37.469Z] STF 04:18:37.049 - o Process T3 ended with the expected exit code (0)
[2024-08-10T04:18:37.469Z] STF 04:18:37.051 - EXECUTE stage completed
[2024-08-10T04:18:37.469Z] STF 04:18:37.255 -
[2024-08-10T04:18:37.469Z] STF 04:18:37.256 - ==================== T E A R D O W N ====================
[2024-08-10T04:18:37.469Z] STF 04:18:37.256 - Running teardown: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_1723260406797/Jlink_ReqMod_0/20240810-041750-JlinkTest/tearDown.pl
[2024-08-10T04:18:38.033Z] STF 04:18:37.494 - TEARDOWN stage completed
[2024-08-10T04:18:38.033Z] STF 04:18:37.502 -
[2024-08-10T04:18:38.033Z] STF 04:18:37.502 - ===================== R E S U L T S =====================
[2024-08-10T04:18:38.033Z] STF 04:18:37.502 - Stage results:
[2024-08-10T04:18:38.033Z] STF 04:18:37.502 - setUp: pass
[2024-08-10T04:18:38.033Z] STF 04:18:37.502 - execute: pass
[2024-08-10T04:18:38.033Z] STF 04:18:37.502 - teardown: pass
[2024-08-10T04:18:38.033Z] STF 04:18:37.503 -
[2024-08-10T04:18:38.033Z] STF 04:18:37.503 - Overall result: PASSED
[2024-08-10T04:18:38.033Z] -----------------------------------
[2024-08-10T04:18:38.033Z] Jlink_ReqMod_0_PASSED
[2024-08-10T04:18:38.033Z] -----------------------------------
[2024-08-10T04:18:38.033Z]
[2024-08-10T04:18:38.033Z] TEST TEARDOWN:
[2024-08-10T04:18:38.033Z] Nothing to be done for teardown.
[2024-08-10T04:18:38.033Z] Jlink_ReqMod_0 Finish Time: Sat Aug 10 04:18:37 2024 Epoch Time (ms): 1723263517829