Jlink_ReqMod_0
[2024-08-21T22:33:30.711Z] Running test Jlink_ReqMod_0 ...
[2024-08-21T22:33:30.711Z] ===============================================
[2024-08-21T22:33:30.711Z] Jlink_ReqMod_0 Start Time: Wed Aug 21 22:33:30 2024 Epoch Time (ms): 1724279610517
[2024-08-21T22:33:30.711Z] variation: Mode150
[2024-08-21T22:33:30.711Z] JVM_OPTIONS: -XX:+UseCompressedOops
[2024-08-21T22:33:30.711Z] { \
[2024-08-21T22:33:30.711Z] echo ""; echo "TEST SETUP:"; \
[2024-08-21T22:33:30.711Z] echo "Nothing to be done for setup."; \
[2024-08-21T22:33:30.711Z] mkdir -p "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17242785988004/Jlink_ReqMod_0"; \
[2024-08-21T22:33:30.711Z] cd "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17242785988004/Jlink_ReqMod_0"; \
[2024-08-21T22:33:30.711Z] echo ""; echo "TESTING:"; \
[2024-08-21T22:33:30.711Z] 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_17242785988004/Jlink_ReqMod_0" -test=JlinkTest -test-args="variant=ReqdMod"; \
[2024-08-21T22:33:30.711Z] 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_17242785988004/Jlink_ReqMod_0"; else echo "-----------------------------------"; echo "Jlink_ReqMod_0""_FAILED"; echo "-----------------------------------"; fi; \
[2024-08-21T22:33:30.711Z] echo ""; echo "TEST TEARDOWN:"; \
[2024-08-21T22:33:30.711Z] echo "Nothing to be done for teardown."; \
[2024-08-21T22:33:30.711Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17242785988004/TestTargetResult";
[2024-08-21T22:33:30.711Z]
[2024-08-21T22:33:30.711Z] TEST SETUP:
[2024-08-21T22:33:30.711Z] Nothing to be done for setup.
[2024-08-21T22:33:30.711Z]
[2024-08-21T22:33:30.711Z] TESTING:
[2024-08-21T22:33:31.286Z] STF 22:33:30.774 - ========================= S T F =========================
[2024-08-21T22:33:31.286Z] 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_17242785988004/Jlink_ReqMod_0
[2024-08-21T22:33:31.286Z] There is 94402 Mb free
[2024-08-21T22:33:31.286Z] STF 22:33:30.794 - ================== G E N E R A T I O N ==================
[2024-08-21T22:33:31.286Z] STF 22:33:30.798 - Checking JVM: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image
[2024-08-21T22:33:31.286Z] STF 22:33:30.798 - 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_17242785988004/Jlink_ReqMod_0/20240821-223330-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_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest"
[2024-08-21T22:33:31.286Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-21T22:33:31.286Z] GEN [0.020s][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-21T22:33:36.503Z] GEN 22:33:35.765 - 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-21T22:33:36.503Z] GEN 22:33:35.790 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.JlinkTest'
[2024-08-21T22:33:36.503Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2024-08-21T22:33:36.503Z] 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-21T22:33:36.503Z] 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-21T22:33:36.503Z] 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-21T22:33:36.503Z] 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-21T22:33:36.503Z] 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-21T22:33:36.503Z] 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-21T22:33:36.503Z] 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-21T22:33:36.503Z] 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-21T22:33:36.503Z] 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-21T22:33:36.503Z] 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-21T22:33:36.503Z] 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-21T22:33:36.503Z] 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-21T22:33:36.503Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common
[2024-08-21T22:33:36.503Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests
[2024-08-21T22:33:36.503Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin
[2024-08-21T22:33:36.503Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/bin
[2024-08-21T22:33:36.503Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar
[2024-08-21T22:33:36.503Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar
[2024-08-21T22:33:36.503Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar
[2024-08-21T22:33:37.175Z] GEN 22:33:36.533 - Using Mode NoOptions. Values = ''
[2024-08-21T22:33:37.175Z] GEN 22:33:37.001 -
[2024-08-21T22:33:37.175Z] GEN 22:33:37.002 - Test command summary:
[2024-08-21T22:33:37.175Z] GEN 22:33:37.004 - Step Stage Command Description
[2024-08-21T22:33:37.175Z] GEN 22:33:37.006 - -----+--------+-----------------+------------
[2024-08-21T22:33:37.175Z] GEN 22:33:37.007 - 1 setUp cpDir Copying com.test.jlink
[2024-08-21T22:33:37.175Z] GEN 22:33:37.007 - 2 setUp rm Removing natives folder from com.test.jLinkDirCopy
[2024-08-21T22:33:37.175Z] GEN 22:33:37.008 - 3 setUp jar Create com.test.jlink jar
[2024-08-21T22:33:37.175Z] GEN 22:33:37.009 - 4 setUp jar Create com.hello jar
[2024-08-21T22:33:37.175Z] GEN 22:33:37.009 - 5 setUp fileCheck Check com.test.jlink modular jar created
[2024-08-21T22:33:37.175Z] GEN 22:33:37.010 - 6 setUp fileCheck Check com.hello modular jar created
[2024-08-21T22:33:37.175Z] GEN 22:33:37.011 - 7 setUp rm Removing conf folder from com.test.jLinkDirCopy
[2024-08-21T22:33:37.175Z] GEN 22:33:37.011 - 8 setUp cpDir Copying .so from com.test.jlink/native
[2024-08-21T22:33:37.175Z] GEN 22:33:37.012 - 9 setUp jmod Creating jmod of com.test.jlink module
[2024-08-21T22:33:37.175Z] GEN 22:33:37.013 - 10 setUp jmod Creating jmod for com.hello module
[2024-08-21T22:33:37.175Z] GEN 22:33:37.014 - 11 setUp fileCheck Check com.test.jlink jmod created
[2024-08-21T22:33:37.175Z] GEN 22:33:37.015 - 12 setUp fileCheck Check com.hello jmod created
[2024-08-21T22:33:37.175Z] GEN 22:33:37.015 - 13 execute jlink Create runtime image
[2024-08-21T22:33:37.175Z] GEN 22:33:37.016 - 14 execute Run java Running listmods
[2024-08-21T22:33:37.175Z] GEN 22:33:37.017 - 15 execute count Check output
[2024-08-21T22:33:37.175Z] GEN 22:33:37.017 - 16 execute count Check output
[2024-08-21T22:33:37.175Z] GEN 22:33:37.018 - 17 execute count Check output
[2024-08-21T22:33:37.175Z] GEN 22:33:37.019 - 18 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest
[2024-08-21T22:33:37.175Z] GEN 22:33:37.019 - 19 execute jlink Create runtime image
[2024-08-21T22:33:37.175Z] GEN 22:33:37.020 - 20 execute Run java Running listmods
[2024-08-21T22:33:37.175Z] GEN 22:33:37.021 - 21 execute count Check output
[2024-08-21T22:33:37.175Z] GEN 22:33:37.022 - 22 execute count Check output
[2024-08-21T22:33:37.175Z] GEN 22:33:37.022 - 23 execute count Check output
[2024-08-21T22:33:37.175Z] GEN 22:33:37.023 - 24 execute Run java Running adoptopenjdk.test.modularity.jlink.JniTest
[2024-08-21T22:33:37.175Z] GEN 22:33:37.023 - 25 execute jlink Create runtime image
[2024-08-21T22:33:37.175Z] GEN 22:33:37.024 - 26 execute Run java Running listmods
[2024-08-21T22:33:37.175Z] GEN 22:33:37.024 - 27 execute count Check output
[2024-08-21T22:33:37.175Z] GEN 22:33:37.025 - 28 execute count Check output
[2024-08-21T22:33:37.175Z] GEN 22:33:37.026 - 29 execute count Check output
[2024-08-21T22:33:37.175Z] GEN 22:33:37.027 - 30 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest
[2024-08-21T22:33:37.827Z] STF 22:33:37.158 -
[2024-08-21T22:33:37.827Z] STF 22:33:37.158 - Script generation completed
[2024-08-21T22:33:37.827Z] STF 22:33:37.158 -
[2024-08-21T22:33:37.827Z] STF 22:33:37.159 -
[2024-08-21T22:33:37.827Z] STF 22:33:37.160 - ======================= S E T U P =======================
[2024-08-21T22:33:37.827Z] STF 22:33:37.160 - Running setup: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/setUp.pl
[2024-08-21T22:33:37.827Z] STF 22:33:37.390 -
[2024-08-21T22:33:37.827Z] STF 22:33:37.390 - +------ Step 1 - Copying com.test.jlink
[2024-08-21T22:33:37.827Z] STF 22:33:37.390 - | Copy a directory to a new directory
[2024-08-21T22:33:37.827Z] STF 22:33:37.390 - | 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-21T22:33:37.827Z] STF 22:33:37.390 - | Dest dir: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/com.test.jLinkDirCopy
[2024-08-21T22:33:37.827Z] STF 22:33:37.390 - |
[2024-08-21T22:33:37.827Z] STF 22:33:37.406 -
[2024-08-21T22:33:37.827Z] STF 22:33:37.406 - +------ Step 2 - Removing natives folder from com.test.jLinkDirCopy
[2024-08-21T22:33:37.827Z] STF 22:33:37.406 - | Recursively delete a directory
[2024-08-21T22:33:37.827Z] STF 22:33:37.406 - | Directory: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/com.test.jLinkDirCopy/native
[2024-08-21T22:33:37.827Z] STF 22:33:37.406 - |
[2024-08-21T22:33:37.827Z] STF 22:33:37.409 -
[2024-08-21T22:33:37.827Z] STF 22:33:37.409 - +------ Step 3 - Create com.test.jlink jar
[2024-08-21T22:33:37.827Z] STF 22:33:37.409 - | Create modular jar
[2024-08-21T22:33:37.827Z] STF 22:33:37.409 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test.jlink
[2024-08-21T22:33:37.827Z] STF 22:33:37.409 - | ModuleVersion: null
[2024-08-21T22:33:37.827Z] STF 22:33:37.409 - | MainClass: null
[2024-08-21T22:33:37.827Z] STF 22:33:37.410 - | HashModules: null
[2024-08-21T22:33:37.827Z] STF 22:33:37.410 - |
[2024-08-21T22:33:37.827Z] STF 22:33:37.410 - 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_17242785988004/Jlink_ReqMod_0/20240821-223330-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-21T22:33:37.827Z] STF 22:33:37.411 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/results/3.CMJ.stderr
[2024-08-21T22:33:37.827Z] STF 22:33:37.411 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/results/3.CMJ.stdout
[2024-08-21T22:33:37.827Z] STF 22:33:37.443 - Monitoring processes: CMJ
[2024-08-21T22:33:37.827Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-21T22:33:39.173Z] STF 22:33:38.899 - Monitoring Report Summary:
[2024-08-21T22:33:39.173Z] STF 22:33:38.899 - o Process CMJ ended with the expected exit code (0)
[2024-08-21T22:33:39.173Z] STF 22:33:38.901 - Created modular jar: 3.com.test.jlink.jar
[2024-08-21T22:33:39.173Z] STF 22:33:38.901 -
[2024-08-21T22:33:39.173Z] STF 22:33:38.901 - +------ Step 4 - Create com.hello jar
[2024-08-21T22:33:39.173Z] STF 22:33:38.902 - | Create modular jar
[2024-08-21T22:33:39.173Z] STF 22:33:38.902 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello
[2024-08-21T22:33:39.173Z] STF 22:33:38.902 - | ModuleVersion: null
[2024-08-21T22:33:39.173Z] STF 22:33:38.902 - | MainClass: null
[2024-08-21T22:33:39.173Z] STF 22:33:38.902 - | HashModules: null
[2024-08-21T22:33:39.173Z] STF 22:33:38.902 - |
[2024-08-21T22:33:39.173Z] STF 22:33:38.903 - 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_17242785988004/Jlink_ReqMod_0/20240821-223330-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-21T22:33:39.173Z] STF 22:33:38.903 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/results/4.CMJ.stderr
[2024-08-21T22:33:39.173Z] STF 22:33:38.903 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/results/4.CMJ.stdout
[2024-08-21T22:33:39.173Z] STF 22:33:38.908 - Monitoring processes: CMJ
[2024-08-21T22:33:39.173Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-21T22:33:40.679Z] STF 22:33:40.199 - Monitoring Report Summary:
[2024-08-21T22:33:40.679Z] STF 22:33:40.199 - o Process CMJ ended with the expected exit code (0)
[2024-08-21T22:33:40.679Z] STF 22:33:40.202 - Created modular jar: 4.com.hello.jar
[2024-08-21T22:33:40.679Z] STF 22:33:40.202 -
[2024-08-21T22:33:40.679Z] STF 22:33:40.202 - +------ Step 5 - Check com.test.jlink modular jar created
[2024-08-21T22:33:40.679Z] STF 22:33:40.202 - | Validate file exists
[2024-08-21T22:33:40.679Z] STF 22:33:40.203 - | File: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/modules/3.com.test.jlink.jar
[2024-08-21T22:33:40.679Z] STF 22:33:40.203 - |
[2024-08-21T22:33:40.679Z] STF 22:33:40.203 -
[2024-08-21T22:33:40.679Z] STF 22:33:40.203 - +------ Step 6 - Check com.hello modular jar created
[2024-08-21T22:33:40.679Z] STF 22:33:40.203 - | Validate file exists
[2024-08-21T22:33:40.679Z] STF 22:33:40.204 - | File: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/modules/4.com.hello.jar
[2024-08-21T22:33:40.679Z] STF 22:33:40.204 - |
[2024-08-21T22:33:40.679Z] STF 22:33:40.204 -
[2024-08-21T22:33:40.679Z] STF 22:33:40.204 - +------ Step 7 - Removing conf folder from com.test.jLinkDirCopy
[2024-08-21T22:33:40.679Z] STF 22:33:40.204 - | Recursively delete a directory
[2024-08-21T22:33:40.679Z] STF 22:33:40.205 - | Directory: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/com.test.jLinkDirCopy/conf
[2024-08-21T22:33:40.679Z] STF 22:33:40.206 - |
[2024-08-21T22:33:40.679Z] STF 22:33:40.210 -
[2024-08-21T22:33:40.679Z] STF 22:33:40.210 - +------ Step 8 - Copying .so from com.test.jlink/native
[2024-08-21T22:33:40.679Z] STF 22:33:40.210 - | Copy a directory to a new directory
[2024-08-21T22:33:40.679Z] STF 22:33:40.210 - | 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-21T22:33:40.679Z] STF 22:33:40.211 - | Dest dir: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/native
[2024-08-21T22:33:40.679Z] STF 22:33:40.211 - |
[2024-08-21T22:33:40.679Z] STF 22:33:40.215 -
[2024-08-21T22:33:40.679Z] STF 22:33:40.215 - +------ Step 9 - Creating jmod of com.test.jlink module
[2024-08-21T22:33:40.679Z] STF 22:33:40.215 - | Run jmod utility
[2024-08-21T22:33:40.679Z] STF 22:33:40.215 - | jmod: com.test.jlink.jmod
[2024-08-21T22:33:40.679Z] STF 22:33:40.215 - |
[2024-08-21T22:33:40.679Z] STF 22:33:40.217 - 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_17242785988004/Jlink_ReqMod_0/20240821-223330-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_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/native /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/tmp/com.test.jlink.jmod
[2024-08-21T22:33:40.679Z] STF 22:33:40.217 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/results/9.JMOD.stderr
[2024-08-21T22:33:40.679Z] STF 22:33:40.217 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/results/9.JMOD.stdout
[2024-08-21T22:33:40.679Z] STF 22:33:40.224 - Monitoring processes: JMOD
[2024-08-21T22:33:40.679Z] JMOD stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-21T22:33:42.030Z] STF 22:33:41.680 - Monitoring Report Summary:
[2024-08-21T22:33:42.030Z] STF 22:33:41.680 - o Process JMOD ended with the expected exit code (0)
[2024-08-21T22:33:42.031Z] STF 22:33:41.681 -
[2024-08-21T22:33:42.031Z] STF 22:33:41.681 - +------ Step 10 - Creating jmod for com.hello module
[2024-08-21T22:33:42.031Z] STF 22:33:41.681 - | Run jmod utility
[2024-08-21T22:33:42.031Z] STF 22:33:41.681 - | jmod: com.hello.jmod
[2024-08-21T22:33:42.031Z] STF 22:33:41.681 - |
[2024-08-21T22:33:42.031Z] STF 22:33:41.682 - 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_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/tmp/com.hello.jmod
[2024-08-21T22:33:42.031Z] STF 22:33:41.682 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/results/10.JMOD.stderr
[2024-08-21T22:33:42.031Z] STF 22:33:41.682 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/results/10.JMOD.stdout
[2024-08-21T22:33:42.031Z] STF 22:33:41.689 - Monitoring processes: JMOD
[2024-08-21T22:33:42.031Z] JMOD stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-21T22:33:43.383Z] STF 22:33:43.077 - Monitoring Report Summary:
[2024-08-21T22:33:43.383Z] STF 22:33:43.077 - o Process JMOD ended with the expected exit code (0)
[2024-08-21T22:33:43.383Z] STF 22:33:43.080 -
[2024-08-21T22:33:43.383Z] STF 22:33:43.081 - +------ Step 11 - Check com.test.jlink jmod created
[2024-08-21T22:33:43.383Z] STF 22:33:43.081 - | Validate file exists
[2024-08-21T22:33:43.383Z] STF 22:33:43.081 - | File: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/tmp/com.test.jlink.jmod
[2024-08-21T22:33:43.383Z] STF 22:33:43.082 - |
[2024-08-21T22:33:43.383Z] STF 22:33:43.082 -
[2024-08-21T22:33:43.383Z] STF 22:33:43.082 - +------ Step 12 - Check com.hello jmod created
[2024-08-21T22:33:43.383Z] STF 22:33:43.083 - | Validate file exists
[2024-08-21T22:33:43.383Z] STF 22:33:43.083 - | File: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/tmp/com.hello.jmod
[2024-08-21T22:33:43.383Z] STF 22:33:43.083 - |
[2024-08-21T22:33:43.383Z] STF 22:33:43.083 - SETUP stage completed
[2024-08-21T22:33:43.383Z] STF 22:33:43.159 -
[2024-08-21T22:33:43.383Z] STF 22:33:43.159 - ==================== E X E C U T E - ====================
[2024-08-21T22:33:43.383Z] STF 22:33:43.159 - Running execute: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/execute.pl
[2024-08-21T22:33:44.082Z] STF 22:33:43.402 -
[2024-08-21T22:33:44.082Z] STF 22:33:43.402 - Java version
[2024-08-21T22:33:44.082Z] STF 22:33:43.402 - Running: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/java -version
[2024-08-21T22:33:44.082Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-21T22:33:44.082Z] openjdk version "21.0.5-beta" 2024-10-15
[2024-08-21T22:33:44.082Z] OpenJDK Runtime Environment Temurin-21.0.5+4-202408211942 (build 21.0.5-beta+4-ea)
[2024-08-21T22:33:44.082Z] OpenJDK 64-Bit Server VM Temurin-21.0.5+4-202408211942 (build 21.0.5-beta+4-ea, mixed mode, sharing)
[2024-08-21T22:33:44.082Z] STF 22:33:43.658 -
[2024-08-21T22:33:44.082Z] STF 22:33:43.658 - +------ Step 13 - Create runtime image
[2024-08-21T22:33:44.082Z] STF 22:33:43.658 - | Run jlink to create runtime image
[2024-08-21T22:33:44.082Z] STF 22:33:43.658 - | ImageName: CRI1
[2024-08-21T22:33:44.082Z] STF 22:33:43.659 - |
[2024-08-21T22:33:44.083Z] STF 22:33:43.660 - 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_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/modules --add-modules com.test.jlink --output /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/tmp/13.CRI1
[2024-08-21T22:33:44.083Z] STF 22:33:43.660 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/results/13.JLNK.stderr
[2024-08-21T22:33:44.083Z] STF 22:33:43.660 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/results/13.JLNK.stdout
[2024-08-21T22:33:44.083Z] STF 22:33:43.699 - Monitoring processes: JLNK
[2024-08-21T22:33:44.083Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-21T22:33:53.066Z] STF 22:33:52.737 - Monitoring Report Summary:
[2024-08-21T22:33:53.066Z] STF 22:33:52.737 - o Process JLNK ended with the expected exit code (0)
[2024-08-21T22:33:53.066Z] STF 22:33:52.738 -
[2024-08-21T22:33:53.066Z] STF 22:33:52.739 - +------ Step 14 - Running listmods
[2024-08-21T22:33:53.066Z] STF 22:33:52.739 - | Run foreground process
[2024-08-21T22:33:53.066Z] STF 22:33:52.739 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/tmp/13.CRI1/bin/java
[2024-08-21T22:33:53.066Z] STF 22:33:52.739 - | Mnemonic: LIST
[2024-08-21T22:33:53.066Z] STF 22:33:52.739 - | Echo: ECHO_ON
[2024-08-21T22:33:53.066Z] STF 22:33:52.739 - | Expectation: CLEAN_RUN within 1m
[2024-08-21T22:33:53.066Z] STF 22:33:52.739 - |
[2024-08-21T22:33:53.066Z] STF 22:33:52.740 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/tmp/13.CRI1/bin/java --list-modules -XX:+UseCompressedOops
[2024-08-21T22:33:53.066Z] STF 22:33:52.740 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/results/14.LIST.stderr
[2024-08-21T22:33:53.066Z] STF 22:33:52.740 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/results/14.LIST.stdout
[2024-08-21T22:33:53.066Z] STF 22:33:52.748 - Monitoring processes: LIST
[2024-08-21T22:33:53.066Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-21T22:33:53.662Z] LIST com.hello
[2024-08-21T22:33:53.662Z] LIST com.test.jlink
[2024-08-21T22:33:53.662Z] LIST java.base@21.0.5-beta
[2024-08-21T22:33:53.662Z] STF 22:33:53.430 - Monitoring Report Summary:
[2024-08-21T22:33:53.662Z] STF 22:33:53.430 - o Process LIST ended with the expected exit code (0)
[2024-08-21T22:33:53.662Z] STF 22:33:53.431 -
[2024-08-21T22:33:53.662Z] STF 22:33:53.431 - +------ Step 15 - Check output
[2024-08-21T22:33:53.662Z] STF 22:33:53.431 - | Count file matches
[2024-08-21T22:33:53.662Z] STF 22:33:53.431 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/results/14.LIST.stdout
[2024-08-21T22:33:53.662Z] STF 22:33:53.431 - | ExpectedNumMatches: 1
[2024-08-21T22:33:53.662Z] STF 22:33:53.431 - | SearchStrings: ["com.hello"]
[2024-08-21T22:33:53.662Z] STF 22:33:53.432 - |
[2024-08-21T22:33:53.662Z] STF 22:33:53.432 - Found 1 instances of ["com.hello"]
[2024-08-21T22:33:53.662Z] STF 22:33:53.432 -
[2024-08-21T22:33:53.662Z] STF 22:33:53.432 - +------ Step 16 - Check output
[2024-08-21T22:33:53.662Z] STF 22:33:53.432 - | Count file matches
[2024-08-21T22:33:53.662Z] STF 22:33:53.432 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/results/14.LIST.stdout
[2024-08-21T22:33:53.662Z] STF 22:33:53.432 - | ExpectedNumMatches: 1
[2024-08-21T22:33:53.662Z] STF 22:33:53.432 - | SearchStrings: ["com.test.jlink"]
[2024-08-21T22:33:53.662Z] STF 22:33:53.432 - |
[2024-08-21T22:33:53.662Z] STF 22:33:53.432 - Found 1 instances of ["com.test.jlink"]
[2024-08-21T22:33:53.662Z] STF 22:33:53.432 -
[2024-08-21T22:33:53.662Z] STF 22:33:53.433 - +------ Step 17 - Check output
[2024-08-21T22:33:53.662Z] STF 22:33:53.433 - | Count file matches
[2024-08-21T22:33:53.662Z] STF 22:33:53.433 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/results/14.LIST.stdout
[2024-08-21T22:33:53.662Z] STF 22:33:53.433 - | ExpectedNumMatches: 1
[2024-08-21T22:33:53.662Z] STF 22:33:53.433 - | SearchStrings: ["java.base"]
[2024-08-21T22:33:53.662Z] STF 22:33:53.433 - |
[2024-08-21T22:33:53.662Z] STF 22:33:53.433 - Found 1 instances of ["java.base"]
[2024-08-21T22:33:53.662Z] STF 22:33:53.433 -
[2024-08-21T22:33:53.662Z] STF 22:33:53.433 - +------ Step 18 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest
[2024-08-21T22:33:53.662Z] STF 22:33:53.433 - | Run foreground process
[2024-08-21T22:33:53.662Z] STF 22:33:53.433 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/tmp/13.CRI1/bin/java
[2024-08-21T22:33:53.662Z] STF 22:33:53.433 - | Mnemonic: T1
[2024-08-21T22:33:53.662Z] STF 22:33:53.434 - | Echo: ECHO_ON
[2024-08-21T22:33:53.662Z] STF 22:33:53.434 - | Expectation: CLEAN_RUN within 1m
[2024-08-21T22:33:53.662Z] STF 22:33:53.434 - |
[2024-08-21T22:33:53.662Z] STF 22:33:53.435 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-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_17242785988004/Jlink_ReqMod_0/20240821-223330-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-21T22:33:53.662Z] STF 22:33:53.435 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/results/18.T1.stderr
[2024-08-21T22:33:53.662Z] STF 22:33:53.435 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/results/18.T1.stdout
[2024-08-21T22:33:53.662Z] STF 22:33:53.442 - Monitoring processes: T1
[2024-08-21T22:33:53.662Z] T1 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-21T22:33:54.498Z] T1 JUnit version 4.12
[2024-08-21T22:33:55.133Z] T1 .
[2024-08-21T22:33:55.133Z] T1 Time: 0.04
[2024-08-21T22:33:55.133Z] T1
[2024-08-21T22:33:55.133Z] T1 OK (1 test)
[2024-08-21T22:33:55.133Z] T1
[2024-08-21T22:33:55.133Z] STF 22:33:54.887 - Monitoring Report Summary:
[2024-08-21T22:33:55.133Z] STF 22:33:54.887 - o Process T1 ended with the expected exit code (0)
[2024-08-21T22:33:55.133Z] STF 22:33:54.888 -
[2024-08-21T22:33:55.133Z] STF 22:33:54.888 - +------ Step 19 - Create runtime image
[2024-08-21T22:33:55.133Z] STF 22:33:54.888 - | Run jlink to create runtime image
[2024-08-21T22:33:55.133Z] STF 22:33:54.888 - | ImageName: CRI2
[2024-08-21T22:33:55.133Z] STF 22:33:54.888 - |
[2024-08-21T22:33:55.133Z] STF 22:33:54.889 - 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_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/tmp --add-modules com.test.jlink --output /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/tmp/19.CRI2
[2024-08-21T22:33:55.133Z] STF 22:33:54.889 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/results/19.JLNK.stderr
[2024-08-21T22:33:55.133Z] STF 22:33:54.889 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/results/19.JLNK.stdout
[2024-08-21T22:33:55.133Z] STF 22:33:54.894 - Monitoring processes: JLNK
[2024-08-21T22:33:55.133Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-21T22:34:04.381Z] STF 22:34:03.821 - Monitoring Report Summary:
[2024-08-21T22:34:04.381Z] STF 22:34:03.821 - o Process JLNK ended with the expected exit code (0)
[2024-08-21T22:34:04.381Z] STF 22:34:03.822 -
[2024-08-21T22:34:04.381Z] STF 22:34:03.822 - +------ Step 20 - Running listmods
[2024-08-21T22:34:04.381Z] STF 22:34:03.822 - | Run foreground process
[2024-08-21T22:34:04.381Z] STF 22:34:03.822 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/tmp/19.CRI2/bin/java
[2024-08-21T22:34:04.381Z] STF 22:34:03.822 - | Mnemonic: LIST
[2024-08-21T22:34:04.381Z] STF 22:34:03.822 - | Echo: ECHO_ON
[2024-08-21T22:34:04.381Z] STF 22:34:03.822 - | Expectation: CLEAN_RUN within 1m
[2024-08-21T22:34:04.381Z] STF 22:34:03.822 - |
[2024-08-21T22:34:04.381Z] STF 22:34:03.823 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/tmp/19.CRI2/bin/java --list-modules -XX:+UseCompressedOops
[2024-08-21T22:34:04.381Z] STF 22:34:03.823 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/results/20.LIST.stderr
[2024-08-21T22:34:04.381Z] STF 22:34:03.823 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/results/20.LIST.stdout
[2024-08-21T22:34:04.381Z] STF 22:34:03.829 - Monitoring processes: LIST
[2024-08-21T22:34:04.381Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-21T22:34:04.991Z] LIST com.hello
[2024-08-21T22:34:04.991Z] LIST com.test.jlink
[2024-08-21T22:34:04.991Z] LIST java.base@21.0.5-beta
[2024-08-21T22:34:04.991Z] STF 22:34:04.589 - Monitoring Report Summary:
[2024-08-21T22:34:04.991Z] STF 22:34:04.589 - o Process LIST ended with the expected exit code (0)
[2024-08-21T22:34:04.991Z] STF 22:34:04.590 -
[2024-08-21T22:34:04.991Z] STF 22:34:04.590 - +------ Step 21 - Check output
[2024-08-21T22:34:04.991Z] STF 22:34:04.590 - | Count file matches
[2024-08-21T22:34:04.991Z] STF 22:34:04.590 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/results/20.LIST.stdout
[2024-08-21T22:34:04.991Z] STF 22:34:04.590 - | ExpectedNumMatches: 1
[2024-08-21T22:34:04.991Z] STF 22:34:04.590 - | SearchStrings: ["com.hello"]
[2024-08-21T22:34:04.991Z] STF 22:34:04.590 - |
[2024-08-21T22:34:04.991Z] STF 22:34:04.591 - Found 1 instances of ["com.hello"]
[2024-08-21T22:34:04.991Z] STF 22:34:04.591 -
[2024-08-21T22:34:04.992Z] STF 22:34:04.591 - +------ Step 22 - Check output
[2024-08-21T22:34:04.992Z] STF 22:34:04.591 - | Count file matches
[2024-08-21T22:34:04.992Z] STF 22:34:04.591 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/results/20.LIST.stdout
[2024-08-21T22:34:04.992Z] STF 22:34:04.591 - | ExpectedNumMatches: 1
[2024-08-21T22:34:04.992Z] STF 22:34:04.591 - | SearchStrings: ["com.test.jlink"]
[2024-08-21T22:34:04.992Z] STF 22:34:04.591 - |
[2024-08-21T22:34:04.992Z] STF 22:34:04.591 - Found 1 instances of ["com.test.jlink"]
[2024-08-21T22:34:04.992Z] STF 22:34:04.591 -
[2024-08-21T22:34:04.992Z] STF 22:34:04.591 - +------ Step 23 - Check output
[2024-08-21T22:34:04.992Z] STF 22:34:04.591 - | Count file matches
[2024-08-21T22:34:04.992Z] STF 22:34:04.591 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/results/20.LIST.stdout
[2024-08-21T22:34:04.992Z] STF 22:34:04.591 - | ExpectedNumMatches: 1
[2024-08-21T22:34:04.992Z] STF 22:34:04.591 - | SearchStrings: ["java.base"]
[2024-08-21T22:34:04.992Z] STF 22:34:04.591 - |
[2024-08-21T22:34:04.992Z] STF 22:34:04.592 - Found 1 instances of ["java.base"]
[2024-08-21T22:34:04.992Z] STF 22:34:04.592 -
[2024-08-21T22:34:04.992Z] STF 22:34:04.592 - +------ Step 24 - Running adoptopenjdk.test.modularity.jlink.JniTest
[2024-08-21T22:34:04.992Z] STF 22:34:04.592 - | Run foreground process
[2024-08-21T22:34:04.992Z] STF 22:34:04.592 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/tmp/19.CRI2/bin/java
[2024-08-21T22:34:04.992Z] STF 22:34:04.592 - | Mnemonic: T2
[2024-08-21T22:34:04.992Z] STF 22:34:04.592 - | Echo: ECHO_ON
[2024-08-21T22:34:04.992Z] STF 22:34:04.592 - | Expectation: CLEAN_RUN within 1m
[2024-08-21T22:34:04.992Z] STF 22:34:04.592 - |
[2024-08-21T22:34:04.992Z] STF 22:34:04.593 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-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_17242785988004/Jlink_ReqMod_0/20240821-223330-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-21T22:34:04.992Z] STF 22:34:04.593 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/results/24.T2.stderr
[2024-08-21T22:34:04.992Z] STF 22:34:04.593 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/results/24.T2.stdout
[2024-08-21T22:34:04.992Z] STF 22:34:04.598 - Monitoring processes: T2
[2024-08-21T22:34:04.992Z] T2 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-21T22:34:05.651Z] T2 JUnit version 4.12
[2024-08-21T22:34:06.304Z] T2 .
[2024-08-21T22:34:06.304Z] T2 Time: 0.042
[2024-08-21T22:34:06.304Z] T2
[2024-08-21T22:34:06.304Z] T2 OK (1 test)
[2024-08-21T22:34:06.304Z] T2
[2024-08-21T22:34:06.304Z] STF 22:34:06.179 - Monitoring Report Summary:
[2024-08-21T22:34:06.304Z] STF 22:34:06.179 - o Process T2 ended with the expected exit code (0)
[2024-08-21T22:34:06.304Z] STF 22:34:06.179 -
[2024-08-21T22:34:06.304Z] STF 22:34:06.180 - +------ Step 25 - Create runtime image
[2024-08-21T22:34:06.304Z] STF 22:34:06.180 - | Run jlink to create runtime image
[2024-08-21T22:34:06.304Z] STF 22:34:06.180 - | ImageName: CRI3
[2024-08-21T22:34:06.304Z] STF 22:34:06.180 - |
[2024-08-21T22:34:06.304Z] STF 22:34:06.181 - 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_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/tmp/25.CRI3
[2024-08-21T22:34:06.304Z] STF 22:34:06.181 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/results/25.JLNK.stderr
[2024-08-21T22:34:06.304Z] STF 22:34:06.181 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/results/25.JLNK.stdout
[2024-08-21T22:34:06.304Z] STF 22:34:06.186 - Monitoring processes: JLNK
[2024-08-21T22:34:06.304Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-21T22:34:15.646Z] STF 22:34:15.330 - Monitoring Report Summary:
[2024-08-21T22:34:15.646Z] STF 22:34:15.331 - o Process JLNK ended with the expected exit code (0)
[2024-08-21T22:34:15.646Z] STF 22:34:15.333 -
[2024-08-21T22:34:15.646Z] STF 22:34:15.333 - +------ Step 26 - Running listmods
[2024-08-21T22:34:15.646Z] STF 22:34:15.333 - | Run foreground process
[2024-08-21T22:34:15.646Z] STF 22:34:15.334 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/tmp/25.CRI3/bin/java
[2024-08-21T22:34:15.646Z] STF 22:34:15.334 - | Mnemonic: LIST
[2024-08-21T22:34:15.646Z] STF 22:34:15.334 - | Echo: ECHO_ON
[2024-08-21T22:34:15.646Z] STF 22:34:15.334 - | Expectation: CLEAN_RUN within 1m
[2024-08-21T22:34:15.646Z] STF 22:34:15.334 - |
[2024-08-21T22:34:15.646Z] STF 22:34:15.337 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/tmp/25.CRI3/bin/java --list-modules -XX:+UseCompressedOops
[2024-08-21T22:34:15.646Z] STF 22:34:15.337 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/results/26.LIST.stderr
[2024-08-21T22:34:15.646Z] STF 22:34:15.338 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/results/26.LIST.stdout
[2024-08-21T22:34:15.646Z] STF 22:34:15.351 - Monitoring processes: LIST
[2024-08-21T22:34:15.646Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-21T22:34:16.291Z] LIST com.hello
[2024-08-21T22:34:16.291Z] LIST com.test.jlink
[2024-08-21T22:34:16.291Z] LIST java.base@21.0.5-beta
[2024-08-21T22:34:16.291Z] STF 22:34:16.037 - Monitoring Report Summary:
[2024-08-21T22:34:16.291Z] STF 22:34:16.037 - o Process LIST ended with the expected exit code (0)
[2024-08-21T22:34:16.291Z] STF 22:34:16.038 -
[2024-08-21T22:34:16.291Z] STF 22:34:16.038 - +------ Step 27 - Check output
[2024-08-21T22:34:16.291Z] STF 22:34:16.038 - | Count file matches
[2024-08-21T22:34:16.291Z] STF 22:34:16.039 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/results/26.LIST.stdout
[2024-08-21T22:34:16.291Z] STF 22:34:16.039 - | ExpectedNumMatches: 1
[2024-08-21T22:34:16.291Z] STF 22:34:16.039 - | SearchStrings: ["com.hello"]
[2024-08-21T22:34:16.291Z] STF 22:34:16.039 - |
[2024-08-21T22:34:16.291Z] STF 22:34:16.039 - Found 1 instances of ["com.hello"]
[2024-08-21T22:34:16.291Z] STF 22:34:16.039 -
[2024-08-21T22:34:16.291Z] STF 22:34:16.039 - +------ Step 28 - Check output
[2024-08-21T22:34:16.291Z] STF 22:34:16.039 - | Count file matches
[2024-08-21T22:34:16.291Z] STF 22:34:16.039 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/results/26.LIST.stdout
[2024-08-21T22:34:16.292Z] STF 22:34:16.039 - | ExpectedNumMatches: 1
[2024-08-21T22:34:16.292Z] STF 22:34:16.039 - | SearchStrings: ["com.test.jlink"]
[2024-08-21T22:34:16.292Z] STF 22:34:16.040 - |
[2024-08-21T22:34:16.292Z] STF 22:34:16.040 - Found 1 instances of ["com.test.jlink"]
[2024-08-21T22:34:16.292Z] STF 22:34:16.040 -
[2024-08-21T22:34:16.292Z] STF 22:34:16.040 - +------ Step 29 - Check output
[2024-08-21T22:34:16.292Z] STF 22:34:16.040 - | Count file matches
[2024-08-21T22:34:16.292Z] STF 22:34:16.040 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/results/26.LIST.stdout
[2024-08-21T22:34:16.292Z] STF 22:34:16.040 - | ExpectedNumMatches: 1
[2024-08-21T22:34:16.292Z] STF 22:34:16.040 - | SearchStrings: ["java.base"]
[2024-08-21T22:34:16.292Z] STF 22:34:16.040 - |
[2024-08-21T22:34:16.292Z] STF 22:34:16.040 - Found 1 instances of ["java.base"]
[2024-08-21T22:34:16.292Z] STF 22:34:16.041 -
[2024-08-21T22:34:16.292Z] STF 22:34:16.041 - +------ Step 30 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest
[2024-08-21T22:34:16.292Z] STF 22:34:16.041 - | Run foreground process
[2024-08-21T22:34:16.292Z] STF 22:34:16.041 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/tmp/25.CRI3/bin/java
[2024-08-21T22:34:16.292Z] STF 22:34:16.041 - | Mnemonic: T3
[2024-08-21T22:34:16.292Z] STF 22:34:16.041 - | Echo: ECHO_ON
[2024-08-21T22:34:16.292Z] STF 22:34:16.041 - | Expectation: CLEAN_RUN within 1m
[2024-08-21T22:34:16.292Z] STF 22:34:16.041 - |
[2024-08-21T22:34:16.292Z] STF 22:34:16.042 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-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_17242785988004/Jlink_ReqMod_0/20240821-223330-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-21T22:34:16.292Z] STF 22:34:16.043 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/results/30.T3.stderr
[2024-08-21T22:34:16.292Z] STF 22:34:16.043 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/results/30.T3.stdout
[2024-08-21T22:34:16.292Z] STF 22:34:16.050 - Monitoring processes: T3
[2024-08-21T22:34:16.292Z] T3 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-21T22:34:16.936Z] T3 JUnit version 4.12
[2024-08-21T22:34:17.804Z] T3 .
[2024-08-21T22:34:17.804Z] T3 Time: 0.042
[2024-08-21T22:34:17.804Z] T3
[2024-08-21T22:34:17.804Z] T3 OK (1 test)
[2024-08-21T22:34:17.804Z] T3
[2024-08-21T22:34:17.804Z] STF 22:34:17.451 - Monitoring Report Summary:
[2024-08-21T22:34:17.804Z] STF 22:34:17.451 - o Process T3 ended with the expected exit code (0)
[2024-08-21T22:34:17.804Z] STF 22:34:17.452 - EXECUTE stage completed
[2024-08-21T22:34:17.804Z] STF 22:34:17.755 -
[2024-08-21T22:34:17.804Z] STF 22:34:17.755 - ==================== T E A R D O W N ====================
[2024-08-21T22:34:17.804Z] STF 22:34:17.755 - Running teardown: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17242785988004/Jlink_ReqMod_0/20240821-223330-JlinkTest/tearDown.pl
[2024-08-21T22:34:18.352Z] STF 22:34:17.981 - TEARDOWN stage completed
[2024-08-21T22:34:18.352Z] STF 22:34:17.993 -
[2024-08-21T22:34:18.352Z] STF 22:34:17.993 - ===================== R E S U L T S =====================
[2024-08-21T22:34:18.352Z] STF 22:34:17.993 - Stage results:
[2024-08-21T22:34:18.352Z] STF 22:34:17.993 - setUp: pass
[2024-08-21T22:34:18.352Z] STF 22:34:17.994 - execute: pass
[2024-08-21T22:34:18.352Z] STF 22:34:17.994 - teardown: pass
[2024-08-21T22:34:18.352Z] STF 22:34:17.994 -
[2024-08-21T22:34:18.352Z] STF 22:34:17.994 - Overall result: PASSED
[2024-08-21T22:34:18.352Z] -----------------------------------
[2024-08-21T22:34:18.352Z] Jlink_ReqMod_0_PASSED
[2024-08-21T22:34:18.352Z] -----------------------------------
[2024-08-21T22:34:18.352Z]
[2024-08-21T22:34:18.352Z] TEST TEARDOWN:
[2024-08-21T22:34:18.352Z] Nothing to be done for teardown.
[2024-08-21T22:34:18.352Z] Jlink_ReqMod_0 Finish Time: Wed Aug 21 22:34:18 2024 Epoch Time (ms): 1724279658295