Jlink_ReqMod_1

[2024-11-16T18:48:12.440Z] Running test Jlink_ReqMod_1 ... [2024-11-16T18:48:12.440Z] =============================================== [2024-11-16T18:48:12.440Z] Jlink_ReqMod_1 Start Time: Sat Nov 16 18:48:12 2024 Epoch Time (ms): 1731782892379 [2024-11-16T18:48:12.440Z] variation: Mode650 [2024-11-16T18:48:12.440Z] JVM_OPTIONS: -XX:-UseCompressedOops [2024-11-16T18:48:12.440Z] { \ [2024-11-16T18:48:12.440Z] echo ""; echo "TEST SETUP:"; \ [2024-11-16T18:48:12.440Z] echo "Nothing to be done for setup."; \ [2024-11-16T18:48:12.440Z] mkdir -p "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17317818685522/Jlink_ReqMod_1"; \ [2024-11-16T18:48:12.440Z] cd "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17317818685522/Jlink_ReqMod_1"; \ [2024-11-16T18:48:12.440Z] echo ""; echo "TESTING:"; \ [2024-11-16T18:48:12.440Z] perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/../../testDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17317818685522/Jlink_ReqMod_1" -test=JlinkTest -test-args="variant=ReqdMod"; \ [2024-11-16T18:48:12.440Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "Jlink_ReqMod_1""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17317818685522/Jlink_ReqMod_1"; else echo "-----------------------------------"; echo "Jlink_ReqMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2024-11-16T18:48:12.440Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-11-16T18:48:12.440Z] echo "Nothing to be done for teardown."; \ [2024-11-16T18:48:12.440Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17317818685522/TestTargetResult"; [2024-11-16T18:48:12.440Z] [2024-11-16T18:48:12.440Z] TEST SETUP: [2024-11-16T18:48:12.440Z] Nothing to be done for setup. [2024-11-16T18:48:12.440Z] [2024-11-16T18:48:12.440Z] TESTING: [2024-11-16T18:48:12.762Z] STF 18:48:12.662 - ========================= S T F ========================= [2024-11-16T18:48:12.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_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17317818685522/Jlink_ReqMod_1 [2024-11-16T18:48:12.762Z] There is 84280 Mb free [2024-11-16T18:48:12.762Z] STF 18:48:12.683 - ================== G E N E R A T I O N ================== [2024-11-16T18:48:12.762Z] STF 18:48:12.686 - Checking JVM: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image [2024-11-16T18:48:12.762Z] STF 18:48:12.686 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/../../testDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/../../testDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest" [2024-11-16T18:48:12.762Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-16T18:48:13.086Z] GEN [0.015s][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-16T18:48:17.814Z] GEN 18:48:17.366 - Found test. Project: 'openjdk.test.modularity' class: 'JlinkTest.class' Dir: '/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2024-11-16T18:48:17.814Z] GEN 18:48:17.411 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.JlinkTest' [2024-11-16T18:48:18.141Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-11-16T18:48:18.141Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2024-11-16T18:48:18.141Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2024-11-16T18:48:18.141Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2024-11-16T18:48:18.141Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2024-11-16T18:48:18.141Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2024-11-16T18:48:18.141Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2024-11-16T18:48:18.141Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2024-11-16T18:48:18.141Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2024-11-16T18:48:18.141Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2024-11-16T18:48:18.141Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2024-11-16T18:48:18.141Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2024-11-16T18:48:18.141Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2024-11-16T18:48:18.141Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2024-11-16T18:48:18.141Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2024-11-16T18:48:18.141Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2024-11-16T18:48:18.141Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/bin [2024-11-16T18:48:18.141Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-11-16T18:48:18.141Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-11-16T18:48:18.141Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar [2024-11-16T18:48:18.468Z] GEN 18:48:18.097 - Using Mode NoOptions. Values = '' [2024-11-16T18:48:18.809Z] GEN 18:48:18.620 - [2024-11-16T18:48:18.809Z] GEN 18:48:18.621 - Test command summary: [2024-11-16T18:48:18.809Z] GEN 18:48:18.623 - Step Stage Command Description [2024-11-16T18:48:18.809Z] GEN 18:48:18.625 - -----+--------+-----------------+------------ [2024-11-16T18:48:18.809Z] GEN 18:48:18.626 - 1 setUp cpDir Copying com.test.jlink [2024-11-16T18:48:18.809Z] GEN 18:48:18.626 - 2 setUp rm Removing natives folder from com.test.jLinkDirCopy [2024-11-16T18:48:18.809Z] GEN 18:48:18.627 - 3 setUp jar Create com.test.jlink jar [2024-11-16T18:48:18.809Z] GEN 18:48:18.628 - 4 setUp jar Create com.hello jar [2024-11-16T18:48:18.809Z] GEN 18:48:18.628 - 5 setUp fileCheck Check com.test.jlink modular jar created [2024-11-16T18:48:18.809Z] GEN 18:48:18.629 - 6 setUp fileCheck Check com.hello modular jar created [2024-11-16T18:48:18.809Z] GEN 18:48:18.629 - 7 setUp rm Removing conf folder from com.test.jLinkDirCopy [2024-11-16T18:48:18.809Z] GEN 18:48:18.630 - 8 setUp cpDir Copying .so from com.test.jlink/native [2024-11-16T18:48:18.809Z] GEN 18:48:18.631 - 9 setUp jmod Creating jmod of com.test.jlink module [2024-11-16T18:48:18.809Z] GEN 18:48:18.631 - 10 setUp jmod Creating jmod for com.hello module [2024-11-16T18:48:18.809Z] GEN 18:48:18.632 - 11 setUp fileCheck Check com.test.jlink jmod created [2024-11-16T18:48:18.809Z] GEN 18:48:18.633 - 12 setUp fileCheck Check com.hello jmod created [2024-11-16T18:48:18.809Z] GEN 18:48:18.633 - 13 execute jlink Create runtime image [2024-11-16T18:48:18.809Z] GEN 18:48:18.634 - 14 execute Run java Running listmods [2024-11-16T18:48:18.809Z] GEN 18:48:18.635 - 15 execute count Check output [2024-11-16T18:48:18.809Z] GEN 18:48:18.635 - 16 execute count Check output [2024-11-16T18:48:18.809Z] GEN 18:48:18.636 - 17 execute count Check output [2024-11-16T18:48:18.809Z] GEN 18:48:18.636 - 18 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-11-16T18:48:18.809Z] GEN 18:48:18.637 - 19 execute jlink Create runtime image [2024-11-16T18:48:18.810Z] GEN 18:48:18.638 - 20 execute Run java Running listmods [2024-11-16T18:48:18.810Z] GEN 18:48:18.638 - 21 execute count Check output [2024-11-16T18:48:18.810Z] GEN 18:48:18.639 - 22 execute count Check output [2024-11-16T18:48:18.810Z] GEN 18:48:18.640 - 23 execute count Check output [2024-11-16T18:48:18.810Z] GEN 18:48:18.640 - 24 execute Run java Running adoptopenjdk.test.modularity.jlink.JniTest [2024-11-16T18:48:18.810Z] GEN 18:48:18.641 - 25 execute jlink Create runtime image [2024-11-16T18:48:18.810Z] GEN 18:48:18.642 - 26 execute Run java Running listmods [2024-11-16T18:48:18.810Z] GEN 18:48:18.642 - 27 execute count Check output [2024-11-16T18:48:18.810Z] GEN 18:48:18.643 - 28 execute count Check output [2024-11-16T18:48:18.810Z] GEN 18:48:18.643 - 29 execute count Check output [2024-11-16T18:48:18.810Z] GEN 18:48:18.644 - 30 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-11-16T18:48:18.810Z] STF 18:48:18.783 - [2024-11-16T18:48:18.810Z] STF 18:48:18.784 - Script generation completed [2024-11-16T18:48:18.810Z] STF 18:48:18.784 - [2024-11-16T18:48:18.810Z] STF 18:48:18.787 - [2024-11-16T18:48:18.810Z] STF 18:48:18.788 - ======================= S E T U P ======================= [2024-11-16T18:48:18.810Z] STF 18:48:18.788 - Running setup: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/setUp.pl [2024-11-16T18:48:19.138Z] STF 18:48:19.027 - [2024-11-16T18:48:19.138Z] STF 18:48:19.027 - +------ Step 1 - Copying com.test.jlink [2024-11-16T18:48:19.138Z] STF 18:48:19.027 - | Copy a directory to a new directory [2024-11-16T18:48:19.138Z] STF 18:48:19.027 - | Source dir: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink [2024-11-16T18:48:19.138Z] STF 18:48:19.027 - | Dest dir: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/com.test.jLinkDirCopy [2024-11-16T18:48:19.138Z] STF 18:48:19.027 - | [2024-11-16T18:48:19.138Z] STF 18:48:19.043 - [2024-11-16T18:48:19.138Z] STF 18:48:19.043 - +------ Step 2 - Removing natives folder from com.test.jLinkDirCopy [2024-11-16T18:48:19.138Z] STF 18:48:19.043 - | Recursively delete a directory [2024-11-16T18:48:19.138Z] STF 18:48:19.043 - | Directory: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/com.test.jLinkDirCopy/native [2024-11-16T18:48:19.138Z] STF 18:48:19.043 - | [2024-11-16T18:48:19.138Z] STF 18:48:19.046 - [2024-11-16T18:48:19.138Z] STF 18:48:19.046 - +------ Step 3 - Create com.test.jlink jar [2024-11-16T18:48:19.138Z] STF 18:48:19.046 - | Create modular jar [2024-11-16T18:48:19.138Z] STF 18:48:19.046 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test.jlink [2024-11-16T18:48:19.138Z] STF 18:48:19.047 - | ModuleVersion: null [2024-11-16T18:48:19.138Z] STF 18:48:19.047 - | MainClass: null [2024-11-16T18:48:19.138Z] STF 18:48:19.047 - | HashModules: null [2024-11-16T18:48:19.138Z] STF 18:48:19.047 - | [2024-11-16T18:48:19.138Z] STF 18:48:19.048 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/modules/3.com.test.jlink.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink . [2024-11-16T18:48:19.138Z] STF 18:48:19.048 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/results/3.CMJ.stderr [2024-11-16T18:48:19.138Z] STF 18:48:19.048 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/results/3.CMJ.stdout [2024-11-16T18:48:19.138Z] STF 18:48:19.081 - Monitoring processes: CMJ [2024-11-16T18:48:19.138Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-16T18:48:20.790Z] STF 18:48:20.464 - Monitoring Report Summary: [2024-11-16T18:48:20.790Z] STF 18:48:20.464 - o Process CMJ ended with the expected exit code (0) [2024-11-16T18:48:20.790Z] STF 18:48:20.465 - Created modular jar: 3.com.test.jlink.jar [2024-11-16T18:48:20.790Z] STF 18:48:20.465 - [2024-11-16T18:48:20.790Z] STF 18:48:20.466 - +------ Step 4 - Create com.hello jar [2024-11-16T18:48:20.790Z] STF 18:48:20.466 - | Create modular jar [2024-11-16T18:48:20.790Z] STF 18:48:20.466 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-11-16T18:48:20.790Z] STF 18:48:20.466 - | ModuleVersion: null [2024-11-16T18:48:20.790Z] STF 18:48:20.466 - | MainClass: null [2024-11-16T18:48:20.790Z] STF 18:48:20.466 - | HashModules: null [2024-11-16T18:48:20.790Z] STF 18:48:20.466 - | [2024-11-16T18:48:20.790Z] STF 18:48:20.467 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/modules/4.com.hello.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2024-11-16T18:48:20.790Z] STF 18:48:20.467 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/results/4.CMJ.stderr [2024-11-16T18:48:20.790Z] STF 18:48:20.467 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/results/4.CMJ.stdout [2024-11-16T18:48:20.790Z] STF 18:48:20.472 - Monitoring processes: CMJ [2024-11-16T18:48:20.790Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-16T18:48:21.941Z] STF 18:48:21.741 - Monitoring Report Summary: [2024-11-16T18:48:21.941Z] STF 18:48:21.741 - o Process CMJ ended with the expected exit code (0) [2024-11-16T18:48:21.941Z] STF 18:48:21.742 - Created modular jar: 4.com.hello.jar [2024-11-16T18:48:21.941Z] STF 18:48:21.742 - [2024-11-16T18:48:21.941Z] STF 18:48:21.742 - +------ Step 5 - Check com.test.jlink modular jar created [2024-11-16T18:48:21.941Z] STF 18:48:21.742 - | Validate file exists [2024-11-16T18:48:21.941Z] STF 18:48:21.742 - | File: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/modules/3.com.test.jlink.jar [2024-11-16T18:48:21.941Z] STF 18:48:21.742 - | [2024-11-16T18:48:21.941Z] STF 18:48:21.742 - [2024-11-16T18:48:21.941Z] STF 18:48:21.742 - +------ Step 6 - Check com.hello modular jar created [2024-11-16T18:48:21.941Z] STF 18:48:21.742 - | Validate file exists [2024-11-16T18:48:21.941Z] STF 18:48:21.742 - | File: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/modules/4.com.hello.jar [2024-11-16T18:48:21.941Z] STF 18:48:21.742 - | [2024-11-16T18:48:21.941Z] STF 18:48:21.743 - [2024-11-16T18:48:21.941Z] STF 18:48:21.743 - +------ Step 7 - Removing conf folder from com.test.jLinkDirCopy [2024-11-16T18:48:21.941Z] STF 18:48:21.743 - | Recursively delete a directory [2024-11-16T18:48:21.942Z] STF 18:48:21.743 - | Directory: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/com.test.jLinkDirCopy/conf [2024-11-16T18:48:21.942Z] STF 18:48:21.743 - | [2024-11-16T18:48:21.942Z] STF 18:48:21.744 - [2024-11-16T18:48:21.942Z] STF 18:48:21.744 - +------ Step 8 - Copying .so from com.test.jlink/native [2024-11-16T18:48:21.942Z] STF 18:48:21.744 - | Copy a directory to a new directory [2024-11-16T18:48:21.942Z] STF 18:48:21.744 - | Source dir: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink/native/bin/linux [2024-11-16T18:48:21.942Z] STF 18:48:21.744 - | Dest dir: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/native [2024-11-16T18:48:21.942Z] STF 18:48:21.744 - | [2024-11-16T18:48:21.942Z] STF 18:48:21.746 - [2024-11-16T18:48:21.942Z] STF 18:48:21.746 - +------ Step 9 - Creating jmod of com.test.jlink module [2024-11-16T18:48:21.942Z] STF 18:48:21.746 - | Run jmod utility [2024-11-16T18:48:21.942Z] STF 18:48:21.746 - | jmod: com.test.jlink.jmod [2024-11-16T18:48:21.942Z] STF 18:48:21.746 - | [2024-11-16T18:48:21.942Z] STF 18:48:21.747 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jmod create --class-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/com.test.jLinkDirCopy --config /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink/conf --libs /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/native /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/tmp/com.test.jlink.jmod [2024-11-16T18:48:21.942Z] STF 18:48:21.747 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/results/9.JMOD.stderr [2024-11-16T18:48:21.942Z] STF 18:48:21.748 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/results/9.JMOD.stdout [2024-11-16T18:48:21.942Z] STF 18:48:21.752 - Monitoring processes: JMOD [2024-11-16T18:48:21.942Z] JMOD stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-16T18:48:23.597Z] STF 18:48:23.100 - Monitoring Report Summary: [2024-11-16T18:48:23.597Z] STF 18:48:23.101 - o Process JMOD ended with the expected exit code (0) [2024-11-16T18:48:23.597Z] STF 18:48:23.101 - [2024-11-16T18:48:23.597Z] STF 18:48:23.101 - +------ Step 10 - Creating jmod for com.hello module [2024-11-16T18:48:23.597Z] STF 18:48:23.101 - | Run jmod utility [2024-11-16T18:48:23.597Z] STF 18:48:23.102 - | jmod: com.hello.jmod [2024-11-16T18:48:23.597Z] STF 18:48:23.102 - | [2024-11-16T18:48:23.597Z] STF 18:48:23.103 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jmod create --class-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/tmp/com.hello.jmod [2024-11-16T18:48:23.597Z] STF 18:48:23.103 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/results/10.JMOD.stderr [2024-11-16T18:48:23.597Z] STF 18:48:23.103 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/results/10.JMOD.stdout [2024-11-16T18:48:23.597Z] STF 18:48:23.114 - Monitoring processes: JMOD [2024-11-16T18:48:23.597Z] JMOD stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-16T18:48:24.736Z] STF 18:48:24.411 - Monitoring Report Summary: [2024-11-16T18:48:24.737Z] STF 18:48:24.412 - o Process JMOD ended with the expected exit code (0) [2024-11-16T18:48:24.737Z] STF 18:48:24.413 - [2024-11-16T18:48:24.737Z] STF 18:48:24.413 - +------ Step 11 - Check com.test.jlink jmod created [2024-11-16T18:48:24.737Z] STF 18:48:24.413 - | Validate file exists [2024-11-16T18:48:24.737Z] STF 18:48:24.413 - | File: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/tmp/com.test.jlink.jmod [2024-11-16T18:48:24.737Z] STF 18:48:24.413 - | [2024-11-16T18:48:24.737Z] STF 18:48:24.413 - [2024-11-16T18:48:24.737Z] STF 18:48:24.413 - +------ Step 12 - Check com.hello jmod created [2024-11-16T18:48:24.737Z] STF 18:48:24.413 - | Validate file exists [2024-11-16T18:48:24.737Z] STF 18:48:24.413 - | File: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/tmp/com.hello.jmod [2024-11-16T18:48:24.737Z] STF 18:48:24.413 - | [2024-11-16T18:48:24.737Z] STF 18:48:24.413 - SETUP stage completed [2024-11-16T18:48:24.737Z] STF 18:48:24.461 - [2024-11-16T18:48:24.737Z] STF 18:48:24.461 - ==================== E X E C U T E - ==================== [2024-11-16T18:48:24.737Z] STF 18:48:24.462 - Running execute: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/execute.pl [2024-11-16T18:48:24.737Z] STF 18:48:24.705 - [2024-11-16T18:48:24.737Z] STF 18:48:24.705 - Java version [2024-11-16T18:48:24.737Z] STF 18:48:24.705 - Running: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/java -version [2024-11-16T18:48:24.737Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-16T18:48:25.066Z] openjdk version "21.0.6-beta" 2025-01-21 [2024-11-16T18:48:25.066Z] OpenJDK Runtime Environment Temurin-21.0.6+3-202411152105 (build 21.0.6-beta+3-ea) [2024-11-16T18:48:25.066Z] OpenJDK 64-Bit Server VM Temurin-21.0.6+3-202411152105 (build 21.0.6-beta+3-ea, mixed mode, sharing) [2024-11-16T18:48:25.066Z] STF 18:48:24.950 - [2024-11-16T18:48:25.066Z] STF 18:48:24.950 - +------ Step 13 - Create runtime image [2024-11-16T18:48:25.066Z] STF 18:48:24.950 - | Run jlink to create runtime image [2024-11-16T18:48:25.066Z] STF 18:48:24.950 - | ImageName: CRI1 [2024-11-16T18:48:25.066Z] STF 18:48:24.950 - | [2024-11-16T18:48:25.066Z] STF 18:48:24.951 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/modules --add-modules com.test.jlink --output /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/tmp/13.CRI1 [2024-11-16T18:48:25.066Z] STF 18:48:24.951 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/results/13.JLNK.stderr [2024-11-16T18:48:25.066Z] STF 18:48:24.952 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/results/13.JLNK.stdout [2024-11-16T18:48:25.066Z] STF 18:48:24.994 - Monitoring processes: JLNK [2024-11-16T18:48:25.066Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-16T18:48:33.929Z] STF 18:48:33.513 - Monitoring Report Summary: [2024-11-16T18:48:33.929Z] STF 18:48:33.514 - o Process JLNK ended with the expected exit code (0) [2024-11-16T18:48:33.929Z] STF 18:48:33.515 - [2024-11-16T18:48:33.929Z] STF 18:48:33.515 - +------ Step 14 - Running listmods [2024-11-16T18:48:33.929Z] STF 18:48:33.515 - | Run foreground process [2024-11-16T18:48:33.929Z] STF 18:48:33.515 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/tmp/13.CRI1/bin/java [2024-11-16T18:48:33.929Z] STF 18:48:33.515 - | Mnemonic: LIST [2024-11-16T18:48:33.929Z] STF 18:48:33.516 - | Echo: ECHO_ON [2024-11-16T18:48:33.929Z] STF 18:48:33.516 - | Expectation: CLEAN_RUN within 1m [2024-11-16T18:48:33.929Z] STF 18:48:33.516 - | [2024-11-16T18:48:33.929Z] STF 18:48:33.517 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/tmp/13.CRI1/bin/java --list-modules -XX:-UseCompressedOops [2024-11-16T18:48:33.929Z] STF 18:48:33.517 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/results/14.LIST.stderr [2024-11-16T18:48:33.929Z] STF 18:48:33.517 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/results/14.LIST.stdout [2024-11-16T18:48:33.929Z] STF 18:48:33.527 - Monitoring processes: LIST [2024-11-16T18:48:33.929Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-16T18:48:34.257Z] LIST com.hello [2024-11-16T18:48:34.258Z] LIST com.test.jlink [2024-11-16T18:48:34.258Z] LIST java.base@21.0.6-beta [2024-11-16T18:48:34.258Z] STF 18:48:34.196 - Monitoring Report Summary: [2024-11-16T18:48:34.258Z] STF 18:48:34.196 - o Process LIST ended with the expected exit code (0) [2024-11-16T18:48:34.258Z] STF 18:48:34.197 - [2024-11-16T18:48:34.258Z] STF 18:48:34.197 - +------ Step 15 - Check output [2024-11-16T18:48:34.258Z] STF 18:48:34.197 - | Count file matches [2024-11-16T18:48:34.258Z] STF 18:48:34.197 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/results/14.LIST.stdout [2024-11-16T18:48:34.258Z] STF 18:48:34.197 - | ExpectedNumMatches: 1 [2024-11-16T18:48:34.258Z] STF 18:48:34.197 - | SearchStrings: ["com.hello"] [2024-11-16T18:48:34.258Z] STF 18:48:34.198 - | [2024-11-16T18:48:34.258Z] STF 18:48:34.198 - Found 1 instances of ["com.hello"] [2024-11-16T18:48:34.258Z] STF 18:48:34.198 - [2024-11-16T18:48:34.258Z] STF 18:48:34.198 - +------ Step 16 - Check output [2024-11-16T18:48:34.258Z] STF 18:48:34.198 - | Count file matches [2024-11-16T18:48:34.258Z] STF 18:48:34.198 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/results/14.LIST.stdout [2024-11-16T18:48:34.258Z] STF 18:48:34.198 - | ExpectedNumMatches: 1 [2024-11-16T18:48:34.258Z] STF 18:48:34.198 - | SearchStrings: ["com.test.jlink"] [2024-11-16T18:48:34.258Z] STF 18:48:34.198 - | [2024-11-16T18:48:34.258Z] STF 18:48:34.199 - Found 1 instances of ["com.test.jlink"] [2024-11-16T18:48:34.258Z] STF 18:48:34.199 - [2024-11-16T18:48:34.258Z] STF 18:48:34.199 - +------ Step 17 - Check output [2024-11-16T18:48:34.258Z] STF 18:48:34.199 - | Count file matches [2024-11-16T18:48:34.258Z] STF 18:48:34.199 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/results/14.LIST.stdout [2024-11-16T18:48:34.258Z] STF 18:48:34.199 - | ExpectedNumMatches: 1 [2024-11-16T18:48:34.258Z] STF 18:48:34.199 - | SearchStrings: ["java.base"] [2024-11-16T18:48:34.258Z] STF 18:48:34.199 - | [2024-11-16T18:48:34.258Z] STF 18:48:34.200 - Found 1 instances of ["java.base"] [2024-11-16T18:48:34.258Z] STF 18:48:34.200 - [2024-11-16T18:48:34.258Z] STF 18:48:34.200 - +------ Step 18 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-11-16T18:48:34.258Z] STF 18:48:34.200 - | Run foreground process [2024-11-16T18:48:34.258Z] STF 18:48:34.200 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/tmp/13.CRI1/bin/java [2024-11-16T18:48:34.258Z] STF 18:48:34.200 - | Mnemonic: T1 [2024-11-16T18:48:34.258Z] STF 18:48:34.200 - | Echo: ECHO_ON [2024-11-16T18:48:34.258Z] STF 18:48:34.200 - | Expectation: CLEAN_RUN within 1m [2024-11-16T18:48:34.258Z] STF 18:48:34.201 - | [2024-11-16T18:48:34.258Z] STF 18:48:34.202 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/tmp/13.CRI1/bin/java -Djava.library.path=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-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-16T18:48:34.258Z] STF 18:48:34.202 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/results/18.T1.stderr [2024-11-16T18:48:34.258Z] STF 18:48:34.202 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/results/18.T1.stdout [2024-11-16T18:48:34.258Z] STF 18:48:34.211 - Monitoring processes: T1 [2024-11-16T18:48:34.258Z] T1 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-16T18:48:34.958Z] T1 JUnit version 4.12 [2024-11-16T18:48:35.660Z] T1 . [2024-11-16T18:48:35.660Z] T1 Time: 0.043 [2024-11-16T18:48:35.660Z] T1 [2024-11-16T18:48:35.660Z] T1 OK (1 test) [2024-11-16T18:48:35.660Z] T1 [2024-11-16T18:48:35.987Z] STF 18:48:35.600 - Monitoring Report Summary: [2024-11-16T18:48:35.987Z] STF 18:48:35.600 - o Process T1 ended with the expected exit code (0) [2024-11-16T18:48:35.987Z] STF 18:48:35.601 - [2024-11-16T18:48:35.987Z] STF 18:48:35.601 - +------ Step 19 - Create runtime image [2024-11-16T18:48:35.987Z] STF 18:48:35.601 - | Run jlink to create runtime image [2024-11-16T18:48:35.987Z] STF 18:48:35.601 - | ImageName: CRI2 [2024-11-16T18:48:35.987Z] STF 18:48:35.602 - | [2024-11-16T18:48:35.987Z] STF 18:48:35.603 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/tmp --add-modules com.test.jlink --output /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/tmp/19.CRI2 [2024-11-16T18:48:35.987Z] STF 18:48:35.603 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/results/19.JLNK.stderr [2024-11-16T18:48:35.987Z] STF 18:48:35.603 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/results/19.JLNK.stdout [2024-11-16T18:48:35.987Z] STF 18:48:35.613 - Monitoring processes: JLNK [2024-11-16T18:48:35.987Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-16T18:48:44.861Z] STF 18:48:44.323 - Monitoring Report Summary: [2024-11-16T18:48:44.861Z] STF 18:48:44.324 - o Process JLNK ended with the expected exit code (0) [2024-11-16T18:48:44.861Z] STF 18:48:44.324 - [2024-11-16T18:48:44.861Z] STF 18:48:44.324 - +------ Step 20 - Running listmods [2024-11-16T18:48:44.861Z] STF 18:48:44.325 - | Run foreground process [2024-11-16T18:48:44.861Z] STF 18:48:44.325 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/tmp/19.CRI2/bin/java [2024-11-16T18:48:44.861Z] STF 18:48:44.325 - | Mnemonic: LIST [2024-11-16T18:48:44.861Z] STF 18:48:44.325 - | Echo: ECHO_ON [2024-11-16T18:48:44.861Z] STF 18:48:44.325 - | Expectation: CLEAN_RUN within 1m [2024-11-16T18:48:44.861Z] STF 18:48:44.325 - | [2024-11-16T18:48:44.861Z] STF 18:48:44.326 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/tmp/19.CRI2/bin/java --list-modules -XX:-UseCompressedOops [2024-11-16T18:48:44.861Z] STF 18:48:44.326 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/results/20.LIST.stderr [2024-11-16T18:48:44.861Z] STF 18:48:44.326 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/results/20.LIST.stdout [2024-11-16T18:48:44.861Z] STF 18:48:44.332 - Monitoring processes: LIST [2024-11-16T18:48:44.861Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-16T18:48:45.186Z] LIST com.hello [2024-11-16T18:48:45.186Z] LIST com.test.jlink [2024-11-16T18:48:45.186Z] LIST java.base@21.0.6-beta [2024-11-16T18:48:45.186Z] STF 18:48:45.002 - Monitoring Report Summary: [2024-11-16T18:48:45.186Z] STF 18:48:45.002 - o Process LIST ended with the expected exit code (0) [2024-11-16T18:48:45.186Z] STF 18:48:45.003 - [2024-11-16T18:48:45.186Z] STF 18:48:45.003 - +------ Step 21 - Check output [2024-11-16T18:48:45.186Z] STF 18:48:45.003 - | Count file matches [2024-11-16T18:48:45.186Z] STF 18:48:45.003 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/results/20.LIST.stdout [2024-11-16T18:48:45.187Z] STF 18:48:45.004 - | ExpectedNumMatches: 1 [2024-11-16T18:48:45.187Z] STF 18:48:45.004 - | SearchStrings: ["com.hello"] [2024-11-16T18:48:45.187Z] STF 18:48:45.004 - | [2024-11-16T18:48:45.187Z] STF 18:48:45.004 - Found 1 instances of ["com.hello"] [2024-11-16T18:48:45.187Z] STF 18:48:45.004 - [2024-11-16T18:48:45.187Z] STF 18:48:45.004 - +------ Step 22 - Check output [2024-11-16T18:48:45.187Z] STF 18:48:45.004 - | Count file matches [2024-11-16T18:48:45.187Z] STF 18:48:45.004 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/results/20.LIST.stdout [2024-11-16T18:48:45.187Z] STF 18:48:45.004 - | ExpectedNumMatches: 1 [2024-11-16T18:48:45.187Z] STF 18:48:45.004 - | SearchStrings: ["com.test.jlink"] [2024-11-16T18:48:45.187Z] STF 18:48:45.004 - | [2024-11-16T18:48:45.187Z] STF 18:48:45.004 - Found 1 instances of ["com.test.jlink"] [2024-11-16T18:48:45.187Z] STF 18:48:45.005 - [2024-11-16T18:48:45.187Z] STF 18:48:45.005 - +------ Step 23 - Check output [2024-11-16T18:48:45.187Z] STF 18:48:45.005 - | Count file matches [2024-11-16T18:48:45.187Z] STF 18:48:45.005 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/results/20.LIST.stdout [2024-11-16T18:48:45.187Z] STF 18:48:45.005 - | ExpectedNumMatches: 1 [2024-11-16T18:48:45.187Z] STF 18:48:45.005 - | SearchStrings: ["java.base"] [2024-11-16T18:48:45.187Z] STF 18:48:45.005 - | [2024-11-16T18:48:45.187Z] STF 18:48:45.005 - Found 1 instances of ["java.base"] [2024-11-16T18:48:45.187Z] STF 18:48:45.005 - [2024-11-16T18:48:45.187Z] STF 18:48:45.005 - +------ Step 24 - Running adoptopenjdk.test.modularity.jlink.JniTest [2024-11-16T18:48:45.187Z] STF 18:48:45.005 - | Run foreground process [2024-11-16T18:48:45.187Z] STF 18:48:45.005 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/tmp/19.CRI2/bin/java [2024-11-16T18:48:45.187Z] STF 18:48:45.005 - | Mnemonic: T2 [2024-11-16T18:48:45.187Z] STF 18:48:45.005 - | Echo: ECHO_ON [2024-11-16T18:48:45.187Z] STF 18:48:45.006 - | Expectation: CLEAN_RUN within 1m [2024-11-16T18:48:45.187Z] STF 18:48:45.006 - | [2024-11-16T18:48:45.528Z] STF 18:48:45.007 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/tmp/19.CRI2/bin/java -Djava.library.path=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-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-16T18:48:45.528Z] STF 18:48:45.007 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/results/24.T2.stderr [2024-11-16T18:48:45.528Z] STF 18:48:45.007 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/results/24.T2.stdout [2024-11-16T18:48:45.528Z] STF 18:48:45.013 - Monitoring processes: T2 [2024-11-16T18:48:45.528Z] T2 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-16T18:48:46.229Z] T2 JUnit version 4.12 [2024-11-16T18:48:46.562Z] T2 . [2024-11-16T18:48:46.562Z] T2 Time: 0.041 [2024-11-16T18:48:46.562Z] T2 [2024-11-16T18:48:46.562Z] T2 OK (1 test) [2024-11-16T18:48:46.562Z] T2 [2024-11-16T18:48:46.562Z] STF 18:48:46.469 - Monitoring Report Summary: [2024-11-16T18:48:46.562Z] STF 18:48:46.469 - o Process T2 ended with the expected exit code (0) [2024-11-16T18:48:46.562Z] STF 18:48:46.471 - [2024-11-16T18:48:46.562Z] STF 18:48:46.471 - +------ Step 25 - Create runtime image [2024-11-16T18:48:46.562Z] STF 18:48:46.471 - | Run jlink to create runtime image [2024-11-16T18:48:46.562Z] STF 18:48:46.471 - | ImageName: CRI3 [2024-11-16T18:48:46.562Z] STF 18:48:46.472 - | [2024-11-16T18:48:46.562Z] STF 18:48:46.474 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --add-modules com.test.jlink --output /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/tmp/25.CRI3 [2024-11-16T18:48:46.562Z] STF 18:48:46.474 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/results/25.JLNK.stderr [2024-11-16T18:48:46.562Z] STF 18:48:46.474 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/results/25.JLNK.stdout [2024-11-16T18:48:46.562Z] STF 18:48:46.487 - Monitoring processes: JLNK [2024-11-16T18:48:46.562Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-16T18:48:55.429Z] STF 18:48:54.981 - Monitoring Report Summary: [2024-11-16T18:48:55.429Z] STF 18:48:54.982 - o Process JLNK ended with the expected exit code (0) [2024-11-16T18:48:55.429Z] STF 18:48:54.984 - [2024-11-16T18:48:55.429Z] STF 18:48:54.984 - +------ Step 26 - Running listmods [2024-11-16T18:48:55.429Z] STF 18:48:54.984 - | Run foreground process [2024-11-16T18:48:55.429Z] STF 18:48:54.984 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/tmp/25.CRI3/bin/java [2024-11-16T18:48:55.429Z] STF 18:48:54.984 - | Mnemonic: LIST [2024-11-16T18:48:55.429Z] STF 18:48:54.984 - | Echo: ECHO_ON [2024-11-16T18:48:55.429Z] STF 18:48:54.984 - | Expectation: CLEAN_RUN within 1m [2024-11-16T18:48:55.429Z] STF 18:48:54.985 - | [2024-11-16T18:48:55.429Z] STF 18:48:54.986 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/tmp/25.CRI3/bin/java --list-modules -XX:-UseCompressedOops [2024-11-16T18:48:55.429Z] STF 18:48:54.986 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/results/26.LIST.stderr [2024-11-16T18:48:55.429Z] STF 18:48:54.986 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/results/26.LIST.stdout [2024-11-16T18:48:55.429Z] STF 18:48:54.997 - Monitoring processes: LIST [2024-11-16T18:48:55.429Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-16T18:48:56.128Z] LIST com.hello [2024-11-16T18:48:56.128Z] LIST com.test.jlink [2024-11-16T18:48:56.128Z] LIST java.base@21.0.6-beta [2024-11-16T18:48:56.128Z] STF 18:48:55.659 - Monitoring Report Summary: [2024-11-16T18:48:56.128Z] STF 18:48:55.659 - o Process LIST ended with the expected exit code (0) [2024-11-16T18:48:56.128Z] STF 18:48:55.660 - [2024-11-16T18:48:56.128Z] STF 18:48:55.661 - +------ Step 27 - Check output [2024-11-16T18:48:56.128Z] STF 18:48:55.661 - | Count file matches [2024-11-16T18:48:56.128Z] STF 18:48:55.661 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/results/26.LIST.stdout [2024-11-16T18:48:56.129Z] STF 18:48:55.661 - | ExpectedNumMatches: 1 [2024-11-16T18:48:56.129Z] STF 18:48:55.661 - | SearchStrings: ["com.hello"] [2024-11-16T18:48:56.129Z] STF 18:48:55.661 - | [2024-11-16T18:48:56.129Z] STF 18:48:55.662 - Found 1 instances of ["com.hello"] [2024-11-16T18:48:56.129Z] STF 18:48:55.662 - [2024-11-16T18:48:56.129Z] STF 18:48:55.662 - +------ Step 28 - Check output [2024-11-16T18:48:56.129Z] STF 18:48:55.662 - | Count file matches [2024-11-16T18:48:56.129Z] STF 18:48:55.662 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/results/26.LIST.stdout [2024-11-16T18:48:56.129Z] STF 18:48:55.662 - | ExpectedNumMatches: 1 [2024-11-16T18:48:56.129Z] STF 18:48:55.663 - | SearchStrings: ["com.test.jlink"] [2024-11-16T18:48:56.129Z] STF 18:48:55.663 - | [2024-11-16T18:48:56.129Z] STF 18:48:55.663 - Found 1 instances of ["com.test.jlink"] [2024-11-16T18:48:56.129Z] STF 18:48:55.663 - [2024-11-16T18:48:56.129Z] STF 18:48:55.663 - +------ Step 29 - Check output [2024-11-16T18:48:56.129Z] STF 18:48:55.663 - | Count file matches [2024-11-16T18:48:56.129Z] STF 18:48:55.663 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/results/26.LIST.stdout [2024-11-16T18:48:56.129Z] STF 18:48:55.664 - | ExpectedNumMatches: 1 [2024-11-16T18:48:56.129Z] STF 18:48:55.664 - | SearchStrings: ["java.base"] [2024-11-16T18:48:56.129Z] STF 18:48:55.664 - | [2024-11-16T18:48:56.129Z] STF 18:48:55.664 - Found 1 instances of ["java.base"] [2024-11-16T18:48:56.129Z] STF 18:48:55.664 - [2024-11-16T18:48:56.129Z] STF 18:48:55.664 - +------ Step 30 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2024-11-16T18:48:56.129Z] STF 18:48:55.664 - | Run foreground process [2024-11-16T18:48:56.129Z] STF 18:48:55.664 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/tmp/25.CRI3/bin/java [2024-11-16T18:48:56.129Z] STF 18:48:55.665 - | Mnemonic: T3 [2024-11-16T18:48:56.129Z] STF 18:48:55.665 - | Echo: ECHO_ON [2024-11-16T18:48:56.129Z] STF 18:48:55.665 - | Expectation: CLEAN_RUN within 1m [2024-11-16T18:48:56.129Z] STF 18:48:55.665 - | [2024-11-16T18:48:56.129Z] STF 18:48:55.667 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/tmp/25.CRI3/bin/java -Djava.library.path=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-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-16T18:48:56.129Z] STF 18:48:55.667 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/results/30.T3.stderr [2024-11-16T18:48:56.129Z] STF 18:48:55.667 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/results/30.T3.stdout [2024-11-16T18:48:56.129Z] STF 18:48:55.677 - Monitoring processes: T3 [2024-11-16T18:48:56.129Z] T3 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-16T18:48:56.453Z] T3 JUnit version 4.12 [2024-11-16T18:48:57.154Z] T3 . [2024-11-16T18:48:57.154Z] T3 Time: 0.051 [2024-11-16T18:48:57.154Z] T3 [2024-11-16T18:48:57.154Z] T3 OK (1 test) [2024-11-16T18:48:57.154Z] T3 [2024-11-16T18:48:57.487Z] STF 18:48:57.124 - Monitoring Report Summary: [2024-11-16T18:48:57.487Z] STF 18:48:57.124 - o Process T3 ended with the expected exit code (0) [2024-11-16T18:48:57.487Z] STF 18:48:57.125 - EXECUTE stage completed [2024-11-16T18:48:57.487Z] STF 18:48:57.374 - [2024-11-16T18:48:57.487Z] STF 18:48:57.374 - ==================== T E A R D O W N ==================== [2024-11-16T18:48:57.487Z] STF 18:48:57.374 - Running teardown: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17317818685522/Jlink_ReqMod_1/20241116-184812-JlinkTest/tearDown.pl [2024-11-16T18:48:57.813Z] STF 18:48:57.608 - TEARDOWN stage completed [2024-11-16T18:48:57.813Z] STF 18:48:57.621 - [2024-11-16T18:48:57.813Z] STF 18:48:57.621 - ===================== R E S U L T S ===================== [2024-11-16T18:48:57.813Z] STF 18:48:57.621 - Stage results: [2024-11-16T18:48:57.813Z] STF 18:48:57.621 - setUp: pass [2024-11-16T18:48:57.813Z] STF 18:48:57.621 - execute: pass [2024-11-16T18:48:57.813Z] STF 18:48:57.621 - teardown: pass [2024-11-16T18:48:57.813Z] STF 18:48:57.621 - [2024-11-16T18:48:57.813Z] STF 18:48:57.622 - Overall result: PASSED [2024-11-16T18:48:57.813Z] ----------------------------------- [2024-11-16T18:48:57.813Z] Jlink_ReqMod_1_PASSED [2024-11-16T18:48:57.813Z] ----------------------------------- [2024-11-16T18:48:58.139Z] [2024-11-16T18:48:58.139Z] TEST TEARDOWN: [2024-11-16T18:48:58.139Z] Nothing to be done for teardown. [2024-11-16T18:48:58.139Z] Jlink_ReqMod_1 Finish Time: Sat Nov 16 18:48:57 2024 Epoch Time (ms): 1731782937966