PatModImg_AppMod_1

[2026-01-10T19:16:26.924Z] Running test PatModImg_AppMod_1 ... [2026-01-10T19:16:26.924Z] =============================================== [2026-01-10T19:16:27.576Z] PatModImg_AppMod_1 Start Time: Sat Jan 10 19:16:27 2026 Epoch Time (ms): 1768072587259 [2026-01-10T19:16:27.576Z] variation: Mode650 [2026-01-10T19:16:27.994Z] JVM_OPTIONS: -XX:-UseCompressedOops [2026-01-10T19:16:27.994Z] { \ [2026-01-10T19:16:27.994Z] echo ""; echo "TEST SETUP:"; \ [2026-01-10T19:16:27.994Z] echo "Nothing to be done for setup."; \ [2026-01-10T19:16:27.994Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17680702312693\\PatModImg_AppMod_1"; \ [2026-01-10T19:16:27.994Z] cd "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17680702312693\\PatModImg_AppMod_1"; \ [2026-01-10T19:16:27.994Z] echo ""; echo "TESTING:"; \ [2026-01-10T19:16:27.994Z] perl C:/Users/jenkins/workspace/Test_openjdk25_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_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/../../externalDependency/system_lib\\" -java-args=' -XX:-UseCompressedOops ' -results-root="C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17680702312693\\PatModImg_AppMod_1" -test=PatModImgTest -test-args="variant=AppMod"; \ [2026-01-10T19:16:27.994Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_1""_PASSED"; echo "-----------------------------------"; cd C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/; rm -f -r "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17680702312693\\PatModImg_AppMod_1"; else echo "-----------------------------------"; echo "PatModImg_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2026-01-10T19:16:27.994Z] echo ""; echo "TEST TEARDOWN:"; \ [2026-01-10T19:16:27.994Z] echo "Nothing to be done for teardown."; \ [2026-01-10T19:16:27.994Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17680702312693\\TestTargetResult"; [2026-01-10T19:16:28.296Z] [2026-01-10T19:16:28.296Z] TEST SETUP: [2026-01-10T19:16:28.296Z] Nothing to be done for setup. [2026-01-10T19:16:28.296Z] [2026-01-10T19:16:28.296Z] TESTING: [2026-01-10T19:16:28.597Z] STF 19:16:28.517 - ========================= S T F ========================= [2026-01-10T19:16:28.597Z] 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_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17680702312693\PatModImg_AppMod_1 [2026-01-10T19:16:28.899Z] There is 62750 Mb free [2026-01-10T19:16:28.899Z] STF 19:16:28.597 - ================== G E N E R A T I O N ================== [2026-01-10T19:16:28.899Z] STF 19:16:28.602 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image [2026-01-10T19:16:28.899Z] STF 19:16:28.603 - Starting process to generate scripts: C:/Users/jenkins/workspace/Test_openjdk25_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_openjdk25_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_openjdk25_hs_sanity.system_aarch64_windows_testList_1/../../externalDependency/system_lib\/asm/asm.jar;C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/../../externalDependency/system_lib\/asm/asm-commons.jar;C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/../../externalDependency/system_lib\/log4j/log4j-api.jar;C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/../../externalDependency/system_lib\/log4j/log4j-core.jar;C:/Users/jenkins/workspace/Test_openjdk25_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_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17680702312693\PatModImg_AppMod_1/20260110-191628-PatModImgTest/stf_parameters.properties, , C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17680702312693\PatModImg_AppMod_1/20260110-191628-PatModImgTest" [2026-01-10T19:16:29.964Z] GEN 19:16:29.663 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: 'C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2026-01-10T19:16:29.964Z] GEN 19:16:29.676 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2026-01-10T19:16:29.964Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2026-01-10T19:16:29.964Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2026-01-10T19:16:29.964Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2026-01-10T19:16:29.964Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2026-01-10T19:16:29.964Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2026-01-10T19:16:29.964Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2026-01-10T19:16:29.964Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2026-01-10T19:16:29.964Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2026-01-10T19:16:29.964Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2026-01-10T19:16:29.964Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2026-01-10T19:16:29.964Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2026-01-10T19:16:29.964Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2026-01-10T19:16:29.964Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2026-01-10T19:16:29.964Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2026-01-10T19:16:29.964Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2026-01-10T19:16:29.964Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2026-01-10T19:16:29.964Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2026-01-10T19:16:29.964Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-api.jar [2026-01-10T19:16:29.964Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-core.jar [2026-01-10T19:16:29.964Z] GEN C:/Users/jenkins/externalDependency/system_lib/junit/junit.jar [2026-01-10T19:16:29.964Z] GEN 19:16:29.896 - Using Mode NoOptions. Values = '' [2026-01-10T19:16:30.266Z] GEN 19:16:29.991 - [2026-01-10T19:16:30.266Z] GEN 19:16:29.991 - Test command summary: [2026-01-10T19:16:30.266Z] GEN 19:16:29.991 - Step Stage Command Description [2026-01-10T19:16:30.266Z] GEN 19:16:29.991 - -----+--------+-----------------+------------ [2026-01-10T19:16:30.266Z] GEN 19:16:29.991 - 1 execute jar Create com.hello jar [2026-01-10T19:16:30.266Z] GEN 19:16:29.991 - 2 execute jar Create com.hola jar [2026-01-10T19:16:30.266Z] GEN 19:16:29.992 - 3 execute jar Create com.helper jar [2026-01-10T19:16:30.266Z] GEN 19:16:29.992 - 4 execute jar Create com.discreet jar [2026-01-10T19:16:30.266Z] GEN 19:16:29.992 - 5 execute jar Create tests jar [2026-01-10T19:16:30.266Z] GEN 19:16:29.992 - 6 execute jlink Create runtime image for PatchModule test [2026-01-10T19:16:30.266Z] GEN 19:16:29.992 - 7 execute jar Create com.hello jar [2026-01-10T19:16:30.266Z] GEN 19:16:29.992 - 8 execute jar create java.xml.jar [2026-01-10T19:16:30.266Z] GEN 19:16:29.992 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2026-01-10T19:16:30.266Z] GEN 19:16:29.992 - 10 execute Run java Verify if we can patch an Application module using modular jar [2026-01-10T19:16:30.266Z] STF 19:16:30.025 - [2026-01-10T19:16:30.266Z] STF 19:16:30.025 - Script generation completed [2026-01-10T19:16:30.266Z] STF 19:16:30.025 - [2026-01-10T19:16:30.266Z] STF 19:16:30.027 - [2026-01-10T19:16:30.266Z] STF 19:16:30.027 - ======================= S E T U P ======================= [2026-01-10T19:16:30.266Z] STF 19:16:30.027 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17680702312693\PatModImg_AppMod_1/20260110-191628-PatModImgTest/setUp.pl [2026-01-10T19:16:30.567Z] STF 19:16:30.421 - SETUP stage completed [2026-01-10T19:16:30.567Z] STF 19:16:30.449 - [2026-01-10T19:16:30.567Z] STF 19:16:30.449 - ==================== E X E C U T E - ==================== [2026-01-10T19:16:30.567Z] STF 19:16:30.450 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17680702312693\PatModImg_AppMod_1/20260110-191628-PatModImgTest/execute.pl [2026-01-10T19:16:31.217Z] STF 19:16:30.843 - [2026-01-10T19:16:31.217Z] STF 19:16:30.843 - Java version [2026-01-10T19:16:31.217Z] STF 19:16:30.843 - Running: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2026-01-10T19:16:31.217Z] openjdk version "25.0.1" 2025-10-21 LTS [2026-01-10T19:16:31.217Z] OpenJDK Runtime Environment Temurin-25.0.1+8 (build 25.0.1+8-LTS) [2026-01-10T19:16:31.218Z] OpenJDK 64-Bit Server VM Temurin-25.0.1+8 (build 25.0.1+8-LTS, mixed mode) [2026-01-10T19:16:31.218Z] STF 19:16:30.952 - [2026-01-10T19:16:31.218Z] STF 19:16:30.952 - +------ Step 1 - Create com.hello jar [2026-01-10T19:16:31.218Z] STF 19:16:30.952 - | Create modular jar [2026-01-10T19:16:31.218Z] STF 19:16:30.952 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2026-01-10T19:16:31.218Z] STF 19:16:30.952 - | ModuleVersion: null [2026-01-10T19:16:31.218Z] STF 19:16:30.952 - | MainClass: null [2026-01-10T19:16:31.218Z] STF 19:16:30.952 - | HashModules: null [2026-01-10T19:16:31.218Z] STF 19:16:30.952 - | [2026-01-10T19:16:31.218Z] STF 19:16:30.953 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17680702312693/PatModImg_AppMod_1/20260110-191628-PatModImgTest/modules/1.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2026-01-10T19:16:31.218Z] STF 19:16:30.954 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17680702312693/PatModImg_AppMod_1/20260110-191628-PatModImgTest/results/1.CMJ.stderr [2026-01-10T19:16:31.218Z] STF 19:16:30.954 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17680702312693/PatModImg_AppMod_1/20260110-191628-PatModImgTest/results/1.CMJ.stdout [2026-01-10T19:16:31.218Z] STF 19:16:31.019 - Monitoring processes: CMJ [2026-01-10T19:16:31.518Z] STF 19:16:31.350 - Monitoring Report Summary: [2026-01-10T19:16:31.518Z] STF 19:16:31.350 - o Process CMJ ended with the expected exit code (0) [2026-01-10T19:16:31.518Z] STF 19:16:31.351 - Created modular jar: 1.com.hello.jar [2026-01-10T19:16:31.518Z] STF 19:16:31.351 - [2026-01-10T19:16:31.518Z] STF 19:16:31.351 - +------ Step 2 - Create com.hola jar [2026-01-10T19:16:31.518Z] STF 19:16:31.351 - | Create modular jar [2026-01-10T19:16:31.518Z] STF 19:16:31.351 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2026-01-10T19:16:31.518Z] STF 19:16:31.351 - | ModuleVersion: null [2026-01-10T19:16:31.518Z] STF 19:16:31.351 - | MainClass: null [2026-01-10T19:16:31.518Z] STF 19:16:31.351 - | HashModules: null [2026-01-10T19:16:31.518Z] STF 19:16:31.351 - | [2026-01-10T19:16:31.518Z] STF 19:16:31.352 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17680702312693/PatModImg_AppMod_1/20260110-191628-PatModImgTest/modules/2.com.hola.jar -C C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2026-01-10T19:16:31.518Z] STF 19:16:31.352 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17680702312693/PatModImg_AppMod_1/20260110-191628-PatModImgTest/results/2.CMJ.stderr [2026-01-10T19:16:31.518Z] STF 19:16:31.352 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17680702312693/PatModImg_AppMod_1/20260110-191628-PatModImgTest/results/2.CMJ.stdout [2026-01-10T19:16:31.518Z] STF 19:16:31.360 - Monitoring processes: CMJ [2026-01-10T19:16:31.818Z] STF 19:16:31.700 - Monitoring Report Summary: [2026-01-10T19:16:31.818Z] STF 19:16:31.700 - o Process CMJ ended with the expected exit code (0) [2026-01-10T19:16:31.818Z] STF 19:16:31.701 - Created modular jar: 2.com.hola.jar [2026-01-10T19:16:31.818Z] STF 19:16:31.701 - [2026-01-10T19:16:31.818Z] STF 19:16:31.701 - +------ Step 3 - Create com.helper jar [2026-01-10T19:16:31.818Z] STF 19:16:31.701 - | Create modular jar [2026-01-10T19:16:31.818Z] STF 19:16:31.701 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2026-01-10T19:16:31.818Z] STF 19:16:31.701 - | ModuleVersion: null [2026-01-10T19:16:31.818Z] STF 19:16:31.701 - | MainClass: null [2026-01-10T19:16:31.818Z] STF 19:16:31.701 - | HashModules: null [2026-01-10T19:16:31.818Z] STF 19:16:31.701 - | [2026-01-10T19:16:31.818Z] STF 19:16:31.701 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17680702312693/PatModImg_AppMod_1/20260110-191628-PatModImgTest/modules/3.com.helper.jar -C C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2026-01-10T19:16:31.818Z] STF 19:16:31.702 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17680702312693/PatModImg_AppMod_1/20260110-191628-PatModImgTest/results/3.CMJ.stderr [2026-01-10T19:16:31.818Z] STF 19:16:31.702 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17680702312693/PatModImg_AppMod_1/20260110-191628-PatModImgTest/results/3.CMJ.stdout [2026-01-10T19:16:31.818Z] STF 19:16:31.709 - Monitoring processes: CMJ [2026-01-10T19:16:32.119Z] STF 19:16:32.034 - Monitoring Report Summary: [2026-01-10T19:16:32.119Z] STF 19:16:32.034 - o Process CMJ ended with the expected exit code (0) [2026-01-10T19:16:32.119Z] STF 19:16:32.035 - Created modular jar: 3.com.helper.jar [2026-01-10T19:16:32.119Z] STF 19:16:32.035 - [2026-01-10T19:16:32.119Z] STF 19:16:32.035 - +------ Step 4 - Create com.discreet jar [2026-01-10T19:16:32.119Z] STF 19:16:32.035 - | Create modular jar [2026-01-10T19:16:32.119Z] STF 19:16:32.035 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2026-01-10T19:16:32.119Z] STF 19:16:32.035 - | ModuleVersion: null [2026-01-10T19:16:32.119Z] STF 19:16:32.035 - | MainClass: null [2026-01-10T19:16:32.119Z] STF 19:16:32.035 - | HashModules: null [2026-01-10T19:16:32.119Z] STF 19:16:32.035 - | [2026-01-10T19:16:32.119Z] STF 19:16:32.035 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17680702312693/PatModImg_AppMod_1/20260110-191628-PatModImgTest/modules/4.com.discreet.jar -C C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2026-01-10T19:16:32.119Z] STF 19:16:32.035 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17680702312693/PatModImg_AppMod_1/20260110-191628-PatModImgTest/results/4.CMJ.stderr [2026-01-10T19:16:32.119Z] STF 19:16:32.035 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17680702312693/PatModImg_AppMod_1/20260110-191628-PatModImgTest/results/4.CMJ.stdout [2026-01-10T19:16:32.119Z] STF 19:16:32.042 - Monitoring processes: CMJ [2026-01-10T19:16:32.769Z] STF 19:16:32.384 - Monitoring Report Summary: [2026-01-10T19:16:32.769Z] STF 19:16:32.384 - o Process CMJ ended with the expected exit code (0) [2026-01-10T19:16:32.769Z] STF 19:16:32.385 - Created modular jar: 4.com.discreet.jar [2026-01-10T19:16:32.769Z] STF 19:16:32.385 - [2026-01-10T19:16:32.769Z] STF 19:16:32.385 - +------ Step 5 - Create tests jar [2026-01-10T19:16:32.769Z] STF 19:16:32.385 - | Create modular jar [2026-01-10T19:16:32.769Z] STF 19:16:32.385 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2026-01-10T19:16:32.769Z] STF 19:16:32.385 - | ModuleVersion: null [2026-01-10T19:16:32.769Z] STF 19:16:32.385 - | MainClass: null [2026-01-10T19:16:32.769Z] STF 19:16:32.385 - | HashModules: null [2026-01-10T19:16:32.769Z] STF 19:16:32.385 - | [2026-01-10T19:16:32.769Z] STF 19:16:32.386 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17680702312693/PatModImg_AppMod_1/20260110-191628-PatModImgTest/modules/5.com.test.jar -C C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2026-01-10T19:16:32.769Z] STF 19:16:32.386 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17680702312693/PatModImg_AppMod_1/20260110-191628-PatModImgTest/results/5.CMJ.stderr [2026-01-10T19:16:32.769Z] STF 19:16:32.386 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17680702312693/PatModImg_AppMod_1/20260110-191628-PatModImgTest/results/5.CMJ.stdout [2026-01-10T19:16:32.769Z] STF 19:16:32.396 - Monitoring processes: CMJ [2026-01-10T19:16:33.070Z] STF 19:16:32.752 - Monitoring Report Summary: [2026-01-10T19:16:33.070Z] STF 19:16:32.752 - o Process CMJ ended with the expected exit code (0) [2026-01-10T19:16:33.070Z] STF 19:16:32.753 - Created modular jar: 5.com.test.jar [2026-01-10T19:16:33.070Z] STF 19:16:32.753 - [2026-01-10T19:16:33.070Z] STF 19:16:32.753 - +------ Step 6 - Create runtime image for PatchModule test [2026-01-10T19:16:33.070Z] STF 19:16:32.753 - | Run jlink to create runtime image [2026-01-10T19:16:33.070Z] STF 19:16:32.753 - | ImageName: XpJVM [2026-01-10T19:16:33.070Z] STF 19:16:32.753 - | [2026-01-10T19:16:33.070Z] STF 19:16:32.754 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jdkbinary\j2sdk-image\jmods;C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\aqa-tests\TKG\output_17680702312693\PatModImg_AppMod_1\20260110-191628-PatModImgTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\aqa-tests\TKG\output_17680702312693\PatModImg_AppMod_1\20260110-191628-PatModImgTest\tmp\6.XpJVM [2026-01-10T19:16:33.070Z] STF 19:16:32.754 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17680702312693/PatModImg_AppMod_1/20260110-191628-PatModImgTest/results/6.JLNK.stderr [2026-01-10T19:16:33.070Z] STF 19:16:32.754 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17680702312693/PatModImg_AppMod_1/20260110-191628-PatModImgTest/results/6.JLNK.stdout [2026-01-10T19:16:33.070Z] STF 19:16:32.761 - Monitoring processes: JLNK [2026-01-10T19:16:34.616Z] STF 19:16:34.530 - Monitoring Report Summary: [2026-01-10T19:16:34.616Z] STF 19:16:34.530 - o Process JLNK ended with the expected exit code (0) [2026-01-10T19:16:34.616Z] STF 19:16:34.531 - [2026-01-10T19:16:34.616Z] STF 19:16:34.531 - +------ Step 7 - Create com.hello jar [2026-01-10T19:16:34.616Z] STF 19:16:34.531 - | Create modular jar [2026-01-10T19:16:34.616Z] STF 19:16:34.531 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2026-01-10T19:16:34.616Z] STF 19:16:34.531 - | ModuleVersion: null [2026-01-10T19:16:34.616Z] STF 19:16:34.531 - | MainClass: null [2026-01-10T19:16:34.616Z] STF 19:16:34.531 - | HashModules: null [2026-01-10T19:16:34.616Z] STF 19:16:34.531 - | [2026-01-10T19:16:34.616Z] STF 19:16:34.532 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17680702312693/PatModImg_AppMod_1/20260110-191628-PatModImgTest/modules/7.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2026-01-10T19:16:34.616Z] STF 19:16:34.532 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17680702312693/PatModImg_AppMod_1/20260110-191628-PatModImgTest/results/7.CMJ.stderr [2026-01-10T19:16:34.616Z] STF 19:16:34.532 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17680702312693/PatModImg_AppMod_1/20260110-191628-PatModImgTest/results/7.CMJ.stdout [2026-01-10T19:16:34.616Z] STF 19:16:34.542 - Monitoring processes: CMJ [2026-01-10T19:16:35.269Z] STF 19:16:34.890 - Monitoring Report Summary: [2026-01-10T19:16:35.269Z] STF 19:16:34.890 - o Process CMJ ended with the expected exit code (0) [2026-01-10T19:16:35.269Z] STF 19:16:34.891 - Created modular jar: 7.com.hello.jar [2026-01-10T19:16:35.269Z] STF 19:16:34.891 - [2026-01-10T19:16:35.269Z] STF 19:16:34.892 - +------ Step 8 - create java.xml.jar [2026-01-10T19:16:35.269Z] STF 19:16:34.892 - | Create modular jar [2026-01-10T19:16:35.269Z] STF 19:16:34.892 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2026-01-10T19:16:35.269Z] STF 19:16:34.892 - | ModuleVersion: null [2026-01-10T19:16:35.269Z] STF 19:16:34.892 - | MainClass: null [2026-01-10T19:16:35.269Z] STF 19:16:34.892 - | HashModules: null [2026-01-10T19:16:35.269Z] STF 19:16:34.892 - | [2026-01-10T19:16:35.269Z] STF 19:16:34.892 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17680702312693/PatModImg_AppMod_1/20260110-191628-PatModImgTest/modules/8.java.xml.jar -C C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml . [2026-01-10T19:16:35.269Z] STF 19:16:34.892 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17680702312693/PatModImg_AppMod_1/20260110-191628-PatModImgTest/results/8.CMJ.stderr [2026-01-10T19:16:35.269Z] STF 19:16:34.893 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17680702312693/PatModImg_AppMod_1/20260110-191628-PatModImgTest/results/8.CMJ.stdout [2026-01-10T19:16:35.269Z] STF 19:16:34.900 - Monitoring processes: CMJ [2026-01-10T19:16:35.569Z] STF 19:16:35.242 - Monitoring Report Summary: [2026-01-10T19:16:35.569Z] STF 19:16:35.242 - o Process CMJ ended with the expected exit code (0) [2026-01-10T19:16:35.569Z] STF 19:16:35.242 - Created modular jar: 8.java.xml.jar [2026-01-10T19:16:35.569Z] STF 19:16:35.242 - [2026-01-10T19:16:35.569Z] STF 19:16:35.243 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2026-01-10T19:16:35.569Z] STF 19:16:35.243 - | Run foreground process [2026-01-10T19:16:35.569Z] STF 19:16:35.243 - | Program: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17680702312693/PatModImg_AppMod_1/20260110-191628-PatModImgTest/tmp/6.XpJVM/bin/java [2026-01-10T19:16:35.569Z] STF 19:16:35.243 - | Mnemonic: OT21 [2026-01-10T19:16:35.569Z] STF 19:16:35.243 - | Echo: ECHO_ON [2026-01-10T19:16:35.569Z] STF 19:16:35.243 - | Expectation: CLEAN_RUN within 5m [2026-01-10T19:16:35.569Z] STF 19:16:35.243 - | [2026-01-10T19:16:35.569Z] STF 19:16:35.243 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17680702312693/PatModImg_AppMod_1/20260110-191628-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=C:\Users\jenkins\workspace\Test_openjdk25_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-10T19:16:35.569Z] STF 19:16:35.243 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17680702312693/PatModImg_AppMod_1/20260110-191628-PatModImgTest/results/9.OT21.stderr [2026-01-10T19:16:35.569Z] STF 19:16:35.244 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17680702312693/PatModImg_AppMod_1/20260110-191628-PatModImgTest/results/9.OT21.stdout [2026-01-10T19:16:35.569Z] STF 19:16:35.268 - Monitoring processes: OT21 [2026-01-10T19:16:35.878Z] OT21 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello [2026-01-10T19:16:35.878Z] OT21 JUnit version 4.12 [2026-01-10T19:16:35.878Z] OT21 . [2026-01-10T19:16:35.878Z] OT21 Time: 0.013 [2026-01-10T19:16:35.878Z] OT21 [2026-01-10T19:16:35.878Z] OT21 OK (1 test) [2026-01-10T19:16:35.878Z] OT21 [2026-01-10T19:16:35.878Z] STF 19:16:35.702 - Monitoring Report Summary: [2026-01-10T19:16:35.878Z] STF 19:16:35.702 - o Process OT21 ended with the expected exit code (0) [2026-01-10T19:16:35.878Z] STF 19:16:35.703 - [2026-01-10T19:16:35.878Z] STF 19:16:35.703 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2026-01-10T19:16:35.878Z] STF 19:16:35.703 - | Run foreground process [2026-01-10T19:16:35.878Z] STF 19:16:35.703 - | Program: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17680702312693/PatModImg_AppMod_1/20260110-191628-PatModImgTest/tmp/6.XpJVM/bin/java [2026-01-10T19:16:35.878Z] STF 19:16:35.703 - | Mnemonic: OT22 [2026-01-10T19:16:35.878Z] STF 19:16:35.703 - | Echo: ECHO_ON [2026-01-10T19:16:35.878Z] STF 19:16:35.703 - | Expectation: CLEAN_RUN within 5m [2026-01-10T19:16:35.878Z] STF 19:16:35.703 - | [2026-01-10T19:16:35.878Z] STF 19:16:35.704 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17680702312693/PatModImg_AppMod_1/20260110-191628-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17680702312693/PatModImg_AppMod_1/20260110-191628-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-10T19:16:35.878Z] STF 19:16:35.704 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17680702312693/PatModImg_AppMod_1/20260110-191628-PatModImgTest/results/10.OT22.stderr [2026-01-10T19:16:35.878Z] STF 19:16:35.704 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17680702312693/PatModImg_AppMod_1/20260110-191628-PatModImgTest/results/10.OT22.stdout [2026-01-10T19:16:35.878Z] STF 19:16:35.713 - Monitoring processes: OT22 [2026-01-10T19:16:36.181Z] OT22 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\aqa-tests\TKG\output_17680702312693\PatModImg_AppMod_1\20260110-191628-PatModImgTest\modules\7.com.hello.jar [2026-01-10T19:16:36.181Z] OT22 JUnit version 4.12 [2026-01-10T19:16:36.181Z] OT22 . [2026-01-10T19:16:36.181Z] OT22 Time: 0.009 [2026-01-10T19:16:36.181Z] OT22 [2026-01-10T19:16:36.181Z] OT22 OK (1 test) [2026-01-10T19:16:36.181Z] OT22 [2026-01-10T19:16:36.181Z] STF 19:16:36.087 - Monitoring Report Summary: [2026-01-10T19:16:36.181Z] STF 19:16:36.087 - o Process OT22 ended with the expected exit code (0) [2026-01-10T19:16:36.181Z] STF 19:16:36.088 - EXECUTE stage completed [2026-01-10T19:16:36.181Z] STF 19:16:36.119 - [2026-01-10T19:16:36.181Z] STF 19:16:36.119 - ==================== T E A R D O W N ==================== [2026-01-10T19:16:36.181Z] STF 19:16:36.119 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17680702312693\PatModImg_AppMod_1/20260110-191628-PatModImgTest/tearDown.pl [2026-01-10T19:16:36.849Z] STF 19:16:36.501 - TEARDOWN stage completed [2026-01-10T19:16:36.849Z] STF 19:16:36.531 - [2026-01-10T19:16:36.849Z] STF 19:16:36.531 - ===================== R E S U L T S ===================== [2026-01-10T19:16:36.849Z] STF 19:16:36.531 - Stage results: [2026-01-10T19:16:36.849Z] STF 19:16:36.531 - setUp: pass [2026-01-10T19:16:36.849Z] STF 19:16:36.531 - execute: pass [2026-01-10T19:16:36.849Z] STF 19:16:36.531 - teardown: pass [2026-01-10T19:16:36.849Z] STF 19:16:36.531 - [2026-01-10T19:16:36.849Z] STF 19:16:36.531 - Overall result: PASSED [2026-01-10T19:16:36.849Z] ----------------------------------- [2026-01-10T19:16:36.849Z] PatModImg_AppMod_1_PASSED [2026-01-10T19:16:36.850Z] ----------------------------------- [2026-01-10T19:16:36.850Z] [2026-01-10T19:16:36.850Z] TEST TEARDOWN: [2026-01-10T19:16:36.850Z] Nothing to be done for teardown. [2026-01-10T19:16:37.222Z] PatModImg_AppMod_1 Finish Time: Sat Jan 10 19:16:37 2026 Epoch Time (ms): 1768072597008