Jlink_ReqMod_1

[2025-02-27T03:59:55.569Z] Running test Jlink_ReqMod_1 ... [2025-02-27T03:59:55.569Z] =============================================== [2025-02-27T03:59:55.569Z] Jlink_ReqMod_1 Start Time: Thu Feb 27 03:59:55 2025 Epoch Time (ms): 1740628795278 [2025-02-27T03:59:55.569Z] variation: Mode650 [2025-02-27T03:59:55.569Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-02-27T03:59:55.569Z] { \ [2025-02-27T03:59:55.569Z] echo ""; echo "TEST SETUP:"; \ [2025-02-27T03:59:55.569Z] echo "Nothing to be done for setup."; \ [2025-02-27T03:59:55.569Z] mkdir -p "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/../TKG/output_17406272208319/Jlink_ReqMod_1"; \ [2025-02-27T03:59:55.569Z] cd "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/../TKG/output_17406272208319/Jlink_ReqMod_1"; \ [2025-02-27T03:59:55.569Z] echo ""; echo "TESTING:"; \ [2025-02-27T03:59:55.569Z] perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/../../testDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/../TKG/output_17406272208319/Jlink_ReqMod_1" -test=JlinkTest -test-args="variant=ReqdMod"; \ [2025-02-27T03:59:55.569Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "Jlink_ReqMod_1""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/../TKG/output_17406272208319/Jlink_ReqMod_1"; else echo "-----------------------------------"; echo "Jlink_ReqMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-02-27T03:59:55.569Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-02-27T03:59:55.569Z] echo "Nothing to be done for teardown."; \ [2025-02-27T03:59:55.569Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/../TKG/output_17406272208319/TestTargetResult"; [2025-02-27T03:59:55.569Z] [2025-02-27T03:59:55.569Z] TEST SETUP: [2025-02-27T03:59:55.569Z] Nothing to be done for setup. [2025-02-27T03:59:55.569Z] [2025-02-27T03:59:55.569Z] TESTING: [2025-02-27T03:59:55.901Z] STF 03:59:55.546 - ========================= S T F ========================= [2025-02-27T03:59:55.901Z] 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/aqa-tests/TKG/../TKG/output_17406272208319/Jlink_ReqMod_1 [2025-02-27T03:59:55.901Z] There is 73357 Mb free [2025-02-27T03:59:55.901Z] STF 03:59:55.570 - ================== G E N E R A T I O N ================== [2025-02-27T03:59:55.901Z] STF 03:59:55.573 - Checking JVM: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/jdkbinary/j2sdk-image [2025-02-27T03:59:55.901Z] STF 03:59:55.574 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/../../testDependency/system_lib//asm/asm.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/../../testDependency/system_lib//asm/asm-commons.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/../../testDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/../../testDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/../TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/../TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest" [2025-02-27T03:59:55.901Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-27T03:59:55.901Z] GEN [0.018s][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 [2025-02-27T04:00:00.646Z] GEN 04:00:00.272 - Found test. Project: 'openjdk.test.modularity' class: 'JlinkTest.class' Dir: '/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-02-27T04:00:00.646Z] GEN 04:00:00.319 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.JlinkTest' [2025-02-27T04:00:00.981Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-02-27T04:00:00.981Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-02-27T04:00:00.981Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-02-27T04:00:00.981Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-02-27T04:00:00.981Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-02-27T04:00:00.981Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-02-27T04:00:00.981Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-02-27T04:00:00.981Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-02-27T04:00:00.981Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-02-27T04:00:00.981Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-02-27T04:00:00.981Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-02-27T04:00:00.981Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-02-27T04:00:00.981Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-02-27T04:00:00.981Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-02-27T04:00:00.981Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-02-27T04:00:00.981Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-02-27T04:00:00.981Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/jvmtest/system/STF/stf.core/bin [2025-02-27T04:00:00.981Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-02-27T04:00:00.981Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-02-27T04:00:00.981Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar [2025-02-27T04:00:01.312Z] GEN 04:00:01.075 - Using Mode NoOptions. Values = '' [2025-02-27T04:00:01.640Z] GEN 04:00:01.538 - [2025-02-27T04:00:01.640Z] GEN 04:00:01.539 - Test command summary: [2025-02-27T04:00:01.640Z] GEN 04:00:01.541 - Step Stage Command Description [2025-02-27T04:00:01.640Z] GEN 04:00:01.543 - -----+--------+-----------------+------------ [2025-02-27T04:00:01.640Z] GEN 04:00:01.544 - 1 setUp cpDir Copying com.test.jlink [2025-02-27T04:00:01.640Z] GEN 04:00:01.545 - 2 setUp rm Removing natives folder from com.test.jLinkDirCopy [2025-02-27T04:00:01.640Z] GEN 04:00:01.546 - 3 setUp jar Create com.test.jlink jar [2025-02-27T04:00:01.640Z] GEN 04:00:01.547 - 4 setUp jar Create com.hello jar [2025-02-27T04:00:01.640Z] GEN 04:00:01.548 - 5 setUp fileCheck Check com.test.jlink modular jar created [2025-02-27T04:00:01.640Z] GEN 04:00:01.548 - 6 setUp fileCheck Check com.hello modular jar created [2025-02-27T04:00:01.640Z] GEN 04:00:01.549 - 7 setUp rm Removing conf folder from com.test.jLinkDirCopy [2025-02-27T04:00:01.640Z] GEN 04:00:01.550 - 8 setUp cpDir Copying .so from com.test.jlink/native [2025-02-27T04:00:01.640Z] GEN 04:00:01.551 - 9 setUp jmod Creating jmod of com.test.jlink module [2025-02-27T04:00:01.640Z] GEN 04:00:01.551 - 10 setUp jmod Creating jmod for com.hello module [2025-02-27T04:00:01.640Z] GEN 04:00:01.552 - 11 setUp fileCheck Check com.test.jlink jmod created [2025-02-27T04:00:01.640Z] GEN 04:00:01.552 - 12 setUp fileCheck Check com.hello jmod created [2025-02-27T04:00:01.640Z] GEN 04:00:01.553 - 13 execute jlink Create runtime image [2025-02-27T04:00:01.640Z] GEN 04:00:01.553 - 14 execute Run java Running listmods [2025-02-27T04:00:01.640Z] GEN 04:00:01.554 - 15 execute count Check output [2025-02-27T04:00:01.640Z] GEN 04:00:01.554 - 16 execute count Check output [2025-02-27T04:00:01.640Z] GEN 04:00:01.555 - 17 execute count Check output [2025-02-27T04:00:01.640Z] GEN 04:00:01.556 - 18 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-27T04:00:01.640Z] GEN 04:00:01.556 - 19 execute jlink Create runtime image [2025-02-27T04:00:01.640Z] GEN 04:00:01.557 - 20 execute Run java Running listmods [2025-02-27T04:00:01.640Z] GEN 04:00:01.558 - 21 execute count Check output [2025-02-27T04:00:01.640Z] GEN 04:00:01.558 - 22 execute count Check output [2025-02-27T04:00:01.640Z] GEN 04:00:01.559 - 23 execute count Check output [2025-02-27T04:00:01.640Z] GEN 04:00:01.559 - 24 execute Run java Running adoptopenjdk.test.modularity.jlink.JniTest [2025-02-27T04:00:01.640Z] GEN 04:00:01.560 - 25 execute jlink Create runtime image [2025-02-27T04:00:01.640Z] GEN 04:00:01.560 - 26 execute Run java Running listmods [2025-02-27T04:00:01.640Z] GEN 04:00:01.561 - 27 execute count Check output [2025-02-27T04:00:01.640Z] GEN 04:00:01.562 - 28 execute count Check output [2025-02-27T04:00:01.640Z] GEN 04:00:01.562 - 29 execute count Check output [2025-02-27T04:00:01.640Z] GEN 04:00:01.563 - 30 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-27T04:00:01.965Z] STF 04:00:01.716 - [2025-02-27T04:00:01.965Z] STF 04:00:01.717 - Script generation completed [2025-02-27T04:00:01.965Z] STF 04:00:01.717 - [2025-02-27T04:00:01.965Z] STF 04:00:01.719 - [2025-02-27T04:00:01.965Z] STF 04:00:01.719 - ======================= S E T U P ======================= [2025-02-27T04:00:01.965Z] STF 04:00:01.720 - Running setup: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/../TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/setUp.pl [2025-02-27T04:00:01.965Z] STF 04:00:01.951 - [2025-02-27T04:00:02.293Z] STF 04:00:01.951 - +------ Step 1 - Copying com.test.jlink [2025-02-27T04:00:02.293Z] STF 04:00:01.951 - | Copy a directory to a new directory [2025-02-27T04:00:02.293Z] STF 04:00:01.951 - | Source dir: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink [2025-02-27T04:00:02.293Z] STF 04:00:01.951 - | Dest dir: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/com.test.jLinkDirCopy [2025-02-27T04:00:02.293Z] STF 04:00:01.951 - | [2025-02-27T04:00:02.293Z] STF 04:00:01.967 - [2025-02-27T04:00:02.293Z] STF 04:00:01.967 - +------ Step 2 - Removing natives folder from com.test.jLinkDirCopy [2025-02-27T04:00:02.293Z] STF 04:00:01.967 - | Recursively delete a directory [2025-02-27T04:00:02.293Z] STF 04:00:01.967 - | Directory: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/com.test.jLinkDirCopy/native [2025-02-27T04:00:02.293Z] STF 04:00:01.967 - | [2025-02-27T04:00:02.293Z] STF 04:00:01.970 - [2025-02-27T04:00:02.293Z] STF 04:00:01.971 - +------ Step 3 - Create com.test.jlink jar [2025-02-27T04:00:02.293Z] STF 04:00:01.971 - | Create modular jar [2025-02-27T04:00:02.293Z] STF 04:00:01.971 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test.jlink [2025-02-27T04:00:02.293Z] STF 04:00:01.971 - | ModuleVersion: null [2025-02-27T04:00:02.293Z] STF 04:00:01.971 - | MainClass: null [2025-02-27T04:00:02.293Z] STF 04:00:01.971 - | HashModules: null [2025-02-27T04:00:02.293Z] STF 04:00:01.971 - | [2025-02-27T04:00:02.293Z] STF 04:00:01.972 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/modules/3.com.test.jlink.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink . [2025-02-27T04:00:02.293Z] STF 04:00:01.972 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/results/3.CMJ.stderr [2025-02-27T04:00:02.293Z] STF 04:00:01.972 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/results/3.CMJ.stdout [2025-02-27T04:00:02.293Z] STF 04:00:02.005 - Monitoring processes: CMJ [2025-02-27T04:00:02.293Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-27T04:00:03.449Z] STF 04:00:03.407 - Monitoring Report Summary: [2025-02-27T04:00:03.449Z] STF 04:00:03.407 - o Process CMJ ended with the expected exit code (0) [2025-02-27T04:00:03.449Z] STF 04:00:03.409 - Created modular jar: 3.com.test.jlink.jar [2025-02-27T04:00:03.449Z] STF 04:00:03.409 - [2025-02-27T04:00:03.449Z] STF 04:00:03.409 - +------ Step 4 - Create com.hello jar [2025-02-27T04:00:03.449Z] STF 04:00:03.409 - | Create modular jar [2025-02-27T04:00:03.449Z] STF 04:00:03.409 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-02-27T04:00:03.449Z] STF 04:00:03.409 - | ModuleVersion: null [2025-02-27T04:00:03.449Z] STF 04:00:03.410 - | MainClass: null [2025-02-27T04:00:03.449Z] STF 04:00:03.410 - | HashModules: null [2025-02-27T04:00:03.449Z] STF 04:00:03.410 - | [2025-02-27T04:00:03.449Z] STF 04:00:03.411 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/modules/4.com.hello.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-02-27T04:00:03.449Z] STF 04:00:03.411 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/results/4.CMJ.stderr [2025-02-27T04:00:03.449Z] STF 04:00:03.411 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/results/4.CMJ.stdout [2025-02-27T04:00:03.449Z] STF 04:00:03.417 - Monitoring processes: CMJ [2025-02-27T04:00:03.776Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-27T04:00:04.925Z] STF 04:00:04.703 - Monitoring Report Summary: [2025-02-27T04:00:04.925Z] STF 04:00:04.703 - o Process CMJ ended with the expected exit code (0) [2025-02-27T04:00:04.925Z] STF 04:00:04.704 - Created modular jar: 4.com.hello.jar [2025-02-27T04:00:04.925Z] STF 04:00:04.704 - [2025-02-27T04:00:04.925Z] STF 04:00:04.704 - +------ Step 5 - Check com.test.jlink modular jar created [2025-02-27T04:00:04.925Z] STF 04:00:04.704 - | Validate file exists [2025-02-27T04:00:04.925Z] STF 04:00:04.705 - | File: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/modules/3.com.test.jlink.jar [2025-02-27T04:00:04.925Z] STF 04:00:04.705 - | [2025-02-27T04:00:04.925Z] STF 04:00:04.705 - [2025-02-27T04:00:04.925Z] STF 04:00:04.705 - +------ Step 6 - Check com.hello modular jar created [2025-02-27T04:00:04.925Z] STF 04:00:04.705 - | Validate file exists [2025-02-27T04:00:04.925Z] STF 04:00:04.705 - | File: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/modules/4.com.hello.jar [2025-02-27T04:00:04.925Z] STF 04:00:04.705 - | [2025-02-27T04:00:04.925Z] STF 04:00:04.705 - [2025-02-27T04:00:04.925Z] STF 04:00:04.705 - +------ Step 7 - Removing conf folder from com.test.jLinkDirCopy [2025-02-27T04:00:04.925Z] STF 04:00:04.705 - | Recursively delete a directory [2025-02-27T04:00:04.925Z] STF 04:00:04.705 - | Directory: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/com.test.jLinkDirCopy/conf [2025-02-27T04:00:04.925Z] STF 04:00:04.705 - | [2025-02-27T04:00:04.925Z] STF 04:00:04.706 - [2025-02-27T04:00:04.925Z] STF 04:00:04.706 - +------ Step 8 - Copying .so from com.test.jlink/native [2025-02-27T04:00:04.925Z] STF 04:00:04.706 - | Copy a directory to a new directory [2025-02-27T04:00:04.925Z] STF 04:00:04.706 - | Source dir: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink/native/bin/linux [2025-02-27T04:00:04.925Z] STF 04:00:04.706 - | Dest dir: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/native [2025-02-27T04:00:04.925Z] STF 04:00:04.707 - | [2025-02-27T04:00:04.925Z] STF 04:00:04.709 - [2025-02-27T04:00:04.925Z] STF 04:00:04.709 - +------ Step 9 - Creating jmod of com.test.jlink module [2025-02-27T04:00:04.925Z] STF 04:00:04.709 - | Run jmod utility [2025-02-27T04:00:04.925Z] STF 04:00:04.709 - | jmod: com.test.jlink.jmod [2025-02-27T04:00:04.925Z] STF 04:00:04.709 - | [2025-02-27T04:00:04.925Z] STF 04:00:04.710 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/jdkbinary/j2sdk-image/bin/jmod create --class-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/com.test.jLinkDirCopy --config /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink/conf --libs /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/native /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/tmp/com.test.jlink.jmod [2025-02-27T04:00:04.925Z] STF 04:00:04.710 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/results/9.JMOD.stderr [2025-02-27T04:00:04.926Z] STF 04:00:04.710 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/results/9.JMOD.stdout [2025-02-27T04:00:04.926Z] STF 04:00:04.717 - Monitoring processes: JMOD [2025-02-27T04:00:04.926Z] JMOD stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-27T04:00:06.577Z] STF 04:00:06.078 - Monitoring Report Summary: [2025-02-27T04:00:06.577Z] STF 04:00:06.080 - o Process JMOD ended with the expected exit code (0) [2025-02-27T04:00:06.577Z] STF 04:00:06.081 - [2025-02-27T04:00:06.577Z] STF 04:00:06.081 - +------ Step 10 - Creating jmod for com.hello module [2025-02-27T04:00:06.577Z] STF 04:00:06.082 - | Run jmod utility [2025-02-27T04:00:06.577Z] STF 04:00:06.082 - | jmod: com.hello.jmod [2025-02-27T04:00:06.577Z] STF 04:00:06.082 - | [2025-02-27T04:00:06.577Z] STF 04:00:06.084 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/jdkbinary/j2sdk-image/bin/jmod create --class-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/tmp/com.hello.jmod [2025-02-27T04:00:06.577Z] STF 04:00:06.084 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/results/10.JMOD.stderr [2025-02-27T04:00:06.577Z] STF 04:00:06.084 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/results/10.JMOD.stdout [2025-02-27T04:00:06.577Z] STF 04:00:06.094 - Monitoring processes: JMOD [2025-02-27T04:00:06.577Z] JMOD stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-27T04:00:07.721Z] STF 04:00:07.396 - Monitoring Report Summary: [2025-02-27T04:00:07.721Z] STF 04:00:07.396 - o Process JMOD ended with the expected exit code (0) [2025-02-27T04:00:07.721Z] STF 04:00:07.397 - [2025-02-27T04:00:07.721Z] STF 04:00:07.397 - +------ Step 11 - Check com.test.jlink jmod created [2025-02-27T04:00:07.721Z] STF 04:00:07.397 - | Validate file exists [2025-02-27T04:00:07.721Z] STF 04:00:07.397 - | File: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/tmp/com.test.jlink.jmod [2025-02-27T04:00:07.721Z] STF 04:00:07.397 - | [2025-02-27T04:00:07.721Z] STF 04:00:07.398 - [2025-02-27T04:00:07.721Z] STF 04:00:07.398 - +------ Step 12 - Check com.hello jmod created [2025-02-27T04:00:07.721Z] STF 04:00:07.398 - | Validate file exists [2025-02-27T04:00:07.721Z] STF 04:00:07.398 - | File: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/tmp/com.hello.jmod [2025-02-27T04:00:07.721Z] STF 04:00:07.398 - | [2025-02-27T04:00:07.721Z] STF 04:00:07.398 - SETUP stage completed [2025-02-27T04:00:07.721Z] STF 04:00:07.471 - [2025-02-27T04:00:07.721Z] STF 04:00:07.471 - ==================== E X E C U T E - ==================== [2025-02-27T04:00:07.721Z] STF 04:00:07.472 - Running execute: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/../TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/execute.pl [2025-02-27T04:00:08.058Z] STF 04:00:07.717 - [2025-02-27T04:00:08.058Z] STF 04:00:07.717 - Java version [2025-02-27T04:00:08.058Z] STF 04:00:07.717 - Running: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/jdkbinary/j2sdk-image/bin/java -version [2025-02-27T04:00:08.058Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-27T04:00:08.058Z] openjdk version "21.0.7-beta" 2025-04-15 [2025-02-27T04:00:08.058Z] OpenJDK Runtime Environment Temurin-21.0.7+4-202502262033 (build 21.0.7-beta+4-ea) [2025-02-27T04:00:08.058Z] OpenJDK 64-Bit Server VM Temurin-21.0.7+4-202502262033 (build 21.0.7-beta+4-ea, mixed mode, sharing) [2025-02-27T04:00:08.058Z] STF 04:00:07.965 - [2025-02-27T04:00:08.058Z] STF 04:00:07.965 - +------ Step 13 - Create runtime image [2025-02-27T04:00:08.058Z] STF 04:00:07.966 - | Run jlink to create runtime image [2025-02-27T04:00:08.058Z] STF 04:00:07.966 - | ImageName: CRI1 [2025-02-27T04:00:08.058Z] STF 04:00:07.966 - | [2025-02-27T04:00:08.058Z] STF 04:00:07.967 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/modules --add-modules com.test.jlink --output /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/tmp/13.CRI1 [2025-02-27T04:00:08.058Z] STF 04:00:07.967 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/results/13.JLNK.stderr [2025-02-27T04:00:08.058Z] STF 04:00:07.967 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/results/13.JLNK.stdout [2025-02-27T04:00:08.058Z] STF 04:00:08.007 - Monitoring processes: JLNK [2025-02-27T04:00:08.058Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-27T04:00:16.941Z] STF 04:00:16.315 - Monitoring Report Summary: [2025-02-27T04:00:16.941Z] STF 04:00:16.315 - o Process JLNK ended with the expected exit code (0) [2025-02-27T04:00:16.941Z] STF 04:00:16.317 - [2025-02-27T04:00:16.941Z] STF 04:00:16.317 - +------ Step 14 - Running listmods [2025-02-27T04:00:16.941Z] STF 04:00:16.317 - | Run foreground process [2025-02-27T04:00:16.941Z] STF 04:00:16.318 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/tmp/13.CRI1/bin/java [2025-02-27T04:00:16.941Z] STF 04:00:16.318 - | Mnemonic: LIST [2025-02-27T04:00:16.941Z] STF 04:00:16.318 - | Echo: ECHO_ON [2025-02-27T04:00:16.941Z] STF 04:00:16.318 - | Expectation: CLEAN_RUN within 1m [2025-02-27T04:00:16.941Z] STF 04:00:16.318 - | [2025-02-27T04:00:16.941Z] STF 04:00:16.320 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/tmp/13.CRI1/bin/java --list-modules -XX:-UseCompressedOops [2025-02-27T04:00:16.941Z] STF 04:00:16.320 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/results/14.LIST.stderr [2025-02-27T04:00:16.941Z] STF 04:00:16.320 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/results/14.LIST.stdout [2025-02-27T04:00:16.941Z] STF 04:00:16.326 - Monitoring processes: LIST [2025-02-27T04:00:16.941Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-27T04:00:17.268Z] LIST com.hello [2025-02-27T04:00:17.268Z] LIST com.test.jlink [2025-02-27T04:00:17.268Z] LIST java.base@21.0.7-beta [2025-02-27T04:00:17.268Z] STF 04:00:16.994 - Monitoring Report Summary: [2025-02-27T04:00:17.268Z] STF 04:00:16.994 - o Process LIST ended with the expected exit code (0) [2025-02-27T04:00:17.268Z] STF 04:00:16.995 - [2025-02-27T04:00:17.268Z] STF 04:00:16.995 - +------ Step 15 - Check output [2025-02-27T04:00:17.268Z] STF 04:00:16.995 - | Count file matches [2025-02-27T04:00:17.268Z] STF 04:00:16.995 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/results/14.LIST.stdout [2025-02-27T04:00:17.268Z] STF 04:00:16.996 - | ExpectedNumMatches: 1 [2025-02-27T04:00:17.268Z] STF 04:00:16.996 - | SearchStrings: ["com.hello"] [2025-02-27T04:00:17.268Z] STF 04:00:16.996 - | [2025-02-27T04:00:17.268Z] STF 04:00:16.996 - Found 1 instances of ["com.hello"] [2025-02-27T04:00:17.268Z] STF 04:00:16.996 - [2025-02-27T04:00:17.268Z] STF 04:00:16.996 - +------ Step 16 - Check output [2025-02-27T04:00:17.268Z] STF 04:00:16.996 - | Count file matches [2025-02-27T04:00:17.268Z] STF 04:00:16.996 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/results/14.LIST.stdout [2025-02-27T04:00:17.268Z] STF 04:00:16.996 - | ExpectedNumMatches: 1 [2025-02-27T04:00:17.268Z] STF 04:00:16.996 - | SearchStrings: ["com.test.jlink"] [2025-02-27T04:00:17.268Z] STF 04:00:16.997 - | [2025-02-27T04:00:17.268Z] STF 04:00:16.997 - Found 1 instances of ["com.test.jlink"] [2025-02-27T04:00:17.268Z] STF 04:00:16.997 - [2025-02-27T04:00:17.268Z] STF 04:00:16.997 - +------ Step 17 - Check output [2025-02-27T04:00:17.268Z] STF 04:00:16.997 - | Count file matches [2025-02-27T04:00:17.268Z] STF 04:00:16.997 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/results/14.LIST.stdout [2025-02-27T04:00:17.268Z] STF 04:00:16.997 - | ExpectedNumMatches: 1 [2025-02-27T04:00:17.268Z] STF 04:00:16.997 - | SearchStrings: ["java.base"] [2025-02-27T04:00:17.268Z] STF 04:00:16.997 - | [2025-02-27T04:00:17.268Z] STF 04:00:16.997 - Found 1 instances of ["java.base"] [2025-02-27T04:00:17.268Z] STF 04:00:16.998 - [2025-02-27T04:00:17.268Z] STF 04:00:16.998 - +------ Step 18 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-27T04:00:17.268Z] STF 04:00:16.998 - | Run foreground process [2025-02-27T04:00:17.268Z] STF 04:00:16.998 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/tmp/13.CRI1/bin/java [2025-02-27T04:00:17.268Z] STF 04:00:16.998 - | Mnemonic: T1 [2025-02-27T04:00:17.268Z] STF 04:00:16.998 - | Echo: ECHO_ON [2025-02-27T04:00:17.268Z] STF 04:00:16.998 - | Expectation: CLEAN_RUN within 1m [2025-02-27T04:00:17.268Z] STF 04:00:16.998 - | [2025-02-27T04:00:17.268Z] STF 04:00:16.999 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/tmp/13.CRI1/bin/java -Djava.library.path=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-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 [2025-02-27T04:00:17.268Z] STF 04:00:16.999 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/results/18.T1.stderr [2025-02-27T04:00:17.268Z] STF 04:00:16.999 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/results/18.T1.stdout [2025-02-27T04:00:17.268Z] STF 04:00:17.006 - Monitoring processes: T1 [2025-02-27T04:00:17.268Z] T1 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-27T04:00:18.003Z] T1 JUnit version 4.12 [2025-02-27T04:00:18.351Z] T1 . [2025-02-27T04:00:18.680Z] T1 Time: 0.041 [2025-02-27T04:00:18.680Z] T1 [2025-02-27T04:00:18.680Z] T1 OK (1 test) [2025-02-27T04:00:18.680Z] T1 [2025-02-27T04:00:18.680Z] STF 04:00:18.473 - Monitoring Report Summary: [2025-02-27T04:00:18.680Z] STF 04:00:18.474 - o Process T1 ended with the expected exit code (0) [2025-02-27T04:00:18.680Z] STF 04:00:18.477 - [2025-02-27T04:00:18.680Z] STF 04:00:18.477 - +------ Step 19 - Create runtime image [2025-02-27T04:00:18.680Z] STF 04:00:18.477 - | Run jlink to create runtime image [2025-02-27T04:00:18.680Z] STF 04:00:18.477 - | ImageName: CRI2 [2025-02-27T04:00:18.680Z] STF 04:00:18.477 - | [2025-02-27T04:00:18.680Z] STF 04:00:18.478 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/tmp --add-modules com.test.jlink --output /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/tmp/19.CRI2 [2025-02-27T04:00:18.680Z] STF 04:00:18.479 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/results/19.JLNK.stderr [2025-02-27T04:00:18.680Z] STF 04:00:18.479 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/results/19.JLNK.stdout [2025-02-27T04:00:18.680Z] STF 04:00:18.487 - Monitoring processes: JLNK [2025-02-27T04:00:18.680Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-27T04:00:27.547Z] STF 04:00:26.895 - Monitoring Report Summary: [2025-02-27T04:00:27.547Z] STF 04:00:26.896 - o Process JLNK ended with the expected exit code (0) [2025-02-27T04:00:27.547Z] STF 04:00:26.901 - [2025-02-27T04:00:27.547Z] STF 04:00:26.902 - +------ Step 20 - Running listmods [2025-02-27T04:00:27.547Z] STF 04:00:26.902 - | Run foreground process [2025-02-27T04:00:27.547Z] STF 04:00:26.902 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/tmp/19.CRI2/bin/java [2025-02-27T04:00:27.547Z] STF 04:00:26.903 - | Mnemonic: LIST [2025-02-27T04:00:27.547Z] STF 04:00:26.903 - | Echo: ECHO_ON [2025-02-27T04:00:27.547Z] STF 04:00:26.904 - | Expectation: CLEAN_RUN within 1m [2025-02-27T04:00:27.547Z] STF 04:00:26.904 - | [2025-02-27T04:00:27.547Z] STF 04:00:26.908 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/tmp/19.CRI2/bin/java --list-modules -XX:-UseCompressedOops [2025-02-27T04:00:27.547Z] STF 04:00:26.909 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/results/20.LIST.stderr [2025-02-27T04:00:27.547Z] STF 04:00:26.910 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/results/20.LIST.stdout [2025-02-27T04:00:27.547Z] STF 04:00:26.915 - Monitoring processes: LIST [2025-02-27T04:00:27.547Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-27T04:00:27.889Z] LIST com.hello [2025-02-27T04:00:27.889Z] LIST com.test.jlink [2025-02-27T04:00:27.889Z] LIST java.base@21.0.7-beta [2025-02-27T04:00:27.889Z] STF 04:00:27.559 - Monitoring Report Summary: [2025-02-27T04:00:27.889Z] STF 04:00:27.560 - o Process LIST ended with the expected exit code (0) [2025-02-27T04:00:27.889Z] STF 04:00:27.560 - [2025-02-27T04:00:27.889Z] STF 04:00:27.560 - +------ Step 21 - Check output [2025-02-27T04:00:27.889Z] STF 04:00:27.562 - | Count file matches [2025-02-27T04:00:27.889Z] STF 04:00:27.562 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/results/20.LIST.stdout [2025-02-27T04:00:27.889Z] STF 04:00:27.562 - | ExpectedNumMatches: 1 [2025-02-27T04:00:27.889Z] STF 04:00:27.562 - | SearchStrings: ["com.hello"] [2025-02-27T04:00:27.889Z] STF 04:00:27.562 - | [2025-02-27T04:00:27.889Z] STF 04:00:27.563 - Found 1 instances of ["com.hello"] [2025-02-27T04:00:27.889Z] STF 04:00:27.563 - [2025-02-27T04:00:27.889Z] STF 04:00:27.563 - +------ Step 22 - Check output [2025-02-27T04:00:27.889Z] STF 04:00:27.563 - | Count file matches [2025-02-27T04:00:27.889Z] STF 04:00:27.563 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/results/20.LIST.stdout [2025-02-27T04:00:27.889Z] STF 04:00:27.563 - | ExpectedNumMatches: 1 [2025-02-27T04:00:27.889Z] STF 04:00:27.563 - | SearchStrings: ["com.test.jlink"] [2025-02-27T04:00:27.889Z] STF 04:00:27.563 - | [2025-02-27T04:00:27.889Z] STF 04:00:27.564 - Found 1 instances of ["com.test.jlink"] [2025-02-27T04:00:27.889Z] STF 04:00:27.564 - [2025-02-27T04:00:27.889Z] STF 04:00:27.564 - +------ Step 23 - Check output [2025-02-27T04:00:27.889Z] STF 04:00:27.564 - | Count file matches [2025-02-27T04:00:27.889Z] STF 04:00:27.564 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/results/20.LIST.stdout [2025-02-27T04:00:27.889Z] STF 04:00:27.564 - | ExpectedNumMatches: 1 [2025-02-27T04:00:27.889Z] STF 04:00:27.564 - | SearchStrings: ["java.base"] [2025-02-27T04:00:27.889Z] STF 04:00:27.565 - | [2025-02-27T04:00:27.889Z] STF 04:00:27.565 - Found 1 instances of ["java.base"] [2025-02-27T04:00:27.889Z] STF 04:00:27.565 - [2025-02-27T04:00:27.889Z] STF 04:00:27.565 - +------ Step 24 - Running adoptopenjdk.test.modularity.jlink.JniTest [2025-02-27T04:00:27.889Z] STF 04:00:27.565 - | Run foreground process [2025-02-27T04:00:27.889Z] STF 04:00:27.566 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/tmp/19.CRI2/bin/java [2025-02-27T04:00:27.889Z] STF 04:00:27.566 - | Mnemonic: T2 [2025-02-27T04:00:27.889Z] STF 04:00:27.566 - | Echo: ECHO_ON [2025-02-27T04:00:27.889Z] STF 04:00:27.566 - | Expectation: CLEAN_RUN within 1m [2025-02-27T04:00:27.889Z] STF 04:00:27.566 - | [2025-02-27T04:00:27.890Z] STF 04:00:27.567 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/tmp/19.CRI2/bin/java -Djava.library.path=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-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 [2025-02-27T04:00:27.890Z] STF 04:00:27.567 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/results/24.T2.stderr [2025-02-27T04:00:27.890Z] STF 04:00:27.568 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/results/24.T2.stdout [2025-02-27T04:00:27.890Z] STF 04:00:27.575 - Monitoring processes: T2 [2025-02-27T04:00:27.890Z] T2 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-27T04:00:28.595Z] T2 JUnit version 4.12 [2025-02-27T04:00:28.921Z] T2 . [2025-02-27T04:00:28.921Z] T2 Time: 0.042 [2025-02-27T04:00:28.921Z] T2 [2025-02-27T04:00:28.921Z] T2 OK (1 test) [2025-02-27T04:00:28.921Z] T2 [2025-02-27T04:00:29.253Z] STF 04:00:28.967 - Monitoring Report Summary: [2025-02-27T04:00:29.253Z] STF 04:00:28.967 - o Process T2 ended with the expected exit code (0) [2025-02-27T04:00:29.253Z] STF 04:00:28.968 - [2025-02-27T04:00:29.253Z] STF 04:00:28.968 - +------ Step 25 - Create runtime image [2025-02-27T04:00:29.253Z] STF 04:00:28.968 - | Run jlink to create runtime image [2025-02-27T04:00:29.253Z] STF 04:00:28.968 - | ImageName: CRI3 [2025-02-27T04:00:29.253Z] STF 04:00:28.968 - | [2025-02-27T04:00:29.253Z] STF 04:00:28.969 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/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/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/tmp/25.CRI3 [2025-02-27T04:00:29.253Z] STF 04:00:28.970 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/results/25.JLNK.stderr [2025-02-27T04:00:29.253Z] STF 04:00:28.970 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/results/25.JLNK.stdout [2025-02-27T04:00:29.253Z] STF 04:00:28.978 - Monitoring processes: JLNK [2025-02-27T04:00:29.253Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-27T04:00:38.133Z] STF 04:00:37.665 - Monitoring Report Summary: [2025-02-27T04:00:38.133Z] STF 04:00:37.666 - o Process JLNK ended with the expected exit code (0) [2025-02-27T04:00:38.133Z] STF 04:00:37.669 - [2025-02-27T04:00:38.133Z] STF 04:00:37.669 - +------ Step 26 - Running listmods [2025-02-27T04:00:38.133Z] STF 04:00:37.670 - | Run foreground process [2025-02-27T04:00:38.133Z] STF 04:00:37.670 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/tmp/25.CRI3/bin/java [2025-02-27T04:00:38.133Z] STF 04:00:37.670 - | Mnemonic: LIST [2025-02-27T04:00:38.133Z] STF 04:00:37.671 - | Echo: ECHO_ON [2025-02-27T04:00:38.133Z] STF 04:00:37.671 - | Expectation: CLEAN_RUN within 1m [2025-02-27T04:00:38.133Z] STF 04:00:37.671 - | [2025-02-27T04:00:38.133Z] STF 04:00:37.675 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/tmp/25.CRI3/bin/java --list-modules -XX:-UseCompressedOops [2025-02-27T04:00:38.133Z] STF 04:00:37.675 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/results/26.LIST.stderr [2025-02-27T04:00:38.133Z] STF 04:00:37.675 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/results/26.LIST.stdout [2025-02-27T04:00:38.133Z] STF 04:00:37.684 - Monitoring processes: LIST [2025-02-27T04:00:38.133Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-27T04:00:38.836Z] LIST com.hello [2025-02-27T04:00:38.836Z] LIST com.test.jlink [2025-02-27T04:00:38.836Z] LIST java.base@21.0.7-beta [2025-02-27T04:00:38.836Z] STF 04:00:38.353 - Monitoring Report Summary: [2025-02-27T04:00:38.836Z] STF 04:00:38.353 - o Process LIST ended with the expected exit code (0) [2025-02-27T04:00:38.836Z] STF 04:00:38.354 - [2025-02-27T04:00:38.836Z] STF 04:00:38.354 - +------ Step 27 - Check output [2025-02-27T04:00:38.836Z] STF 04:00:38.354 - | Count file matches [2025-02-27T04:00:38.836Z] STF 04:00:38.355 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/results/26.LIST.stdout [2025-02-27T04:00:38.836Z] STF 04:00:38.355 - | ExpectedNumMatches: 1 [2025-02-27T04:00:38.836Z] STF 04:00:38.355 - | SearchStrings: ["com.hello"] [2025-02-27T04:00:38.836Z] STF 04:00:38.355 - | [2025-02-27T04:00:38.836Z] STF 04:00:38.355 - Found 1 instances of ["com.hello"] [2025-02-27T04:00:38.836Z] STF 04:00:38.355 - [2025-02-27T04:00:38.836Z] STF 04:00:38.355 - +------ Step 28 - Check output [2025-02-27T04:00:38.836Z] STF 04:00:38.355 - | Count file matches [2025-02-27T04:00:38.836Z] STF 04:00:38.356 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/results/26.LIST.stdout [2025-02-27T04:00:38.836Z] STF 04:00:38.356 - | ExpectedNumMatches: 1 [2025-02-27T04:00:38.836Z] STF 04:00:38.356 - | SearchStrings: ["com.test.jlink"] [2025-02-27T04:00:38.836Z] STF 04:00:38.356 - | [2025-02-27T04:00:38.836Z] STF 04:00:38.356 - Found 1 instances of ["com.test.jlink"] [2025-02-27T04:00:38.836Z] STF 04:00:38.356 - [2025-02-27T04:00:38.836Z] STF 04:00:38.356 - +------ Step 29 - Check output [2025-02-27T04:00:38.836Z] STF 04:00:38.357 - | Count file matches [2025-02-27T04:00:38.836Z] STF 04:00:38.357 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/results/26.LIST.stdout [2025-02-27T04:00:38.836Z] STF 04:00:38.357 - | ExpectedNumMatches: 1 [2025-02-27T04:00:38.836Z] STF 04:00:38.357 - | SearchStrings: ["java.base"] [2025-02-27T04:00:38.836Z] STF 04:00:38.357 - | [2025-02-27T04:00:38.836Z] STF 04:00:38.357 - Found 1 instances of ["java.base"] [2025-02-27T04:00:38.836Z] STF 04:00:38.357 - [2025-02-27T04:00:38.836Z] STF 04:00:38.357 - +------ Step 30 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-27T04:00:38.836Z] STF 04:00:38.357 - | Run foreground process [2025-02-27T04:00:38.836Z] STF 04:00:38.358 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/tmp/25.CRI3/bin/java [2025-02-27T04:00:38.836Z] STF 04:00:38.358 - | Mnemonic: T3 [2025-02-27T04:00:38.836Z] STF 04:00:38.358 - | Echo: ECHO_ON [2025-02-27T04:00:38.836Z] STF 04:00:38.358 - | Expectation: CLEAN_RUN within 1m [2025-02-27T04:00:38.836Z] STF 04:00:38.358 - | [2025-02-27T04:00:38.836Z] STF 04:00:38.359 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/tmp/25.CRI3/bin/java -Djava.library.path=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-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 [2025-02-27T04:00:38.836Z] STF 04:00:38.359 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/results/30.T3.stderr [2025-02-27T04:00:38.836Z] STF 04:00:38.360 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/results/30.T3.stdout [2025-02-27T04:00:38.836Z] STF 04:00:38.368 - Monitoring processes: T3 [2025-02-27T04:00:38.836Z] T3 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-27T04:00:39.163Z] T3 JUnit version 4.12 [2025-02-27T04:00:39.879Z] T3 . [2025-02-27T04:00:39.879Z] T3 Time: 0.043 [2025-02-27T04:00:39.879Z] T3 [2025-02-27T04:00:39.879Z] T3 OK (1 test) [2025-02-27T04:00:39.879Z] T3 [2025-02-27T04:00:40.211Z] STF 04:00:39.798 - Monitoring Report Summary: [2025-02-27T04:00:40.211Z] STF 04:00:39.799 - o Process T3 ended with the expected exit code (0) [2025-02-27T04:00:40.211Z] STF 04:00:39.800 - EXECUTE stage completed [2025-02-27T04:00:40.211Z] STF 04:00:40.071 - [2025-02-27T04:00:40.211Z] STF 04:00:40.071 - ==================== T E A R D O W N ==================== [2025-02-27T04:00:40.211Z] STF 04:00:40.071 - Running teardown: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux/aqa-tests/TKG/../TKG/output_17406272208319/Jlink_ReqMod_1/20250227-035955-JlinkTest/tearDown.pl [2025-02-27T04:00:40.535Z] STF 04:00:40.308 - TEARDOWN stage completed [2025-02-27T04:00:40.535Z] STF 04:00:40.321 - [2025-02-27T04:00:40.535Z] STF 04:00:40.321 - ===================== R E S U L T S ===================== [2025-02-27T04:00:40.535Z] STF 04:00:40.321 - Stage results: [2025-02-27T04:00:40.535Z] STF 04:00:40.322 - setUp: pass [2025-02-27T04:00:40.535Z] STF 04:00:40.322 - execute: pass [2025-02-27T04:00:40.535Z] STF 04:00:40.322 - teardown: pass [2025-02-27T04:00:40.535Z] STF 04:00:40.322 - [2025-02-27T04:00:40.535Z] STF 04:00:40.322 - Overall result: PASSED [2025-02-27T04:00:40.535Z] ----------------------------------- [2025-02-27T04:00:40.535Z] Jlink_ReqMod_1_PASSED [2025-02-27T04:00:40.535Z] ----------------------------------- [2025-02-27T04:00:40.861Z] [2025-02-27T04:00:40.861Z] TEST TEARDOWN: [2025-02-27T04:00:40.861Z] Nothing to be done for teardown. [2025-02-27T04:00:40.861Z] Jlink_ReqMod_1 Finish Time: Thu Feb 27 04:00:40 2025 Epoch Time (ms): 1740628840647