PatModImg_AppMod_0

[2026-01-09T09:03:15.635Z] Running test PatModImg_AppMod_0 ... [2026-01-09T09:03:15.635Z] =============================================== [2026-01-09T09:03:15.635Z] PatModImg_AppMod_0 Start Time: Fri Jan 9 09:03:15 2026 Epoch Time (ms): 1767949395594 [2026-01-09T09:03:15.635Z] variation: Mode150 [2026-01-09T09:03:15.635Z] JVM_OPTIONS: -XX:+UseCompressedOops [2026-01-09T09:03:15.635Z] { \ [2026-01-09T09:03:15.635Z] echo ""; echo "TEST SETUP:"; \ [2026-01-09T09:03:15.635Z] echo "Nothing to be done for setup."; \ [2026-01-09T09:03:15.635Z] mkdir -p "/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_1767942859811/PatModImg_AppMod_0"; \ [2026-01-09T09:03:15.635Z] cd "/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_1767942859811/PatModImg_AppMod_0"; \ [2026-01-09T09:03:15.635Z] echo ""; echo "TESTING:"; \ [2026-01-09T09:03:15.635Z] perl /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/../../externalDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_1767942859811/PatModImg_AppMod_0" -test=PatModImgTest -test-args="variant=AppMod"; \ [2026-01-09T09:03:15.635Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_0""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_1767942859811/PatModImg_AppMod_0"; else echo "-----------------------------------"; echo "PatModImg_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2026-01-09T09:03:15.635Z] echo ""; echo "TEST TEARDOWN:"; \ [2026-01-09T09:03:15.635Z] echo "Nothing to be done for teardown."; \ [2026-01-09T09:03:15.635Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_1767942859811/TestTargetResult"; [2026-01-09T09:03:15.635Z] [2026-01-09T09:03:15.635Z] TEST SETUP: [2026-01-09T09:03:15.635Z] Nothing to be done for setup. [2026-01-09T09:03:15.635Z] [2026-01-09T09:03:15.635Z] TESTING: [2026-01-09T09:03:15.959Z] STF 09:03:15.856 - ========================= S T F ========================= [2026-01-09T09:03:15.959Z] systemtest-prereqs has been processed, and set to: /home/jenkins/externalDependency/system_libRetrieving amount of free space on drive containing /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_1767942859811/PatModImg_AppMod_0 [2026-01-09T09:03:15.959Z] There is 19583 Mb free [2026-01-09T09:03:15.959Z] STF 09:03:15.876 - ================== G E N E R A T I O N ================== [2026-01-09T09:03:15.959Z] STF 09:03:15.880 - Checking JVM: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image [2026-01-09T09:03:15.959Z] STF 09:03:15.880 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/../../externalDependency/system_lib//asm/asm.jar:/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/../../externalDependency/system_lib//asm/asm-commons.jar:/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/../../externalDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/../../externalDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_1767942859811/PatModImg_AppMod_0/20260109-090315-PatModImgTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_1767942859811/PatModImg_AppMod_0/20260109-090315-PatModImgTest" [2026-01-09T09:03:16.284Z] GEN [0.012s][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 [2026-01-09T09:03:20.965Z] GEN 09:03:20.384 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2026-01-09T09:03:20.965Z] GEN 09:03:20.401 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2026-01-09T09:03:20.965Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2026-01-09T09:03:20.965Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2026-01-09T09:03:20.965Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2026-01-09T09:03:20.965Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2026-01-09T09:03:20.965Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2026-01-09T09:03:20.965Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2026-01-09T09:03:20.965Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2026-01-09T09:03:20.965Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2026-01-09T09:03:20.965Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2026-01-09T09:03:20.965Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2026-01-09T09:03:20.965Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2026-01-09T09:03:20.965Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2026-01-09T09:03:20.965Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2026-01-09T09:03:20.965Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2026-01-09T09:03:20.965Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2026-01-09T09:03:20.965Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2026-01-09T09:03:20.965Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/STF/stf.core/bin [2026-01-09T09:03:20.965Z] GEN /home/jenkins/externalDependency/system_lib/log4j/log4j-api.jar [2026-01-09T09:03:20.965Z] GEN /home/jenkins/externalDependency/system_lib/log4j/log4j-core.jar [2026-01-09T09:03:20.965Z] GEN /home/jenkins/externalDependency/system_lib/junit/junit.jar [2026-01-09T09:03:21.285Z] GEN 09:03:20.978 - Using Mode NoOptions. Values = '' [2026-01-09T09:03:21.285Z] GEN 09:03:21.259 - [2026-01-09T09:03:21.285Z] GEN 09:03:21.260 - Test command summary: [2026-01-09T09:03:21.285Z] GEN 09:03:21.262 - Step Stage Command Description [2026-01-09T09:03:21.285Z] GEN 09:03:21.263 - -----+--------+-----------------+------------ [2026-01-09T09:03:21.285Z] GEN 09:03:21.264 - 1 execute jar Create com.hello jar [2026-01-09T09:03:21.285Z] GEN 09:03:21.265 - 2 execute jar Create com.hola jar [2026-01-09T09:03:21.611Z] GEN 09:03:21.265 - 3 execute jar Create com.helper jar [2026-01-09T09:03:21.611Z] GEN 09:03:21.266 - 4 execute jar Create com.discreet jar [2026-01-09T09:03:21.611Z] GEN 09:03:21.267 - 5 execute jar Create tests jar [2026-01-09T09:03:21.611Z] GEN 09:03:21.267 - 6 execute jlink Create runtime image for PatchModule test [2026-01-09T09:03:21.611Z] GEN 09:03:21.268 - 7 execute jar Create com.hello jar [2026-01-09T09:03:21.611Z] GEN 09:03:21.269 - 8 execute jar create java.xml.jar [2026-01-09T09:03:21.611Z] GEN 09:03:21.270 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2026-01-09T09:03:21.611Z] GEN 09:03:21.270 - 10 execute Run java Verify if we can patch an Application module using modular jar [2026-01-09T09:03:21.611Z] STF 09:03:21.405 - [2026-01-09T09:03:21.611Z] STF 09:03:21.405 - Script generation completed [2026-01-09T09:03:21.611Z] STF 09:03:21.405 - [2026-01-09T09:03:21.611Z] STF 09:03:21.407 - [2026-01-09T09:03:21.611Z] STF 09:03:21.407 - ======================= S E T U P ======================= [2026-01-09T09:03:21.611Z] STF 09:03:21.407 - Running setup: perl /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_1767942859811/PatModImg_AppMod_0/20260109-090315-PatModImgTest/setUp.pl [2026-01-09T09:03:21.935Z] STF 09:03:21.641 - SETUP stage completed [2026-01-09T09:03:21.936Z] STF 09:03:21.648 - [2026-01-09T09:03:21.936Z] STF 09:03:21.648 - ==================== E X E C U T E - ==================== [2026-01-09T09:03:21.936Z] STF 09:03:21.649 - Running execute: perl /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_1767942859811/PatModImg_AppMod_0/20260109-090315-PatModImgTest/execute.pl [2026-01-09T09:03:21.936Z] STF 09:03:21.879 - [2026-01-09T09:03:21.936Z] STF 09:03:21.879 - Java version [2026-01-09T09:03:21.936Z] STF 09:03:21.879 - Running: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/java -version [2026-01-09T09:03:22.271Z] openjdk version "26-beta" 2026-03-17 [2026-01-09T09:03:22.271Z] OpenJDK Runtime Environment Temurin-26+30-202601090329 (build 26-beta+30-ea) [2026-01-09T09:03:22.271Z] OpenJDK 64-Bit Server VM Temurin-26+30-202601090329 (build 26-beta+30-ea, mixed mode, sharing) [2026-01-09T09:03:22.271Z] STF 09:03:22.068 - [2026-01-09T09:03:22.271Z] STF 09:03:22.068 - +------ Step 1 - Create com.hello jar [2026-01-09T09:03:22.271Z] STF 09:03:22.068 - | Create modular jar [2026-01-09T09:03:22.271Z] STF 09:03:22.068 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2026-01-09T09:03:22.271Z] STF 09:03:22.068 - | ModuleVersion: null [2026-01-09T09:03:22.271Z] STF 09:03:22.068 - | MainClass: null [2026-01-09T09:03:22.271Z] STF 09:03:22.068 - | HashModules: null [2026-01-09T09:03:22.271Z] STF 09:03:22.068 - | [2026-01-09T09:03:22.271Z] STF 09:03:22.070 - Running command: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_1767942859811/PatModImg_AppMod_0/20260109-090315-PatModImgTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2026-01-09T09:03:22.271Z] STF 09:03:22.070 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_1767942859811/PatModImg_AppMod_0/20260109-090315-PatModImgTest/results/1.CMJ.stderr [2026-01-09T09:03:22.271Z] STF 09:03:22.070 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_1767942859811/PatModImg_AppMod_0/20260109-090315-PatModImgTest/results/1.CMJ.stdout [2026-01-09T09:03:22.271Z] STF 09:03:22.109 - Monitoring processes: CMJ [2026-01-09T09:03:23.397Z] STF 09:03:23.099 - Monitoring Report Summary: [2026-01-09T09:03:23.397Z] STF 09:03:23.100 - o Process CMJ ended with the expected exit code (0) [2026-01-09T09:03:23.397Z] STF 09:03:23.100 - Created modular jar: 1.com.hello.jar [2026-01-09T09:03:23.397Z] STF 09:03:23.100 - [2026-01-09T09:03:23.397Z] STF 09:03:23.100 - +------ Step 2 - Create com.hola jar [2026-01-09T09:03:23.397Z] STF 09:03:23.100 - | Create modular jar [2026-01-09T09:03:23.397Z] STF 09:03:23.101 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2026-01-09T09:03:23.397Z] STF 09:03:23.101 - | ModuleVersion: null [2026-01-09T09:03:23.397Z] STF 09:03:23.101 - | MainClass: null [2026-01-09T09:03:23.397Z] STF 09:03:23.101 - | HashModules: null [2026-01-09T09:03:23.397Z] STF 09:03:23.101 - | [2026-01-09T09:03:23.397Z] STF 09:03:23.101 - Running command: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_1767942859811/PatModImg_AppMod_0/20260109-090315-PatModImgTest/modules/2.com.hola.jar -C /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2026-01-09T09:03:23.397Z] STF 09:03:23.102 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_1767942859811/PatModImg_AppMod_0/20260109-090315-PatModImgTest/results/2.CMJ.stderr [2026-01-09T09:03:23.397Z] STF 09:03:23.102 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_1767942859811/PatModImg_AppMod_0/20260109-090315-PatModImgTest/results/2.CMJ.stdout [2026-01-09T09:03:23.397Z] STF 09:03:23.105 - Monitoring processes: CMJ [2026-01-09T09:03:24.229Z] STF 09:03:24.123 - Monitoring Report Summary: [2026-01-09T09:03:24.229Z] STF 09:03:24.124 - o Process CMJ ended with the expected exit code (0) [2026-01-09T09:03:24.229Z] STF 09:03:24.125 - Created modular jar: 2.com.hola.jar [2026-01-09T09:03:24.229Z] STF 09:03:24.125 - [2026-01-09T09:03:24.229Z] STF 09:03:24.125 - +------ Step 3 - Create com.helper jar [2026-01-09T09:03:24.229Z] STF 09:03:24.125 - | Create modular jar [2026-01-09T09:03:24.229Z] STF 09:03:24.125 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2026-01-09T09:03:24.229Z] STF 09:03:24.125 - | ModuleVersion: null [2026-01-09T09:03:24.229Z] STF 09:03:24.125 - | MainClass: null [2026-01-09T09:03:24.229Z] STF 09:03:24.125 - | HashModules: null [2026-01-09T09:03:24.229Z] STF 09:03:24.125 - | [2026-01-09T09:03:24.229Z] STF 09:03:24.126 - Running command: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_1767942859811/PatModImg_AppMod_0/20260109-090315-PatModImgTest/modules/3.com.helper.jar -C /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2026-01-09T09:03:24.229Z] STF 09:03:24.127 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_1767942859811/PatModImg_AppMod_0/20260109-090315-PatModImgTest/results/3.CMJ.stderr [2026-01-09T09:03:24.229Z] STF 09:03:24.127 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_1767942859811/PatModImg_AppMod_0/20260109-090315-PatModImgTest/results/3.CMJ.stdout [2026-01-09T09:03:24.229Z] STF 09:03:24.131 - Monitoring processes: CMJ [2026-01-09T09:03:25.359Z] STF 09:03:25.187 - Monitoring Report Summary: [2026-01-09T09:03:25.359Z] STF 09:03:25.187 - o Process CMJ ended with the expected exit code (0) [2026-01-09T09:03:25.359Z] STF 09:03:25.188 - Created modular jar: 3.com.helper.jar [2026-01-09T09:03:25.359Z] STF 09:03:25.188 - [2026-01-09T09:03:25.359Z] STF 09:03:25.188 - +------ Step 4 - Create com.discreet jar [2026-01-09T09:03:25.359Z] STF 09:03:25.188 - | Create modular jar [2026-01-09T09:03:25.359Z] STF 09:03:25.188 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2026-01-09T09:03:25.359Z] STF 09:03:25.188 - | ModuleVersion: null [2026-01-09T09:03:25.359Z] STF 09:03:25.189 - | MainClass: null [2026-01-09T09:03:25.359Z] STF 09:03:25.189 - | HashModules: null [2026-01-09T09:03:25.359Z] STF 09:03:25.189 - | [2026-01-09T09:03:25.359Z] STF 09:03:25.190 - Running command: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_1767942859811/PatModImg_AppMod_0/20260109-090315-PatModImgTest/modules/4.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2026-01-09T09:03:25.359Z] STF 09:03:25.190 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_1767942859811/PatModImg_AppMod_0/20260109-090315-PatModImgTest/results/4.CMJ.stderr [2026-01-09T09:03:25.359Z] STF 09:03:25.190 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_1767942859811/PatModImg_AppMod_0/20260109-090315-PatModImgTest/results/4.CMJ.stdout [2026-01-09T09:03:25.359Z] STF 09:03:25.197 - Monitoring processes: CMJ [2026-01-09T09:03:26.487Z] STF 09:03:26.188 - Monitoring Report Summary: [2026-01-09T09:03:26.487Z] STF 09:03:26.188 - o Process CMJ ended with the expected exit code (0) [2026-01-09T09:03:26.487Z] STF 09:03:26.189 - Created modular jar: 4.com.discreet.jar [2026-01-09T09:03:26.487Z] STF 09:03:26.189 - [2026-01-09T09:03:26.487Z] STF 09:03:26.189 - +------ Step 5 - Create tests jar [2026-01-09T09:03:26.487Z] STF 09:03:26.189 - | Create modular jar [2026-01-09T09:03:26.487Z] STF 09:03:26.189 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2026-01-09T09:03:26.487Z] STF 09:03:26.189 - | ModuleVersion: null [2026-01-09T09:03:26.487Z] STF 09:03:26.189 - | MainClass: null [2026-01-09T09:03:26.487Z] STF 09:03:26.189 - | HashModules: null [2026-01-09T09:03:26.487Z] STF 09:03:26.190 - | [2026-01-09T09:03:26.487Z] STF 09:03:26.191 - Running command: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_1767942859811/PatModImg_AppMod_0/20260109-090315-PatModImgTest/modules/5.com.test.jar -C /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2026-01-09T09:03:26.487Z] STF 09:03:26.191 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_1767942859811/PatModImg_AppMod_0/20260109-090315-PatModImgTest/results/5.CMJ.stderr [2026-01-09T09:03:26.487Z] STF 09:03:26.191 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_1767942859811/PatModImg_AppMod_0/20260109-090315-PatModImgTest/results/5.CMJ.stdout [2026-01-09T09:03:26.487Z] STF 09:03:26.197 - Monitoring processes: CMJ [2026-01-09T09:03:27.616Z] STF 09:03:27.224 - Monitoring Report Summary: [2026-01-09T09:03:27.616Z] STF 09:03:27.224 - o Process CMJ ended with the expected exit code (0) [2026-01-09T09:03:27.616Z] STF 09:03:27.225 - Created modular jar: 5.com.test.jar [2026-01-09T09:03:27.616Z] STF 09:03:27.225 - [2026-01-09T09:03:27.616Z] STF 09:03:27.225 - +------ Step 6 - Create runtime image for PatchModule test [2026-01-09T09:03:27.616Z] STF 09:03:27.225 - | Run jlink to create runtime image [2026-01-09T09:03:27.616Z] STF 09:03:27.225 - | ImageName: XpJVM [2026-01-09T09:03:27.616Z] STF 09:03:27.225 - | [2026-01-09T09:03:27.616Z] STF 09:03:27.226 - Running command: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_1767942859811/PatModImg_AppMod_0/20260109-090315-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_1767942859811/PatModImg_AppMod_0/20260109-090315-PatModImgTest/tmp/6.XpJVM [2026-01-09T09:03:27.616Z] STF 09:03:27.226 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_1767942859811/PatModImg_AppMod_0/20260109-090315-PatModImgTest/results/6.JLNK.stderr [2026-01-09T09:03:27.616Z] STF 09:03:27.226 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_1767942859811/PatModImg_AppMod_0/20260109-090315-PatModImgTest/results/6.JLNK.stdout [2026-01-09T09:03:27.616Z] STF 09:03:27.234 - Monitoring processes: JLNK [2026-01-09T09:03:36.471Z] STF 09:03:36.332 - Monitoring Report Summary: [2026-01-09T09:03:36.471Z] STF 09:03:36.333 - o Process JLNK ended with the expected exit code (0) [2026-01-09T09:03:36.472Z] STF 09:03:36.335 - [2026-01-09T09:03:36.472Z] STF 09:03:36.335 - +------ Step 7 - Create com.hello jar [2026-01-09T09:03:36.472Z] STF 09:03:36.335 - | Create modular jar [2026-01-09T09:03:36.472Z] STF 09:03:36.335 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2026-01-09T09:03:36.472Z] STF 09:03:36.335 - | ModuleVersion: null [2026-01-09T09:03:36.472Z] STF 09:03:36.335 - | MainClass: null [2026-01-09T09:03:36.472Z] STF 09:03:36.335 - | HashModules: null [2026-01-09T09:03:36.472Z] STF 09:03:36.335 - | [2026-01-09T09:03:36.472Z] STF 09:03:36.337 - Running command: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_1767942859811/PatModImg_AppMod_0/20260109-090315-PatModImgTest/modules/7.com.hello.jar -C /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2026-01-09T09:03:36.472Z] STF 09:03:36.337 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_1767942859811/PatModImg_AppMod_0/20260109-090315-PatModImgTest/results/7.CMJ.stderr [2026-01-09T09:03:36.472Z] STF 09:03:36.337 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_1767942859811/PatModImg_AppMod_0/20260109-090315-PatModImgTest/results/7.CMJ.stdout [2026-01-09T09:03:36.472Z] STF 09:03:36.347 - Monitoring processes: CMJ [2026-01-09T09:03:37.601Z] STF 09:03:37.324 - Monitoring Report Summary: [2026-01-09T09:03:37.601Z] STF 09:03:37.324 - o Process CMJ ended with the expected exit code (0) [2026-01-09T09:03:37.601Z] STF 09:03:37.325 - Created modular jar: 7.com.hello.jar [2026-01-09T09:03:37.601Z] STF 09:03:37.325 - [2026-01-09T09:03:37.601Z] STF 09:03:37.325 - +------ Step 8 - create java.xml.jar [2026-01-09T09:03:37.601Z] STF 09:03:37.325 - | Create modular jar [2026-01-09T09:03:37.601Z] STF 09:03:37.326 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2026-01-09T09:03:37.601Z] STF 09:03:37.326 - | ModuleVersion: null [2026-01-09T09:03:37.601Z] STF 09:03:37.326 - | MainClass: null [2026-01-09T09:03:37.601Z] STF 09:03:37.326 - | HashModules: null [2026-01-09T09:03:37.601Z] STF 09:03:37.326 - | [2026-01-09T09:03:37.601Z] STF 09:03:37.327 - Running command: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_1767942859811/PatModImg_AppMod_0/20260109-090315-PatModImgTest/modules/8.java.xml.jar -C /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2026-01-09T09:03:37.601Z] STF 09:03:37.327 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_1767942859811/PatModImg_AppMod_0/20260109-090315-PatModImgTest/results/8.CMJ.stderr [2026-01-09T09:03:37.601Z] STF 09:03:37.327 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_1767942859811/PatModImg_AppMod_0/20260109-090315-PatModImgTest/results/8.CMJ.stdout [2026-01-09T09:03:37.601Z] STF 09:03:37.335 - Monitoring processes: CMJ [2026-01-09T09:03:38.731Z] STF 09:03:38.313 - Monitoring Report Summary: [2026-01-09T09:03:38.731Z] STF 09:03:38.313 - o Process CMJ ended with the expected exit code (0) [2026-01-09T09:03:38.731Z] STF 09:03:38.314 - Created modular jar: 8.java.xml.jar [2026-01-09T09:03:38.731Z] STF 09:03:38.314 - [2026-01-09T09:03:38.731Z] STF 09:03:38.314 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2026-01-09T09:03:38.731Z] STF 09:03:38.314 - | Run foreground process [2026-01-09T09:03:38.731Z] STF 09:03:38.314 - | Program: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_1767942859811/PatModImg_AppMod_0/20260109-090315-PatModImgTest/tmp/6.XpJVM/bin/java [2026-01-09T09:03:38.731Z] STF 09:03:38.314 - | Mnemonic: OT21 [2026-01-09T09:03:38.731Z] STF 09:03:38.314 - | Echo: ECHO_ON [2026-01-09T09:03:38.731Z] STF 09:03:38.314 - | Expectation: CLEAN_RUN within 5m [2026-01-09T09:03:38.731Z] STF 09:03:38.314 - | [2026-01-09T09:03:38.731Z] STF 09:03:38.316 - Running command: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_1767942859811/PatModImg_AppMod_0/20260109-090315-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello -XX:+UseCompressedOops -classpath /home/jenkins/externalDependency/system_lib/junit/junit.jar:/home/jenkins/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2026-01-09T09:03:38.731Z] STF 09:03:38.316 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_1767942859811/PatModImg_AppMod_0/20260109-090315-PatModImgTest/results/9.OT21.stderr [2026-01-09T09:03:38.731Z] STF 09:03:38.316 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_1767942859811/PatModImg_AppMod_0/20260109-090315-PatModImgTest/results/9.OT21.stdout [2026-01-09T09:03:38.731Z] STF 09:03:38.325 - Monitoring processes: OT21 [2026-01-09T09:03:39.424Z] OT21 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello [2026-01-09T09:03:39.745Z] OT21 JUnit version 4.12 [2026-01-09T09:03:40.065Z] OT21 . [2026-01-09T09:03:40.391Z] OT21 Time: 0.055 [2026-01-09T09:03:40.391Z] OT21 [2026-01-09T09:03:40.391Z] OT21 OK (1 test) [2026-01-09T09:03:40.391Z] OT21 [2026-01-09T09:03:40.391Z] STF 09:03:40.143 - Monitoring Report Summary: [2026-01-09T09:03:40.391Z] STF 09:03:40.143 - o Process OT21 ended with the expected exit code (0) [2026-01-09T09:03:40.391Z] STF 09:03:40.145 - [2026-01-09T09:03:40.391Z] STF 09:03:40.145 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2026-01-09T09:03:40.391Z] STF 09:03:40.146 - | Run foreground process [2026-01-09T09:03:40.391Z] STF 09:03:40.146 - | Program: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_1767942859811/PatModImg_AppMod_0/20260109-090315-PatModImgTest/tmp/6.XpJVM/bin/java [2026-01-09T09:03:40.391Z] STF 09:03:40.146 - | Mnemonic: OT22 [2026-01-09T09:03:40.391Z] STF 09:03:40.146 - | Echo: ECHO_ON [2026-01-09T09:03:40.391Z] STF 09:03:40.146 - | Expectation: CLEAN_RUN within 5m [2026-01-09T09:03:40.391Z] STF 09:03:40.147 - | [2026-01-09T09:03:40.391Z] STF 09:03:40.149 - Running command: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_1767942859811/PatModImg_AppMod_0/20260109-090315-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_1767942859811/PatModImg_AppMod_0/20260109-090315-PatModImgTest/modules/7.com.hello.jar -XX:+UseCompressedOops -classpath /home/jenkins/externalDependency/system_lib/junit/junit.jar:/home/jenkins/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2026-01-09T09:03:40.391Z] STF 09:03:40.149 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_1767942859811/PatModImg_AppMod_0/20260109-090315-PatModImgTest/results/10.OT22.stderr [2026-01-09T09:03:40.391Z] STF 09:03:40.150 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_1767942859811/PatModImg_AppMod_0/20260109-090315-PatModImgTest/results/10.OT22.stdout [2026-01-09T09:03:40.391Z] STF 09:03:40.162 - Monitoring processes: OT22 [2026-01-09T09:03:41.083Z] OT22 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_1767942859811/PatModImg_AppMod_0/20260109-090315-PatModImgTest/modules/7.com.hello.jar [2026-01-09T09:03:41.412Z] OT22 JUnit version 4.12 [2026-01-09T09:03:42.103Z] OT22 . [2026-01-09T09:03:42.103Z] OT22 Time: 0.044 [2026-01-09T09:03:42.103Z] OT22 [2026-01-09T09:03:42.103Z] OT22 OK (1 test) [2026-01-09T09:03:42.103Z] OT22 [2026-01-09T09:03:42.103Z] STF 09:03:41.877 - Monitoring Report Summary: [2026-01-09T09:03:42.103Z] STF 09:03:41.877 - o Process OT22 ended with the expected exit code (0) [2026-01-09T09:03:42.103Z] STF 09:03:41.878 - EXECUTE stage completed [2026-01-09T09:03:42.103Z] STF 09:03:42.036 - [2026-01-09T09:03:42.103Z] STF 09:03:42.036 - ==================== T E A R D O W N ==================== [2026-01-09T09:03:42.103Z] STF 09:03:42.037 - Running teardown: perl /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_1767942859811/PatModImg_AppMod_0/20260109-090315-PatModImgTest/tearDown.pl [2026-01-09T09:03:42.421Z] STF 09:03:42.271 - TEARDOWN stage completed [2026-01-09T09:03:42.421Z] STF 09:03:42.284 - [2026-01-09T09:03:42.421Z] STF 09:03:42.284 - ===================== R E S U L T S ===================== [2026-01-09T09:03:42.421Z] STF 09:03:42.284 - Stage results: [2026-01-09T09:03:42.421Z] STF 09:03:42.284 - setUp: pass [2026-01-09T09:03:42.421Z] STF 09:03:42.284 - execute: pass [2026-01-09T09:03:42.421Z] STF 09:03:42.284 - teardown: pass [2026-01-09T09:03:42.421Z] STF 09:03:42.284 - [2026-01-09T09:03:42.421Z] STF 09:03:42.284 - Overall result: PASSED [2026-01-09T09:03:42.421Z] ----------------------------------- [2026-01-09T09:03:42.421Z] PatModImg_AppMod_0_PASSED [2026-01-09T09:03:42.421Z] ----------------------------------- [2026-01-09T09:03:42.743Z] [2026-01-09T09:03:42.743Z] TEST TEARDOWN: [2026-01-09T09:03:42.743Z] Nothing to be done for teardown. [2026-01-09T09:03:42.744Z] PatModImg_AppMod_0 Finish Time: Fri Jan 9 09:03:42 2026 Epoch Time (ms): 1767949422473