Jlink_ReqMod_1

[2024-11-08T10:56:39.716Z] Running test Jlink_ReqMod_1 ... [2024-11-08T10:56:39.716Z] =============================================== [2024-11-08T10:56:39.716Z] Jlink_ReqMod_1 Start Time: Fri Nov 8 10:56:39 2024 Epoch Time (ms): 1731063399147 [2024-11-08T10:56:39.716Z] variation: Mode650 [2024-11-08T10:56:39.716Z] JVM_OPTIONS: -XX:-UseCompressedOops [2024-11-08T10:56:39.716Z] { \ [2024-11-08T10:56:39.716Z] echo ""; echo "TEST SETUP:"; \ [2024-11-08T10:56:39.716Z] echo "Nothing to be done for setup."; \ [2024-11-08T10:56:39.716Z] mkdir -p "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/../TKG/output_17310603653036/Jlink_ReqMod_1"; \ [2024-11-08T10:56:39.716Z] cd "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/../TKG/output_17310603653036/Jlink_ReqMod_1"; \ [2024-11-08T10:56:39.716Z] echo ""; echo "TESTING:"; \ [2024-11-08T10:56:39.716Z] perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-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_x86-64_alpine-linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/../../testDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/../TKG/output_17310603653036/Jlink_ReqMod_1" -test=JlinkTest -test-args="variant=ReqdMod"; \ [2024-11-08T10:56:39.716Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "Jlink_ReqMod_1""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/../TKG/output_17310603653036/Jlink_ReqMod_1"; else echo "-----------------------------------"; echo "Jlink_ReqMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2024-11-08T10:56:39.716Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-11-08T10:56:39.716Z] echo "Nothing to be done for teardown."; \ [2024-11-08T10:56:39.716Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/../TKG/output_17310603653036/TestTargetResult"; [2024-11-08T10:56:39.716Z] [2024-11-08T10:56:39.716Z] TEST SETUP: [2024-11-08T10:56:39.716Z] Nothing to be done for setup. [2024-11-08T10:56:39.716Z] [2024-11-08T10:56:39.716Z] TESTING: [2024-11-08T10:56:39.716Z] STF 10:56:39.522 - ========================= S T F ========================= [2024-11-08T10:56:39.716Z] 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_x86-64_alpine-linux_testList_2/aqa-tests/TKG/../TKG/output_17310603653036/Jlink_ReqMod_1 [2024-11-08T10:56:39.716Z] There is 77308 Mb free [2024-11-08T10:56:39.716Z] STF 10:56:39.551 - ================== G E N E R A T I O N ================== [2024-11-08T10:56:39.716Z] STF 10:56:39.552 - Checking JVM: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image [2024-11-08T10:56:39.716Z] STF 10:56:39.552 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-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_x86-64_alpine-linux_testList_2/../../testDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/../../testDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/../TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/../TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest" [2024-11-08T10:56:40.569Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-08T10:56:40.569Z] GEN [0.073s][warning][cds] Archived non-system classes are disabled because the java.system.class.loader property is specified (value = "net.adoptopenjdk.stf.runner.StfClassLoader"). To use archived non-system classes, this property must not be set [2024-11-08T10:56:45.414Z] GEN 10:56:44.198 - Found test. Project: 'openjdk.test.modularity' class: 'JlinkTest.class' Dir: '/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2024-11-08T10:56:45.414Z] GEN 10:56:44.253 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.JlinkTest' [2024-11-08T10:56:45.414Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-11-08T10:56:45.414Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2024-11-08T10:56:45.414Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2024-11-08T10:56:45.414Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2024-11-08T10:56:45.414Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2024-11-08T10:56:45.414Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2024-11-08T10:56:45.414Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2024-11-08T10:56:45.414Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2024-11-08T10:56:45.414Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2024-11-08T10:56:45.414Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2024-11-08T10:56:45.414Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2024-11-08T10:56:45.414Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2024-11-08T10:56:45.414Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2024-11-08T10:56:45.414Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2024-11-08T10:56:45.414Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2024-11-08T10:56:45.414Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2024-11-08T10:56:45.414Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/STF/stf.core/bin [2024-11-08T10:56:45.414Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-11-08T10:56:45.414Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-11-08T10:56:45.414Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar [2024-11-08T10:56:45.414Z] GEN 10:56:44.952 - Using Mode NoOptions. Values = '' [2024-11-08T10:56:46.272Z] GEN 10:56:45.510 - [2024-11-08T10:56:46.272Z] GEN 10:56:45.511 - Test command summary: [2024-11-08T10:56:46.272Z] GEN 10:56:45.511 - Step Stage Command Description [2024-11-08T10:56:46.272Z] GEN 10:56:45.511 - -----+--------+-----------------+------------ [2024-11-08T10:56:46.272Z] GEN 10:56:45.511 - 1 setUp cpDir Copying com.test.jlink [2024-11-08T10:56:46.272Z] GEN 10:56:45.529 - 2 setUp rm Removing natives folder from com.test.jLinkDirCopy [2024-11-08T10:56:46.272Z] GEN 10:56:45.529 - 3 setUp jar Create com.test.jlink jar [2024-11-08T10:56:46.272Z] GEN 10:56:45.529 - 4 setUp jar Create com.hello jar [2024-11-08T10:56:46.272Z] GEN 10:56:45.529 - 5 setUp fileCheck Check com.test.jlink modular jar created [2024-11-08T10:56:46.272Z] GEN 10:56:45.530 - 6 setUp fileCheck Check com.hello modular jar created [2024-11-08T10:56:46.272Z] GEN 10:56:45.530 - 7 setUp rm Removing conf folder from com.test.jLinkDirCopy [2024-11-08T10:56:46.272Z] GEN 10:56:45.530 - 8 setUp cpDir Copying .so from com.test.jlink/native [2024-11-08T10:56:46.272Z] GEN 10:56:45.530 - 9 setUp jmod Creating jmod of com.test.jlink module [2024-11-08T10:56:46.272Z] GEN 10:56:45.530 - 10 setUp jmod Creating jmod for com.hello module [2024-11-08T10:56:46.272Z] GEN 10:56:45.530 - 11 setUp fileCheck Check com.test.jlink jmod created [2024-11-08T10:56:46.272Z] GEN 10:56:45.530 - 12 setUp fileCheck Check com.hello jmod created [2024-11-08T10:56:46.272Z] GEN 10:56:45.530 - 13 execute jlink Create runtime image [2024-11-08T10:56:46.272Z] GEN 10:56:45.530 - 14 execute Run java Running listmods [2024-11-08T10:56:46.272Z] GEN 10:56:45.530 - 15 execute count Check output [2024-11-08T10:56:46.272Z] GEN 10:56:45.530 - 16 execute count Check output [2024-11-08T10:56:46.272Z] GEN 10:56:45.530 - 17 execute count Check output [2024-11-08T10:56:46.272Z] GEN 10:56:45.530 - 18 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-11-08T10:56:46.272Z] GEN 10:56:45.530 - 19 execute jlink Create runtime image [2024-11-08T10:56:46.272Z] GEN 10:56:45.530 - 20 execute Run java Running listmods [2024-11-08T10:56:46.272Z] GEN 10:56:45.530 - 21 execute count Check output [2024-11-08T10:56:46.272Z] GEN 10:56:45.530 - 22 execute count Check output [2024-11-08T10:56:46.272Z] GEN 10:56:45.531 - 23 execute count Check output [2024-11-08T10:56:46.272Z] GEN 10:56:45.531 - 24 execute Run java Running adoptopenjdk.test.modularity.jlink.JniTest [2024-11-08T10:56:46.272Z] GEN 10:56:45.531 - 25 execute jlink Create runtime image [2024-11-08T10:56:46.272Z] GEN 10:56:45.531 - 26 execute Run java Running listmods [2024-11-08T10:56:46.272Z] GEN 10:56:45.531 - 27 execute count Check output [2024-11-08T10:56:46.272Z] GEN 10:56:45.531 - 28 execute count Check output [2024-11-08T10:56:46.272Z] GEN 10:56:45.531 - 29 execute count Check output [2024-11-08T10:56:46.272Z] GEN 10:56:45.531 - 30 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-11-08T10:56:46.272Z] STF 10:56:45.631 - [2024-11-08T10:56:46.272Z] STF 10:56:45.635 - Script generation completed [2024-11-08T10:56:46.272Z] STF 10:56:45.635 - [2024-11-08T10:56:46.272Z] STF 10:56:45.636 - [2024-11-08T10:56:46.272Z] STF 10:56:45.637 - ======================= S E T U P ======================= [2024-11-08T10:56:46.272Z] STF 10:56:45.637 - Running setup: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/../TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/setUp.pl [2024-11-08T10:56:46.272Z] STF 10:56:45.866 - [2024-11-08T10:56:46.272Z] STF 10:56:45.866 - +------ Step 1 - Copying com.test.jlink [2024-11-08T10:56:46.272Z] STF 10:56:45.866 - | Copy a directory to a new directory [2024-11-08T10:56:46.272Z] STF 10:56:45.866 - | Source dir: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink [2024-11-08T10:56:46.272Z] STF 10:56:45.866 - | Dest dir: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/com.test.jLinkDirCopy [2024-11-08T10:56:46.272Z] STF 10:56:45.866 - | [2024-11-08T10:56:46.272Z] STF 10:56:45.880 - [2024-11-08T10:56:46.272Z] STF 10:56:45.880 - +------ Step 2 - Removing natives folder from com.test.jLinkDirCopy [2024-11-08T10:56:46.272Z] STF 10:56:45.880 - | Recursively delete a directory [2024-11-08T10:56:46.272Z] STF 10:56:45.880 - | Directory: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/com.test.jLinkDirCopy/native [2024-11-08T10:56:46.272Z] STF 10:56:45.880 - | [2024-11-08T10:56:46.272Z] STF 10:56:45.884 - [2024-11-08T10:56:46.272Z] STF 10:56:45.884 - +------ Step 3 - Create com.test.jlink jar [2024-11-08T10:56:46.272Z] STF 10:56:45.884 - | Create modular jar [2024-11-08T10:56:46.272Z] STF 10:56:45.884 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test.jlink [2024-11-08T10:56:46.272Z] STF 10:56:45.884 - | ModuleVersion: null [2024-11-08T10:56:46.272Z] STF 10:56:45.884 - | MainClass: null [2024-11-08T10:56:46.272Z] STF 10:56:45.884 - | HashModules: null [2024-11-08T10:56:46.272Z] STF 10:56:45.884 - | [2024-11-08T10:56:46.273Z] STF 10:56:45.885 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/modules/3.com.test.jlink.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink . [2024-11-08T10:56:46.273Z] STF 10:56:45.885 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/results/3.CMJ.stderr [2024-11-08T10:56:46.273Z] STF 10:56:45.885 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/results/3.CMJ.stdout [2024-11-08T10:56:46.273Z] STF 10:56:45.921 - Monitoring processes: CMJ [2024-11-08T10:56:46.273Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-08T10:56:48.021Z] STF 10:56:47.182 - Monitoring Report Summary: [2024-11-08T10:56:48.021Z] STF 10:56:47.182 - o Process CMJ ended with the expected exit code (0) [2024-11-08T10:56:48.021Z] STF 10:56:47.182 - Created modular jar: 3.com.test.jlink.jar [2024-11-08T10:56:48.021Z] STF 10:56:47.182 - [2024-11-08T10:56:48.021Z] STF 10:56:47.182 - +------ Step 4 - Create com.hello jar [2024-11-08T10:56:48.021Z] STF 10:56:47.182 - | Create modular jar [2024-11-08T10:56:48.021Z] STF 10:56:47.182 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-11-08T10:56:48.021Z] STF 10:56:47.182 - | ModuleVersion: null [2024-11-08T10:56:48.021Z] STF 10:56:47.182 - | MainClass: null [2024-11-08T10:56:48.021Z] STF 10:56:47.182 - | HashModules: null [2024-11-08T10:56:48.021Z] STF 10:56:47.182 - | [2024-11-08T10:56:48.021Z] STF 10:56:47.183 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/modules/4.com.hello.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2024-11-08T10:56:48.021Z] STF 10:56:47.183 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/results/4.CMJ.stderr [2024-11-08T10:56:48.021Z] STF 10:56:47.183 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/results/4.CMJ.stdout [2024-11-08T10:56:48.021Z] STF 10:56:47.194 - Monitoring processes: CMJ [2024-11-08T10:56:48.021Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-08T10:56:48.885Z] STF 10:56:48.574 - Monitoring Report Summary: [2024-11-08T10:56:48.885Z] STF 10:56:48.574 - o Process CMJ ended with the expected exit code (0) [2024-11-08T10:56:48.885Z] STF 10:56:48.575 - Created modular jar: 4.com.hello.jar [2024-11-08T10:56:48.885Z] STF 10:56:48.575 - [2024-11-08T10:56:48.885Z] STF 10:56:48.575 - +------ Step 5 - Check com.test.jlink modular jar created [2024-11-08T10:56:48.885Z] STF 10:56:48.575 - | Validate file exists [2024-11-08T10:56:48.885Z] STF 10:56:48.575 - | File: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/modules/3.com.test.jlink.jar [2024-11-08T10:56:48.885Z] STF 10:56:48.575 - | [2024-11-08T10:56:48.885Z] STF 10:56:48.575 - [2024-11-08T10:56:48.885Z] STF 10:56:48.575 - +------ Step 6 - Check com.hello modular jar created [2024-11-08T10:56:48.885Z] STF 10:56:48.575 - | Validate file exists [2024-11-08T10:56:48.885Z] STF 10:56:48.575 - | File: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/modules/4.com.hello.jar [2024-11-08T10:56:48.885Z] STF 10:56:48.575 - | [2024-11-08T10:56:48.885Z] STF 10:56:48.575 - [2024-11-08T10:56:48.885Z] STF 10:56:48.575 - +------ Step 7 - Removing conf folder from com.test.jLinkDirCopy [2024-11-08T10:56:48.885Z] STF 10:56:48.575 - | Recursively delete a directory [2024-11-08T10:56:48.885Z] STF 10:56:48.575 - | Directory: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/com.test.jLinkDirCopy/conf [2024-11-08T10:56:48.885Z] STF 10:56:48.575 - | [2024-11-08T10:56:48.885Z] STF 10:56:48.575 - [2024-11-08T10:56:48.885Z] STF 10:56:48.575 - +------ Step 8 - Copying .so from com.test.jlink/native [2024-11-08T10:56:48.885Z] STF 10:56:48.575 - | Copy a directory to a new directory [2024-11-08T10:56:48.885Z] STF 10:56:48.575 - | Source dir: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink/native/bin/linux [2024-11-08T10:56:48.885Z] STF 10:56:48.575 - | Dest dir: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/native [2024-11-08T10:56:48.885Z] STF 10:56:48.575 - | [2024-11-08T10:56:48.885Z] STF 10:56:48.576 - [2024-11-08T10:56:48.885Z] STF 10:56:48.576 - +------ Step 9 - Creating jmod of com.test.jlink module [2024-11-08T10:56:48.885Z] STF 10:56:48.576 - | Run jmod utility [2024-11-08T10:56:48.885Z] STF 10:56:48.576 - | jmod: com.test.jlink.jmod [2024-11-08T10:56:48.885Z] STF 10:56:48.576 - | [2024-11-08T10:56:48.885Z] STF 10:56:48.576 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image/bin/jmod create --class-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/com.test.jLinkDirCopy --config /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-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_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/native /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/tmp/com.test.jlink.jmod [2024-11-08T10:56:48.885Z] STF 10:56:48.576 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/results/9.JMOD.stderr [2024-11-08T10:56:48.885Z] STF 10:56:48.576 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/results/9.JMOD.stdout [2024-11-08T10:56:48.885Z] STF 10:56:48.589 - Monitoring processes: JMOD [2024-11-08T10:56:48.885Z] JMOD stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-08T10:56:50.632Z] STF 10:56:49.707 - Monitoring Report Summary: [2024-11-08T10:56:50.632Z] STF 10:56:49.707 - o Process JMOD ended with the expected exit code (0) [2024-11-08T10:56:50.632Z] STF 10:56:49.707 - [2024-11-08T10:56:50.632Z] STF 10:56:49.707 - +------ Step 10 - Creating jmod for com.hello module [2024-11-08T10:56:50.632Z] STF 10:56:49.707 - | Run jmod utility [2024-11-08T10:56:50.632Z] STF 10:56:49.707 - | jmod: com.hello.jmod [2024-11-08T10:56:50.632Z] STF 10:56:49.707 - | [2024-11-08T10:56:50.632Z] STF 10:56:49.708 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image/bin/jmod create --class-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/tmp/com.hello.jmod [2024-11-08T10:56:50.632Z] STF 10:56:49.708 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/results/10.JMOD.stderr [2024-11-08T10:56:50.632Z] STF 10:56:49.708 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/results/10.JMOD.stdout [2024-11-08T10:56:50.632Z] STF 10:56:49.709 - Monitoring processes: JMOD [2024-11-08T10:56:50.632Z] JMOD stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-08T10:56:51.478Z] STF 10:56:50.918 - Monitoring Report Summary: [2024-11-08T10:56:51.478Z] STF 10:56:50.918 - o Process JMOD ended with the expected exit code (0) [2024-11-08T10:56:51.478Z] STF 10:56:50.918 - [2024-11-08T10:56:51.478Z] STF 10:56:50.918 - +------ Step 11 - Check com.test.jlink jmod created [2024-11-08T10:56:51.478Z] STF 10:56:50.918 - | Validate file exists [2024-11-08T10:56:51.478Z] STF 10:56:50.918 - | File: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/tmp/com.test.jlink.jmod [2024-11-08T10:56:51.478Z] STF 10:56:50.918 - | [2024-11-08T10:56:51.478Z] STF 10:56:50.918 - [2024-11-08T10:56:51.478Z] STF 10:56:50.918 - +------ Step 12 - Check com.hello jmod created [2024-11-08T10:56:51.478Z] STF 10:56:50.919 - | Validate file exists [2024-11-08T10:56:51.478Z] STF 10:56:50.919 - | File: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/tmp/com.hello.jmod [2024-11-08T10:56:51.478Z] STF 10:56:50.919 - | [2024-11-08T10:56:51.478Z] STF 10:56:50.919 - SETUP stage completed [2024-11-08T10:56:51.478Z] STF 10:56:50.971 - [2024-11-08T10:56:51.478Z] STF 10:56:50.974 - ==================== E X E C U T E - ==================== [2024-11-08T10:56:51.478Z] STF 10:56:50.974 - Running execute: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/../TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/execute.pl [2024-11-08T10:56:51.478Z] STF 10:56:51.238 - [2024-11-08T10:56:51.478Z] STF 10:56:51.238 - Java version [2024-11-08T10:56:51.478Z] STF 10:56:51.238 - Running: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image/bin/java -version [2024-11-08T10:56:51.478Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-08T10:56:52.332Z] openjdk version "21.0.6-beta" 2025-01-21 [2024-11-08T10:56:52.332Z] OpenJDK Runtime Environment Temurin-21.0.6+2-202411072102 (build 21.0.6-beta+2-ea) [2024-11-08T10:56:52.332Z] OpenJDK 64-Bit Server VM Temurin-21.0.6+2-202411072102 (build 21.0.6-beta+2-ea, mixed mode, sharing) [2024-11-08T10:56:52.332Z] STF 10:56:51.487 - [2024-11-08T10:56:52.332Z] STF 10:56:51.488 - +------ Step 13 - Create runtime image [2024-11-08T10:56:52.332Z] STF 10:56:51.488 - | Run jlink to create runtime image [2024-11-08T10:56:52.332Z] STF 10:56:51.488 - | ImageName: CRI1 [2024-11-08T10:56:52.332Z] STF 10:56:51.488 - | [2024-11-08T10:56:52.332Z] STF 10:56:51.488 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/modules --add-modules com.test.jlink --output /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/tmp/13.CRI1 [2024-11-08T10:56:52.332Z] STF 10:56:51.488 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/results/13.JLNK.stderr [2024-11-08T10:56:52.332Z] STF 10:56:51.488 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/results/13.JLNK.stdout [2024-11-08T10:56:52.332Z] STF 10:56:51.555 - Monitoring processes: JLNK [2024-11-08T10:56:52.332Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-08T10:57:03.104Z] STF 10:57:01.322 - Monitoring Report Summary: [2024-11-08T10:57:03.105Z] STF 10:57:01.322 - o Process JLNK ended with the expected exit code (0) [2024-11-08T10:57:03.105Z] STF 10:57:01.322 - [2024-11-08T10:57:03.105Z] STF 10:57:01.322 - +------ Step 14 - Running listmods [2024-11-08T10:57:03.105Z] STF 10:57:01.322 - | Run foreground process [2024-11-08T10:57:03.105Z] STF 10:57:01.322 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/tmp/13.CRI1/bin/java [2024-11-08T10:57:03.105Z] STF 10:57:01.323 - | Mnemonic: LIST [2024-11-08T10:57:03.105Z] STF 10:57:01.323 - | Echo: ECHO_ON [2024-11-08T10:57:03.105Z] STF 10:57:01.323 - | Expectation: CLEAN_RUN within 1m [2024-11-08T10:57:03.105Z] STF 10:57:01.323 - | [2024-11-08T10:57:03.105Z] STF 10:57:01.323 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/tmp/13.CRI1/bin/java --list-modules -XX:-UseCompressedOops [2024-11-08T10:57:03.105Z] STF 10:57:01.323 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/results/14.LIST.stderr [2024-11-08T10:57:03.105Z] STF 10:57:01.323 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/results/14.LIST.stdout [2024-11-08T10:57:03.105Z] STF 10:57:01.330 - Monitoring processes: LIST [2024-11-08T10:57:03.105Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-08T10:57:03.105Z] LIST com.hello [2024-11-08T10:57:03.105Z] LIST com.test.jlink [2024-11-08T10:57:03.105Z] LIST java.base@21.0.6-beta [2024-11-08T10:57:03.105Z] STF 10:57:01.914 - Monitoring Report Summary: [2024-11-08T10:57:03.105Z] STF 10:57:01.914 - o Process LIST ended with the expected exit code (0) [2024-11-08T10:57:03.105Z] STF 10:57:01.915 - [2024-11-08T10:57:03.105Z] STF 10:57:01.915 - +------ Step 15 - Check output [2024-11-08T10:57:03.105Z] STF 10:57:01.915 - | Count file matches [2024-11-08T10:57:03.105Z] STF 10:57:01.915 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/results/14.LIST.stdout [2024-11-08T10:57:03.105Z] STF 10:57:01.915 - | ExpectedNumMatches: 1 [2024-11-08T10:57:03.105Z] STF 10:57:01.915 - | SearchStrings: ["com.hello"] [2024-11-08T10:57:03.105Z] STF 10:57:01.915 - | [2024-11-08T10:57:03.105Z] STF 10:57:01.915 - Found 1 instances of ["com.hello"] [2024-11-08T10:57:03.105Z] STF 10:57:01.915 - [2024-11-08T10:57:03.105Z] STF 10:57:01.915 - +------ Step 16 - Check output [2024-11-08T10:57:03.105Z] STF 10:57:01.915 - | Count file matches [2024-11-08T10:57:03.105Z] STF 10:57:01.915 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/results/14.LIST.stdout [2024-11-08T10:57:03.105Z] STF 10:57:01.915 - | ExpectedNumMatches: 1 [2024-11-08T10:57:03.105Z] STF 10:57:01.915 - | SearchStrings: ["com.test.jlink"] [2024-11-08T10:57:03.105Z] STF 10:57:01.915 - | [2024-11-08T10:57:03.105Z] STF 10:57:01.915 - Found 1 instances of ["com.test.jlink"] [2024-11-08T10:57:03.105Z] STF 10:57:01.915 - [2024-11-08T10:57:03.105Z] STF 10:57:01.915 - +------ Step 17 - Check output [2024-11-08T10:57:03.105Z] STF 10:57:01.915 - | Count file matches [2024-11-08T10:57:03.105Z] STF 10:57:01.915 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/results/14.LIST.stdout [2024-11-08T10:57:03.105Z] STF 10:57:01.915 - | ExpectedNumMatches: 1 [2024-11-08T10:57:03.105Z] STF 10:57:01.915 - | SearchStrings: ["java.base"] [2024-11-08T10:57:03.105Z] STF 10:57:01.915 - | [2024-11-08T10:57:03.105Z] STF 10:57:01.915 - Found 1 instances of ["java.base"] [2024-11-08T10:57:03.105Z] STF 10:57:01.915 - [2024-11-08T10:57:03.105Z] STF 10:57:01.915 - +------ Step 18 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-11-08T10:57:03.105Z] STF 10:57:01.915 - | Run foreground process [2024-11-08T10:57:03.105Z] STF 10:57:01.915 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/tmp/13.CRI1/bin/java [2024-11-08T10:57:03.105Z] STF 10:57:01.915 - | Mnemonic: T1 [2024-11-08T10:57:03.105Z] STF 10:57:01.915 - | Echo: ECHO_ON [2024-11-08T10:57:03.105Z] STF 10:57:01.915 - | Expectation: CLEAN_RUN within 1m [2024-11-08T10:57:03.105Z] STF 10:57:01.915 - | [2024-11-08T10:57:03.105Z] STF 10:57:01.916 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/tmp/13.CRI1/bin/java -Djava.library.path=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-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-08T10:57:03.105Z] STF 10:57:01.916 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/results/18.T1.stderr [2024-11-08T10:57:03.105Z] STF 10:57:01.916 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/results/18.T1.stdout [2024-11-08T10:57:03.105Z] STF 10:57:01.924 - Monitoring processes: T1 [2024-11-08T10:57:03.105Z] T1 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-08T10:57:03.105Z] T1 JUnit version 4.12 [2024-11-08T10:57:03.957Z] T1 . [2024-11-08T10:57:03.957Z] T1 Time: 0.044 [2024-11-08T10:57:03.957Z] T1 [2024-11-08T10:57:03.957Z] T1 OK (1 test) [2024-11-08T10:57:03.957Z] T1 [2024-11-08T10:57:03.957Z] STF 10:57:03.279 - Monitoring Report Summary: [2024-11-08T10:57:03.957Z] STF 10:57:03.279 - o Process T1 ended with the expected exit code (0) [2024-11-08T10:57:03.957Z] STF 10:57:03.279 - [2024-11-08T10:57:03.957Z] STF 10:57:03.279 - +------ Step 19 - Create runtime image [2024-11-08T10:57:03.957Z] STF 10:57:03.279 - | Run jlink to create runtime image [2024-11-08T10:57:03.957Z] STF 10:57:03.279 - | ImageName: CRI2 [2024-11-08T10:57:03.957Z] STF 10:57:03.279 - | [2024-11-08T10:57:03.957Z] STF 10:57:03.280 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/tmp --add-modules com.test.jlink --output /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/tmp/19.CRI2 [2024-11-08T10:57:03.957Z] STF 10:57:03.280 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/results/19.JLNK.stderr [2024-11-08T10:57:03.957Z] STF 10:57:03.280 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/results/19.JLNK.stdout [2024-11-08T10:57:03.957Z] STF 10:57:03.294 - Monitoring processes: JLNK [2024-11-08T10:57:03.957Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-08T10:57:14.492Z] STF 10:57:13.557 - Monitoring Report Summary: [2024-11-08T10:57:14.492Z] STF 10:57:13.557 - o Process JLNK ended with the expected exit code (0) [2024-11-08T10:57:14.492Z] STF 10:57:13.558 - [2024-11-08T10:57:14.492Z] STF 10:57:13.558 - +------ Step 20 - Running listmods [2024-11-08T10:57:14.492Z] STF 10:57:13.558 - | Run foreground process [2024-11-08T10:57:14.492Z] STF 10:57:13.558 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/tmp/19.CRI2/bin/java [2024-11-08T10:57:14.492Z] STF 10:57:13.558 - | Mnemonic: LIST [2024-11-08T10:57:14.492Z] STF 10:57:13.558 - | Echo: ECHO_ON [2024-11-08T10:57:14.492Z] STF 10:57:13.558 - | Expectation: CLEAN_RUN within 1m [2024-11-08T10:57:14.492Z] STF 10:57:13.558 - | [2024-11-08T10:57:14.492Z] STF 10:57:13.558 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/tmp/19.CRI2/bin/java --list-modules -XX:-UseCompressedOops [2024-11-08T10:57:14.492Z] STF 10:57:13.558 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/results/20.LIST.stderr [2024-11-08T10:57:14.492Z] STF 10:57:13.558 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/results/20.LIST.stdout [2024-11-08T10:57:14.492Z] STF 10:57:13.569 - Monitoring processes: LIST [2024-11-08T10:57:14.492Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-08T10:57:14.492Z] LIST com.hello [2024-11-08T10:57:14.492Z] LIST com.test.jlink [2024-11-08T10:57:14.492Z] LIST java.base@21.0.6-beta [2024-11-08T10:57:14.492Z] STF 10:57:13.937 - Monitoring Report Summary: [2024-11-08T10:57:14.492Z] STF 10:57:13.937 - o Process LIST ended with the expected exit code (0) [2024-11-08T10:57:14.492Z] STF 10:57:13.937 - [2024-11-08T10:57:14.492Z] STF 10:57:13.937 - +------ Step 21 - Check output [2024-11-08T10:57:14.492Z] STF 10:57:13.937 - | Count file matches [2024-11-08T10:57:14.492Z] STF 10:57:13.937 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/results/20.LIST.stdout [2024-11-08T10:57:14.492Z] STF 10:57:13.937 - | ExpectedNumMatches: 1 [2024-11-08T10:57:14.492Z] STF 10:57:13.937 - | SearchStrings: ["com.hello"] [2024-11-08T10:57:14.492Z] STF 10:57:13.937 - | [2024-11-08T10:57:14.492Z] STF 10:57:13.937 - Found 1 instances of ["com.hello"] [2024-11-08T10:57:14.492Z] STF 10:57:13.937 - [2024-11-08T10:57:14.492Z] STF 10:57:13.937 - +------ Step 22 - Check output [2024-11-08T10:57:14.492Z] STF 10:57:13.937 - | Count file matches [2024-11-08T10:57:14.492Z] STF 10:57:13.937 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/results/20.LIST.stdout [2024-11-08T10:57:14.492Z] STF 10:57:13.937 - | ExpectedNumMatches: 1 [2024-11-08T10:57:14.492Z] STF 10:57:13.937 - | SearchStrings: ["com.test.jlink"] [2024-11-08T10:57:14.492Z] STF 10:57:13.937 - | [2024-11-08T10:57:14.492Z] STF 10:57:13.937 - Found 1 instances of ["com.test.jlink"] [2024-11-08T10:57:14.492Z] STF 10:57:13.937 - [2024-11-08T10:57:14.492Z] STF 10:57:13.937 - +------ Step 23 - Check output [2024-11-08T10:57:14.492Z] STF 10:57:13.938 - | Count file matches [2024-11-08T10:57:14.492Z] STF 10:57:13.938 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/results/20.LIST.stdout [2024-11-08T10:57:14.492Z] STF 10:57:13.938 - | ExpectedNumMatches: 1 [2024-11-08T10:57:14.492Z] STF 10:57:13.938 - | SearchStrings: ["java.base"] [2024-11-08T10:57:14.492Z] STF 10:57:13.938 - | [2024-11-08T10:57:14.492Z] STF 10:57:13.938 - Found 1 instances of ["java.base"] [2024-11-08T10:57:14.492Z] STF 10:57:13.938 - [2024-11-08T10:57:14.492Z] STF 10:57:13.938 - +------ Step 24 - Running adoptopenjdk.test.modularity.jlink.JniTest [2024-11-08T10:57:14.492Z] STF 10:57:13.938 - | Run foreground process [2024-11-08T10:57:14.492Z] STF 10:57:13.938 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/tmp/19.CRI2/bin/java [2024-11-08T10:57:14.492Z] STF 10:57:13.938 - | Mnemonic: T2 [2024-11-08T10:57:14.492Z] STF 10:57:13.938 - | Echo: ECHO_ON [2024-11-08T10:57:14.492Z] STF 10:57:13.938 - | Expectation: CLEAN_RUN within 1m [2024-11-08T10:57:14.492Z] STF 10:57:13.938 - | [2024-11-08T10:57:14.492Z] STF 10:57:13.938 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/tmp/19.CRI2/bin/java -Djava.library.path=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-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-08T10:57:14.492Z] STF 10:57:13.938 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/results/24.T2.stderr [2024-11-08T10:57:14.492Z] STF 10:57:13.938 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/results/24.T2.stdout [2024-11-08T10:57:14.492Z] STF 10:57:13.945 - Monitoring processes: T2 [2024-11-08T10:57:14.493Z] T2 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-08T10:57:15.343Z] T2 JUnit version 4.12 [2024-11-08T10:57:15.343Z] T2 . [2024-11-08T10:57:15.343Z] T2 Time: 0.047 [2024-11-08T10:57:15.343Z] T2 [2024-11-08T10:57:15.343Z] T2 OK (1 test) [2024-11-08T10:57:15.343Z] T2 [2024-11-08T10:57:16.509Z] STF 10:57:15.147 - Monitoring Report Summary: [2024-11-08T10:57:16.509Z] STF 10:57:15.148 - o Process T2 ended with the expected exit code (0) [2024-11-08T10:57:16.509Z] STF 10:57:15.148 - [2024-11-08T10:57:16.509Z] STF 10:57:15.148 - +------ Step 25 - Create runtime image [2024-11-08T10:57:16.509Z] STF 10:57:15.148 - | Run jlink to create runtime image [2024-11-08T10:57:16.509Z] STF 10:57:15.148 - | ImageName: CRI3 [2024-11-08T10:57:16.509Z] STF 10:57:15.148 - | [2024-11-08T10:57:16.510Z] STF 10:57:15.148 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-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_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/tmp/25.CRI3 [2024-11-08T10:57:16.510Z] STF 10:57:15.148 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/results/25.JLNK.stderr [2024-11-08T10:57:16.510Z] STF 10:57:15.148 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/results/25.JLNK.stdout [2024-11-08T10:57:16.510Z] STF 10:57:15.150 - Monitoring processes: JLNK [2024-11-08T10:57:16.510Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-08T10:57:25.393Z] STF 10:57:25.077 - Monitoring Report Summary: [2024-11-08T10:57:25.393Z] STF 10:57:25.077 - o Process JLNK ended with the expected exit code (0) [2024-11-08T10:57:25.393Z] STF 10:57:25.078 - [2024-11-08T10:57:25.393Z] STF 10:57:25.078 - +------ Step 26 - Running listmods [2024-11-08T10:57:25.393Z] STF 10:57:25.078 - | Run foreground process [2024-11-08T10:57:25.393Z] STF 10:57:25.078 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/tmp/25.CRI3/bin/java [2024-11-08T10:57:25.393Z] STF 10:57:25.078 - | Mnemonic: LIST [2024-11-08T10:57:25.393Z] STF 10:57:25.078 - | Echo: ECHO_ON [2024-11-08T10:57:25.393Z] STF 10:57:25.078 - | Expectation: CLEAN_RUN within 1m [2024-11-08T10:57:25.393Z] STF 10:57:25.078 - | [2024-11-08T10:57:25.393Z] STF 10:57:25.078 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/tmp/25.CRI3/bin/java --list-modules -XX:-UseCompressedOops [2024-11-08T10:57:25.393Z] STF 10:57:25.078 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/results/26.LIST.stderr [2024-11-08T10:57:25.393Z] STF 10:57:25.078 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/results/26.LIST.stdout [2024-11-08T10:57:25.393Z] STF 10:57:25.080 - Monitoring processes: LIST [2024-11-08T10:57:25.393Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-08T10:57:26.232Z] LIST com.hello [2024-11-08T10:57:26.232Z] LIST com.test.jlink [2024-11-08T10:57:26.232Z] LIST java.base@21.0.6-beta [2024-11-08T10:57:26.232Z] STF 10:57:25.776 - Monitoring Report Summary: [2024-11-08T10:57:26.232Z] STF 10:57:25.776 - o Process LIST ended with the expected exit code (0) [2024-11-08T10:57:26.232Z] STF 10:57:25.777 - [2024-11-08T10:57:26.232Z] STF 10:57:25.777 - +------ Step 27 - Check output [2024-11-08T10:57:26.232Z] STF 10:57:25.777 - | Count file matches [2024-11-08T10:57:26.232Z] STF 10:57:25.777 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/results/26.LIST.stdout [2024-11-08T10:57:26.232Z] STF 10:57:25.777 - | ExpectedNumMatches: 1 [2024-11-08T10:57:26.232Z] STF 10:57:25.777 - | SearchStrings: ["com.hello"] [2024-11-08T10:57:26.232Z] STF 10:57:25.777 - | [2024-11-08T10:57:26.233Z] STF 10:57:25.777 - Found 1 instances of ["com.hello"] [2024-11-08T10:57:26.233Z] STF 10:57:25.777 - [2024-11-08T10:57:26.233Z] STF 10:57:25.777 - +------ Step 28 - Check output [2024-11-08T10:57:26.233Z] STF 10:57:25.777 - | Count file matches [2024-11-08T10:57:26.233Z] STF 10:57:25.777 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/results/26.LIST.stdout [2024-11-08T10:57:26.233Z] STF 10:57:25.777 - | ExpectedNumMatches: 1 [2024-11-08T10:57:26.233Z] STF 10:57:25.777 - | SearchStrings: ["com.test.jlink"] [2024-11-08T10:57:26.233Z] STF 10:57:25.777 - | [2024-11-08T10:57:26.233Z] STF 10:57:25.777 - Found 1 instances of ["com.test.jlink"] [2024-11-08T10:57:26.233Z] STF 10:57:25.777 - [2024-11-08T10:57:26.233Z] STF 10:57:25.777 - +------ Step 29 - Check output [2024-11-08T10:57:26.233Z] STF 10:57:25.777 - | Count file matches [2024-11-08T10:57:26.233Z] STF 10:57:25.777 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/results/26.LIST.stdout [2024-11-08T10:57:26.233Z] STF 10:57:25.777 - | ExpectedNumMatches: 1 [2024-11-08T10:57:26.233Z] STF 10:57:25.777 - | SearchStrings: ["java.base"] [2024-11-08T10:57:26.233Z] STF 10:57:25.777 - | [2024-11-08T10:57:26.233Z] STF 10:57:25.777 - Found 1 instances of ["java.base"] [2024-11-08T10:57:26.233Z] STF 10:57:25.777 - [2024-11-08T10:57:26.233Z] STF 10:57:25.777 - +------ Step 30 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-11-08T10:57:26.233Z] STF 10:57:25.777 - | Run foreground process [2024-11-08T10:57:26.233Z] STF 10:57:25.777 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/tmp/25.CRI3/bin/java [2024-11-08T10:57:26.233Z] STF 10:57:25.777 - | Mnemonic: T3 [2024-11-08T10:57:26.233Z] STF 10:57:25.777 - | Echo: ECHO_ON [2024-11-08T10:57:26.233Z] STF 10:57:25.777 - | Expectation: CLEAN_RUN within 1m [2024-11-08T10:57:26.233Z] STF 10:57:25.777 - | [2024-11-08T10:57:26.233Z] STF 10:57:25.777 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/tmp/25.CRI3/bin/java -Djava.library.path=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-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-08T10:57:26.233Z] STF 10:57:25.777 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/results/30.T3.stderr [2024-11-08T10:57:26.233Z] STF 10:57:25.777 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/results/30.T3.stdout [2024-11-08T10:57:26.233Z] STF 10:57:25.779 - Monitoring processes: T3 [2024-11-08T10:57:26.233Z] T3 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-08T10:57:27.067Z] T3 JUnit version 4.12 [2024-11-08T10:57:27.067Z] T3 . [2024-11-08T10:57:27.067Z] T3 Time: 0.04 [2024-11-08T10:57:27.067Z] T3 [2024-11-08T10:57:27.067Z] T3 OK (1 test) [2024-11-08T10:57:27.067Z] T3 [2024-11-08T10:57:27.067Z] STF 10:57:26.855 - Monitoring Report Summary: [2024-11-08T10:57:27.067Z] STF 10:57:26.855 - o Process T3 ended with the expected exit code (0) [2024-11-08T10:57:27.067Z] STF 10:57:26.855 - EXECUTE stage completed [2024-11-08T10:57:27.067Z] STF 10:57:26.963 - [2024-11-08T10:57:27.067Z] STF 10:57:26.963 - ==================== T E A R D O W N ==================== [2024-11-08T10:57:27.067Z] STF 10:57:26.963 - Running teardown: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/../TKG/output_17310603653036/Jlink_ReqMod_1/20241108-105639-JlinkTest/tearDown.pl [2024-11-08T10:57:27.903Z] STF 10:57:27.178 - TEARDOWN stage completed [2024-11-08T10:57:27.903Z] STF 10:57:27.189 - [2024-11-08T10:57:27.903Z] STF 10:57:27.189 - ===================== R E S U L T S ===================== [2024-11-08T10:57:27.903Z] STF 10:57:27.189 - Stage results: [2024-11-08T10:57:27.904Z] STF 10:57:27.189 - setUp: pass [2024-11-08T10:57:27.904Z] STF 10:57:27.189 - execute: pass [2024-11-08T10:57:27.904Z] STF 10:57:27.189 - teardown: pass [2024-11-08T10:57:27.904Z] STF 10:57:27.191 - [2024-11-08T10:57:27.904Z] STF 10:57:27.191 - Overall result: PASSED [2024-11-08T10:57:27.904Z] ----------------------------------- [2024-11-08T10:57:27.904Z] Jlink_ReqMod_1_PASSED [2024-11-08T10:57:27.904Z] ----------------------------------- [2024-11-08T10:57:27.904Z] [2024-11-08T10:57:27.904Z] TEST TEARDOWN: [2024-11-08T10:57:27.904Z] Nothing to be done for teardown. [2024-11-08T10:57:27.904Z] Jlink_ReqMod_1 Finish Time: Fri Nov 8 10:57:27 2024 Epoch Time (ms): 1731063447384