Jlink_ReqMod_1

[2024-09-04T23:03:47.762Z] Running test Jlink_ReqMod_1 ... [2024-09-04T23:03:47.762Z] =============================================== [2024-09-04T23:03:47.762Z] Jlink_ReqMod_1 Start Time: Wed Sep 4 23:03:47 2024 Epoch Time (ms): 1725491027136 [2024-09-04T23:03:47.762Z] variation: Mode650 [2024-09-04T23:03:47.762Z] JVM_OPTIONS: -XX:-UseCompressedOops [2024-09-04T23:03:47.762Z] { \ [2024-09-04T23:03:47.762Z] echo ""; echo "TEST SETUP:"; \ [2024-09-04T23:03:47.762Z] echo "Nothing to be done for setup."; \ [2024-09-04T23:03:47.762Z] mkdir -p "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/../TKG/output_17254886531916/Jlink_ReqMod_1"; \ [2024-09-04T23:03:47.762Z] cd "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/../TKG/output_17254886531916/Jlink_ReqMod_1"; \ [2024-09-04T23:03:47.762Z] echo ""; echo "TESTING:"; \ [2024-09-04T23:03:47.762Z] 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_17254886531916/Jlink_ReqMod_1" -test=JlinkTest -test-args="variant=ReqdMod"; \ [2024-09-04T23:03:47.762Z] 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_17254886531916/Jlink_ReqMod_1"; else echo "-----------------------------------"; echo "Jlink_ReqMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2024-09-04T23:03:47.762Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-09-04T23:03:47.762Z] echo "Nothing to be done for teardown."; \ [2024-09-04T23:03:47.762Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/../TKG/output_17254886531916/TestTargetResult"; [2024-09-04T23:03:47.762Z] [2024-09-04T23:03:47.762Z] TEST SETUP: [2024-09-04T23:03:47.762Z] Nothing to be done for setup. [2024-09-04T23:03:47.762Z] [2024-09-04T23:03:47.762Z] TESTING: [2024-09-04T23:03:47.762Z] STF 23:03:47.328 - ========================= S T F ========================= [2024-09-04T23:03:47.762Z] 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_17254886531916/Jlink_ReqMod_1 [2024-09-04T23:03:47.762Z] There is 71440 Mb free [2024-09-04T23:03:47.762Z] STF 23:03:47.349 - ================== G E N E R A T I O N ================== [2024-09-04T23:03:47.762Z] STF 23:03:47.350 - Checking JVM: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image [2024-09-04T23:03:47.763Z] STF 23:03:47.350 - 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_17254886531916/Jlink_ReqMod_1/20240904-230347-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_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest" [2024-09-04T23:03:47.763Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-09-04T23:03:47.763Z] GEN [0.031s][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-09-04T23:03:53.645Z] GEN 23:03:53.401 - 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-09-04T23:03:54.476Z] GEN 23:03:53.553 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.JlinkTest' [2024-09-04T23:03:55.308Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-09-04T23:03:55.308Z] 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-09-04T23:03:55.308Z] 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-09-04T23:03:55.308Z] 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-09-04T23:03:55.308Z] 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-09-04T23:03:55.308Z] 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-09-04T23:03:55.308Z] 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-09-04T23:03:55.308Z] 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-09-04T23:03:55.308Z] 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-09-04T23:03:55.308Z] 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-09-04T23:03:55.308Z] 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-09-04T23:03:55.308Z] 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-09-04T23:03:55.308Z] 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-09-04T23:03:55.308Z] 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-09-04T23:03:55.308Z] 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-09-04T23:03:55.308Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2024-09-04T23:03:55.308Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/STF/stf.core/bin [2024-09-04T23:03:55.308Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-09-04T23:03:55.308Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-09-04T23:03:55.308Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar [2024-09-04T23:03:55.308Z] GEN 23:03:54.756 - Using Mode NoOptions. Values = '' [2024-09-04T23:03:56.121Z] GEN 23:03:55.492 - [2024-09-04T23:03:56.121Z] GEN 23:03:55.492 - Test command summary: [2024-09-04T23:03:56.121Z] GEN 23:03:55.520 - Step Stage Command Description [2024-09-04T23:03:56.121Z] GEN 23:03:55.520 - -----+--------+-----------------+------------ [2024-09-04T23:03:56.121Z] GEN 23:03:55.520 - 1 setUp cpDir Copying com.test.jlink [2024-09-04T23:03:56.121Z] GEN 23:03:55.523 - 2 setUp rm Removing natives folder from com.test.jLinkDirCopy [2024-09-04T23:03:56.121Z] GEN 23:03:55.525 - 3 setUp jar Create com.test.jlink jar [2024-09-04T23:03:56.121Z] GEN 23:03:55.525 - 4 setUp jar Create com.hello jar [2024-09-04T23:03:56.121Z] GEN 23:03:55.526 - 5 setUp fileCheck Check com.test.jlink modular jar created [2024-09-04T23:03:56.121Z] GEN 23:03:55.528 - 6 setUp fileCheck Check com.hello modular jar created [2024-09-04T23:03:56.121Z] GEN 23:03:55.532 - 7 setUp rm Removing conf folder from com.test.jLinkDirCopy [2024-09-04T23:03:56.121Z] GEN 23:03:55.532 - 8 setUp cpDir Copying .so from com.test.jlink/native [2024-09-04T23:03:56.121Z] GEN 23:03:55.532 - 9 setUp jmod Creating jmod of com.test.jlink module [2024-09-04T23:03:56.121Z] GEN 23:03:55.532 - 10 setUp jmod Creating jmod for com.hello module [2024-09-04T23:03:56.121Z] GEN 23:03:55.532 - 11 setUp fileCheck Check com.test.jlink jmod created [2024-09-04T23:03:56.121Z] GEN 23:03:55.532 - 12 setUp fileCheck Check com.hello jmod created [2024-09-04T23:03:56.121Z] GEN 23:03:55.532 - 13 execute jlink Create runtime image [2024-09-04T23:03:56.121Z] GEN 23:03:55.535 - 14 execute Run java Running listmods [2024-09-04T23:03:56.121Z] GEN 23:03:55.535 - 15 execute count Check output [2024-09-04T23:03:56.121Z] GEN 23:03:55.538 - 16 execute count Check output [2024-09-04T23:03:56.121Z] GEN 23:03:55.538 - 17 execute count Check output [2024-09-04T23:03:56.121Z] GEN 23:03:55.541 - 18 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-09-04T23:03:56.121Z] GEN 23:03:55.541 - 19 execute jlink Create runtime image [2024-09-04T23:03:56.121Z] GEN 23:03:55.541 - 20 execute Run java Running listmods [2024-09-04T23:03:56.121Z] GEN 23:03:55.541 - 21 execute count Check output [2024-09-04T23:03:56.121Z] GEN 23:03:55.541 - 22 execute count Check output [2024-09-04T23:03:56.121Z] GEN 23:03:55.542 - 23 execute count Check output [2024-09-04T23:03:56.121Z] GEN 23:03:55.542 - 24 execute Run java Running adoptopenjdk.test.modularity.jlink.JniTest [2024-09-04T23:03:56.121Z] GEN 23:03:55.543 - 25 execute jlink Create runtime image [2024-09-04T23:03:56.121Z] GEN 23:03:55.543 - 26 execute Run java Running listmods [2024-09-04T23:03:56.121Z] GEN 23:03:55.543 - 27 execute count Check output [2024-09-04T23:03:56.121Z] GEN 23:03:55.545 - 28 execute count Check output [2024-09-04T23:03:56.121Z] GEN 23:03:55.546 - 29 execute count Check output [2024-09-04T23:03:56.121Z] GEN 23:03:55.546 - 30 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-09-04T23:03:56.121Z] STF 23:03:55.666 - [2024-09-04T23:03:56.121Z] STF 23:03:55.666 - Script generation completed [2024-09-04T23:03:56.121Z] STF 23:03:55.666 - [2024-09-04T23:03:56.121Z] STF 23:03:55.667 - [2024-09-04T23:03:56.121Z] STF 23:03:55.667 - ======================= S E T U P ======================= [2024-09-04T23:03:56.121Z] STF 23:03:55.667 - Running setup: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/../TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/setUp.pl [2024-09-04T23:03:56.121Z] STF 23:03:55.888 - [2024-09-04T23:03:56.121Z] STF 23:03:55.888 - +------ Step 1 - Copying com.test.jlink [2024-09-04T23:03:56.121Z] STF 23:03:55.888 - | Copy a directory to a new directory [2024-09-04T23:03:56.121Z] STF 23:03:55.888 - | 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-09-04T23:03:56.121Z] STF 23:03:55.888 - | Dest dir: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/com.test.jLinkDirCopy [2024-09-04T23:03:56.121Z] STF 23:03:55.888 - | [2024-09-04T23:03:56.121Z] STF 23:03:55.894 - [2024-09-04T23:03:56.121Z] STF 23:03:55.894 - +------ Step 2 - Removing natives folder from com.test.jLinkDirCopy [2024-09-04T23:03:56.121Z] STF 23:03:55.894 - | Recursively delete a directory [2024-09-04T23:03:56.121Z] STF 23:03:55.894 - | Directory: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/com.test.jLinkDirCopy/native [2024-09-04T23:03:56.121Z] STF 23:03:55.894 - | [2024-09-04T23:03:56.121Z] STF 23:03:55.894 - [2024-09-04T23:03:56.121Z] STF 23:03:55.894 - +------ Step 3 - Create com.test.jlink jar [2024-09-04T23:03:56.121Z] STF 23:03:55.894 - | Create modular jar [2024-09-04T23:03:56.121Z] STF 23:03:55.894 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test.jlink [2024-09-04T23:03:56.121Z] STF 23:03:55.894 - | ModuleVersion: null [2024-09-04T23:03:56.121Z] STF 23:03:55.894 - | MainClass: null [2024-09-04T23:03:56.121Z] STF 23:03:55.894 - | HashModules: null [2024-09-04T23:03:56.121Z] STF 23:03:55.894 - | [2024-09-04T23:03:56.121Z] STF 23:03:55.895 - 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_17254886531916/Jlink_ReqMod_1/20240904-230347-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-09-04T23:03:56.121Z] STF 23:03:55.895 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/results/3.CMJ.stderr [2024-09-04T23:03:56.121Z] STF 23:03:55.895 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/results/3.CMJ.stdout [2024-09-04T23:03:56.121Z] STF 23:03:55.948 - Monitoring processes: CMJ [2024-09-04T23:03:56.121Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-09-04T23:03:57.943Z] STF 23:03:57.599 - Monitoring Report Summary: [2024-09-04T23:03:57.943Z] STF 23:03:57.599 - o Process CMJ ended with the expected exit code (0) [2024-09-04T23:03:57.943Z] STF 23:03:57.599 - Created modular jar: 3.com.test.jlink.jar [2024-09-04T23:03:57.943Z] STF 23:03:57.599 - [2024-09-04T23:03:57.943Z] STF 23:03:57.599 - +------ Step 4 - Create com.hello jar [2024-09-04T23:03:57.943Z] STF 23:03:57.599 - | Create modular jar [2024-09-04T23:03:57.943Z] STF 23:03:57.599 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-09-04T23:03:57.943Z] STF 23:03:57.599 - | ModuleVersion: null [2024-09-04T23:03:57.943Z] STF 23:03:57.599 - | MainClass: null [2024-09-04T23:03:57.943Z] STF 23:03:57.599 - | HashModules: null [2024-09-04T23:03:57.943Z] STF 23:03:57.599 - | [2024-09-04T23:03:57.943Z] STF 23:03:57.600 - 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_17254886531916/Jlink_ReqMod_1/20240904-230347-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-09-04T23:03:57.943Z] STF 23:03:57.600 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/results/4.CMJ.stderr [2024-09-04T23:03:57.943Z] STF 23:03:57.600 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/results/4.CMJ.stdout [2024-09-04T23:03:57.943Z] STF 23:03:57.601 - Monitoring processes: CMJ [2024-09-04T23:03:57.943Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-09-04T23:03:59.632Z] STF 23:03:59.087 - Monitoring Report Summary: [2024-09-04T23:03:59.632Z] STF 23:03:59.087 - o Process CMJ ended with the expected exit code (0) [2024-09-04T23:03:59.632Z] STF 23:03:59.087 - Created modular jar: 4.com.hello.jar [2024-09-04T23:03:59.632Z] STF 23:03:59.087 - [2024-09-04T23:03:59.632Z] STF 23:03:59.087 - +------ Step 5 - Check com.test.jlink modular jar created [2024-09-04T23:03:59.632Z] STF 23:03:59.087 - | Validate file exists [2024-09-04T23:03:59.633Z] STF 23:03:59.087 - | File: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/modules/3.com.test.jlink.jar [2024-09-04T23:03:59.633Z] STF 23:03:59.087 - | [2024-09-04T23:03:59.633Z] STF 23:03:59.087 - [2024-09-04T23:03:59.633Z] STF 23:03:59.087 - +------ Step 6 - Check com.hello modular jar created [2024-09-04T23:03:59.633Z] STF 23:03:59.087 - | Validate file exists [2024-09-04T23:03:59.633Z] STF 23:03:59.087 - | File: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/modules/4.com.hello.jar [2024-09-04T23:03:59.633Z] STF 23:03:59.087 - | [2024-09-04T23:03:59.633Z] STF 23:03:59.087 - [2024-09-04T23:03:59.633Z] STF 23:03:59.087 - +------ Step 7 - Removing conf folder from com.test.jLinkDirCopy [2024-09-04T23:03:59.633Z] STF 23:03:59.087 - | Recursively delete a directory [2024-09-04T23:03:59.633Z] STF 23:03:59.087 - | Directory: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/com.test.jLinkDirCopy/conf [2024-09-04T23:03:59.633Z] STF 23:03:59.087 - | [2024-09-04T23:03:59.633Z] STF 23:03:59.088 - [2024-09-04T23:03:59.633Z] STF 23:03:59.088 - +------ Step 8 - Copying .so from com.test.jlink/native [2024-09-04T23:03:59.633Z] STF 23:03:59.088 - | Copy a directory to a new directory [2024-09-04T23:03:59.633Z] STF 23:03:59.088 - | 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-09-04T23:03:59.633Z] STF 23:03:59.088 - | Dest dir: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/native [2024-09-04T23:03:59.633Z] STF 23:03:59.088 - | [2024-09-04T23:03:59.633Z] STF 23:03:59.089 - [2024-09-04T23:03:59.633Z] STF 23:03:59.089 - +------ Step 9 - Creating jmod of com.test.jlink module [2024-09-04T23:03:59.633Z] STF 23:03:59.089 - | Run jmod utility [2024-09-04T23:03:59.633Z] STF 23:03:59.089 - | jmod: com.test.jlink.jmod [2024-09-04T23:03:59.633Z] STF 23:03:59.089 - | [2024-09-04T23:03:59.633Z] STF 23:03:59.089 - 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_17254886531916/Jlink_ReqMod_1/20240904-230347-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_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/native /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/tmp/com.test.jlink.jmod [2024-09-04T23:03:59.633Z] STF 23:03:59.089 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/results/9.JMOD.stderr [2024-09-04T23:03:59.633Z] STF 23:03:59.089 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/results/9.JMOD.stdout [2024-09-04T23:03:59.633Z] STF 23:03:59.090 - Monitoring processes: JMOD [2024-09-04T23:03:59.633Z] JMOD stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-09-04T23:04:01.340Z] STF 23:04:00.701 - Monitoring Report Summary: [2024-09-04T23:04:01.340Z] STF 23:04:00.701 - o Process JMOD ended with the expected exit code (0) [2024-09-04T23:04:01.340Z] STF 23:04:00.701 - [2024-09-04T23:04:01.340Z] STF 23:04:00.701 - +------ Step 10 - Creating jmod for com.hello module [2024-09-04T23:04:01.340Z] STF 23:04:00.701 - | Run jmod utility [2024-09-04T23:04:01.340Z] STF 23:04:00.701 - | jmod: com.hello.jmod [2024-09-04T23:04:01.340Z] STF 23:04:00.701 - | [2024-09-04T23:04:01.340Z] STF 23:04:00.701 - 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_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/tmp/com.hello.jmod [2024-09-04T23:04:01.340Z] STF 23:04:00.701 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/results/10.JMOD.stderr [2024-09-04T23:04:01.340Z] STF 23:04:00.701 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/results/10.JMOD.stdout [2024-09-04T23:04:01.340Z] STF 23:04:00.703 - Monitoring processes: JMOD [2024-09-04T23:04:01.340Z] JMOD stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-09-04T23:04:02.285Z] STF 23:04:02.130 - Monitoring Report Summary: [2024-09-04T23:04:02.285Z] STF 23:04:02.130 - o Process JMOD ended with the expected exit code (0) [2024-09-04T23:04:02.285Z] STF 23:04:02.130 - [2024-09-04T23:04:02.285Z] STF 23:04:02.130 - +------ Step 11 - Check com.test.jlink jmod created [2024-09-04T23:04:02.285Z] STF 23:04:02.130 - | Validate file exists [2024-09-04T23:04:02.285Z] STF 23:04:02.130 - | File: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/tmp/com.test.jlink.jmod [2024-09-04T23:04:02.285Z] STF 23:04:02.130 - | [2024-09-04T23:04:02.285Z] STF 23:04:02.130 - [2024-09-04T23:04:02.285Z] STF 23:04:02.130 - +------ Step 12 - Check com.hello jmod created [2024-09-04T23:04:02.285Z] STF 23:04:02.130 - | Validate file exists [2024-09-04T23:04:02.285Z] STF 23:04:02.131 - | File: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/tmp/com.hello.jmod [2024-09-04T23:04:02.285Z] STF 23:04:02.131 - | [2024-09-04T23:04:02.285Z] STF 23:04:02.131 - SETUP stage completed [2024-09-04T23:04:02.285Z] STF 23:04:02.147 - [2024-09-04T23:04:02.285Z] STF 23:04:02.147 - ==================== E X E C U T E - ==================== [2024-09-04T23:04:02.285Z] STF 23:04:02.147 - Running execute: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/../TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/execute.pl [2024-09-04T23:04:03.127Z] STF 23:04:02.342 - [2024-09-04T23:04:03.127Z] STF 23:04:02.342 - Java version [2024-09-04T23:04:03.128Z] STF 23:04:02.342 - Running: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image/bin/java -version [2024-09-04T23:04:03.128Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-09-04T23:04:03.128Z] openjdk version "21.0.5-beta" 2024-10-15 [2024-09-04T23:04:03.128Z] OpenJDK Runtime Environment Temurin-21.0.5+6-202409042047 (build 21.0.5-beta+6-ea) [2024-09-04T23:04:03.128Z] OpenJDK 64-Bit Server VM Temurin-21.0.5+6-202409042047 (build 21.0.5-beta+6-ea, mixed mode, sharing) [2024-09-04T23:04:03.128Z] STF 23:04:02.492 - [2024-09-04T23:04:03.128Z] STF 23:04:02.492 - +------ Step 13 - Create runtime image [2024-09-04T23:04:03.128Z] STF 23:04:02.492 - | Run jlink to create runtime image [2024-09-04T23:04:03.128Z] STF 23:04:02.492 - | ImageName: CRI1 [2024-09-04T23:04:03.128Z] STF 23:04:02.492 - | [2024-09-04T23:04:03.128Z] STF 23:04:02.493 - 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_17254886531916/Jlink_ReqMod_1/20240904-230347-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_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/tmp/13.CRI1 [2024-09-04T23:04:03.128Z] STF 23:04:02.493 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/results/13.JLNK.stderr [2024-09-04T23:04:03.128Z] STF 23:04:02.493 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/results/13.JLNK.stdout [2024-09-04T23:04:03.128Z] STF 23:04:02.528 - Monitoring processes: JLNK [2024-09-04T23:04:03.128Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-09-04T23:04:15.392Z] STF 23:04:14.982 - Monitoring Report Summary: [2024-09-04T23:04:15.392Z] STF 23:04:14.982 - o Process JLNK ended with the expected exit code (0) [2024-09-04T23:04:15.392Z] STF 23:04:14.982 - [2024-09-04T23:04:15.392Z] STF 23:04:14.982 - +------ Step 14 - Running listmods [2024-09-04T23:04:15.392Z] STF 23:04:14.983 - | Run foreground process [2024-09-04T23:04:15.392Z] STF 23:04:14.983 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/tmp/13.CRI1/bin/java [2024-09-04T23:04:15.392Z] STF 23:04:14.983 - | Mnemonic: LIST [2024-09-04T23:04:15.392Z] STF 23:04:14.983 - | Echo: ECHO_ON [2024-09-04T23:04:15.392Z] STF 23:04:14.983 - | Expectation: CLEAN_RUN within 1m [2024-09-04T23:04:15.392Z] STF 23:04:14.983 - | [2024-09-04T23:04:15.392Z] STF 23:04:14.983 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/tmp/13.CRI1/bin/java --list-modules -XX:-UseCompressedOops [2024-09-04T23:04:15.392Z] STF 23:04:14.983 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/results/14.LIST.stderr [2024-09-04T23:04:15.392Z] STF 23:04:14.983 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/results/14.LIST.stdout [2024-09-04T23:04:15.392Z] STF 23:04:14.984 - Monitoring processes: LIST [2024-09-04T23:04:15.392Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-09-04T23:04:16.208Z] LIST com.hello [2024-09-04T23:04:16.208Z] LIST com.test.jlink [2024-09-04T23:04:16.208Z] LIST java.base@21.0.5-beta [2024-09-04T23:04:16.208Z] STF 23:04:15.547 - Monitoring Report Summary: [2024-09-04T23:04:16.208Z] STF 23:04:15.547 - o Process LIST ended with the expected exit code (0) [2024-09-04T23:04:16.208Z] STF 23:04:15.548 - [2024-09-04T23:04:16.208Z] STF 23:04:15.548 - +------ Step 15 - Check output [2024-09-04T23:04:16.208Z] STF 23:04:15.548 - | Count file matches [2024-09-04T23:04:16.208Z] STF 23:04:15.548 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/results/14.LIST.stdout [2024-09-04T23:04:16.208Z] STF 23:04:15.548 - | ExpectedNumMatches: 1 [2024-09-04T23:04:16.208Z] STF 23:04:15.548 - | SearchStrings: ["com.hello"] [2024-09-04T23:04:16.208Z] STF 23:04:15.548 - | [2024-09-04T23:04:16.208Z] STF 23:04:15.548 - Found 1 instances of ["com.hello"] [2024-09-04T23:04:16.208Z] STF 23:04:15.548 - [2024-09-04T23:04:16.208Z] STF 23:04:15.548 - +------ Step 16 - Check output [2024-09-04T23:04:16.208Z] STF 23:04:15.548 - | Count file matches [2024-09-04T23:04:16.208Z] STF 23:04:15.548 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/results/14.LIST.stdout [2024-09-04T23:04:16.208Z] STF 23:04:15.548 - | ExpectedNumMatches: 1 [2024-09-04T23:04:16.208Z] STF 23:04:15.548 - | SearchStrings: ["com.test.jlink"] [2024-09-04T23:04:16.208Z] STF 23:04:15.548 - | [2024-09-04T23:04:16.208Z] STF 23:04:15.548 - Found 1 instances of ["com.test.jlink"] [2024-09-04T23:04:16.208Z] STF 23:04:15.548 - [2024-09-04T23:04:16.208Z] STF 23:04:15.548 - +------ Step 17 - Check output [2024-09-04T23:04:16.208Z] STF 23:04:15.548 - | Count file matches [2024-09-04T23:04:16.208Z] STF 23:04:15.548 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/results/14.LIST.stdout [2024-09-04T23:04:16.208Z] STF 23:04:15.548 - | ExpectedNumMatches: 1 [2024-09-04T23:04:16.208Z] STF 23:04:15.548 - | SearchStrings: ["java.base"] [2024-09-04T23:04:16.208Z] STF 23:04:15.548 - | [2024-09-04T23:04:16.208Z] STF 23:04:15.548 - Found 1 instances of ["java.base"] [2024-09-04T23:04:16.208Z] STF 23:04:15.548 - [2024-09-04T23:04:16.208Z] STF 23:04:15.548 - +------ Step 18 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-09-04T23:04:16.208Z] STF 23:04:15.548 - | Run foreground process [2024-09-04T23:04:16.208Z] STF 23:04:15.548 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/tmp/13.CRI1/bin/java [2024-09-04T23:04:16.208Z] STF 23:04:15.548 - | Mnemonic: T1 [2024-09-04T23:04:16.208Z] STF 23:04:15.548 - | Echo: ECHO_ON [2024-09-04T23:04:16.208Z] STF 23:04:15.548 - | Expectation: CLEAN_RUN within 1m [2024-09-04T23:04:16.208Z] STF 23:04:15.548 - | [2024-09-04T23:04:16.208Z] STF 23:04:15.549 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-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_17254886531916/Jlink_ReqMod_1/20240904-230347-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-09-04T23:04:16.208Z] STF 23:04:15.549 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/results/18.T1.stderr [2024-09-04T23:04:16.208Z] STF 23:04:15.549 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/results/18.T1.stdout [2024-09-04T23:04:16.208Z] STF 23:04:15.550 - Monitoring processes: T1 [2024-09-04T23:04:16.208Z] T1 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-09-04T23:04:17.024Z] T1 JUnit version 4.12 [2024-09-04T23:04:17.848Z] T1 . [2024-09-04T23:04:17.848Z] T1 Time: 0.053 [2024-09-04T23:04:17.848Z] T1 [2024-09-04T23:04:17.848Z] T1 OK (1 test) [2024-09-04T23:04:17.848Z] T1 [2024-09-04T23:04:17.848Z] STF 23:04:17.044 - Monitoring Report Summary: [2024-09-04T23:04:17.848Z] STF 23:04:17.045 - o Process T1 ended with the expected exit code (0) [2024-09-04T23:04:17.848Z] STF 23:04:17.045 - [2024-09-04T23:04:17.848Z] STF 23:04:17.045 - +------ Step 19 - Create runtime image [2024-09-04T23:04:17.848Z] STF 23:04:17.045 - | Run jlink to create runtime image [2024-09-04T23:04:17.848Z] STF 23:04:17.045 - | ImageName: CRI2 [2024-09-04T23:04:17.848Z] STF 23:04:17.045 - | [2024-09-04T23:04:17.848Z] STF 23:04:17.045 - 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_17254886531916/Jlink_ReqMod_1/20240904-230347-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_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/tmp/19.CRI2 [2024-09-04T23:04:17.848Z] STF 23:04:17.045 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/results/19.JLNK.stderr [2024-09-04T23:04:17.848Z] STF 23:04:17.045 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/results/19.JLNK.stdout [2024-09-04T23:04:17.848Z] STF 23:04:17.047 - Monitoring processes: JLNK [2024-09-04T23:04:17.848Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-09-04T23:04:30.904Z] STF 23:04:30.288 - Monitoring Report Summary: [2024-09-04T23:04:30.904Z] STF 23:04:30.288 - o Process JLNK ended with the expected exit code (0) [2024-09-04T23:04:30.904Z] STF 23:04:30.288 - [2024-09-04T23:04:30.904Z] STF 23:04:30.288 - +------ Step 20 - Running listmods [2024-09-04T23:04:30.904Z] STF 23:04:30.288 - | Run foreground process [2024-09-04T23:04:30.904Z] STF 23:04:30.288 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/tmp/19.CRI2/bin/java [2024-09-04T23:04:30.904Z] STF 23:04:30.288 - | Mnemonic: LIST [2024-09-04T23:04:30.904Z] STF 23:04:30.288 - | Echo: ECHO_ON [2024-09-04T23:04:30.904Z] STF 23:04:30.288 - | Expectation: CLEAN_RUN within 1m [2024-09-04T23:04:30.904Z] STF 23:04:30.288 - | [2024-09-04T23:04:30.904Z] STF 23:04:30.288 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/tmp/19.CRI2/bin/java --list-modules -XX:-UseCompressedOops [2024-09-04T23:04:30.904Z] STF 23:04:30.288 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/results/20.LIST.stderr [2024-09-04T23:04:30.904Z] STF 23:04:30.288 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/results/20.LIST.stdout [2024-09-04T23:04:30.904Z] STF 23:04:30.290 - Monitoring processes: LIST [2024-09-04T23:04:30.904Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-09-04T23:04:31.720Z] LIST com.hello [2024-09-04T23:04:31.720Z] LIST com.test.jlink [2024-09-04T23:04:31.720Z] LIST java.base@21.0.5-beta [2024-09-04T23:04:31.720Z] STF 23:04:30.852 - Monitoring Report Summary: [2024-09-04T23:04:31.720Z] STF 23:04:30.852 - o Process LIST ended with the expected exit code (0) [2024-09-04T23:04:31.720Z] STF 23:04:30.852 - [2024-09-04T23:04:31.720Z] STF 23:04:30.852 - +------ Step 21 - Check output [2024-09-04T23:04:31.720Z] STF 23:04:30.852 - | Count file matches [2024-09-04T23:04:31.720Z] STF 23:04:30.852 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/results/20.LIST.stdout [2024-09-04T23:04:31.720Z] STF 23:04:30.852 - | ExpectedNumMatches: 1 [2024-09-04T23:04:31.720Z] STF 23:04:30.852 - | SearchStrings: ["com.hello"] [2024-09-04T23:04:31.720Z] STF 23:04:30.852 - | [2024-09-04T23:04:31.720Z] STF 23:04:30.852 - Found 1 instances of ["com.hello"] [2024-09-04T23:04:31.720Z] STF 23:04:30.852 - [2024-09-04T23:04:31.720Z] STF 23:04:30.852 - +------ Step 22 - Check output [2024-09-04T23:04:31.720Z] STF 23:04:30.852 - | Count file matches [2024-09-04T23:04:31.720Z] STF 23:04:30.852 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/results/20.LIST.stdout [2024-09-04T23:04:31.720Z] STF 23:04:30.852 - | ExpectedNumMatches: 1 [2024-09-04T23:04:31.720Z] STF 23:04:30.852 - | SearchStrings: ["com.test.jlink"] [2024-09-04T23:04:31.720Z] STF 23:04:30.852 - | [2024-09-04T23:04:31.720Z] STF 23:04:30.852 - Found 1 instances of ["com.test.jlink"] [2024-09-04T23:04:31.720Z] STF 23:04:30.852 - [2024-09-04T23:04:31.720Z] STF 23:04:30.852 - +------ Step 23 - Check output [2024-09-04T23:04:31.720Z] STF 23:04:30.852 - | Count file matches [2024-09-04T23:04:31.720Z] STF 23:04:30.852 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/results/20.LIST.stdout [2024-09-04T23:04:31.720Z] STF 23:04:30.852 - | ExpectedNumMatches: 1 [2024-09-04T23:04:31.720Z] STF 23:04:30.852 - | SearchStrings: ["java.base"] [2024-09-04T23:04:31.720Z] STF 23:04:30.852 - | [2024-09-04T23:04:31.720Z] STF 23:04:30.852 - Found 1 instances of ["java.base"] [2024-09-04T23:04:31.720Z] STF 23:04:30.852 - [2024-09-04T23:04:31.720Z] STF 23:04:30.852 - +------ Step 24 - Running adoptopenjdk.test.modularity.jlink.JniTest [2024-09-04T23:04:31.720Z] STF 23:04:30.852 - | Run foreground process [2024-09-04T23:04:31.720Z] STF 23:04:30.852 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/tmp/19.CRI2/bin/java [2024-09-04T23:04:31.721Z] STF 23:04:30.852 - | Mnemonic: T2 [2024-09-04T23:04:31.721Z] STF 23:04:30.852 - | Echo: ECHO_ON [2024-09-04T23:04:31.721Z] STF 23:04:30.852 - | Expectation: CLEAN_RUN within 1m [2024-09-04T23:04:31.721Z] STF 23:04:30.852 - | [2024-09-04T23:04:31.721Z] STF 23:04:30.853 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-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_17254886531916/Jlink_ReqMod_1/20240904-230347-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-09-04T23:04:31.721Z] STF 23:04:30.853 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/results/24.T2.stderr [2024-09-04T23:04:31.721Z] STF 23:04:30.853 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/results/24.T2.stdout [2024-09-04T23:04:31.721Z] STF 23:04:30.854 - Monitoring processes: T2 [2024-09-04T23:04:31.721Z] T2 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-09-04T23:04:32.560Z] T2 JUnit version 4.12 [2024-09-04T23:04:32.560Z] T2 . [2024-09-04T23:04:32.560Z] T2 Time: 0.032 [2024-09-04T23:04:32.560Z] T2 [2024-09-04T23:04:32.560Z] T2 OK (1 test) [2024-09-04T23:04:32.560Z] T2 [2024-09-04T23:04:32.560Z] STF 23:04:32.294 - Monitoring Report Summary: [2024-09-04T23:04:32.560Z] STF 23:04:32.294 - o Process T2 ended with the expected exit code (0) [2024-09-04T23:04:32.560Z] STF 23:04:32.294 - [2024-09-04T23:04:32.560Z] STF 23:04:32.294 - +------ Step 25 - Create runtime image [2024-09-04T23:04:32.560Z] STF 23:04:32.294 - | Run jlink to create runtime image [2024-09-04T23:04:32.560Z] STF 23:04:32.294 - | ImageName: CRI3 [2024-09-04T23:04:32.560Z] STF 23:04:32.294 - | [2024-09-04T23:04:32.560Z] STF 23:04:32.295 - 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_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/tmp/25.CRI3 [2024-09-04T23:04:32.560Z] STF 23:04:32.295 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/results/25.JLNK.stderr [2024-09-04T23:04:32.560Z] STF 23:04:32.295 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/results/25.JLNK.stdout [2024-09-04T23:04:32.560Z] STF 23:04:32.296 - Monitoring processes: JLNK [2024-09-04T23:04:32.560Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-09-04T23:04:44.832Z] STF 23:04:44.166 - Monitoring Report Summary: [2024-09-04T23:04:44.832Z] STF 23:04:44.166 - o Process JLNK ended with the expected exit code (0) [2024-09-04T23:04:44.832Z] STF 23:04:44.166 - [2024-09-04T23:04:44.832Z] STF 23:04:44.166 - +------ Step 26 - Running listmods [2024-09-04T23:04:44.832Z] STF 23:04:44.166 - | Run foreground process [2024-09-04T23:04:44.832Z] STF 23:04:44.166 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/tmp/25.CRI3/bin/java [2024-09-04T23:04:44.832Z] STF 23:04:44.166 - | Mnemonic: LIST [2024-09-04T23:04:44.832Z] STF 23:04:44.166 - | Echo: ECHO_ON [2024-09-04T23:04:44.832Z] STF 23:04:44.166 - | Expectation: CLEAN_RUN within 1m [2024-09-04T23:04:44.832Z] STF 23:04:44.166 - | [2024-09-04T23:04:44.832Z] STF 23:04:44.166 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/tmp/25.CRI3/bin/java --list-modules -XX:-UseCompressedOops [2024-09-04T23:04:44.832Z] STF 23:04:44.166 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/results/26.LIST.stderr [2024-09-04T23:04:44.832Z] STF 23:04:44.166 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/results/26.LIST.stdout [2024-09-04T23:04:44.832Z] STF 23:04:44.168 - Monitoring processes: LIST [2024-09-04T23:04:44.832Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-09-04T23:04:45.655Z] LIST com.hello [2024-09-04T23:04:45.655Z] LIST com.test.jlink [2024-09-04T23:04:45.655Z] LIST java.base@21.0.5-beta [2024-09-04T23:04:45.655Z] STF 23:04:44.703 - Monitoring Report Summary: [2024-09-04T23:04:45.655Z] STF 23:04:44.703 - o Process LIST ended with the expected exit code (0) [2024-09-04T23:04:45.655Z] STF 23:04:44.703 - [2024-09-04T23:04:45.655Z] STF 23:04:44.703 - +------ Step 27 - Check output [2024-09-04T23:04:45.655Z] STF 23:04:44.703 - | Count file matches [2024-09-04T23:04:45.655Z] STF 23:04:44.703 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/results/26.LIST.stdout [2024-09-04T23:04:45.655Z] STF 23:04:44.703 - | ExpectedNumMatches: 1 [2024-09-04T23:04:45.655Z] STF 23:04:44.703 - | SearchStrings: ["com.hello"] [2024-09-04T23:04:45.655Z] STF 23:04:44.703 - | [2024-09-04T23:04:45.655Z] STF 23:04:44.703 - Found 1 instances of ["com.hello"] [2024-09-04T23:04:45.655Z] STF 23:04:44.703 - [2024-09-04T23:04:45.655Z] STF 23:04:44.703 - +------ Step 28 - Check output [2024-09-04T23:04:45.655Z] STF 23:04:44.703 - | Count file matches [2024-09-04T23:04:45.655Z] STF 23:04:44.703 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/results/26.LIST.stdout [2024-09-04T23:04:45.655Z] STF 23:04:44.703 - | ExpectedNumMatches: 1 [2024-09-04T23:04:45.655Z] STF 23:04:44.703 - | SearchStrings: ["com.test.jlink"] [2024-09-04T23:04:45.655Z] STF 23:04:44.703 - | [2024-09-04T23:04:45.655Z] STF 23:04:44.703 - Found 1 instances of ["com.test.jlink"] [2024-09-04T23:04:45.655Z] STF 23:04:44.703 - [2024-09-04T23:04:45.655Z] STF 23:04:44.703 - +------ Step 29 - Check output [2024-09-04T23:04:45.655Z] STF 23:04:44.703 - | Count file matches [2024-09-04T23:04:45.655Z] STF 23:04:44.703 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/results/26.LIST.stdout [2024-09-04T23:04:45.655Z] STF 23:04:44.703 - | ExpectedNumMatches: 1 [2024-09-04T23:04:45.655Z] STF 23:04:44.703 - | SearchStrings: ["java.base"] [2024-09-04T23:04:45.655Z] STF 23:04:44.703 - | [2024-09-04T23:04:45.655Z] STF 23:04:44.703 - Found 1 instances of ["java.base"] [2024-09-04T23:04:45.655Z] STF 23:04:44.703 - [2024-09-04T23:04:45.655Z] STF 23:04:44.703 - +------ Step 30 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-09-04T23:04:45.655Z] STF 23:04:44.703 - | Run foreground process [2024-09-04T23:04:45.655Z] STF 23:04:44.703 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/tmp/25.CRI3/bin/java [2024-09-04T23:04:45.655Z] STF 23:04:44.703 - | Mnemonic: T3 [2024-09-04T23:04:45.655Z] STF 23:04:44.703 - | Echo: ECHO_ON [2024-09-04T23:04:45.655Z] STF 23:04:44.703 - | Expectation: CLEAN_RUN within 1m [2024-09-04T23:04:45.655Z] STF 23:04:44.703 - | [2024-09-04T23:04:45.655Z] STF 23:04:44.704 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-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_17254886531916/Jlink_ReqMod_1/20240904-230347-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-09-04T23:04:45.655Z] STF 23:04:44.704 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/results/30.T3.stderr [2024-09-04T23:04:45.656Z] STF 23:04:44.704 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/results/30.T3.stdout [2024-09-04T23:04:45.656Z] STF 23:04:44.706 - Monitoring processes: T3 [2024-09-04T23:04:45.656Z] T3 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-09-04T23:04:45.656Z] T3 JUnit version 4.12 [2024-09-04T23:04:46.471Z] T3 . [2024-09-04T23:04:46.471Z] T3 Time: 0.042 [2024-09-04T23:04:46.471Z] T3 [2024-09-04T23:04:46.471Z] T3 OK (1 test) [2024-09-04T23:04:46.471Z] T3 [2024-09-04T23:04:46.471Z] STF 23:04:45.923 - Monitoring Report Summary: [2024-09-04T23:04:46.471Z] STF 23:04:45.923 - o Process T3 ended with the expected exit code (0) [2024-09-04T23:04:46.471Z] STF 23:04:45.923 - EXECUTE stage completed [2024-09-04T23:04:46.471Z] STF 23:04:46.295 - [2024-09-04T23:04:46.471Z] STF 23:04:46.295 - ==================== T E A R D O W N ==================== [2024-09-04T23:04:46.471Z] STF 23:04:46.295 - Running teardown: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/../TKG/output_17254886531916/Jlink_ReqMod_1/20240904-230347-JlinkTest/tearDown.pl [2024-09-04T23:04:47.287Z] STF 23:04:46.483 - TEARDOWN stage completed [2024-09-04T23:04:47.287Z] STF 23:04:46.489 - [2024-09-04T23:04:47.287Z] STF 23:04:46.489 - ===================== R E S U L T S ===================== [2024-09-04T23:04:47.287Z] STF 23:04:46.489 - Stage results: [2024-09-04T23:04:47.287Z] STF 23:04:46.490 - setUp: pass [2024-09-04T23:04:47.287Z] STF 23:04:46.490 - execute: pass [2024-09-04T23:04:47.287Z] STF 23:04:46.490 - teardown: pass [2024-09-04T23:04:47.287Z] STF 23:04:46.490 - [2024-09-04T23:04:47.287Z] STF 23:04:46.490 - Overall result: PASSED [2024-09-04T23:04:47.287Z] ----------------------------------- [2024-09-04T23:04:47.287Z] Jlink_ReqMod_1_PASSED [2024-09-04T23:04:47.287Z] ----------------------------------- [2024-09-04T23:04:47.287Z] [2024-09-04T23:04:47.287Z] TEST TEARDOWN: [2024-09-04T23:04:47.287Z] Nothing to be done for teardown. [2024-09-04T23:04:47.287Z] Jlink_ReqMod_1 Finish Time: Wed Sep 4 23:04:46 2024 Epoch Time (ms): 1725491086648