PatModImg_AppMod_0

[2026-01-09T11:14:06.266Z] Running test PatModImg_AppMod_0 ... [2026-01-09T11:14:06.567Z] =============================================== [2026-01-09T11:14:06.867Z] PatModImg_AppMod_0 Start Time: Fri Jan 9 11:14:06 2026 Epoch Time (ms): 1767957246619 [2026-01-09T11:14:06.867Z] variation: Mode150 [2026-01-09T11:14:07.208Z] JVM_OPTIONS: -XX:+UseCompressedOops [2026-01-09T11:14:07.208Z] { \ [2026-01-09T11:14:07.208Z] echo ""; echo "TEST SETUP:"; \ [2026-01-09T11:14:07.208Z] echo "Nothing to be done for setup."; \ [2026-01-09T11:14:07.208Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17679547476896\\PatModImg_AppMod_0"; \ [2026-01-09T11:14:07.208Z] cd "C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17679547476896\\PatModImg_AppMod_0"; \ [2026-01-09T11:14:07.208Z] echo ""; echo "TESTING:"; \ [2026-01-09T11:14:07.208Z] perl C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/../../externalDependency/system_lib\\" -java-args=' -XX:+UseCompressedOops ' -results-root="C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17679547476896\\PatModImg_AppMod_0" -test=PatModImgTest -test-args="variant=AppMod"; \ [2026-01-09T11:14:07.208Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_0""_PASSED"; echo "-----------------------------------"; cd C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/; rm -f -r "C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17679547476896\\PatModImg_AppMod_0"; else echo "-----------------------------------"; echo "PatModImg_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2026-01-09T11:14:07.208Z] echo ""; echo "TEST TEARDOWN:"; \ [2026-01-09T11:14:07.208Z] echo "Nothing to be done for teardown."; \ [2026-01-09T11:14:07.208Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17679547476896\\TestTargetResult"; [2026-01-09T11:14:07.507Z] [2026-01-09T11:14:07.507Z] TEST SETUP: [2026-01-09T11:14:07.507Z] Nothing to be done for setup. [2026-01-09T11:14:07.507Z] [2026-01-09T11:14:07.507Z] TESTING: [2026-01-09T11:14:07.806Z] STF 11:14:07.684 - ========================= S T F ========================= [2026-01-09T11:14:07.806Z] systemtest-prereqs has been processed, and set to: C:/Users/jenkins/externalDependency/system_libRetrieving amount of free space on drive containing C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17679547476896\PatModImg_AppMod_0 [2026-01-09T11:14:08.105Z] There is 64173 Mb free [2026-01-09T11:14:08.105Z] STF 11:14:07.760 - ================== G E N E R A T I O N ================== [2026-01-09T11:14:08.105Z] STF 11:14:07.765 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image [2026-01-09T11:14:08.106Z] STF 11:14:07.766 - Starting process to generate scripts: C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/../../externalDependency/system_lib\/asm/asm.jar;C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/../../externalDependency/system_lib\/asm/asm-commons.jar;C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/../../externalDependency/system_lib\/log4j/log4j-api.jar;C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/../../externalDependency/system_lib\/log4j/log4j-core.jar;C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17679547476896\PatModImg_AppMod_0/20260109-111407-PatModImgTest/stf_parameters.properties, , C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17679547476896\PatModImg_AppMod_0/20260109-111407-PatModImgTest" [2026-01-09T11:14:09.199Z] GEN 11:14:08.821 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: 'C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2026-01-09T11:14:09.199Z] GEN 11:14:08.834 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2026-01-09T11:14:09.199Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2026-01-09T11:14:09.199Z] GEN C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2026-01-09T11:14:09.199Z] GEN C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2026-01-09T11:14:09.199Z] GEN C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2026-01-09T11:14:09.199Z] GEN C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2026-01-09T11:14:09.199Z] GEN C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2026-01-09T11:14:09.199Z] GEN C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2026-01-09T11:14:09.199Z] GEN C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2026-01-09T11:14:09.199Z] GEN C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2026-01-09T11:14:09.199Z] GEN C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2026-01-09T11:14:09.199Z] GEN C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2026-01-09T11:14:09.199Z] GEN C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2026-01-09T11:14:09.199Z] GEN C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2026-01-09T11:14:09.199Z] GEN C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2026-01-09T11:14:09.199Z] GEN C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2026-01-09T11:14:09.199Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2026-01-09T11:14:09.199Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2026-01-09T11:14:09.199Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-api.jar [2026-01-09T11:14:09.199Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-core.jar [2026-01-09T11:14:09.199Z] GEN C:/Users/jenkins/externalDependency/system_lib/junit/junit.jar [2026-01-09T11:14:09.199Z] GEN 11:14:09.060 - Using Mode NoOptions. Values = '' [2026-01-09T11:14:09.497Z] GEN 11:14:09.196 - [2026-01-09T11:14:09.497Z] GEN 11:14:09.196 - Test command summary: [2026-01-09T11:14:09.497Z] GEN 11:14:09.196 - Step Stage Command Description [2026-01-09T11:14:09.497Z] GEN 11:14:09.196 - -----+--------+-----------------+------------ [2026-01-09T11:14:09.497Z] GEN 11:14:09.196 - 1 execute jar Create com.hello jar [2026-01-09T11:14:09.497Z] GEN 11:14:09.197 - 2 execute jar Create com.hola jar [2026-01-09T11:14:09.497Z] GEN 11:14:09.197 - 3 execute jar Create com.helper jar [2026-01-09T11:14:09.497Z] GEN 11:14:09.197 - 4 execute jar Create com.discreet jar [2026-01-09T11:14:09.497Z] GEN 11:14:09.197 - 5 execute jar Create tests jar [2026-01-09T11:14:09.497Z] GEN 11:14:09.197 - 6 execute jlink Create runtime image for PatchModule test [2026-01-09T11:14:09.497Z] GEN 11:14:09.197 - 7 execute jar Create com.hello jar [2026-01-09T11:14:09.497Z] GEN 11:14:09.197 - 8 execute jar create java.xml.jar [2026-01-09T11:14:09.497Z] GEN 11:14:09.197 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2026-01-09T11:14:09.497Z] GEN 11:14:09.197 - 10 execute Run java Verify if we can patch an Application module using modular jar [2026-01-09T11:14:09.497Z] STF 11:14:09.222 - [2026-01-09T11:14:09.497Z] STF 11:14:09.222 - Script generation completed [2026-01-09T11:14:09.497Z] STF 11:14:09.222 - [2026-01-09T11:14:09.497Z] STF 11:14:09.224 - [2026-01-09T11:14:09.497Z] STF 11:14:09.224 - ======================= S E T U P ======================= [2026-01-09T11:14:09.497Z] STF 11:14:09.224 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17679547476896\PatModImg_AppMod_0/20260109-111407-PatModImgTest/setUp.pl [2026-01-09T11:14:09.798Z] STF 11:14:09.589 - SETUP stage completed [2026-01-09T11:14:09.798Z] STF 11:14:09.615 - [2026-01-09T11:14:09.798Z] STF 11:14:09.615 - ==================== E X E C U T E - ==================== [2026-01-09T11:14:09.798Z] STF 11:14:09.615 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17679547476896\PatModImg_AppMod_0/20260109-111407-PatModImgTest/execute.pl [2026-01-09T11:14:10.098Z] STF 11:14:09.984 - [2026-01-09T11:14:10.098Z] STF 11:14:09.984 - Java version [2026-01-09T11:14:10.098Z] STF 11:14:09.984 - Running: C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2026-01-09T11:14:10.398Z] STF 11:14:10.093 - [2026-01-09T11:14:10.398Z] STF 11:14:10.093 - +------ Step 1 - Create com.hello jar [2026-01-09T11:14:10.398Z] STF 11:14:10.093 - | Create modular jar [2026-01-09T11:14:10.398Z] STF 11:14:10.093 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2026-01-09T11:14:10.398Z] STF 11:14:10.093 - | ModuleVersion: null [2026-01-09T11:14:10.398Z] STF 11:14:10.093 - | MainClass: null [2026-01-09T11:14:10.398Z] STF 11:14:10.093 - | HashModules: null [2026-01-09T11:14:10.398Z] STF 11:14:10.093 - | [2026-01-09T11:14:10.398Z] STF 11:14:10.094 - Running command: C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17679547476896/PatModImg_AppMod_0/20260109-111407-PatModImgTest/modules/1.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2026-01-09T11:14:10.398Z] STF 11:14:10.095 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17679547476896/PatModImg_AppMod_0/20260109-111407-PatModImgTest/results/1.CMJ.stderr [2026-01-09T11:14:10.398Z] STF 11:14:10.095 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17679547476896/PatModImg_AppMod_0/20260109-111407-PatModImgTest/results/1.CMJ.stdout [2026-01-09T11:14:10.398Z] openjdk version "26-beta" 2026-03-17 [2026-01-09T11:14:10.398Z] OpenJDK Runtime Environment Temurin-26+30-202601082139 (build 26-beta+30-ea) [2026-01-09T11:14:10.398Z] OpenJDK 64-Bit Server VM Temurin-26+30-202601082139 (build 26-beta+30-ea, mixed mode) [2026-01-09T11:14:10.398Z] STF 11:14:10.161 - Monitoring processes: CMJ [2026-01-09T11:14:10.702Z] STF 11:14:10.498 - Monitoring Report Summary: [2026-01-09T11:14:10.702Z] STF 11:14:10.498 - o Process CMJ ended with the expected exit code (0) [2026-01-09T11:14:10.702Z] STF 11:14:10.499 - Created modular jar: 1.com.hello.jar [2026-01-09T11:14:10.702Z] STF 11:14:10.499 - [2026-01-09T11:14:10.702Z] STF 11:14:10.499 - +------ Step 2 - Create com.hola jar [2026-01-09T11:14:10.702Z] STF 11:14:10.499 - | Create modular jar [2026-01-09T11:14:10.702Z] STF 11:14:10.499 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2026-01-09T11:14:10.702Z] STF 11:14:10.499 - | ModuleVersion: null [2026-01-09T11:14:10.702Z] STF 11:14:10.499 - | MainClass: null [2026-01-09T11:14:10.702Z] STF 11:14:10.499 - | HashModules: null [2026-01-09T11:14:10.702Z] STF 11:14:10.499 - | [2026-01-09T11:14:10.702Z] STF 11:14:10.500 - Running command: C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17679547476896/PatModImg_AppMod_0/20260109-111407-PatModImgTest/modules/2.com.hola.jar -C C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2026-01-09T11:14:10.702Z] STF 11:14:10.500 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17679547476896/PatModImg_AppMod_0/20260109-111407-PatModImgTest/results/2.CMJ.stderr [2026-01-09T11:14:10.702Z] STF 11:14:10.500 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17679547476896/PatModImg_AppMod_0/20260109-111407-PatModImgTest/results/2.CMJ.stdout [2026-01-09T11:14:10.702Z] STF 11:14:10.507 - Monitoring processes: CMJ [2026-01-09T11:14:11.000Z] STF 11:14:10.848 - Monitoring Report Summary: [2026-01-09T11:14:11.000Z] STF 11:14:10.848 - o Process CMJ ended with the expected exit code (0) [2026-01-09T11:14:11.000Z] STF 11:14:10.849 - Created modular jar: 2.com.hola.jar [2026-01-09T11:14:11.000Z] STF 11:14:10.849 - [2026-01-09T11:14:11.000Z] STF 11:14:10.849 - +------ Step 3 - Create com.helper jar [2026-01-09T11:14:11.000Z] STF 11:14:10.849 - | Create modular jar [2026-01-09T11:14:11.000Z] STF 11:14:10.849 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2026-01-09T11:14:11.000Z] STF 11:14:10.849 - | ModuleVersion: null [2026-01-09T11:14:11.000Z] STF 11:14:10.849 - | MainClass: null [2026-01-09T11:14:11.000Z] STF 11:14:10.849 - | HashModules: null [2026-01-09T11:14:11.000Z] STF 11:14:10.849 - | [2026-01-09T11:14:11.000Z] STF 11:14:10.850 - Running command: C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17679547476896/PatModImg_AppMod_0/20260109-111407-PatModImgTest/modules/3.com.helper.jar -C C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2026-01-09T11:14:11.000Z] STF 11:14:10.850 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17679547476896/PatModImg_AppMod_0/20260109-111407-PatModImgTest/results/3.CMJ.stderr [2026-01-09T11:14:11.000Z] STF 11:14:10.850 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17679547476896/PatModImg_AppMod_0/20260109-111407-PatModImgTest/results/3.CMJ.stdout [2026-01-09T11:14:11.000Z] STF 11:14:10.857 - Monitoring processes: CMJ [2026-01-09T11:14:11.299Z] STF 11:14:11.199 - Monitoring Report Summary: [2026-01-09T11:14:11.299Z] STF 11:14:11.200 - o Process CMJ ended with the expected exit code (0) [2026-01-09T11:14:11.299Z] STF 11:14:11.200 - Created modular jar: 3.com.helper.jar [2026-01-09T11:14:11.299Z] STF 11:14:11.200 - [2026-01-09T11:14:11.299Z] STF 11:14:11.200 - +------ Step 4 - Create com.discreet jar [2026-01-09T11:14:11.299Z] STF 11:14:11.200 - | Create modular jar [2026-01-09T11:14:11.299Z] STF 11:14:11.201 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2026-01-09T11:14:11.299Z] STF 11:14:11.201 - | ModuleVersion: null [2026-01-09T11:14:11.299Z] STF 11:14:11.201 - | MainClass: null [2026-01-09T11:14:11.299Z] STF 11:14:11.201 - | HashModules: null [2026-01-09T11:14:11.299Z] STF 11:14:11.201 - | [2026-01-09T11:14:11.299Z] STF 11:14:11.201 - Running command: C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17679547476896/PatModImg_AppMod_0/20260109-111407-PatModImgTest/modules/4.com.discreet.jar -C C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2026-01-09T11:14:11.299Z] STF 11:14:11.201 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17679547476896/PatModImg_AppMod_0/20260109-111407-PatModImgTest/results/4.CMJ.stderr [2026-01-09T11:14:11.299Z] STF 11:14:11.201 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17679547476896/PatModImg_AppMod_0/20260109-111407-PatModImgTest/results/4.CMJ.stdout [2026-01-09T11:14:11.299Z] STF 11:14:11.208 - Monitoring processes: CMJ [2026-01-09T11:14:11.597Z] STF 11:14:11.551 - Monitoring Report Summary: [2026-01-09T11:14:11.597Z] STF 11:14:11.551 - o Process CMJ ended with the expected exit code (0) [2026-01-09T11:14:11.597Z] STF 11:14:11.552 - Created modular jar: 4.com.discreet.jar [2026-01-09T11:14:11.597Z] STF 11:14:11.552 - [2026-01-09T11:14:11.597Z] STF 11:14:11.552 - +------ Step 5 - Create tests jar [2026-01-09T11:14:11.597Z] STF 11:14:11.552 - | Create modular jar [2026-01-09T11:14:11.597Z] STF 11:14:11.552 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2026-01-09T11:14:11.597Z] STF 11:14:11.552 - | ModuleVersion: null [2026-01-09T11:14:11.597Z] STF 11:14:11.552 - | MainClass: null [2026-01-09T11:14:11.597Z] STF 11:14:11.552 - | HashModules: null [2026-01-09T11:14:11.597Z] STF 11:14:11.552 - | [2026-01-09T11:14:11.597Z] STF 11:14:11.553 - Running command: C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17679547476896/PatModImg_AppMod_0/20260109-111407-PatModImgTest/modules/5.com.test.jar -C C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2026-01-09T11:14:11.597Z] STF 11:14:11.553 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17679547476896/PatModImg_AppMod_0/20260109-111407-PatModImgTest/results/5.CMJ.stderr [2026-01-09T11:14:11.597Z] STF 11:14:11.553 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17679547476896/PatModImg_AppMod_0/20260109-111407-PatModImgTest/results/5.CMJ.stdout [2026-01-09T11:14:11.597Z] STF 11:14:11.560 - Monitoring processes: CMJ [2026-01-09T11:14:12.246Z] STF 11:14:11.918 - Monitoring Report Summary: [2026-01-09T11:14:12.246Z] STF 11:14:11.918 - o Process CMJ ended with the expected exit code (0) [2026-01-09T11:14:12.246Z] STF 11:14:11.919 - Created modular jar: 5.com.test.jar [2026-01-09T11:14:12.246Z] STF 11:14:11.919 - [2026-01-09T11:14:12.246Z] STF 11:14:11.919 - +------ Step 6 - Create runtime image for PatchModule test [2026-01-09T11:14:12.246Z] STF 11:14:11.920 - | Run jlink to create runtime image [2026-01-09T11:14:12.246Z] STF 11:14:11.920 - | ImageName: XpJVM [2026-01-09T11:14:12.246Z] STF 11:14:11.920 - | [2026-01-09T11:14:12.246Z] STF 11:14:11.920 - Running command: C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jdkbinary\j2sdk-image\jmods;C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\aqa-tests\TKG\output_17679547476896\PatModImg_AppMod_0\20260109-111407-PatModImgTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\aqa-tests\TKG\output_17679547476896\PatModImg_AppMod_0\20260109-111407-PatModImgTest\tmp\6.XpJVM [2026-01-09T11:14:12.246Z] STF 11:14:11.920 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17679547476896/PatModImg_AppMod_0/20260109-111407-PatModImgTest/results/6.JLNK.stderr [2026-01-09T11:14:12.246Z] STF 11:14:11.920 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17679547476896/PatModImg_AppMod_0/20260109-111407-PatModImgTest/results/6.JLNK.stdout [2026-01-09T11:14:12.246Z] STF 11:14:12.016 - Monitoring processes: JLNK [2026-01-09T11:14:15.065Z] STF 11:14:14.286 - Monitoring Report Summary: [2026-01-09T11:14:15.065Z] STF 11:14:14.286 - o Process JLNK ended with the expected exit code (0) [2026-01-09T11:14:15.065Z] STF 11:14:14.287 - [2026-01-09T11:14:15.065Z] STF 11:14:14.287 - +------ Step 7 - Create com.hello jar [2026-01-09T11:14:15.065Z] STF 11:14:14.287 - | Create modular jar [2026-01-09T11:14:15.065Z] STF 11:14:14.287 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2026-01-09T11:14:15.065Z] STF 11:14:14.287 - | ModuleVersion: null [2026-01-09T11:14:15.065Z] STF 11:14:14.287 - | MainClass: null [2026-01-09T11:14:15.065Z] STF 11:14:14.287 - | HashModules: null [2026-01-09T11:14:15.065Z] STF 11:14:14.287 - | [2026-01-09T11:14:15.065Z] STF 11:14:14.288 - Running command: C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17679547476896/PatModImg_AppMod_0/20260109-111407-PatModImgTest/modules/7.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2026-01-09T11:14:15.065Z] STF 11:14:14.288 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17679547476896/PatModImg_AppMod_0/20260109-111407-PatModImgTest/results/7.CMJ.stderr [2026-01-09T11:14:15.065Z] STF 11:14:14.288 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17679547476896/PatModImg_AppMod_0/20260109-111407-PatModImgTest/results/7.CMJ.stdout [2026-01-09T11:14:15.065Z] STF 11:14:14.301 - Monitoring processes: CMJ [2026-01-09T11:14:15.065Z] STF 11:14:14.729 - Monitoring Report Summary: [2026-01-09T11:14:15.065Z] STF 11:14:14.729 - o Process CMJ ended with the expected exit code (0) [2026-01-09T11:14:15.065Z] STF 11:14:14.730 - Created modular jar: 7.com.hello.jar [2026-01-09T11:14:15.065Z] STF 11:14:14.730 - [2026-01-09T11:14:15.065Z] STF 11:14:14.730 - +------ Step 8 - create java.xml.jar [2026-01-09T11:14:15.065Z] STF 11:14:14.730 - | Create modular jar [2026-01-09T11:14:15.065Z] STF 11:14:14.730 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2026-01-09T11:14:15.065Z] STF 11:14:14.730 - | ModuleVersion: null [2026-01-09T11:14:15.065Z] STF 11:14:14.730 - | MainClass: null [2026-01-09T11:14:15.065Z] STF 11:14:14.730 - | HashModules: null [2026-01-09T11:14:15.065Z] STF 11:14:14.730 - | [2026-01-09T11:14:15.065Z] STF 11:14:14.731 - Running command: C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17679547476896/PatModImg_AppMod_0/20260109-111407-PatModImgTest/modules/8.java.xml.jar -C C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml . [2026-01-09T11:14:15.066Z] STF 11:14:14.731 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17679547476896/PatModImg_AppMod_0/20260109-111407-PatModImgTest/results/8.CMJ.stderr [2026-01-09T11:14:15.066Z] STF 11:14:14.731 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17679547476896/PatModImg_AppMod_0/20260109-111407-PatModImgTest/results/8.CMJ.stdout [2026-01-09T11:14:15.066Z] STF 11:14:14.738 - Monitoring processes: CMJ [2026-01-09T11:14:15.367Z] STF 11:14:15.078 - Monitoring Report Summary: [2026-01-09T11:14:15.367Z] STF 11:14:15.078 - o Process CMJ ended with the expected exit code (0) [2026-01-09T11:14:15.367Z] STF 11:14:15.079 - Created modular jar: 8.java.xml.jar [2026-01-09T11:14:15.367Z] STF 11:14:15.079 - [2026-01-09T11:14:15.367Z] STF 11:14:15.079 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2026-01-09T11:14:15.367Z] STF 11:14:15.079 - | Run foreground process [2026-01-09T11:14:15.367Z] STF 11:14:15.079 - | Program: C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17679547476896/PatModImg_AppMod_0/20260109-111407-PatModImgTest/tmp/6.XpJVM/bin/java [2026-01-09T11:14:15.367Z] STF 11:14:15.079 - | Mnemonic: OT21 [2026-01-09T11:14:15.367Z] STF 11:14:15.079 - | Echo: ECHO_ON [2026-01-09T11:14:15.367Z] STF 11:14:15.079 - | Expectation: CLEAN_RUN within 5m [2026-01-09T11:14:15.367Z] STF 11:14:15.079 - | [2026-01-09T11:14:15.367Z] STF 11:14:15.080 - Running command: C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17679547476896/PatModImg_AppMod_0/20260109-111407-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello -XX:+UseCompressedOops -classpath C:/Users/jenkins/externalDependency/system_lib/junit/junit.jar;C:/Users/jenkins/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2026-01-09T11:14:15.367Z] STF 11:14:15.080 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17679547476896/PatModImg_AppMod_0/20260109-111407-PatModImgTest/results/9.OT21.stderr [2026-01-09T11:14:15.367Z] STF 11:14:15.080 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17679547476896/PatModImg_AppMod_0/20260109-111407-PatModImgTest/results/9.OT21.stdout [2026-01-09T11:14:15.367Z] STF 11:14:15.105 - Monitoring processes: OT21 [2026-01-09T11:14:15.668Z] OT21 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello [2026-01-09T11:14:15.668Z] OT21 JUnit version 4.12 [2026-01-09T11:14:15.668Z] OT21 . [2026-01-09T11:14:15.668Z] OT21 Time: 0.012 [2026-01-09T11:14:15.668Z] OT21 [2026-01-09T11:14:15.668Z] OT21 OK (1 test) [2026-01-09T11:14:15.668Z] OT21 [2026-01-09T11:14:15.668Z] STF 11:14:15.540 - Monitoring Report Summary: [2026-01-09T11:14:15.668Z] STF 11:14:15.540 - o Process OT21 ended with the expected exit code (0) [2026-01-09T11:14:15.668Z] STF 11:14:15.541 - [2026-01-09T11:14:15.668Z] STF 11:14:15.541 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2026-01-09T11:14:15.668Z] STF 11:14:15.541 - | Run foreground process [2026-01-09T11:14:15.668Z] STF 11:14:15.541 - | Program: C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17679547476896/PatModImg_AppMod_0/20260109-111407-PatModImgTest/tmp/6.XpJVM/bin/java [2026-01-09T11:14:15.668Z] STF 11:14:15.541 - | Mnemonic: OT22 [2026-01-09T11:14:15.668Z] STF 11:14:15.541 - | Echo: ECHO_ON [2026-01-09T11:14:15.668Z] STF 11:14:15.541 - | Expectation: CLEAN_RUN within 5m [2026-01-09T11:14:15.668Z] STF 11:14:15.541 - | [2026-01-09T11:14:15.668Z] STF 11:14:15.542 - Running command: C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17679547476896/PatModImg_AppMod_0/20260109-111407-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17679547476896/PatModImg_AppMod_0/20260109-111407-PatModImgTest/modules/7.com.hello.jar -XX:+UseCompressedOops -classpath C:/Users/jenkins/externalDependency/system_lib/junit/junit.jar;C:/Users/jenkins/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2026-01-09T11:14:15.668Z] STF 11:14:15.542 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17679547476896/PatModImg_AppMod_0/20260109-111407-PatModImgTest/results/10.OT22.stderr [2026-01-09T11:14:15.668Z] STF 11:14:15.542 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17679547476896/PatModImg_AppMod_0/20260109-111407-PatModImgTest/results/10.OT22.stdout [2026-01-09T11:14:15.668Z] STF 11:14:15.550 - Monitoring processes: OT22 [2026-01-09T11:14:15.968Z] OT22 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\aqa-tests\TKG\output_17679547476896\PatModImg_AppMod_0\20260109-111407-PatModImgTest\modules\7.com.hello.jar [2026-01-09T11:14:15.968Z] OT22 JUnit version 4.12 [2026-01-09T11:14:15.968Z] OT22 . [2026-01-09T11:14:15.968Z] OT22 Time: 0.008 [2026-01-09T11:14:15.968Z] OT22 [2026-01-09T11:14:15.968Z] OT22 OK (1 test) [2026-01-09T11:14:15.968Z] OT22 [2026-01-09T11:14:15.968Z] STF 11:14:15.890 - Monitoring Report Summary: [2026-01-09T11:14:15.968Z] STF 11:14:15.890 - o Process OT22 ended with the expected exit code (0) [2026-01-09T11:14:15.968Z] STF 11:14:15.891 - EXECUTE stage completed [2026-01-09T11:14:16.267Z] STF 11:14:15.951 - [2026-01-09T11:14:16.267Z] STF 11:14:15.951 - ==================== T E A R D O W N ==================== [2026-01-09T11:14:16.268Z] STF 11:14:15.952 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17679547476896\PatModImg_AppMod_0/20260109-111407-PatModImgTest/tearDown.pl [2026-01-09T11:14:16.613Z] STF 11:14:16.311 - TEARDOWN stage completed [2026-01-09T11:14:16.613Z] STF 11:14:16.352 - [2026-01-09T11:14:16.613Z] STF 11:14:16.352 - ===================== R E S U L T S ===================== [2026-01-09T11:14:16.613Z] STF 11:14:16.352 - Stage results: [2026-01-09T11:14:16.613Z] STF 11:14:16.352 - setUp: pass [2026-01-09T11:14:16.613Z] STF 11:14:16.352 - execute: pass [2026-01-09T11:14:16.613Z] STF 11:14:16.352 - teardown: pass [2026-01-09T11:14:16.613Z] STF 11:14:16.352 - [2026-01-09T11:14:16.613Z] STF 11:14:16.352 - Overall result: PASSED [2026-01-09T11:14:16.613Z] ----------------------------------- [2026-01-09T11:14:16.613Z] PatModImg_AppMod_0_PASSED [2026-01-09T11:14:16.613Z] ----------------------------------- [2026-01-09T11:14:16.613Z] [2026-01-09T11:14:16.613Z] TEST TEARDOWN: [2026-01-09T11:14:16.613Z] Nothing to be done for teardown. [2026-01-09T11:14:16.916Z] PatModImg_AppMod_0 Finish Time: Fri Jan 9 11:14:16 2026 Epoch Time (ms): 1767957256750