Jlink_ReqMod_1

[2024-11-16T01:54:52.282Z] Running test Jlink_ReqMod_1 ... [2024-11-16T01:54:52.282Z] =============================================== [2024-11-16T01:54:52.282Z] Jlink_ReqMod_1 Start Time: Sat Nov 16 01:54:51 2024 Epoch Time (ms): 1731722091588 [2024-11-16T01:54:52.282Z] variation: Mode650 [2024-11-16T01:54:52.282Z] JVM_OPTIONS: -XX:-UseCompressedOops [2024-11-16T01:54:52.282Z] { \ [2024-11-16T01:54:52.282Z] echo ""; echo "TEST SETUP:"; \ [2024-11-16T01:54:52.282Z] echo "Nothing to be done for setup."; \ [2024-11-16T01:54:52.283Z] mkdir -p "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/../TKG/output_17317191521271/Jlink_ReqMod_1"; \ [2024-11-16T01:54:52.283Z] cd "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/../TKG/output_17317191521271/Jlink_ReqMod_1"; \ [2024-11-16T01:54:52.283Z] echo ""; echo "TESTING:"; \ [2024-11-16T01:54:52.283Z] perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/../../testDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/../TKG/output_17317191521271/Jlink_ReqMod_1" -test=JlinkTest -test-args="variant=ReqdMod"; \ [2024-11-16T01:54:52.283Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "Jlink_ReqMod_1""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/../TKG/output_17317191521271/Jlink_ReqMod_1"; else echo "-----------------------------------"; echo "Jlink_ReqMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2024-11-16T01:54:52.283Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-11-16T01:54:52.283Z] echo "Nothing to be done for teardown."; \ [2024-11-16T01:54:52.283Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/../TKG/output_17317191521271/TestTargetResult"; [2024-11-16T01:54:52.283Z] [2024-11-16T01:54:52.283Z] TEST SETUP: [2024-11-16T01:54:52.283Z] Nothing to be done for setup. [2024-11-16T01:54:52.283Z] [2024-11-16T01:54:52.283Z] TESTING: [2024-11-16T01:54:53.099Z] STF 01:54:52.468 - ========================= S T F ========================= [2024-11-16T01:54:53.099Z] systemtest-prereqs has been processed, and set to: /home/jenkins/testDependency/system_libRetrieving amount of free space on drive containing /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/../TKG/output_17317191521271/Jlink_ReqMod_1 [2024-11-16T01:54:53.099Z] There is 60205 Mb free [2024-11-16T01:54:53.099Z] STF 01:54:52.545 - ================== G E N E R A T I O N ================== [2024-11-16T01:54:53.099Z] STF 01:54:52.560 - Checking JVM: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jdkbinary/j2sdk-image [2024-11-16T01:54:53.099Z] STF 01:54:52.561 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/../../testDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/../../testDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/../TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/../TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest" [2024-11-16T01:54:53.099Z] GEN stderr OpenJDK 64-Bit Server VM warning: Archived non-system classes are disabled because the java.system.class.loader property is specified (value = "net.adoptopenjdk.stf.runner.StfClassLoader"). To use archived non-system classes, this property must not be set [2024-11-16T01:55:03.284Z] GEN 01:55:02.079 - Found test. Project: 'openjdk.test.modularity' class: 'JlinkTest.class' Dir: '/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2024-11-16T01:55:03.284Z] GEN 01:55:02.231 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.JlinkTest' [2024-11-16T01:55:04.108Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-11-16T01:55:04.108Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2024-11-16T01:55:04.108Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2024-11-16T01:55:04.108Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2024-11-16T01:55:04.108Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2024-11-16T01:55:04.108Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2024-11-16T01:55:04.108Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2024-11-16T01:55:04.108Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2024-11-16T01:55:04.108Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2024-11-16T01:55:04.108Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2024-11-16T01:55:04.108Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2024-11-16T01:55:04.108Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2024-11-16T01:55:04.108Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2024-11-16T01:55:04.108Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2024-11-16T01:55:04.108Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2024-11-16T01:55:04.108Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2024-11-16T01:55:04.108Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/STF/stf.core/bin [2024-11-16T01:55:04.108Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-11-16T01:55:04.108Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-11-16T01:55:04.108Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar [2024-11-16T01:55:04.108Z] GEN 01:55:03.819 - Using Mode NoOptions. Values = '' [2024-11-16T01:55:05.778Z] GEN 01:55:05.510 - [2024-11-16T01:55:05.778Z] GEN 01:55:05.510 - Test command summary: [2024-11-16T01:55:05.778Z] GEN 01:55:05.511 - Step Stage Command Description [2024-11-16T01:55:05.778Z] GEN 01:55:05.540 - -----+--------+-----------------+------------ [2024-11-16T01:55:05.778Z] GEN 01:55:05.540 - 1 setUp cpDir Copying com.test.jlink [2024-11-16T01:55:05.778Z] GEN 01:55:05.559 - 2 setUp rm Removing natives folder from com.test.jLinkDirCopy [2024-11-16T01:55:05.778Z] GEN 01:55:05.559 - 3 setUp jar Create com.test.jlink jar [2024-11-16T01:55:05.778Z] GEN 01:55:05.559 - 4 setUp jar Create com.hello jar [2024-11-16T01:55:05.778Z] GEN 01:55:05.559 - 5 setUp fileCheck Check com.test.jlink modular jar created [2024-11-16T01:55:05.778Z] GEN 01:55:05.559 - 6 setUp fileCheck Check com.hello modular jar created [2024-11-16T01:55:05.778Z] GEN 01:55:05.559 - 7 setUp rm Removing conf folder from com.test.jLinkDirCopy [2024-11-16T01:55:05.778Z] GEN 01:55:05.559 - 8 setUp cpDir Copying .so from com.test.jlink/native [2024-11-16T01:55:05.778Z] GEN 01:55:05.559 - 9 setUp jmod Creating jmod of com.test.jlink module [2024-11-16T01:55:05.778Z] GEN 01:55:05.578 - 10 setUp jmod Creating jmod for com.hello module [2024-11-16T01:55:05.778Z] GEN 01:55:05.580 - 11 setUp fileCheck Check com.test.jlink jmod created [2024-11-16T01:55:05.778Z] GEN 01:55:05.580 - 12 setUp fileCheck Check com.hello jmod created [2024-11-16T01:55:05.778Z] GEN 01:55:05.580 - 13 execute jlink Create runtime image [2024-11-16T01:55:05.778Z] GEN 01:55:05.580 - 14 execute Run java Running listmods [2024-11-16T01:55:05.778Z] GEN 01:55:05.580 - 15 execute count Check output [2024-11-16T01:55:05.778Z] GEN 01:55:05.580 - 16 execute count Check output [2024-11-16T01:55:05.778Z] GEN 01:55:05.580 - 17 execute count Check output [2024-11-16T01:55:05.778Z] GEN 01:55:05.580 - 18 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-11-16T01:55:05.778Z] GEN 01:55:05.580 - 19 execute jlink Create runtime image [2024-11-16T01:55:05.778Z] GEN 01:55:05.581 - 20 execute Run java Running listmods [2024-11-16T01:55:05.778Z] GEN 01:55:05.581 - 21 execute count Check output [2024-11-16T01:55:05.778Z] GEN 01:55:05.581 - 22 execute count Check output [2024-11-16T01:55:05.778Z] GEN 01:55:05.581 - 23 execute count Check output [2024-11-16T01:55:05.778Z] GEN 01:55:05.581 - 24 execute Run java Running adoptopenjdk.test.modularity.jlink.JniTest [2024-11-16T01:55:05.778Z] GEN 01:55:05.581 - 25 execute jlink Create runtime image [2024-11-16T01:55:05.778Z] GEN 01:55:05.581 - 26 execute Run java Running listmods [2024-11-16T01:55:05.778Z] GEN 01:55:05.581 - 27 execute count Check output [2024-11-16T01:55:05.778Z] GEN 01:55:05.581 - 28 execute count Check output [2024-11-16T01:55:05.778Z] GEN 01:55:05.581 - 29 execute count Check output [2024-11-16T01:55:05.778Z] GEN 01:55:05.581 - 30 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-11-16T01:55:06.588Z] STF 01:55:05.978 - [2024-11-16T01:55:06.588Z] STF 01:55:05.978 - Script generation completed [2024-11-16T01:55:06.588Z] STF 01:55:05.978 - [2024-11-16T01:55:06.588Z] STF 01:55:05.979 - [2024-11-16T01:55:06.588Z] STF 01:55:05.979 - ======================= S E T U P ======================= [2024-11-16T01:55:06.588Z] STF 01:55:05.979 - Running setup: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/../TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/setUp.pl [2024-11-16T01:55:07.421Z] STF 01:55:06.520 - [2024-11-16T01:55:07.421Z] STF 01:55:06.521 - +------ Step 1 - Copying com.test.jlink [2024-11-16T01:55:07.421Z] STF 01:55:06.521 - | Copy a directory to a new directory [2024-11-16T01:55:07.421Z] STF 01:55:06.523 - | Source dir: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink [2024-11-16T01:55:07.421Z] STF 01:55:06.523 - | Dest dir: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/com.test.jLinkDirCopy [2024-11-16T01:55:07.421Z] STF 01:55:06.523 - | [2024-11-16T01:55:07.421Z] STF 01:55:06.595 - [2024-11-16T01:55:07.421Z] STF 01:55:06.595 - +------ Step 2 - Removing natives folder from com.test.jLinkDirCopy [2024-11-16T01:55:07.421Z] STF 01:55:06.595 - | Recursively delete a directory [2024-11-16T01:55:07.421Z] STF 01:55:06.595 - | Directory: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/com.test.jLinkDirCopy/native [2024-11-16T01:55:07.421Z] STF 01:55:06.595 - | [2024-11-16T01:55:07.421Z] STF 01:55:06.623 - [2024-11-16T01:55:07.421Z] STF 01:55:06.623 - +------ Step 3 - Create com.test.jlink jar [2024-11-16T01:55:07.421Z] STF 01:55:06.623 - | Create modular jar [2024-11-16T01:55:07.421Z] STF 01:55:06.623 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test.jlink [2024-11-16T01:55:07.421Z] STF 01:55:06.623 - | ModuleVersion: null [2024-11-16T01:55:07.421Z] STF 01:55:06.623 - | MainClass: null [2024-11-16T01:55:07.421Z] STF 01:55:06.623 - | HashModules: null [2024-11-16T01:55:07.421Z] STF 01:55:06.623 - | [2024-11-16T01:55:07.421Z] STF 01:55:06.624 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/modules/3.com.test.jlink.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink . [2024-11-16T01:55:07.421Z] STF 01:55:06.624 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/results/3.CMJ.stderr [2024-11-16T01:55:07.421Z] STF 01:55:06.624 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/results/3.CMJ.stdout [2024-11-16T01:55:07.421Z] STF 01:55:06.704 - Monitoring processes: CMJ [2024-11-16T01:55:09.059Z] STF 01:55:08.830 - Monitoring Report Summary: [2024-11-16T01:55:09.059Z] STF 01:55:08.846 - o Process CMJ ended with the expected exit code (0) [2024-11-16T01:55:09.059Z] STF 01:55:08.846 - Created modular jar: 3.com.test.jlink.jar [2024-11-16T01:55:09.059Z] STF 01:55:08.846 - [2024-11-16T01:55:09.059Z] STF 01:55:08.846 - +------ Step 4 - Create com.hello jar [2024-11-16T01:55:09.059Z] STF 01:55:08.846 - | Create modular jar [2024-11-16T01:55:09.059Z] STF 01:55:08.846 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-11-16T01:55:09.059Z] STF 01:55:08.846 - | ModuleVersion: null [2024-11-16T01:55:09.059Z] STF 01:55:08.846 - | MainClass: null [2024-11-16T01:55:09.059Z] STF 01:55:08.846 - | HashModules: null [2024-11-16T01:55:09.059Z] STF 01:55:08.846 - | [2024-11-16T01:55:09.059Z] STF 01:55:08.868 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/modules/4.com.hello.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2024-11-16T01:55:09.059Z] STF 01:55:08.868 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/results/4.CMJ.stderr [2024-11-16T01:55:09.059Z] STF 01:55:08.868 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/results/4.CMJ.stdout [2024-11-16T01:55:09.059Z] STF 01:55:08.894 - Monitoring processes: CMJ [2024-11-16T01:55:11.735Z] STF 01:55:10.807 - Monitoring Report Summary: [2024-11-16T01:55:11.735Z] STF 01:55:10.807 - o Process CMJ ended with the expected exit code (0) [2024-11-16T01:55:11.735Z] STF 01:55:10.808 - Created modular jar: 4.com.hello.jar [2024-11-16T01:55:11.735Z] STF 01:55:10.808 - [2024-11-16T01:55:11.735Z] STF 01:55:10.808 - +------ Step 5 - Check com.test.jlink modular jar created [2024-11-16T01:55:11.735Z] STF 01:55:10.808 - | Validate file exists [2024-11-16T01:55:11.735Z] STF 01:55:10.808 - | File: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/modules/3.com.test.jlink.jar [2024-11-16T01:55:11.735Z] STF 01:55:10.808 - | [2024-11-16T01:55:11.735Z] STF 01:55:10.808 - [2024-11-16T01:55:11.735Z] STF 01:55:10.808 - +------ Step 6 - Check com.hello modular jar created [2024-11-16T01:55:11.735Z] STF 01:55:10.808 - | Validate file exists [2024-11-16T01:55:11.735Z] STF 01:55:10.808 - | File: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/modules/4.com.hello.jar [2024-11-16T01:55:11.735Z] STF 01:55:10.808 - | [2024-11-16T01:55:11.735Z] STF 01:55:10.808 - [2024-11-16T01:55:11.735Z] STF 01:55:10.808 - +------ Step 7 - Removing conf folder from com.test.jLinkDirCopy [2024-11-16T01:55:11.735Z] STF 01:55:10.808 - | Recursively delete a directory [2024-11-16T01:55:11.735Z] STF 01:55:10.808 - | Directory: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/com.test.jLinkDirCopy/conf [2024-11-16T01:55:11.735Z] STF 01:55:10.808 - | [2024-11-16T01:55:11.735Z] STF 01:55:10.814 - [2024-11-16T01:55:11.735Z] STF 01:55:10.814 - +------ Step 8 - Copying .so from com.test.jlink/native [2024-11-16T01:55:11.735Z] STF 01:55:10.814 - | Copy a directory to a new directory [2024-11-16T01:55:11.735Z] STF 01:55:10.814 - | Source dir: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink/native/bin/linux [2024-11-16T01:55:11.735Z] STF 01:55:10.814 - | Dest dir: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/native [2024-11-16T01:55:11.735Z] STF 01:55:10.814 - | [2024-11-16T01:55:11.735Z] STF 01:55:10.822 - [2024-11-16T01:55:11.735Z] STF 01:55:10.822 - +------ Step 9 - Creating jmod of com.test.jlink module [2024-11-16T01:55:11.735Z] STF 01:55:10.822 - | Run jmod utility [2024-11-16T01:55:11.735Z] STF 01:55:10.822 - | jmod: com.test.jlink.jmod [2024-11-16T01:55:11.735Z] STF 01:55:10.822 - | [2024-11-16T01:55:11.735Z] STF 01:55:10.836 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jdkbinary/j2sdk-image/bin/jmod create --class-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/com.test.jLinkDirCopy --config /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink/conf --libs /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/native /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/tmp/com.test.jlink.jmod [2024-11-16T01:55:11.735Z] STF 01:55:10.836 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/results/9.JMOD.stderr [2024-11-16T01:55:11.735Z] STF 01:55:10.836 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/results/9.JMOD.stdout [2024-11-16T01:55:11.735Z] STF 01:55:10.853 - Monitoring processes: JMOD [2024-11-16T01:55:13.418Z] STF 01:55:12.853 - Monitoring Report Summary: [2024-11-16T01:55:13.418Z] STF 01:55:12.854 - o Process JMOD ended with the expected exit code (0) [2024-11-16T01:55:13.418Z] STF 01:55:12.854 - [2024-11-16T01:55:13.418Z] STF 01:55:12.854 - +------ Step 10 - Creating jmod for com.hello module [2024-11-16T01:55:13.418Z] STF 01:55:12.854 - | Run jmod utility [2024-11-16T01:55:13.418Z] STF 01:55:12.854 - | jmod: com.hello.jmod [2024-11-16T01:55:13.418Z] STF 01:55:12.854 - | [2024-11-16T01:55:13.418Z] STF 01:55:12.860 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jdkbinary/j2sdk-image/bin/jmod create --class-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/tmp/com.hello.jmod [2024-11-16T01:55:13.418Z] STF 01:55:12.860 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/results/10.JMOD.stderr [2024-11-16T01:55:13.418Z] STF 01:55:12.860 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/results/10.JMOD.stdout [2024-11-16T01:55:13.418Z] STF 01:55:12.879 - Monitoring processes: JMOD [2024-11-16T01:55:15.133Z] STF 01:55:14.572 - Monitoring Report Summary: [2024-11-16T01:55:15.133Z] STF 01:55:14.572 - o Process JMOD ended with the expected exit code (0) [2024-11-16T01:55:15.133Z] STF 01:55:14.573 - [2024-11-16T01:55:15.133Z] STF 01:55:14.573 - +------ Step 11 - Check com.test.jlink jmod created [2024-11-16T01:55:15.133Z] STF 01:55:14.573 - | Validate file exists [2024-11-16T01:55:15.133Z] STF 01:55:14.573 - | File: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/tmp/com.test.jlink.jmod [2024-11-16T01:55:15.133Z] STF 01:55:14.573 - | [2024-11-16T01:55:15.133Z] STF 01:55:14.573 - [2024-11-16T01:55:15.133Z] STF 01:55:14.573 - +------ Step 12 - Check com.hello jmod created [2024-11-16T01:55:15.133Z] STF 01:55:14.573 - | Validate file exists [2024-11-16T01:55:15.133Z] STF 01:55:14.573 - | File: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/tmp/com.hello.jmod [2024-11-16T01:55:15.133Z] STF 01:55:14.573 - | [2024-11-16T01:55:15.133Z] STF 01:55:14.573 - SETUP stage completed [2024-11-16T01:55:15.133Z] STF 01:55:14.662 - [2024-11-16T01:55:15.133Z] STF 01:55:14.662 - ==================== E X E C U T E - ==================== [2024-11-16T01:55:15.133Z] STF 01:55:14.662 - Running execute: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/../TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/execute.pl [2024-11-16T01:55:15.980Z] STF 01:55:15.127 - [2024-11-16T01:55:15.980Z] STF 01:55:15.127 - Java version [2024-11-16T01:55:15.980Z] STF 01:55:15.127 - Running: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jdkbinary/j2sdk-image/bin/java -version [2024-11-16T01:55:15.980Z] openjdk version "17.0.14-beta" 2025-01-21 [2024-11-16T01:55:15.980Z] OpenJDK Runtime Environment Temurin-17.0.14+3-202411152032 (build 17.0.14-beta+3-ea) [2024-11-16T01:55:15.980Z] OpenJDK 64-Bit Server VM Temurin-17.0.14+3-202411152032 (build 17.0.14-beta+3-ea, mixed mode, sharing) [2024-11-16T01:55:15.980Z] STF 01:55:15.888 - [2024-11-16T01:55:15.980Z] STF 01:55:15.888 - +------ Step 13 - Create runtime image [2024-11-16T01:55:15.980Z] STF 01:55:15.888 - | Run jlink to create runtime image [2024-11-16T01:55:15.980Z] STF 01:55:15.888 - | ImageName: CRI1 [2024-11-16T01:55:15.980Z] STF 01:55:15.888 - | [2024-11-16T01:55:15.980Z] STF 01:55:15.889 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/modules --add-modules com.test.jlink --output /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/tmp/13.CRI1 [2024-11-16T01:55:15.980Z] STF 01:55:15.889 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/results/13.JLNK.stderr [2024-11-16T01:55:15.980Z] STF 01:55:15.889 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/results/13.JLNK.stdout [2024-11-16T01:55:16.883Z] STF 01:55:15.977 - Monitoring processes: JLNK [2024-11-16T01:55:37.595Z] STF 01:55:37.122 - Monitoring Report Summary: [2024-11-16T01:55:37.595Z] STF 01:55:37.122 - o Process JLNK ended with the expected exit code (0) [2024-11-16T01:55:37.595Z] STF 01:55:37.122 - [2024-11-16T01:55:37.595Z] STF 01:55:37.122 - +------ Step 14 - Running listmods [2024-11-16T01:55:37.595Z] STF 01:55:37.122 - | Run foreground process [2024-11-16T01:55:37.595Z] STF 01:55:37.122 - | Program: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/tmp/13.CRI1/bin/java [2024-11-16T01:55:37.595Z] STF 01:55:37.122 - | Mnemonic: LIST [2024-11-16T01:55:37.595Z] STF 01:55:37.122 - | Echo: ECHO_ON [2024-11-16T01:55:37.595Z] STF 01:55:37.122 - | Expectation: CLEAN_RUN within 1m [2024-11-16T01:55:37.595Z] STF 01:55:37.122 - | [2024-11-16T01:55:37.595Z] STF 01:55:37.132 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/tmp/13.CRI1/bin/java --list-modules -XX:-UseCompressedOops [2024-11-16T01:55:37.595Z] STF 01:55:37.132 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/results/14.LIST.stderr [2024-11-16T01:55:37.595Z] STF 01:55:37.132 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/results/14.LIST.stdout [2024-11-16T01:55:37.595Z] STF 01:55:37.137 - Monitoring processes: LIST [2024-11-16T01:55:40.211Z] LIST com.hello [2024-11-16T01:55:40.211Z] LIST com.test.jlink [2024-11-16T01:55:40.211Z] LIST java.base@17.0.14-beta [2024-11-16T01:55:40.211Z] STF 01:55:39.458 - Monitoring Report Summary: [2024-11-16T01:55:40.212Z] STF 01:55:39.458 - o Process LIST ended with the expected exit code (0) [2024-11-16T01:55:40.212Z] STF 01:55:39.458 - [2024-11-16T01:55:40.212Z] STF 01:55:39.458 - +------ Step 15 - Check output [2024-11-16T01:55:40.212Z] STF 01:55:39.458 - | Count file matches [2024-11-16T01:55:40.212Z] STF 01:55:39.458 - | TargetFile: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/results/14.LIST.stdout [2024-11-16T01:55:40.212Z] STF 01:55:39.458 - | ExpectedNumMatches: 1 [2024-11-16T01:55:40.212Z] STF 01:55:39.458 - | SearchStrings: ["com.hello"] [2024-11-16T01:55:40.212Z] STF 01:55:39.458 - | [2024-11-16T01:55:40.212Z] STF 01:55:39.459 - Found 1 instances of ["com.hello"] [2024-11-16T01:55:40.212Z] STF 01:55:39.459 - [2024-11-16T01:55:40.212Z] STF 01:55:39.459 - +------ Step 16 - Check output [2024-11-16T01:55:40.212Z] STF 01:55:39.459 - | Count file matches [2024-11-16T01:55:40.212Z] STF 01:55:39.459 - | TargetFile: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/results/14.LIST.stdout [2024-11-16T01:55:40.212Z] STF 01:55:39.459 - | ExpectedNumMatches: 1 [2024-11-16T01:55:40.212Z] STF 01:55:39.459 - | SearchStrings: ["com.test.jlink"] [2024-11-16T01:55:40.212Z] STF 01:55:39.459 - | [2024-11-16T01:55:40.212Z] STF 01:55:39.459 - Found 1 instances of ["com.test.jlink"] [2024-11-16T01:55:40.212Z] STF 01:55:39.459 - [2024-11-16T01:55:40.212Z] STF 01:55:39.459 - +------ Step 17 - Check output [2024-11-16T01:55:40.212Z] STF 01:55:39.459 - | Count file matches [2024-11-16T01:55:40.212Z] STF 01:55:39.459 - | TargetFile: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/results/14.LIST.stdout [2024-11-16T01:55:40.212Z] STF 01:55:39.459 - | ExpectedNumMatches: 1 [2024-11-16T01:55:40.212Z] STF 01:55:39.459 - | SearchStrings: ["java.base"] [2024-11-16T01:55:40.212Z] STF 01:55:39.459 - | [2024-11-16T01:55:40.212Z] STF 01:55:39.459 - Found 1 instances of ["java.base"] [2024-11-16T01:55:40.212Z] STF 01:55:39.459 - [2024-11-16T01:55:40.212Z] STF 01:55:39.459 - +------ Step 18 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-11-16T01:55:40.212Z] STF 01:55:39.459 - | Run foreground process [2024-11-16T01:55:40.212Z] STF 01:55:39.459 - | Program: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/tmp/13.CRI1/bin/java [2024-11-16T01:55:40.212Z] STF 01:55:39.459 - | Mnemonic: T1 [2024-11-16T01:55:40.212Z] STF 01:55:39.459 - | Echo: ECHO_ON [2024-11-16T01:55:40.212Z] STF 01:55:39.459 - | Expectation: CLEAN_RUN within 1m [2024-11-16T01:55:40.212Z] STF 01:55:39.459 - | [2024-11-16T01:55:40.212Z] STF 01:55:39.477 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/tmp/13.CRI1/bin/java -Djava.library.path=/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/native --add-reads com.test.jlink=ALL-UNNAMED -XX:-UseCompressedOops -classpath /home/jenkins/testDependency/system_lib/junit/junit.jar:/home/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-11-16T01:55:40.212Z] STF 01:55:39.477 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/results/18.T1.stderr [2024-11-16T01:55:40.212Z] STF 01:55:39.477 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/results/18.T1.stdout [2024-11-16T01:55:40.212Z] STF 01:55:39.491 - Monitoring processes: T1 [2024-11-16T01:55:41.902Z] T1 JUnit version 4.12 [2024-11-16T01:55:42.747Z] T1 . [2024-11-16T01:55:42.747Z] T1 Time: 0.037 [2024-11-16T01:55:42.747Z] T1 [2024-11-16T01:55:42.747Z] T1 OK (1 test) [2024-11-16T01:55:42.747Z] T1 [2024-11-16T01:55:42.747Z] STF 01:55:42.498 - Monitoring Report Summary: [2024-11-16T01:55:42.747Z] STF 01:55:42.498 - o Process T1 ended with the expected exit code (0) [2024-11-16T01:55:42.747Z] STF 01:55:42.498 - [2024-11-16T01:55:42.747Z] STF 01:55:42.498 - +------ Step 19 - Create runtime image [2024-11-16T01:55:42.747Z] STF 01:55:42.512 - | Run jlink to create runtime image [2024-11-16T01:55:42.747Z] STF 01:55:42.512 - | ImageName: CRI2 [2024-11-16T01:55:42.747Z] STF 01:55:42.512 - | [2024-11-16T01:55:42.747Z] STF 01:55:42.513 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/tmp --add-modules com.test.jlink --output /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/tmp/19.CRI2 [2024-11-16T01:55:42.747Z] STF 01:55:42.513 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/results/19.JLNK.stderr [2024-11-16T01:55:42.747Z] STF 01:55:42.513 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/results/19.JLNK.stdout [2024-11-16T01:55:42.747Z] STF 01:55:42.529 - Monitoring processes: JLNK [2024-11-16T01:56:02.778Z] STF 01:56:01.483 - Monitoring Report Summary: [2024-11-16T01:56:02.778Z] STF 01:56:01.483 - o Process JLNK ended with the expected exit code (0) [2024-11-16T01:56:02.778Z] STF 01:56:01.483 - [2024-11-16T01:56:02.778Z] STF 01:56:01.483 - +------ Step 20 - Running listmods [2024-11-16T01:56:02.778Z] STF 01:56:01.483 - | Run foreground process [2024-11-16T01:56:02.778Z] STF 01:56:01.483 - | Program: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/tmp/19.CRI2/bin/java [2024-11-16T01:56:02.778Z] STF 01:56:01.483 - | Mnemonic: LIST [2024-11-16T01:56:02.778Z] STF 01:56:01.483 - | Echo: ECHO_ON [2024-11-16T01:56:02.778Z] STF 01:56:01.483 - | Expectation: CLEAN_RUN within 1m [2024-11-16T01:56:02.778Z] STF 01:56:01.483 - | [2024-11-16T01:56:02.778Z] STF 01:56:01.484 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/tmp/19.CRI2/bin/java --list-modules -XX:-UseCompressedOops [2024-11-16T01:56:02.778Z] STF 01:56:01.484 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/results/20.LIST.stderr [2024-11-16T01:56:02.778Z] STF 01:56:01.484 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/results/20.LIST.stdout [2024-11-16T01:56:02.778Z] STF 01:56:01.497 - Monitoring processes: LIST [2024-11-16T01:56:03.607Z] LIST com.hello [2024-11-16T01:56:03.607Z] LIST com.test.jlink [2024-11-16T01:56:03.607Z] LIST java.base@17.0.14-beta [2024-11-16T01:56:03.607Z] STF 01:56:03.264 - Monitoring Report Summary: [2024-11-16T01:56:03.607Z] STF 01:56:03.264 - o Process LIST ended with the expected exit code (0) [2024-11-16T01:56:03.607Z] STF 01:56:03.265 - [2024-11-16T01:56:03.607Z] STF 01:56:03.265 - +------ Step 21 - Check output [2024-11-16T01:56:03.607Z] STF 01:56:03.265 - | Count file matches [2024-11-16T01:56:03.607Z] STF 01:56:03.265 - | TargetFile: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/results/20.LIST.stdout [2024-11-16T01:56:03.607Z] STF 01:56:03.265 - | ExpectedNumMatches: 1 [2024-11-16T01:56:03.607Z] STF 01:56:03.265 - | SearchStrings: ["com.hello"] [2024-11-16T01:56:03.607Z] STF 01:56:03.265 - | [2024-11-16T01:56:03.607Z] STF 01:56:03.265 - Found 1 instances of ["com.hello"] [2024-11-16T01:56:03.607Z] STF 01:56:03.265 - [2024-11-16T01:56:03.607Z] STF 01:56:03.265 - +------ Step 22 - Check output [2024-11-16T01:56:03.607Z] STF 01:56:03.265 - | Count file matches [2024-11-16T01:56:03.607Z] STF 01:56:03.265 - | TargetFile: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/results/20.LIST.stdout [2024-11-16T01:56:03.607Z] STF 01:56:03.265 - | ExpectedNumMatches: 1 [2024-11-16T01:56:03.607Z] STF 01:56:03.265 - | SearchStrings: ["com.test.jlink"] [2024-11-16T01:56:03.607Z] STF 01:56:03.265 - | [2024-11-16T01:56:03.607Z] STF 01:56:03.265 - Found 1 instances of ["com.test.jlink"] [2024-11-16T01:56:03.607Z] STF 01:56:03.265 - [2024-11-16T01:56:03.607Z] STF 01:56:03.265 - +------ Step 23 - Check output [2024-11-16T01:56:03.607Z] STF 01:56:03.265 - | Count file matches [2024-11-16T01:56:03.607Z] STF 01:56:03.265 - | TargetFile: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/results/20.LIST.stdout [2024-11-16T01:56:03.607Z] STF 01:56:03.265 - | ExpectedNumMatches: 1 [2024-11-16T01:56:03.607Z] STF 01:56:03.265 - | SearchStrings: ["java.base"] [2024-11-16T01:56:03.607Z] STF 01:56:03.265 - | [2024-11-16T01:56:03.607Z] STF 01:56:03.265 - Found 1 instances of ["java.base"] [2024-11-16T01:56:03.607Z] STF 01:56:03.265 - [2024-11-16T01:56:03.607Z] STF 01:56:03.265 - +------ Step 24 - Running adoptopenjdk.test.modularity.jlink.JniTest [2024-11-16T01:56:03.607Z] STF 01:56:03.265 - | Run foreground process [2024-11-16T01:56:03.607Z] STF 01:56:03.265 - | Program: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/tmp/19.CRI2/bin/java [2024-11-16T01:56:03.607Z] STF 01:56:03.265 - | Mnemonic: T2 [2024-11-16T01:56:03.607Z] STF 01:56:03.265 - | Echo: ECHO_ON [2024-11-16T01:56:03.607Z] STF 01:56:03.273 - | Expectation: CLEAN_RUN within 1m [2024-11-16T01:56:03.607Z] STF 01:56:03.274 - | [2024-11-16T01:56:03.607Z] STF 01:56:03.274 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/tmp/19.CRI2/bin/java -Djava.library.path=/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/native --add-reads com.test.jlink=ALL-UNNAMED -XX:-UseCompressedOops -classpath /home/jenkins/testDependency/system_lib/junit/junit.jar:/home/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore adoptopenjdk.test.modularity.jlink.JniTest [2024-11-16T01:56:03.607Z] STF 01:56:03.274 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/results/24.T2.stderr [2024-11-16T01:56:03.607Z] STF 01:56:03.274 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/results/24.T2.stdout [2024-11-16T01:56:03.607Z] STF 01:56:03.293 - Monitoring processes: T2 [2024-11-16T01:56:05.302Z] T2 JUnit version 4.12 [2024-11-16T01:56:06.106Z] T2 . [2024-11-16T01:56:06.106Z] T2 Time: 0.029 [2024-11-16T01:56:06.106Z] T2 [2024-11-16T01:56:06.106Z] T2 OK (1 test) [2024-11-16T01:56:06.106Z] T2 [2024-11-16T01:56:06.106Z] STF 01:56:05.564 - Monitoring Report Summary: [2024-11-16T01:56:06.106Z] STF 01:56:05.564 - o Process T2 ended with the expected exit code (0) [2024-11-16T01:56:06.106Z] STF 01:56:05.570 - [2024-11-16T01:56:06.106Z] STF 01:56:05.571 - +------ Step 25 - Create runtime image [2024-11-16T01:56:06.106Z] STF 01:56:05.571 - | Run jlink to create runtime image [2024-11-16T01:56:06.106Z] STF 01:56:05.571 - | ImageName: CRI3 [2024-11-16T01:56:06.106Z] STF 01:56:05.571 - | [2024-11-16T01:56:06.106Z] STF 01:56:05.571 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --add-modules com.test.jlink --output /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/tmp/25.CRI3 [2024-11-16T01:56:06.106Z] STF 01:56:05.571 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/results/25.JLNK.stderr [2024-11-16T01:56:06.106Z] STF 01:56:05.571 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/results/25.JLNK.stdout [2024-11-16T01:56:06.106Z] STF 01:56:05.585 - Monitoring processes: JLNK [2024-11-16T01:56:25.910Z] STF 01:56:23.595 - Monitoring Report Summary: [2024-11-16T01:56:25.910Z] STF 01:56:23.595 - o Process JLNK ended with the expected exit code (0) [2024-11-16T01:56:25.910Z] STF 01:56:23.595 - [2024-11-16T01:56:25.910Z] STF 01:56:23.595 - +------ Step 26 - Running listmods [2024-11-16T01:56:25.910Z] STF 01:56:23.595 - | Run foreground process [2024-11-16T01:56:25.910Z] STF 01:56:23.595 - | Program: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/tmp/25.CRI3/bin/java [2024-11-16T01:56:25.910Z] STF 01:56:23.595 - | Mnemonic: LIST [2024-11-16T01:56:25.910Z] STF 01:56:23.595 - | Echo: ECHO_ON [2024-11-16T01:56:25.910Z] STF 01:56:23.595 - | Expectation: CLEAN_RUN within 1m [2024-11-16T01:56:25.910Z] STF 01:56:23.595 - | [2024-11-16T01:56:25.910Z] STF 01:56:23.596 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/tmp/25.CRI3/bin/java --list-modules -XX:-UseCompressedOops [2024-11-16T01:56:25.910Z] STF 01:56:23.596 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/results/26.LIST.stderr [2024-11-16T01:56:25.910Z] STF 01:56:23.596 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/results/26.LIST.stdout [2024-11-16T01:56:25.910Z] STF 01:56:23.616 - Monitoring processes: LIST [2024-11-16T01:56:25.910Z] LIST com.hello [2024-11-16T01:56:25.910Z] LIST com.test.jlink [2024-11-16T01:56:25.910Z] LIST java.base@17.0.14-beta [2024-11-16T01:56:25.910Z] STF 01:56:25.510 - Monitoring Report Summary: [2024-11-16T01:56:25.910Z] STF 01:56:25.511 - o Process LIST ended with the expected exit code (0) [2024-11-16T01:56:25.910Z] STF 01:56:25.511 - [2024-11-16T01:56:25.910Z] STF 01:56:25.511 - +------ Step 27 - Check output [2024-11-16T01:56:25.910Z] STF 01:56:25.511 - | Count file matches [2024-11-16T01:56:25.910Z] STF 01:56:25.511 - | TargetFile: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/results/26.LIST.stdout [2024-11-16T01:56:25.910Z] STF 01:56:25.511 - | ExpectedNumMatches: 1 [2024-11-16T01:56:25.910Z] STF 01:56:25.511 - | SearchStrings: ["com.hello"] [2024-11-16T01:56:25.910Z] STF 01:56:25.511 - | [2024-11-16T01:56:25.910Z] STF 01:56:25.511 - Found 1 instances of ["com.hello"] [2024-11-16T01:56:25.910Z] STF 01:56:25.511 - [2024-11-16T01:56:25.910Z] STF 01:56:25.511 - +------ Step 28 - Check output [2024-11-16T01:56:25.910Z] STF 01:56:25.511 - | Count file matches [2024-11-16T01:56:25.910Z] STF 01:56:25.511 - | TargetFile: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/results/26.LIST.stdout [2024-11-16T01:56:25.910Z] STF 01:56:25.511 - | ExpectedNumMatches: 1 [2024-11-16T01:56:25.910Z] STF 01:56:25.511 - | SearchStrings: ["com.test.jlink"] [2024-11-16T01:56:25.910Z] STF 01:56:25.511 - | [2024-11-16T01:56:25.910Z] STF 01:56:25.511 - Found 1 instances of ["com.test.jlink"] [2024-11-16T01:56:25.910Z] STF 01:56:25.511 - [2024-11-16T01:56:25.910Z] STF 01:56:25.511 - +------ Step 29 - Check output [2024-11-16T01:56:25.910Z] STF 01:56:25.511 - | Count file matches [2024-11-16T01:56:25.910Z] STF 01:56:25.511 - | TargetFile: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/results/26.LIST.stdout [2024-11-16T01:56:25.910Z] STF 01:56:25.511 - | ExpectedNumMatches: 1 [2024-11-16T01:56:25.910Z] STF 01:56:25.511 - | SearchStrings: ["java.base"] [2024-11-16T01:56:25.910Z] STF 01:56:25.511 - | [2024-11-16T01:56:25.910Z] STF 01:56:25.511 - Found 1 instances of ["java.base"] [2024-11-16T01:56:25.910Z] STF 01:56:25.511 - [2024-11-16T01:56:25.910Z] STF 01:56:25.511 - +------ Step 30 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-11-16T01:56:25.910Z] STF 01:56:25.511 - | Run foreground process [2024-11-16T01:56:25.910Z] STF 01:56:25.514 - | Program: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/tmp/25.CRI3/bin/java [2024-11-16T01:56:25.910Z] STF 01:56:25.514 - | Mnemonic: T3 [2024-11-16T01:56:25.910Z] STF 01:56:25.514 - | Echo: ECHO_ON [2024-11-16T01:56:25.910Z] STF 01:56:25.514 - | Expectation: CLEAN_RUN within 1m [2024-11-16T01:56:25.910Z] STF 01:56:25.514 - | [2024-11-16T01:56:25.910Z] STF 01:56:25.515 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/tmp/25.CRI3/bin/java -Djava.library.path=/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/native --add-reads com.test.jlink=ALL-UNNAMED -XX:-UseCompressedOops -classpath /home/jenkins/testDependency/system_lib/junit/junit.jar:/home/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-11-16T01:56:25.910Z] STF 01:56:25.515 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/results/30.T3.stderr [2024-11-16T01:56:25.910Z] STF 01:56:25.515 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/results/30.T3.stdout [2024-11-16T01:56:25.910Z] STF 01:56:25.529 - Monitoring processes: T3 [2024-11-16T01:56:27.607Z] T3 JUnit version 4.12 [2024-11-16T01:56:28.439Z] T3 . [2024-11-16T01:56:29.241Z] T3 Time: 0.076 [2024-11-16T01:56:29.241Z] T3 [2024-11-16T01:56:29.241Z] T3 OK (1 test) [2024-11-16T01:56:29.241Z] T3 [2024-11-16T01:56:29.241Z] STF 01:56:28.637 - Monitoring Report Summary: [2024-11-16T01:56:29.241Z] STF 01:56:28.637 - o Process T3 ended with the expected exit code (0) [2024-11-16T01:56:29.241Z] STF 01:56:28.637 - EXECUTE stage completed [2024-11-16T01:56:29.241Z] STF 01:56:28.870 - [2024-11-16T01:56:29.241Z] STF 01:56:28.870 - ==================== T E A R D O W N ==================== [2024-11-16T01:56:29.241Z] STF 01:56:28.870 - Running teardown: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/../TKG/output_17317191521271/Jlink_ReqMod_1/20241116-015452-JlinkTest/tearDown.pl [2024-11-16T01:56:30.082Z] STF 01:56:29.323 - TEARDOWN stage completed [2024-11-16T01:56:30.082Z] STF 01:56:29.354 - [2024-11-16T01:56:30.082Z] STF 01:56:29.354 - ===================== R E S U L T S ===================== [2024-11-16T01:56:30.082Z] STF 01:56:29.354 - Stage results: [2024-11-16T01:56:30.082Z] STF 01:56:29.354 - setUp: pass [2024-11-16T01:56:30.082Z] STF 01:56:29.354 - execute: pass [2024-11-16T01:56:30.082Z] STF 01:56:29.354 - teardown: pass [2024-11-16T01:56:30.082Z] STF 01:56:29.354 - [2024-11-16T01:56:30.082Z] STF 01:56:29.354 - Overall result: PASSED [2024-11-16T01:56:30.082Z] ----------------------------------- [2024-11-16T01:56:30.082Z] Jlink_ReqMod_1_PASSED [2024-11-16T01:56:30.082Z] ----------------------------------- [2024-11-16T01:56:30.082Z] [2024-11-16T01:56:30.082Z] TEST TEARDOWN: [2024-11-16T01:56:30.082Z] Nothing to be done for teardown. [2024-11-16T01:56:30.082Z] Jlink_ReqMod_1 Finish Time: Sat Nov 16 01:56:29 2024 Epoch Time (ms): 1731722189827