PatModImg_AppMod_0

[2025-12-16T09:37:43.883Z] Running test PatModImg_AppMod_0 ... [2025-12-16T09:37:43.883Z] =============================================== [2025-12-16T09:37:43.883Z] PatModImg_AppMod_0 Start Time: Tue Dec 16 09:37:43 2025 Epoch Time (ms): 1765877863763 [2025-12-16T09:37:44.254Z] variation: Mode150 [2025-12-16T09:37:44.254Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-12-16T09:37:44.254Z] { \ [2025-12-16T09:37:44.254Z] echo ""; echo "TEST SETUP:"; \ [2025-12-16T09:37:44.254Z] echo "Nothing to be done for setup."; \ [2025-12-16T09:37:44.254Z] mkdir -p "C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/aqa-tests/\\TKG\\output_17658760134559\\PatModImg_AppMod_0"; \ [2025-12-16T09:37:44.254Z] cd "C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/aqa-tests/\\TKG\\output_17658760134559\\PatModImg_AppMod_0"; \ [2025-12-16T09:37:44.254Z] echo ""; echo "TESTING:"; \ [2025-12-16T09:37:44.254Z] perl C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="c:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/../../externalDependency/system_lib\\" -java-args=' -XX:+UseCompressedOops ' -results-root="C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/aqa-tests/\\TKG\\output_17658760134559\\PatModImg_AppMod_0" -test=PatModImgTest -test-args="variant=AppMod"; \ [2025-12-16T09:37:44.255Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_0""_PASSED"; echo "-----------------------------------"; cd C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/aqa-tests/; rm -f -r "C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/aqa-tests/\\TKG\\output_17658760134559\\PatModImg_AppMod_0"; else echo "-----------------------------------"; echo "PatModImg_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-12-16T09:37:44.255Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-12-16T09:37:44.255Z] echo "Nothing to be done for teardown."; \ [2025-12-16T09:37:44.255Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/aqa-tests/\\TKG\\output_17658760134559\\TestTargetResult"; [2025-12-16T09:37:44.255Z] [2025-12-16T09:37:44.255Z] TEST SETUP: [2025-12-16T09:37:44.255Z] Nothing to be done for setup. [2025-12-16T09:37:44.255Z] [2025-12-16T09:37:44.255Z] TESTING: [2025-12-16T09:37:44.607Z] STF 09:37:44.253 - ========================= S T F ========================= [2025-12-16T09:37:44.607Z] systemtest-prereqs has been processed, and set to: c:/jenkins/externalDependency/system_libRetrieving amount of free space on drive containing C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/aqa-tests/\TKG\output_17658760134559\PatModImg_AppMod_0 [2025-12-16T09:37:44.607Z] There is 121852 Mb free [2025-12-16T09:37:44.607Z] STF 09:37:44.310 - ================== G E N E R A T I O N ================== [2025-12-16T09:37:44.607Z] STF 09:37:44.312 - Checking JVM: c:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/jdkbinary/j2sdk-image [2025-12-16T09:37:44.607Z] STF 09:37:44.313 - Starting process to generate scripts: c:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath c:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/../../externalDependency/system_lib\/asm/asm.jar;c:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/../../externalDependency/system_lib\/asm/asm-commons.jar;c:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/../../externalDependency/system_lib\/log4j/log4j-api.jar;c:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/../../externalDependency/system_lib\/log4j/log4j-core.jar;C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/aqa-tests/\TKG\output_17658760134559\PatModImg_AppMod_0/20251216-093744-PatModImgTest/stf_parameters.properties, , C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/aqa-tests/\TKG\output_17658760134559\PatModImg_AppMod_0/20251216-093744-PatModImgTest" [2025-12-16T09:37:44.607Z] GEN [0.017s][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:37:45.779Z] GEN 09:37:45.332 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: 'C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2025-12-16T09:37:45.779Z] GEN 09:37:45.343 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-12-16T09:37:45.779Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-12-16T09:37:45.779Z] GEN C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2025-12-16T09:37:45.779Z] GEN C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2025-12-16T09:37:45.779Z] GEN C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2025-12-16T09:37:45.779Z] GEN C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2025-12-16T09:37:45.779Z] GEN C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2025-12-16T09:37:45.779Z] GEN C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2025-12-16T09:37:45.779Z] GEN C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2025-12-16T09:37:45.779Z] GEN C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2025-12-16T09:37:45.779Z] GEN C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2025-12-16T09:37:45.779Z] GEN C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2025-12-16T09:37:45.779Z] GEN C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2025-12-16T09:37:45.779Z] GEN C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2025-12-16T09:37:45.779Z] GEN C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-12-16T09:37:45.779Z] GEN C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-12-16T09:37:45.779Z] GEN C:\\jenkins\\workspace\\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-12-16T09:37:45.779Z] GEN C:\\jenkins\\workspace\\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0\\jvmtest\\system\\STF\\stf.core\\bin [2025-12-16T09:37:45.779Z] GEN c:/jenkins/externalDependency/system_lib/log4j/log4j-api.jar [2025-12-16T09:37:45.779Z] GEN c:/jenkins/externalDependency/system_lib/log4j/log4j-core.jar [2025-12-16T09:37:45.779Z] GEN c:/jenkins/externalDependency/system_lib/junit/junit.jar [2025-12-16T09:37:45.779Z] GEN 09:37:45.548 - Using Mode NoOptions. Values = '' [2025-12-16T09:37:45.779Z] GEN 09:37:45.636 - [2025-12-16T09:37:45.779Z] GEN 09:37:45.636 - Test command summary: [2025-12-16T09:37:45.779Z] GEN 09:37:45.636 - Step Stage Command Description [2025-12-16T09:37:45.779Z] GEN 09:37:45.636 - -----+--------+-----------------+------------ [2025-12-16T09:37:45.779Z] GEN 09:37:45.636 - 1 execute jar Create com.hello jar [2025-12-16T09:37:45.779Z] GEN 09:37:45.637 - 2 execute jar Create com.hola jar [2025-12-16T09:37:45.779Z] GEN 09:37:45.637 - 3 execute jar Create com.helper jar [2025-12-16T09:37:45.779Z] GEN 09:37:45.637 - 4 execute jar Create com.discreet jar [2025-12-16T09:37:45.779Z] GEN 09:37:45.637 - 5 execute jar Create tests jar [2025-12-16T09:37:45.779Z] GEN 09:37:45.637 - 6 execute jlink Create runtime image for PatchModule test [2025-12-16T09:37:45.779Z] GEN 09:37:45.637 - 7 execute jar Create com.hello jar [2025-12-16T09:37:45.779Z] GEN 09:37:45.637 - 8 execute jar create java.xml.jar [2025-12-16T09:37:45.779Z] GEN 09:37:45.637 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2025-12-16T09:37:45.779Z] GEN 09:37:45.637 - 10 execute Run java Verify if we can patch an Application module using modular jar [2025-12-16T09:37:45.779Z] STF 09:37:45.666 - [2025-12-16T09:37:45.779Z] STF 09:37:45.666 - Script generation completed [2025-12-16T09:37:45.779Z] STF 09:37:45.666 - [2025-12-16T09:37:45.779Z] STF 09:37:45.668 - [2025-12-16T09:37:45.779Z] STF 09:37:45.668 - ======================= S E T U P ======================= [2025-12-16T09:37:45.779Z] STF 09:37:45.668 - Running setup: perl C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/aqa-tests/\TKG\output_17658760134559\PatModImg_AppMod_0/20251216-093744-PatModImgTest/setUp.pl [2025-12-16T09:37:46.130Z] STF 09:37:45.816 - SETUP stage completed [2025-12-16T09:37:46.130Z] STF 09:37:45.838 - [2025-12-16T09:37:46.130Z] STF 09:37:45.838 - ==================== E X E C U T E - ==================== [2025-12-16T09:37:46.130Z] STF 09:37:45.838 - Running execute: perl C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/aqa-tests/\TKG\output_17658760134559\PatModImg_AppMod_0/20251216-093744-PatModImgTest/execute.pl [2025-12-16T09:37:46.130Z] STF 09:37:45.987 - [2025-12-16T09:37:46.130Z] STF 09:37:45.988 - Java version [2025-12-16T09:37:46.130Z] STF 09:37:45.988 - Running: c:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/jdkbinary/j2sdk-image/bin/java -version [2025-12-16T09:37:46.130Z] openjdk version "25.0.3-beta" 2026-04-21 [2025-12-16T09:37:46.130Z] OpenJDK Runtime Environment Temurin-25.0.3+0-202512151231 (build 25.0.3-beta-202512151231) [2025-12-16T09:37:46.130Z] OpenJDK 64-Bit Server VM Temurin-25.0.3+0-202512151231 (build 25.0.3-beta-202512151231, mixed mode, sharing) [2025-12-16T09:37:46.130Z] STF 09:37:46.061 - [2025-12-16T09:37:46.130Z] STF 09:37:46.061 - +------ Step 1 - Create com.hello jar [2025-12-16T09:37:46.130Z] STF 09:37:46.061 - | Create modular jar [2025-12-16T09:37:46.130Z] STF 09:37:46.061 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-12-16T09:37:46.130Z] STF 09:37:46.061 - | ModuleVersion: null [2025-12-16T09:37:46.130Z] STF 09:37:46.061 - | MainClass: null [2025-12-16T09:37:46.130Z] STF 09:37:46.061 - | HashModules: null [2025-12-16T09:37:46.130Z] STF 09:37:46.061 - | [2025-12-16T09:37:46.130Z] STF 09:37:46.061 - Running command: c:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/aqa-tests/TKG/output_17658760134559/PatModImg_AppMod_0/20251216-093744-PatModImgTest/modules/1.com.hello.jar -C C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2025-12-16T09:37:46.130Z] STF 09:37:46.062 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/aqa-tests/TKG/output_17658760134559/PatModImg_AppMod_0/20251216-093744-PatModImgTest/results/1.CMJ.stderr [2025-12-16T09:37:46.130Z] STF 09:37:46.062 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/aqa-tests/TKG/output_17658760134559/PatModImg_AppMod_0/20251216-093744-PatModImgTest/results/1.CMJ.stdout [2025-12-16T09:37:46.480Z] STF 09:37:46.090 - Monitoring processes: CMJ [2025-12-16T09:37:46.480Z] STF 09:37:46.339 - Monitoring Report Summary: [2025-12-16T09:37:46.480Z] STF 09:37:46.339 - o Process CMJ ended with the expected exit code (0) [2025-12-16T09:37:46.480Z] STF 09:37:46.339 - Created modular jar: 1.com.hello.jar [2025-12-16T09:37:46.480Z] STF 09:37:46.339 - [2025-12-16T09:37:46.480Z] STF 09:37:46.339 - +------ Step 2 - Create com.hola jar [2025-12-16T09:37:46.480Z] STF 09:37:46.339 - | Create modular jar [2025-12-16T09:37:46.480Z] STF 09:37:46.339 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-12-16T09:37:46.480Z] STF 09:37:46.339 - | ModuleVersion: null [2025-12-16T09:37:46.480Z] STF 09:37:46.339 - | MainClass: null [2025-12-16T09:37:46.480Z] STF 09:37:46.339 - | HashModules: null [2025-12-16T09:37:46.480Z] STF 09:37:46.339 - | [2025-12-16T09:37:46.480Z] STF 09:37:46.339 - Running command: c:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/aqa-tests/TKG/output_17658760134559/PatModImg_AppMod_0/20251216-093744-PatModImgTest/modules/2.com.hola.jar -C C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2025-12-16T09:37:46.480Z] STF 09:37:46.339 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/aqa-tests/TKG/output_17658760134559/PatModImg_AppMod_0/20251216-093744-PatModImgTest/results/2.CMJ.stderr [2025-12-16T09:37:46.480Z] STF 09:37:46.339 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/aqa-tests/TKG/output_17658760134559/PatModImg_AppMod_0/20251216-093744-PatModImgTest/results/2.CMJ.stdout [2025-12-16T09:37:46.480Z] STF 09:37:46.346 - Monitoring processes: CMJ [2025-12-16T09:37:46.832Z] STF 09:37:46.608 - Monitoring Report Summary: [2025-12-16T09:37:46.832Z] STF 09:37:46.608 - o Process CMJ ended with the expected exit code (0) [2025-12-16T09:37:46.832Z] STF 09:37:46.609 - Created modular jar: 2.com.hola.jar [2025-12-16T09:37:46.832Z] STF 09:37:46.609 - [2025-12-16T09:37:46.832Z] STF 09:37:46.609 - +------ Step 3 - Create com.helper jar [2025-12-16T09:37:46.832Z] STF 09:37:46.609 - | Create modular jar [2025-12-16T09:37:46.832Z] STF 09:37:46.609 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-12-16T09:37:46.832Z] STF 09:37:46.609 - | ModuleVersion: null [2025-12-16T09:37:46.832Z] STF 09:37:46.609 - | MainClass: null [2025-12-16T09:37:46.832Z] STF 09:37:46.609 - | HashModules: null [2025-12-16T09:37:46.832Z] STF 09:37:46.609 - | [2025-12-16T09:37:46.832Z] STF 09:37:46.609 - Running command: c:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/aqa-tests/TKG/output_17658760134559/PatModImg_AppMod_0/20251216-093744-PatModImgTest/modules/3.com.helper.jar -C C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2025-12-16T09:37:46.832Z] STF 09:37:46.609 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/aqa-tests/TKG/output_17658760134559/PatModImg_AppMod_0/20251216-093744-PatModImgTest/results/3.CMJ.stderr [2025-12-16T09:37:46.832Z] STF 09:37:46.609 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/aqa-tests/TKG/output_17658760134559/PatModImg_AppMod_0/20251216-093744-PatModImgTest/results/3.CMJ.stdout [2025-12-16T09:37:46.832Z] STF 09:37:46.616 - Monitoring processes: CMJ [2025-12-16T09:37:47.184Z] STF 09:37:46.872 - Monitoring Report Summary: [2025-12-16T09:37:47.184Z] STF 09:37:46.872 - o Process CMJ ended with the expected exit code (0) [2025-12-16T09:37:47.184Z] STF 09:37:46.872 - Created modular jar: 3.com.helper.jar [2025-12-16T09:37:47.184Z] STF 09:37:46.872 - [2025-12-16T09:37:47.184Z] STF 09:37:46.872 - +------ Step 4 - Create com.discreet jar [2025-12-16T09:37:47.184Z] STF 09:37:46.872 - | Create modular jar [2025-12-16T09:37:47.184Z] STF 09:37:46.872 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-12-16T09:37:47.184Z] STF 09:37:46.872 - | ModuleVersion: null [2025-12-16T09:37:47.184Z] STF 09:37:46.872 - | MainClass: null [2025-12-16T09:37:47.184Z] STF 09:37:46.872 - | HashModules: null [2025-12-16T09:37:47.184Z] STF 09:37:46.872 - | [2025-12-16T09:37:47.184Z] STF 09:37:46.872 - Running command: c:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/aqa-tests/TKG/output_17658760134559/PatModImg_AppMod_0/20251216-093744-PatModImgTest/modules/4.com.discreet.jar -C C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2025-12-16T09:37:47.184Z] STF 09:37:46.872 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/aqa-tests/TKG/output_17658760134559/PatModImg_AppMod_0/20251216-093744-PatModImgTest/results/4.CMJ.stderr [2025-12-16T09:37:47.184Z] STF 09:37:46.872 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/aqa-tests/TKG/output_17658760134559/PatModImg_AppMod_0/20251216-093744-PatModImgTest/results/4.CMJ.stdout [2025-12-16T09:37:47.184Z] STF 09:37:46.879 - Monitoring processes: CMJ [2025-12-16T09:37:47.532Z] STF 09:37:47.142 - Monitoring Report Summary: [2025-12-16T09:37:47.532Z] STF 09:37:47.142 - o Process CMJ ended with the expected exit code (0) [2025-12-16T09:37:47.532Z] STF 09:37:47.143 - Created modular jar: 4.com.discreet.jar [2025-12-16T09:37:47.532Z] STF 09:37:47.143 - [2025-12-16T09:37:47.532Z] STF 09:37:47.143 - +------ Step 5 - Create tests jar [2025-12-16T09:37:47.532Z] STF 09:37:47.143 - | Create modular jar [2025-12-16T09:37:47.532Z] STF 09:37:47.143 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-12-16T09:37:47.532Z] STF 09:37:47.143 - | ModuleVersion: null [2025-12-16T09:37:47.532Z] STF 09:37:47.143 - | MainClass: null [2025-12-16T09:37:47.532Z] STF 09:37:47.143 - | HashModules: null [2025-12-16T09:37:47.532Z] STF 09:37:47.143 - | [2025-12-16T09:37:47.532Z] STF 09:37:47.143 - Running command: c:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/aqa-tests/TKG/output_17658760134559/PatModImg_AppMod_0/20251216-093744-PatModImgTest/modules/5.com.test.jar -C C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2025-12-16T09:37:47.532Z] STF 09:37:47.143 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/aqa-tests/TKG/output_17658760134559/PatModImg_AppMod_0/20251216-093744-PatModImgTest/results/5.CMJ.stderr [2025-12-16T09:37:47.532Z] STF 09:37:47.143 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/aqa-tests/TKG/output_17658760134559/PatModImg_AppMod_0/20251216-093744-PatModImgTest/results/5.CMJ.stdout [2025-12-16T09:37:47.532Z] STF 09:37:47.150 - Monitoring processes: CMJ [2025-12-16T09:37:47.532Z] STF 09:37:47.419 - Monitoring Report Summary: [2025-12-16T09:37:47.532Z] STF 09:37:47.419 - o Process CMJ ended with the expected exit code (0) [2025-12-16T09:37:47.532Z] STF 09:37:47.420 - Created modular jar: 5.com.test.jar [2025-12-16T09:37:47.532Z] STF 09:37:47.420 - [2025-12-16T09:37:47.532Z] STF 09:37:47.420 - +------ Step 6 - Create runtime image for PatchModule test [2025-12-16T09:37:47.532Z] STF 09:37:47.420 - | Run jlink to create runtime image [2025-12-16T09:37:47.532Z] STF 09:37:47.420 - | ImageName: XpJVM [2025-12-16T09:37:47.532Z] STF 09:37:47.420 - | [2025-12-16T09:37:47.532Z] STF 09:37:47.420 - Running command: c:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/jdkbinary/j2sdk-image/bin/jlink --module-path c:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0\jdkbinary\j2sdk-image\jmods;C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0\aqa-tests\TKG\output_17658760134559\PatModImg_AppMod_0\20251216-093744-PatModImgTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0\aqa-tests\TKG\output_17658760134559\PatModImg_AppMod_0\20251216-093744-PatModImgTest\tmp\6.XpJVM [2025-12-16T09:37:47.532Z] STF 09:37:47.420 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/aqa-tests/TKG/output_17658760134559/PatModImg_AppMod_0/20251216-093744-PatModImgTest/results/6.JLNK.stderr [2025-12-16T09:37:47.532Z] STF 09:37:47.420 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/aqa-tests/TKG/output_17658760134559/PatModImg_AppMod_0/20251216-093744-PatModImgTest/results/6.JLNK.stdout [2025-12-16T09:37:47.532Z] STF 09:37:47.427 - Monitoring processes: JLNK [2025-12-16T09:37:49.869Z] STF 09:37:49.570 - Monitoring Report Summary: [2025-12-16T09:37:49.869Z] STF 09:37:49.570 - o Process JLNK ended with the expected exit code (0) [2025-12-16T09:37:49.869Z] STF 09:37:49.570 - [2025-12-16T09:37:49.869Z] STF 09:37:49.570 - +------ Step 7 - Create com.hello jar [2025-12-16T09:37:49.869Z] STF 09:37:49.571 - | Create modular jar [2025-12-16T09:37:49.869Z] STF 09:37:49.571 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-12-16T09:37:49.869Z] STF 09:37:49.571 - | ModuleVersion: null [2025-12-16T09:37:49.869Z] STF 09:37:49.571 - | MainClass: null [2025-12-16T09:37:49.869Z] STF 09:37:49.571 - | HashModules: null [2025-12-16T09:37:49.869Z] STF 09:37:49.571 - | [2025-12-16T09:37:49.869Z] STF 09:37:49.571 - Running command: c:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/aqa-tests/TKG/output_17658760134559/PatModImg_AppMod_0/20251216-093744-PatModImgTest/modules/7.com.hello.jar -C C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2025-12-16T09:37:49.869Z] STF 09:37:49.571 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/aqa-tests/TKG/output_17658760134559/PatModImg_AppMod_0/20251216-093744-PatModImgTest/results/7.CMJ.stderr [2025-12-16T09:37:49.869Z] STF 09:37:49.571 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/aqa-tests/TKG/output_17658760134559/PatModImg_AppMod_0/20251216-093744-PatModImgTest/results/7.CMJ.stdout [2025-12-16T09:37:49.869Z] STF 09:37:49.582 - Monitoring processes: CMJ [2025-12-16T09:37:50.243Z] STF 09:37:50.015 - Monitoring Report Summary: [2025-12-16T09:37:50.243Z] STF 09:37:50.015 - o Process CMJ ended with the expected exit code (0) [2025-12-16T09:37:50.243Z] STF 09:37:50.016 - Created modular jar: 7.com.hello.jar [2025-12-16T09:37:50.243Z] STF 09:37:50.016 - [2025-12-16T09:37:50.243Z] STF 09:37:50.016 - +------ Step 8 - create java.xml.jar [2025-12-16T09:37:50.243Z] STF 09:37:50.016 - | Create modular jar [2025-12-16T09:37:50.243Z] STF 09:37:50.016 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-12-16T09:37:50.243Z] STF 09:37:50.016 - | ModuleVersion: null [2025-12-16T09:37:50.243Z] STF 09:37:50.016 - | MainClass: null [2025-12-16T09:37:50.243Z] STF 09:37:50.016 - | HashModules: null [2025-12-16T09:37:50.243Z] STF 09:37:50.016 - | [2025-12-16T09:37:50.243Z] STF 09:37:50.016 - Running command: c:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/aqa-tests/TKG/output_17658760134559/PatModImg_AppMod_0/20251216-093744-PatModImgTest/modules/8.java.xml.jar -C C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml . [2025-12-16T09:37:50.243Z] STF 09:37:50.016 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/aqa-tests/TKG/output_17658760134559/PatModImg_AppMod_0/20251216-093744-PatModImgTest/results/8.CMJ.stderr [2025-12-16T09:37:50.243Z] STF 09:37:50.016 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/aqa-tests/TKG/output_17658760134559/PatModImg_AppMod_0/20251216-093744-PatModImgTest/results/8.CMJ.stdout [2025-12-16T09:37:50.243Z] STF 09:37:50.023 - Monitoring processes: CMJ [2025-12-16T09:37:50.595Z] STF 09:37:50.278 - Monitoring Report Summary: [2025-12-16T09:37:50.595Z] STF 09:37:50.278 - o Process CMJ ended with the expected exit code (0) [2025-12-16T09:37:50.595Z] STF 09:37:50.279 - Created modular jar: 8.java.xml.jar [2025-12-16T09:37:50.595Z] STF 09:37:50.279 - [2025-12-16T09:37:50.595Z] STF 09:37:50.279 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2025-12-16T09:37:50.595Z] STF 09:37:50.279 - | Run foreground process [2025-12-16T09:37:50.595Z] STF 09:37:50.279 - | Program: C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/aqa-tests/TKG/output_17658760134559/PatModImg_AppMod_0/20251216-093744-PatModImgTest/tmp/6.XpJVM/bin/java [2025-12-16T09:37:50.595Z] STF 09:37:50.279 - | Mnemonic: OT21 [2025-12-16T09:37:50.595Z] STF 09:37:50.279 - | Echo: ECHO_ON [2025-12-16T09:37:50.595Z] STF 09:37:50.279 - | Expectation: CLEAN_RUN within 5m [2025-12-16T09:37:50.595Z] STF 09:37:50.279 - | [2025-12-16T09:37:50.595Z] STF 09:37:50.279 - Running command: C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/aqa-tests/TKG/output_17658760134559/PatModImg_AppMod_0/20251216-093744-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello -XX:+UseCompressedOops -classpath c:/jenkins/externalDependency/system_lib/junit/junit.jar;c:/jenkins/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2025-12-16T09:37:50.595Z] STF 09:37:50.279 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/aqa-tests/TKG/output_17658760134559/PatModImg_AppMod_0/20251216-093744-PatModImgTest/results/9.OT21.stderr [2025-12-16T09:37:50.595Z] STF 09:37:50.279 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/aqa-tests/TKG/output_17658760134559/PatModImg_AppMod_0/20251216-093744-PatModImgTest/results/9.OT21.stdout [2025-12-16T09:37:50.595Z] STF 09:37:50.327 - Monitoring processes: OT21 [2025-12-16T09:37:50.952Z] OT21 stderr WARNING: module-info.class ignored in patch: C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello [2025-12-16T09:37:50.952Z] OT21 JUnit version 4.12 [2025-12-16T09:37:50.952Z] OT21 . [2025-12-16T09:37:50.952Z] OT21 Time: 0.011 [2025-12-16T09:37:50.952Z] OT21 [2025-12-16T09:37:50.952Z] OT21 OK (1 test) [2025-12-16T09:37:50.952Z] OT21 [2025-12-16T09:37:50.952Z] STF 09:37:50.708 - Monitoring Report Summary: [2025-12-16T09:37:50.952Z] STF 09:37:50.708 - o Process OT21 ended with the expected exit code (0) [2025-12-16T09:37:50.952Z] STF 09:37:50.708 - [2025-12-16T09:37:50.952Z] STF 09:37:50.708 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2025-12-16T09:37:50.952Z] STF 09:37:50.708 - | Run foreground process [2025-12-16T09:37:50.952Z] STF 09:37:50.708 - | Program: C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/aqa-tests/TKG/output_17658760134559/PatModImg_AppMod_0/20251216-093744-PatModImgTest/tmp/6.XpJVM/bin/java [2025-12-16T09:37:50.952Z] STF 09:37:50.708 - | Mnemonic: OT22 [2025-12-16T09:37:50.952Z] STF 09:37:50.708 - | Echo: ECHO_ON [2025-12-16T09:37:50.952Z] STF 09:37:50.708 - | Expectation: CLEAN_RUN within 5m [2025-12-16T09:37:50.952Z] STF 09:37:50.708 - | [2025-12-16T09:37:50.952Z] STF 09:37:50.709 - Running command: C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/aqa-tests/TKG/output_17658760134559/PatModImg_AppMod_0/20251216-093744-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/aqa-tests/TKG/output_17658760134559/PatModImg_AppMod_0/20251216-093744-PatModImgTest/modules/7.com.hello.jar -XX:+UseCompressedOops -classpath c:/jenkins/externalDependency/system_lib/junit/junit.jar;c:/jenkins/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2025-12-16T09:37:50.952Z] STF 09:37:50.709 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/aqa-tests/TKG/output_17658760134559/PatModImg_AppMod_0/20251216-093744-PatModImgTest/results/10.OT22.stderr [2025-12-16T09:37:50.952Z] STF 09:37:50.709 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/aqa-tests/TKG/output_17658760134559/PatModImg_AppMod_0/20251216-093744-PatModImgTest/results/10.OT22.stdout [2025-12-16T09:37:50.952Z] STF 09:37:50.715 - Monitoring processes: OT22 [2025-12-16T09:37:51.323Z] OT22 stderr WARNING: module-info.class ignored in patch: C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0\aqa-tests\TKG\output_17658760134559\PatModImg_AppMod_0\20251216-093744-PatModImgTest\modules\7.com.hello.jar [2025-12-16T09:37:51.323Z] OT22 JUnit version 4.12 [2025-12-16T09:37:51.323Z] OT22 . [2025-12-16T09:37:51.323Z] OT22 Time: 0.008 [2025-12-16T09:37:51.323Z] OT22 [2025-12-16T09:37:51.323Z] OT22 OK (1 test) [2025-12-16T09:37:51.323Z] OT22 [2025-12-16T09:37:51.323Z] STF 09:37:51.082 - Monitoring Report Summary: [2025-12-16T09:37:51.323Z] STF 09:37:51.082 - o Process OT22 ended with the expected exit code (0) [2025-12-16T09:37:51.323Z] STF 09:37:51.082 - EXECUTE stage completed [2025-12-16T09:37:51.323Z] STF 09:37:51.102 - [2025-12-16T09:37:51.323Z] STF 09:37:51.102 - ==================== T E A R D O W N ==================== [2025-12-16T09:37:51.323Z] STF 09:37:51.102 - Running teardown: perl C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_0/aqa-tests/\TKG\output_17658760134559\PatModImg_AppMod_0/20251216-093744-PatModImgTest/tearDown.pl [2025-12-16T09:37:51.323Z] STF 09:37:51.242 - TEARDOWN stage completed [2025-12-16T09:37:51.323Z] STF 09:37:51.261 - [2025-12-16T09:37:51.323Z] STF 09:37:51.261 - ===================== R E S U L T S ===================== [2025-12-16T09:37:51.323Z] STF 09:37:51.261 - Stage results: [2025-12-16T09:37:51.323Z] STF 09:37:51.261 - setUp: pass [2025-12-16T09:37:51.323Z] STF 09:37:51.261 - execute: pass [2025-12-16T09:37:51.323Z] STF 09:37:51.261 - teardown: pass [2025-12-16T09:37:51.323Z] STF 09:37:51.261 - [2025-12-16T09:37:51.323Z] STF 09:37:51.261 - Overall result: PASSED [2025-12-16T09:37:51.324Z] ----------------------------------- [2025-12-16T09:37:51.324Z] PatModImg_AppMod_0_PASSED [2025-12-16T09:37:51.324Z] ----------------------------------- [2025-12-16T09:37:51.677Z] [2025-12-16T09:37:51.677Z] TEST TEARDOWN: [2025-12-16T09:37:51.677Z] Nothing to be done for teardown. [2025-12-16T09:37:51.677Z] PatModImg_AppMod_0 Finish Time: Tue Dec 16 09:37:51 2025 Epoch Time (ms): 1765877871474