PatModImg_AppMod_1

[2025-12-16T09:29:44.759Z] Running test PatModImg_AppMod_1 ... [2025-12-16T09:29:44.759Z] =============================================== [2025-12-16T09:29:44.759Z] PatModImg_AppMod_1 Start Time: Tue Dec 16 09:29:44 2025 Epoch Time (ms): 1765877384698 [2025-12-16T09:29:44.759Z] variation: Mode650 [2025-12-16T09:29:44.759Z] JVM_OPTIONS: [2025-12-16T09:29:44.759Z] { \ [2025-12-16T09:29:44.759Z] echo ""; echo "TEST SETUP:"; \ [2025-12-16T09:29:44.759Z] echo "Nothing to be done for setup."; \ [2025-12-16T09:29:44.759Z] mkdir -p "/home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17658753765858/PatModImg_AppMod_1"; \ [2025-12-16T09:29:44.759Z] cd "/home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17658753765858/PatModImg_AppMod_1"; \ [2025-12-16T09:29:44.759Z] echo ""; echo "TESTING:"; \ [2025-12-16T09:29:44.759Z] perl /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/externalDependency/system_lib/" -java-args='' -results-root="/home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17658753765858/PatModImg_AppMod_1" -test=PatModImgTest -test-args="variant=AppMod"; \ [2025-12-16T09:29:44.759Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_1""_PASSED"; echo "-----------------------------------"; cd /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/..; rm -f -r "/home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17658753765858/PatModImg_AppMod_1"; else echo "-----------------------------------"; echo "PatModImg_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-12-16T09:29:44.759Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-12-16T09:29:44.759Z] echo "Nothing to be done for teardown."; \ [2025-12-16T09:29:44.759Z] } 2>&1 | tee -a "/home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17658753765858/TestTargetResult"; [2025-12-16T09:29:44.759Z] [2025-12-16T09:29:44.759Z] TEST SETUP: [2025-12-16T09:29:44.759Z] Nothing to be done for setup. [2025-12-16T09:29:44.759Z] [2025-12-16T09:29:44.759Z] TESTING: [2025-12-16T09:29:45.098Z] Attempt to call undefined import method with arguments (":all") via package "stf::Commands" (Perhaps you forgot to load the package?) at /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl line 32. [2025-12-16T09:29:45.098Z] STF 09:29:44.762 - ========================= S T F ========================= [2025-12-16T09:29:45.098Z] systemtest-prereqs has been processed, and set to: /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/externalDependency/system_libRetrieving amount of free space on drive containing /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17658753765858/PatModImg_AppMod_1 [2025-12-16T09:29:45.098Z] There is 49764 Mb free [2025-12-16T09:29:45.098Z] STF 09:29:44.768 - ================== G E N E R A T I O N ================== [2025-12-16T09:29:45.098Z] STF 09:29:44.769 - Checking JVM: /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image [2025-12-16T09:29:45.098Z] STF 09:29:44.769 - Starting process to generate scripts: /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=/home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/externalDependency/system_lib//asm/asm.jar:/home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/externalDependency/system_lib//asm/asm-commons.jar:/home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/externalDependency/system_lib//log4j/log4j-api.jar:/home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/externalDependency/system_lib//log4j/log4j-core.jar:/home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17658753765858/PatModImg_AppMod_1/20251216-092944-PatModImgTest/stf_parameters.properties, , /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17658753765858/PatModImg_AppMod_1/20251216-092944-PatModImgTest" [2025-12-16T09:29:45.098Z] GEN [0.008s][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-12-16T09:29:45.834Z] GEN 09:29:45.805 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-12-16T09:29:46.205Z] GEN 09:29:45.822 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-12-16T09:29:46.205Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-12-16T09:29:46.205Z] GEN /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-12-16T09:29:46.205Z] GEN /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-12-16T09:29:46.205Z] GEN /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-12-16T09:29:46.205Z] GEN /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-12-16T09:29:46.205Z] GEN /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-12-16T09:29:46.205Z] GEN /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-12-16T09:29:46.205Z] GEN /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-12-16T09:29:46.205Z] GEN /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-12-16T09:29:46.205Z] GEN /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-12-16T09:29:46.205Z] GEN /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-12-16T09:29:46.205Z] GEN /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-12-16T09:29:46.205Z] GEN /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-12-16T09:29:46.205Z] GEN /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-12-16T09:29:46.205Z] GEN /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-12-16T09:29:46.205Z] GEN /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-12-16T09:29:46.205Z] GEN /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/STF/stf.core/bin [2025-12-16T09:29:46.205Z] GEN /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/externalDependency/system_lib/log4j/log4j-api.jar [2025-12-16T09:29:46.205Z] GEN /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/externalDependency/system_lib/log4j/log4j-core.jar [2025-12-16T09:29:46.205Z] GEN /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/externalDependency/system_lib/junit/junit.jar [2025-12-16T09:29:46.205Z] GEN 09:29:45.996 - Using Mode NoOptions. Values = '' [2025-12-16T09:29:46.205Z] GEN 09:29:46.073 - [2025-12-16T09:29:46.205Z] GEN 09:29:46.073 - Test command summary: [2025-12-16T09:29:46.205Z] GEN 09:29:46.073 - Step Stage Command Description [2025-12-16T09:29:46.205Z] GEN 09:29:46.073 - -----+--------+-----------------+------------ [2025-12-16T09:29:46.205Z] GEN 09:29:46.073 - 1 execute jar Create com.hello jar [2025-12-16T09:29:46.205Z] GEN 09:29:46.073 - 2 execute jar Create com.hola jar [2025-12-16T09:29:46.205Z] GEN 09:29:46.074 - 3 execute jar Create com.helper jar [2025-12-16T09:29:46.205Z] GEN 09:29:46.074 - 4 execute jar Create com.discreet jar [2025-12-16T09:29:46.205Z] GEN 09:29:46.074 - 5 execute jar Create tests jar [2025-12-16T09:29:46.205Z] GEN 09:29:46.074 - 6 execute jlink Create runtime image for PatchModule test [2025-12-16T09:29:46.205Z] GEN 09:29:46.074 - 7 execute jar Create com.hello jar [2025-12-16T09:29:46.205Z] GEN 09:29:46.074 - 8 execute jar create java.xml.jar [2025-12-16T09:29:46.205Z] GEN 09:29:46.074 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2025-12-16T09:29:46.205Z] GEN 09:29:46.074 - 10 execute Run java Verify if we can patch an Application module using modular jar [2025-12-16T09:29:46.205Z] STF 09:29:46.087 - [2025-12-16T09:29:46.205Z] STF 09:29:46.087 - Script generation completed [2025-12-16T09:29:46.205Z] STF 09:29:46.087 - [2025-12-16T09:29:46.205Z] STF 09:29:46.088 - [2025-12-16T09:29:46.205Z] STF 09:29:46.088 - ======================= S E T U P ======================= [2025-12-16T09:29:46.205Z] STF 09:29:46.088 - Running setup: perl /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17658753765858/PatModImg_AppMod_1/20251216-092944-PatModImgTest/setUp.pl [2025-12-16T09:29:46.205Z] STF 09:29:46.140 - SETUP stage completed [2025-12-16T09:29:46.205Z] STF 09:29:46.145 - [2025-12-16T09:29:46.205Z] STF 09:29:46.145 - ==================== E X E C U T E - ==================== [2025-12-16T09:29:46.205Z] STF 09:29:46.145 - Running execute: perl /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17658753765858/PatModImg_AppMod_1/20251216-092944-PatModImgTest/execute.pl [2025-12-16T09:29:46.543Z] STF 09:29:46.201 - [2025-12-16T09:29:46.543Z] STF 09:29:46.201 - Java version [2025-12-16T09:29:46.543Z] STF 09:29:46.201 - Running: /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/java -version [2025-12-16T09:29:46.543Z] openjdk version "25.0.3-beta" 2026-04-21 [2025-12-16T09:29:46.543Z] OpenJDK Runtime Environment Temurin-25.0.3+0-202512151229 (build 25.0.3-beta-202512151229) [2025-12-16T09:29:46.543Z] OpenJDK 64-Bit Server VM Temurin-25.0.3+0-202512151229 (build 25.0.3-beta-202512151229, mixed mode, sharing) [2025-12-16T09:29:46.543Z] STF 09:29:46.240 - [2025-12-16T09:29:46.543Z] STF 09:29:46.240 - +------ Step 1 - Create com.hello jar [2025-12-16T09:29:46.543Z] STF 09:29:46.240 - | Create modular jar [2025-12-16T09:29:46.543Z] STF 09:29:46.240 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-12-16T09:29:46.543Z] STF 09:29:46.240 - | ModuleVersion: null [2025-12-16T09:29:46.543Z] STF 09:29:46.240 - | MainClass: null [2025-12-16T09:29:46.543Z] STF 09:29:46.240 - | HashModules: null [2025-12-16T09:29:46.543Z] STF 09:29:46.240 - | [2025-12-16T09:29:46.543Z] STF 09:29:46.241 - Running command: /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17658753765858/PatModImg_AppMod_1/20251216-092944-PatModImgTest/modules/1.com.hello.jar -C /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-12-16T09:29:46.543Z] STF 09:29:46.241 - Redirecting stderr to /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17658753765858/PatModImg_AppMod_1/20251216-092944-PatModImgTest/results/1.CMJ.stderr [2025-12-16T09:29:46.543Z] STF 09:29:46.241 - Redirecting stdout to /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17658753765858/PatModImg_AppMod_1/20251216-092944-PatModImgTest/results/1.CMJ.stdout [2025-12-16T09:29:46.543Z] STF 09:29:46.250 - Monitoring processes: CMJ [2025-12-16T09:29:46.543Z] STF 09:29:46.451 - Monitoring Report Summary: [2025-12-16T09:29:46.543Z] STF 09:29:46.451 - o Process CMJ ended with the expected exit code (0) [2025-12-16T09:29:46.543Z] STF 09:29:46.451 - Created modular jar: 1.com.hello.jar [2025-12-16T09:29:46.543Z] STF 09:29:46.451 - [2025-12-16T09:29:46.543Z] STF 09:29:46.451 - +------ Step 2 - Create com.hola jar [2025-12-16T09:29:46.543Z] STF 09:29:46.451 - | Create modular jar [2025-12-16T09:29:46.543Z] STF 09:29:46.451 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-12-16T09:29:46.543Z] STF 09:29:46.451 - | ModuleVersion: null [2025-12-16T09:29:46.543Z] STF 09:29:46.451 - | MainClass: null [2025-12-16T09:29:46.543Z] STF 09:29:46.451 - | HashModules: null [2025-12-16T09:29:46.543Z] STF 09:29:46.451 - | [2025-12-16T09:29:46.543Z] STF 09:29:46.451 - Running command: /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17658753765858/PatModImg_AppMod_1/20251216-092944-PatModImgTest/modules/2.com.hola.jar -C /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2025-12-16T09:29:46.543Z] STF 09:29:46.451 - Redirecting stderr to /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17658753765858/PatModImg_AppMod_1/20251216-092944-PatModImgTest/results/2.CMJ.stderr [2025-12-16T09:29:46.543Z] STF 09:29:46.451 - Redirecting stdout to /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17658753765858/PatModImg_AppMod_1/20251216-092944-PatModImgTest/results/2.CMJ.stdout [2025-12-16T09:29:46.543Z] STF 09:29:46.452 - Monitoring processes: CMJ [2025-12-16T09:29:46.880Z] STF 09:29:46.645 - Monitoring Report Summary: [2025-12-16T09:29:46.880Z] STF 09:29:46.645 - o Process CMJ ended with the expected exit code (0) [2025-12-16T09:29:46.880Z] STF 09:29:46.645 - Created modular jar: 2.com.hola.jar [2025-12-16T09:29:46.880Z] STF 09:29:46.645 - [2025-12-16T09:29:46.880Z] STF 09:29:46.645 - +------ Step 3 - Create com.helper jar [2025-12-16T09:29:46.880Z] STF 09:29:46.645 - | Create modular jar [2025-12-16T09:29:46.880Z] STF 09:29:46.645 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-12-16T09:29:46.880Z] STF 09:29:46.645 - | ModuleVersion: null [2025-12-16T09:29:46.880Z] STF 09:29:46.645 - | MainClass: null [2025-12-16T09:29:46.880Z] STF 09:29:46.645 - | HashModules: null [2025-12-16T09:29:46.880Z] STF 09:29:46.645 - | [2025-12-16T09:29:46.880Z] STF 09:29:46.645 - Running command: /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17658753765858/PatModImg_AppMod_1/20251216-092944-PatModImgTest/modules/3.com.helper.jar -C /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2025-12-16T09:29:46.880Z] STF 09:29:46.645 - Redirecting stderr to /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17658753765858/PatModImg_AppMod_1/20251216-092944-PatModImgTest/results/3.CMJ.stderr [2025-12-16T09:29:46.880Z] STF 09:29:46.645 - Redirecting stdout to /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17658753765858/PatModImg_AppMod_1/20251216-092944-PatModImgTest/results/3.CMJ.stdout [2025-12-16T09:29:46.880Z] STF 09:29:46.647 - Monitoring processes: CMJ [2025-12-16T09:29:46.880Z] STF 09:29:46.837 - Monitoring Report Summary: [2025-12-16T09:29:46.880Z] STF 09:29:46.837 - o Process CMJ ended with the expected exit code (0) [2025-12-16T09:29:46.880Z] STF 09:29:46.837 - Created modular jar: 3.com.helper.jar [2025-12-16T09:29:46.880Z] STF 09:29:46.837 - [2025-12-16T09:29:46.880Z] STF 09:29:46.837 - +------ Step 4 - Create com.discreet jar [2025-12-16T09:29:46.880Z] STF 09:29:46.837 - | Create modular jar [2025-12-16T09:29:46.880Z] STF 09:29:46.837 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-12-16T09:29:46.880Z] STF 09:29:46.837 - | ModuleVersion: null [2025-12-16T09:29:46.880Z] STF 09:29:46.837 - | MainClass: null [2025-12-16T09:29:46.880Z] STF 09:29:46.837 - | HashModules: null [2025-12-16T09:29:46.880Z] STF 09:29:46.837 - | [2025-12-16T09:29:46.880Z] STF 09:29:46.837 - Running command: /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17658753765858/PatModImg_AppMod_1/20251216-092944-PatModImgTest/modules/4.com.discreet.jar -C /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2025-12-16T09:29:46.880Z] STF 09:29:46.837 - Redirecting stderr to /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17658753765858/PatModImg_AppMod_1/20251216-092944-PatModImgTest/results/4.CMJ.stderr [2025-12-16T09:29:46.880Z] STF 09:29:46.837 - Redirecting stdout to /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17658753765858/PatModImg_AppMod_1/20251216-092944-PatModImgTest/results/4.CMJ.stdout [2025-12-16T09:29:46.880Z] STF 09:29:46.838 - Monitoring processes: CMJ [2025-12-16T09:29:47.236Z] STF 09:29:47.025 - Monitoring Report Summary: [2025-12-16T09:29:47.236Z] STF 09:29:47.025 - o Process CMJ ended with the expected exit code (0) [2025-12-16T09:29:47.236Z] STF 09:29:47.025 - Created modular jar: 4.com.discreet.jar [2025-12-16T09:29:47.236Z] STF 09:29:47.025 - [2025-12-16T09:29:47.236Z] STF 09:29:47.025 - +------ Step 5 - Create tests jar [2025-12-16T09:29:47.236Z] STF 09:29:47.025 - | Create modular jar [2025-12-16T09:29:47.236Z] STF 09:29:47.025 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-12-16T09:29:47.236Z] STF 09:29:47.025 - | ModuleVersion: null [2025-12-16T09:29:47.236Z] STF 09:29:47.025 - | MainClass: null [2025-12-16T09:29:47.236Z] STF 09:29:47.025 - | HashModules: null [2025-12-16T09:29:47.236Z] STF 09:29:47.025 - | [2025-12-16T09:29:47.236Z] STF 09:29:47.025 - Running command: /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17658753765858/PatModImg_AppMod_1/20251216-092944-PatModImgTest/modules/5.com.test.jar -C /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2025-12-16T09:29:47.236Z] STF 09:29:47.025 - Redirecting stderr to /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17658753765858/PatModImg_AppMod_1/20251216-092944-PatModImgTest/results/5.CMJ.stderr [2025-12-16T09:29:47.236Z] STF 09:29:47.025 - Redirecting stdout to /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17658753765858/PatModImg_AppMod_1/20251216-092944-PatModImgTest/results/5.CMJ.stdout [2025-12-16T09:29:47.236Z] STF 09:29:47.026 - Monitoring processes: CMJ [2025-12-16T09:29:47.576Z] STF 09:29:47.227 - Monitoring Report Summary: [2025-12-16T09:29:47.576Z] STF 09:29:47.227 - o Process CMJ ended with the expected exit code (0) [2025-12-16T09:29:47.576Z] STF 09:29:47.227 - Created modular jar: 5.com.test.jar [2025-12-16T09:29:47.576Z] STF 09:29:47.227 - [2025-12-16T09:29:47.576Z] STF 09:29:47.227 - +------ Step 6 - Create runtime image for PatchModule test [2025-12-16T09:29:47.576Z] STF 09:29:47.227 - | Run jlink to create runtime image [2025-12-16T09:29:47.576Z] STF 09:29:47.227 - | ImageName: XpJVM [2025-12-16T09:29:47.576Z] STF 09:29:47.227 - | [2025-12-16T09:29:47.576Z] STF 09:29:47.228 - Running command: /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/jmods:/home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17658753765858/PatModImg_AppMod_1/20251216-092944-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17658753765858/PatModImg_AppMod_1/20251216-092944-PatModImgTest/tmp/6.XpJVM [2025-12-16T09:29:47.576Z] STF 09:29:47.228 - Redirecting stderr to /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17658753765858/PatModImg_AppMod_1/20251216-092944-PatModImgTest/results/6.JLNK.stderr [2025-12-16T09:29:47.576Z] STF 09:29:47.228 - Redirecting stdout to /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17658753765858/PatModImg_AppMod_1/20251216-092944-PatModImgTest/results/6.JLNK.stdout [2025-12-16T09:29:47.576Z] STF 09:29:47.229 - Monitoring processes: JLNK [2025-12-16T09:29:49.874Z] STF 09:29:49.661 - Monitoring Report Summary: [2025-12-16T09:29:49.874Z] STF 09:29:49.661 - o Process JLNK ended with the expected exit code (0) [2025-12-16T09:29:49.874Z] STF 09:29:49.661 - [2025-12-16T09:29:49.874Z] STF 09:29:49.661 - +------ Step 7 - Create com.hello jar [2025-12-16T09:29:49.874Z] STF 09:29:49.662 - | Create modular jar [2025-12-16T09:29:49.874Z] STF 09:29:49.662 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-12-16T09:29:49.874Z] STF 09:29:49.662 - | ModuleVersion: null [2025-12-16T09:29:49.874Z] STF 09:29:49.662 - | MainClass: null [2025-12-16T09:29:49.874Z] STF 09:29:49.662 - | HashModules: null [2025-12-16T09:29:49.874Z] STF 09:29:49.662 - | [2025-12-16T09:29:49.874Z] STF 09:29:49.662 - Running command: /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17658753765858/PatModImg_AppMod_1/20251216-092944-PatModImgTest/modules/7.com.hello.jar -C /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2025-12-16T09:29:49.874Z] STF 09:29:49.662 - Redirecting stderr to /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17658753765858/PatModImg_AppMod_1/20251216-092944-PatModImgTest/results/7.CMJ.stderr [2025-12-16T09:29:49.874Z] STF 09:29:49.662 - Redirecting stdout to /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17658753765858/PatModImg_AppMod_1/20251216-092944-PatModImgTest/results/7.CMJ.stdout [2025-12-16T09:29:49.874Z] STF 09:29:49.663 - Monitoring processes: CMJ [2025-12-16T09:29:49.874Z] STF 09:29:49.852 - Monitoring Report Summary: [2025-12-16T09:29:49.874Z] STF 09:29:49.852 - o Process CMJ ended with the expected exit code (0) [2025-12-16T09:29:49.874Z] STF 09:29:49.852 - Created modular jar: 7.com.hello.jar [2025-12-16T09:29:49.874Z] STF 09:29:49.852 - [2025-12-16T09:29:49.874Z] STF 09:29:49.852 - +------ Step 8 - create java.xml.jar [2025-12-16T09:29:49.874Z] STF 09:29:49.852 - | Create modular jar [2025-12-16T09:29:49.874Z] STF 09:29:49.852 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-12-16T09:29:49.874Z] STF 09:29:49.852 - | ModuleVersion: null [2025-12-16T09:29:49.874Z] STF 09:29:49.852 - | MainClass: null [2025-12-16T09:29:49.874Z] STF 09:29:49.852 - | HashModules: null [2025-12-16T09:29:49.874Z] STF 09:29:49.852 - | [2025-12-16T09:29:49.874Z] STF 09:29:49.852 - Running command: /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17658753765858/PatModImg_AppMod_1/20251216-092944-PatModImgTest/modules/8.java.xml.jar -C /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2025-12-16T09:29:49.874Z] STF 09:29:49.852 - Redirecting stderr to /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17658753765858/PatModImg_AppMod_1/20251216-092944-PatModImgTest/results/8.CMJ.stderr [2025-12-16T09:29:49.874Z] STF 09:29:49.852 - Redirecting stdout to /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17658753765858/PatModImg_AppMod_1/20251216-092944-PatModImgTest/results/8.CMJ.stdout [2025-12-16T09:29:49.874Z] STF 09:29:49.854 - Monitoring processes: CMJ [2025-12-16T09:29:50.235Z] STF 09:29:50.039 - Monitoring Report Summary: [2025-12-16T09:29:50.235Z] STF 09:29:50.039 - o Process CMJ ended with the expected exit code (0) [2025-12-16T09:29:50.235Z] STF 09:29:50.039 - Created modular jar: 8.java.xml.jar [2025-12-16T09:29:50.235Z] STF 09:29:50.039 - [2025-12-16T09:29:50.235Z] STF 09:29:50.039 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2025-12-16T09:29:50.235Z] STF 09:29:50.039 - | Run foreground process [2025-12-16T09:29:50.235Z] STF 09:29:50.039 - | Program: /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17658753765858/PatModImg_AppMod_1/20251216-092944-PatModImgTest/tmp/6.XpJVM/bin/java [2025-12-16T09:29:50.235Z] STF 09:29:50.039 - | Mnemonic: OT21 [2025-12-16T09:29:50.235Z] STF 09:29:50.039 - | Echo: ECHO_ON [2025-12-16T09:29:50.235Z] STF 09:29:50.039 - | Expectation: CLEAN_RUN within 5m [2025-12-16T09:29:50.235Z] STF 09:29:50.039 - | [2025-12-16T09:29:50.235Z] STF 09:29:50.039 - Running command: /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17658753765858/PatModImg_AppMod_1/20251216-092944-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello -classpath /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/externalDependency/system_lib/junit/junit.jar:/home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2025-12-16T09:29:50.235Z] STF 09:29:50.039 - Redirecting stderr to /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17658753765858/PatModImg_AppMod_1/20251216-092944-PatModImgTest/results/9.OT21.stderr [2025-12-16T09:29:50.235Z] STF 09:29:50.039 - Redirecting stdout to /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17658753765858/PatModImg_AppMod_1/20251216-092944-PatModImgTest/results/9.OT21.stdout [2025-12-16T09:29:50.235Z] STF 09:29:50.041 - Monitoring processes: OT21 [2025-12-16T09:29:50.235Z] OT21 stderr WARNING: module-info.class ignored in patch: /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello [2025-12-16T09:29:50.571Z] OT21 JUnit version 4.12 [2025-12-16T09:29:50.571Z] OT21 . [2025-12-16T09:29:50.571Z] OT21 Time: 0.012 [2025-12-16T09:29:50.571Z] OT21 [2025-12-16T09:29:50.571Z] OT21 OK (1 test) [2025-12-16T09:29:50.571Z] OT21 [2025-12-16T09:29:50.571Z] STF 09:29:50.366 - Monitoring Report Summary: [2025-12-16T09:29:50.571Z] STF 09:29:50.366 - o Process OT21 ended with the expected exit code (0) [2025-12-16T09:29:50.571Z] STF 09:29:50.367 - [2025-12-16T09:29:50.571Z] STF 09:29:50.367 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2025-12-16T09:29:50.571Z] STF 09:29:50.367 - | Run foreground process [2025-12-16T09:29:50.571Z] STF 09:29:50.367 - | Program: /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17658753765858/PatModImg_AppMod_1/20251216-092944-PatModImgTest/tmp/6.XpJVM/bin/java [2025-12-16T09:29:50.571Z] STF 09:29:50.367 - | Mnemonic: OT22 [2025-12-16T09:29:50.571Z] STF 09:29:50.367 - | Echo: ECHO_ON [2025-12-16T09:29:50.571Z] STF 09:29:50.367 - | Expectation: CLEAN_RUN within 5m [2025-12-16T09:29:50.571Z] STF 09:29:50.367 - | [2025-12-16T09:29:50.571Z] STF 09:29:50.367 - Running command: /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17658753765858/PatModImg_AppMod_1/20251216-092944-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17658753765858/PatModImg_AppMod_1/20251216-092944-PatModImgTest/modules/7.com.hello.jar -classpath /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/externalDependency/system_lib/junit/junit.jar:/home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2025-12-16T09:29:50.571Z] STF 09:29:50.367 - Redirecting stderr to /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17658753765858/PatModImg_AppMod_1/20251216-092944-PatModImgTest/results/10.OT22.stderr [2025-12-16T09:29:50.571Z] STF 09:29:50.367 - Redirecting stdout to /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17658753765858/PatModImg_AppMod_1/20251216-092944-PatModImgTest/results/10.OT22.stdout [2025-12-16T09:29:50.571Z] STF 09:29:50.368 - Monitoring processes: OT22 [2025-12-16T09:29:50.571Z] OT22 stderr WARNING: module-info.class ignored in patch: /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17658753765858/PatModImg_AppMod_1/20251216-092944-PatModImgTest/modules/7.com.hello.jar [2025-12-16T09:29:50.571Z] OT22 JUnit version 4.12 [2025-12-16T09:29:50.907Z] OT22 . [2025-12-16T09:29:50.907Z] OT22 Time: 0.007 [2025-12-16T09:29:50.907Z] OT22 [2025-12-16T09:29:50.907Z] OT22 OK (1 test) [2025-12-16T09:29:50.907Z] OT22 [2025-12-16T09:29:50.907Z] STF 09:29:50.691 - Monitoring Report Summary: [2025-12-16T09:29:50.907Z] STF 09:29:50.691 - o Process OT22 ended with the expected exit code (0) [2025-12-16T09:29:50.907Z] STF 09:29:50.691 - EXECUTE stage completed [2025-12-16T09:29:50.907Z] STF 09:29:50.707 - [2025-12-16T09:29:50.907Z] STF 09:29:50.708 - ==================== T E A R D O W N ==================== [2025-12-16T09:29:50.907Z] STF 09:29:50.708 - Running teardown: perl /home/adoptopenjdk/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17658753765858/PatModImg_AppMod_1/20251216-092944-PatModImgTest/tearDown.pl [2025-12-16T09:29:50.907Z] STF 09:29:50.765 - TEARDOWN stage completed [2025-12-16T09:29:50.907Z] STF 09:29:50.770 - [2025-12-16T09:29:50.907Z] STF 09:29:50.771 - ===================== R E S U L T S ===================== [2025-12-16T09:29:50.907Z] STF 09:29:50.771 - Stage results: [2025-12-16T09:29:50.908Z] STF 09:29:50.771 - setUp: pass [2025-12-16T09:29:50.908Z] STF 09:29:50.771 - execute: pass [2025-12-16T09:29:50.908Z] STF 09:29:50.771 - teardown: pass [2025-12-16T09:29:50.908Z] STF 09:29:50.771 - [2025-12-16T09:29:50.908Z] STF 09:29:50.771 - Overall result: PASSED [2025-12-16T09:29:50.908Z] ----------------------------------- [2025-12-16T09:29:50.908Z] PatModImg_AppMod_1_PASSED [2025-12-16T09:29:50.908Z] ----------------------------------- [2025-12-16T09:29:50.908Z] [2025-12-16T09:29:50.908Z] TEST TEARDOWN: [2025-12-16T09:29:50.908Z] Nothing to be done for teardown. [2025-12-16T09:29:50.908Z] PatModImg_AppMod_1 Finish Time: Tue Dec 16 09:29:50 2025 Epoch Time (ms): 1765877390799