PatModImg_AppMod_0

[2026-03-18T07:15:02.168Z] Running test PatModImg_AppMod_0 ... [2026-03-18T07:15:02.168Z] =============================================== [2026-03-18T07:15:02.482Z] PatModImg_AppMod_0 Start Time: Wed Mar 18 07:15:02 2026 Epoch Time (ms): 1773818102371 [2026-03-18T07:15:02.778Z] variation: Mode150 [2026-03-18T07:15:02.778Z] JVM_OPTIONS: -XX:+UseCompressedOops [2026-03-18T07:15:02.778Z] { \ [2026-03-18T07:15:02.778Z] echo ""; echo "TEST SETUP:"; \ [2026-03-18T07:15:02.778Z] echo "Nothing to be done for setup."; \ [2026-03-18T07:15:02.778Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17738157011834\\PatModImg_AppMod_0"; \ [2026-03-18T07:15:02.778Z] cd "C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17738157011834\\PatModImg_AppMod_0"; \ [2026-03-18T07:15:02.778Z] echo ""; echo "TESTING:"; \ [2026-03-18T07:15:02.778Z] 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_17738157011834\\PatModImg_AppMod_0" -test=PatModImgTest -test-args="variant=AppMod"; \ [2026-03-18T07:15:02.778Z] 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_17738157011834\\PatModImg_AppMod_0"; else echo "-----------------------------------"; echo "PatModImg_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2026-03-18T07:15:02.778Z] echo ""; echo "TEST TEARDOWN:"; \ [2026-03-18T07:15:02.778Z] echo "Nothing to be done for teardown."; \ [2026-03-18T07:15:02.778Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17738157011834\\TestTargetResult"; [2026-03-18T07:15:03.076Z] [2026-03-18T07:15:03.076Z] TEST SETUP: [2026-03-18T07:15:03.076Z] Nothing to be done for setup. [2026-03-18T07:15:03.076Z] [2026-03-18T07:15:03.076Z] TESTING: [2026-03-18T07:15:03.374Z] STF 07:15:03.334 - ========================= S T F ========================= [2026-03-18T07:15:03.374Z] 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_17738157011834\PatModImg_AppMod_0 [2026-03-18T07:15:03.672Z] There is 17039 Mb free [2026-03-18T07:15:03.672Z] STF 07:15:03.413 - ================== G E N E R A T I O N ================== [2026-03-18T07:15:03.672Z] STF 07:15:03.418 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image [2026-03-18T07:15:03.672Z] STF 07:15:03.419 - 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_17738157011834\PatModImg_AppMod_0/20260318-071503-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_17738157011834\PatModImg_AppMod_0/20260318-071503-PatModImgTest" [2026-03-18T07:15:04.724Z] GEN 07:15:04.540 - 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-03-18T07:15:04.725Z] GEN 07:15:04.554 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2026-03-18T07:15:05.022Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2026-03-18T07:15:05.022Z] 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-03-18T07:15:05.022Z] 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-03-18T07:15:05.022Z] 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-03-18T07:15:05.023Z] 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-03-18T07:15:05.023Z] 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-03-18T07:15:05.023Z] 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-03-18T07:15:05.023Z] 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-03-18T07:15:05.023Z] 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-03-18T07:15:05.023Z] 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-03-18T07:15:05.023Z] 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-03-18T07:15:05.023Z] 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-03-18T07:15:05.023Z] 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-03-18T07:15:05.023Z] GEN C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2026-03-18T07:15:05.023Z] GEN C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2026-03-18T07:15:05.023Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2026-03-18T07:15:05.023Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2026-03-18T07:15:05.023Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-api.jar [2026-03-18T07:15:05.023Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-core.jar [2026-03-18T07:15:05.023Z] GEN C:/Users/jenkins/externalDependency/system_lib/junit/junit.jar [2026-03-18T07:15:05.023Z] GEN 07:15:04.781 - Using Mode NoOptions. Values = '' [2026-03-18T07:15:05.023Z] GEN 07:15:04.916 - [2026-03-18T07:15:05.023Z] GEN 07:15:04.917 - Test command summary: [2026-03-18T07:15:05.023Z] GEN 07:15:04.917 - Step Stage Command Description [2026-03-18T07:15:05.023Z] GEN 07:15:04.918 - -----+--------+-----------------+------------ [2026-03-18T07:15:05.023Z] GEN 07:15:04.918 - 1 execute jar Create com.hello jar [2026-03-18T07:15:05.023Z] GEN 07:15:04.918 - 2 execute jar Create com.hola jar [2026-03-18T07:15:05.023Z] GEN 07:15:04.918 - 3 execute jar Create com.helper jar [2026-03-18T07:15:05.023Z] GEN 07:15:04.918 - 4 execute jar Create com.discreet jar [2026-03-18T07:15:05.023Z] GEN 07:15:04.918 - 5 execute jar Create tests jar [2026-03-18T07:15:05.023Z] GEN 07:15:04.918 - 6 execute jlink Create runtime image for PatchModule test [2026-03-18T07:15:05.023Z] GEN 07:15:04.918 - 7 execute jar Create com.hello jar [2026-03-18T07:15:05.023Z] GEN 07:15:04.918 - 8 execute jar create java.xml.jar [2026-03-18T07:15:05.023Z] GEN 07:15:04.918 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2026-03-18T07:15:05.023Z] GEN 07:15:04.918 - 10 execute Run java Verify if we can patch an Application module using modular jar [2026-03-18T07:15:05.023Z] STF 07:15:04.944 - [2026-03-18T07:15:05.023Z] STF 07:15:04.944 - Script generation completed [2026-03-18T07:15:05.023Z] STF 07:15:04.944 - [2026-03-18T07:15:05.023Z] STF 07:15:04.947 - [2026-03-18T07:15:05.023Z] STF 07:15:04.947 - ======================= S E T U P ======================= [2026-03-18T07:15:05.023Z] STF 07:15:04.947 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17738157011834\PatModImg_AppMod_0/20260318-071503-PatModImgTest/setUp.pl [2026-03-18T07:15:05.669Z] STF 07:15:05.320 - SETUP stage completed [2026-03-18T07:15:05.669Z] STF 07:15:05.363 - [2026-03-18T07:15:05.669Z] STF 07:15:05.363 - ==================== E X E C U T E - ==================== [2026-03-18T07:15:05.669Z] STF 07:15:05.363 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17738157011834\PatModImg_AppMod_0/20260318-071503-PatModImgTest/execute.pl [2026-03-18T07:15:05.967Z] STF 07:15:05.735 - [2026-03-18T07:15:05.967Z] STF 07:15:05.735 - Java version [2026-03-18T07:15:05.967Z] STF 07:15:05.735 - Running: C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2026-03-18T07:15:05.967Z] openjdk version "26" 2026-03-17 [2026-03-18T07:15:05.967Z] OpenJDK Runtime Environment Temurin-26+35 (build 26+35) [2026-03-18T07:15:05.967Z] OpenJDK 64-Bit Server VM Temurin-26+35 (build 26+35, mixed mode) [2026-03-18T07:15:05.967Z] STF 07:15:05.845 - [2026-03-18T07:15:05.967Z] STF 07:15:05.845 - +------ Step 1 - Create com.hello jar [2026-03-18T07:15:05.967Z] STF 07:15:05.845 - | Create modular jar [2026-03-18T07:15:05.967Z] STF 07:15:05.845 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2026-03-18T07:15:05.967Z] STF 07:15:05.845 - | ModuleVersion: null [2026-03-18T07:15:05.967Z] STF 07:15:05.845 - | MainClass: null [2026-03-18T07:15:05.967Z] STF 07:15:05.845 - | HashModules: null [2026-03-18T07:15:05.967Z] STF 07:15:05.845 - | [2026-03-18T07:15:05.967Z] STF 07:15:05.846 - 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_17738157011834/PatModImg_AppMod_0/20260318-071503-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-03-18T07:15:05.967Z] STF 07:15:05.847 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17738157011834/PatModImg_AppMod_0/20260318-071503-PatModImgTest/results/1.CMJ.stderr [2026-03-18T07:15:05.967Z] STF 07:15:05.847 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17738157011834/PatModImg_AppMod_0/20260318-071503-PatModImgTest/results/1.CMJ.stdout [2026-03-18T07:15:05.967Z] STF 07:15:05.913 - Monitoring processes: CMJ [2026-03-18T07:15:06.612Z] STF 07:15:06.244 - Monitoring Report Summary: [2026-03-18T07:15:06.612Z] STF 07:15:06.245 - o Process CMJ ended with the expected exit code (0) [2026-03-18T07:15:06.612Z] STF 07:15:06.245 - Created modular jar: 1.com.hello.jar [2026-03-18T07:15:06.612Z] STF 07:15:06.245 - [2026-03-18T07:15:06.612Z] STF 07:15:06.246 - +------ Step 2 - Create com.hola jar [2026-03-18T07:15:06.612Z] STF 07:15:06.246 - | Create modular jar [2026-03-18T07:15:06.612Z] STF 07:15:06.246 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2026-03-18T07:15:06.612Z] STF 07:15:06.246 - | ModuleVersion: null [2026-03-18T07:15:06.612Z] STF 07:15:06.246 - | MainClass: null [2026-03-18T07:15:06.612Z] STF 07:15:06.246 - | HashModules: null [2026-03-18T07:15:06.612Z] STF 07:15:06.246 - | [2026-03-18T07:15:06.612Z] STF 07:15:06.246 - 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_17738157011834/PatModImg_AppMod_0/20260318-071503-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-03-18T07:15:06.612Z] STF 07:15:06.246 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17738157011834/PatModImg_AppMod_0/20260318-071503-PatModImgTest/results/2.CMJ.stderr [2026-03-18T07:15:06.612Z] STF 07:15:06.246 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17738157011834/PatModImg_AppMod_0/20260318-071503-PatModImgTest/results/2.CMJ.stdout [2026-03-18T07:15:06.612Z] STF 07:15:06.254 - Monitoring processes: CMJ [2026-03-18T07:15:06.612Z] STF 07:15:06.575 - Monitoring Report Summary: [2026-03-18T07:15:06.612Z] STF 07:15:06.575 - o Process CMJ ended with the expected exit code (0) [2026-03-18T07:15:06.612Z] STF 07:15:06.576 - Created modular jar: 2.com.hola.jar [2026-03-18T07:15:06.612Z] STF 07:15:06.576 - [2026-03-18T07:15:06.612Z] STF 07:15:06.576 - +------ Step 3 - Create com.helper jar [2026-03-18T07:15:06.612Z] STF 07:15:06.576 - | Create modular jar [2026-03-18T07:15:06.612Z] STF 07:15:06.576 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2026-03-18T07:15:06.612Z] STF 07:15:06.576 - | ModuleVersion: null [2026-03-18T07:15:06.612Z] STF 07:15:06.576 - | MainClass: null [2026-03-18T07:15:06.612Z] STF 07:15:06.576 - | HashModules: null [2026-03-18T07:15:06.612Z] STF 07:15:06.576 - | [2026-03-18T07:15:06.612Z] STF 07:15:06.577 - 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_17738157011834/PatModImg_AppMod_0/20260318-071503-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-03-18T07:15:06.612Z] STF 07:15:06.577 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17738157011834/PatModImg_AppMod_0/20260318-071503-PatModImgTest/results/3.CMJ.stderr [2026-03-18T07:15:06.612Z] STF 07:15:06.577 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17738157011834/PatModImg_AppMod_0/20260318-071503-PatModImgTest/results/3.CMJ.stdout [2026-03-18T07:15:06.612Z] STF 07:15:06.583 - Monitoring processes: CMJ [2026-03-18T07:15:07.258Z] STF 07:15:06.913 - Monitoring Report Summary: [2026-03-18T07:15:07.258Z] STF 07:15:06.913 - o Process CMJ ended with the expected exit code (0) [2026-03-18T07:15:07.258Z] STF 07:15:06.914 - Created modular jar: 3.com.helper.jar [2026-03-18T07:15:07.258Z] STF 07:15:06.914 - [2026-03-18T07:15:07.258Z] STF 07:15:06.914 - +------ Step 4 - Create com.discreet jar [2026-03-18T07:15:07.258Z] STF 07:15:06.914 - | Create modular jar [2026-03-18T07:15:07.258Z] STF 07:15:06.914 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2026-03-18T07:15:07.258Z] STF 07:15:06.914 - | ModuleVersion: null [2026-03-18T07:15:07.258Z] STF 07:15:06.914 - | MainClass: null [2026-03-18T07:15:07.258Z] STF 07:15:06.914 - | HashModules: null [2026-03-18T07:15:07.258Z] STF 07:15:06.914 - | [2026-03-18T07:15:07.258Z] STF 07:15:06.915 - 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_17738157011834/PatModImg_AppMod_0/20260318-071503-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-03-18T07:15:07.258Z] STF 07:15:06.915 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17738157011834/PatModImg_AppMod_0/20260318-071503-PatModImgTest/results/4.CMJ.stderr [2026-03-18T07:15:07.258Z] STF 07:15:06.915 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17738157011834/PatModImg_AppMod_0/20260318-071503-PatModImgTest/results/4.CMJ.stdout [2026-03-18T07:15:07.258Z] STF 07:15:06.922 - Monitoring processes: CMJ [2026-03-18T07:15:07.555Z] STF 07:15:07.264 - Monitoring Report Summary: [2026-03-18T07:15:07.555Z] STF 07:15:07.264 - o Process CMJ ended with the expected exit code (0) [2026-03-18T07:15:07.555Z] STF 07:15:07.265 - Created modular jar: 4.com.discreet.jar [2026-03-18T07:15:07.555Z] STF 07:15:07.265 - [2026-03-18T07:15:07.555Z] STF 07:15:07.265 - +------ Step 5 - Create tests jar [2026-03-18T07:15:07.555Z] STF 07:15:07.265 - | Create modular jar [2026-03-18T07:15:07.555Z] STF 07:15:07.265 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2026-03-18T07:15:07.555Z] STF 07:15:07.266 - | ModuleVersion: null [2026-03-18T07:15:07.555Z] STF 07:15:07.266 - | MainClass: null [2026-03-18T07:15:07.555Z] STF 07:15:07.266 - | HashModules: null [2026-03-18T07:15:07.555Z] STF 07:15:07.266 - | [2026-03-18T07:15:07.555Z] STF 07:15:07.266 - 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_17738157011834/PatModImg_AppMod_0/20260318-071503-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-03-18T07:15:07.555Z] STF 07:15:07.266 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17738157011834/PatModImg_AppMod_0/20260318-071503-PatModImgTest/results/5.CMJ.stderr [2026-03-18T07:15:07.555Z] STF 07:15:07.266 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17738157011834/PatModImg_AppMod_0/20260318-071503-PatModImgTest/results/5.CMJ.stdout [2026-03-18T07:15:07.555Z] STF 07:15:07.274 - Monitoring processes: CMJ [2026-03-18T07:15:07.855Z] STF 07:15:07.615 - Monitoring Report Summary: [2026-03-18T07:15:07.855Z] STF 07:15:07.615 - o Process CMJ ended with the expected exit code (0) [2026-03-18T07:15:07.855Z] STF 07:15:07.616 - Created modular jar: 5.com.test.jar [2026-03-18T07:15:07.855Z] STF 07:15:07.616 - [2026-03-18T07:15:07.855Z] STF 07:15:07.616 - +------ Step 6 - Create runtime image for PatchModule test [2026-03-18T07:15:07.855Z] STF 07:15:07.616 - | Run jlink to create runtime image [2026-03-18T07:15:07.855Z] STF 07:15:07.616 - | ImageName: XpJVM [2026-03-18T07:15:07.855Z] STF 07:15:07.616 - | [2026-03-18T07:15:07.855Z] STF 07:15:07.617 - 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_17738157011834\PatModImg_AppMod_0\20260318-071503-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_17738157011834\PatModImg_AppMod_0\20260318-071503-PatModImgTest\tmp\6.XpJVM [2026-03-18T07:15:07.855Z] STF 07:15:07.617 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17738157011834/PatModImg_AppMod_0/20260318-071503-PatModImgTest/results/6.JLNK.stderr [2026-03-18T07:15:07.855Z] STF 07:15:07.617 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17738157011834/PatModImg_AppMod_0/20260318-071503-PatModImgTest/results/6.JLNK.stdout [2026-03-18T07:15:07.855Z] STF 07:15:07.700 - Monitoring processes: JLNK [2026-03-18T07:15:10.633Z] STF 07:15:10.011 - Monitoring Report Summary: [2026-03-18T07:15:10.633Z] STF 07:15:10.011 - o Process JLNK ended with the expected exit code (0) [2026-03-18T07:15:10.633Z] STF 07:15:10.012 - [2026-03-18T07:15:10.633Z] STF 07:15:10.012 - +------ Step 7 - Create com.hello jar [2026-03-18T07:15:10.633Z] STF 07:15:10.012 - | Create modular jar [2026-03-18T07:15:10.633Z] STF 07:15:10.012 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2026-03-18T07:15:10.633Z] STF 07:15:10.012 - | ModuleVersion: null [2026-03-18T07:15:10.633Z] STF 07:15:10.012 - | MainClass: null [2026-03-18T07:15:10.633Z] STF 07:15:10.012 - | HashModules: null [2026-03-18T07:15:10.633Z] STF 07:15:10.012 - | [2026-03-18T07:15:10.633Z] STF 07:15:10.012 - 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_17738157011834/PatModImg_AppMod_0/20260318-071503-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-03-18T07:15:10.633Z] STF 07:15:10.012 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17738157011834/PatModImg_AppMod_0/20260318-071503-PatModImgTest/results/7.CMJ.stderr [2026-03-18T07:15:10.633Z] STF 07:15:10.012 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17738157011834/PatModImg_AppMod_0/20260318-071503-PatModImgTest/results/7.CMJ.stdout [2026-03-18T07:15:10.633Z] STF 07:15:10.022 - Monitoring processes: CMJ [2026-03-18T07:15:10.633Z] STF 07:15:10.389 - Monitoring Report Summary: [2026-03-18T07:15:10.633Z] STF 07:15:10.389 - o Process CMJ ended with the expected exit code (0) [2026-03-18T07:15:10.633Z] STF 07:15:10.390 - Created modular jar: 7.com.hello.jar [2026-03-18T07:15:10.633Z] STF 07:15:10.390 - [2026-03-18T07:15:10.633Z] STF 07:15:10.390 - +------ Step 8 - create java.xml.jar [2026-03-18T07:15:10.633Z] STF 07:15:10.390 - | Create modular jar [2026-03-18T07:15:10.633Z] STF 07:15:10.390 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2026-03-18T07:15:10.633Z] STF 07:15:10.390 - | ModuleVersion: null [2026-03-18T07:15:10.633Z] STF 07:15:10.390 - | MainClass: null [2026-03-18T07:15:10.633Z] STF 07:15:10.390 - | HashModules: null [2026-03-18T07:15:10.633Z] STF 07:15:10.391 - | [2026-03-18T07:15:10.633Z] STF 07:15:10.391 - 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_17738157011834/PatModImg_AppMod_0/20260318-071503-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-03-18T07:15:10.633Z] STF 07:15:10.391 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17738157011834/PatModImg_AppMod_0/20260318-071503-PatModImgTest/results/8.CMJ.stderr [2026-03-18T07:15:10.633Z] STF 07:15:10.391 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17738157011834/PatModImg_AppMod_0/20260318-071503-PatModImgTest/results/8.CMJ.stdout [2026-03-18T07:15:10.633Z] STF 07:15:10.398 - Monitoring processes: CMJ [2026-03-18T07:15:10.932Z] STF 07:15:10.741 - Monitoring Report Summary: [2026-03-18T07:15:10.932Z] STF 07:15:10.742 - o Process CMJ ended with the expected exit code (0) [2026-03-18T07:15:10.932Z] STF 07:15:10.743 - Created modular jar: 8.java.xml.jar [2026-03-18T07:15:10.932Z] STF 07:15:10.743 - [2026-03-18T07:15:10.932Z] STF 07:15:10.743 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2026-03-18T07:15:10.932Z] STF 07:15:10.743 - | Run foreground process [2026-03-18T07:15:10.932Z] STF 07:15:10.743 - | Program: C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17738157011834/PatModImg_AppMod_0/20260318-071503-PatModImgTest/tmp/6.XpJVM/bin/java [2026-03-18T07:15:10.932Z] STF 07:15:10.743 - | Mnemonic: OT21 [2026-03-18T07:15:10.932Z] STF 07:15:10.743 - | Echo: ECHO_ON [2026-03-18T07:15:10.932Z] STF 07:15:10.743 - | Expectation: CLEAN_RUN within 5m [2026-03-18T07:15:10.932Z] STF 07:15:10.743 - | [2026-03-18T07:15:10.932Z] STF 07:15:10.744 - Running command: C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17738157011834/PatModImg_AppMod_0/20260318-071503-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-03-18T07:15:10.932Z] STF 07:15:10.744 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17738157011834/PatModImg_AppMod_0/20260318-071503-PatModImgTest/results/9.OT21.stderr [2026-03-18T07:15:10.932Z] STF 07:15:10.744 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17738157011834/PatModImg_AppMod_0/20260318-071503-PatModImgTest/results/9.OT21.stdout [2026-03-18T07:15:10.932Z] STF 07:15:10.769 - Monitoring processes: OT21 [2026-03-18T07:15:11.229Z] 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-03-18T07:15:11.229Z] OT21 JUnit version 4.12 [2026-03-18T07:15:11.229Z] OT21 . [2026-03-18T07:15:11.229Z] OT21 Time: 0.012 [2026-03-18T07:15:11.229Z] OT21 [2026-03-18T07:15:11.229Z] OT21 OK (1 test) [2026-03-18T07:15:11.229Z] OT21 [2026-03-18T07:15:11.528Z] STF 07:15:11.220 - Monitoring Report Summary: [2026-03-18T07:15:11.528Z] STF 07:15:11.220 - o Process OT21 ended with the expected exit code (0) [2026-03-18T07:15:11.528Z] STF 07:15:11.221 - [2026-03-18T07:15:11.528Z] STF 07:15:11.221 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2026-03-18T07:15:11.528Z] STF 07:15:11.221 - | Run foreground process [2026-03-18T07:15:11.528Z] STF 07:15:11.221 - | Program: C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17738157011834/PatModImg_AppMod_0/20260318-071503-PatModImgTest/tmp/6.XpJVM/bin/java [2026-03-18T07:15:11.528Z] STF 07:15:11.221 - | Mnemonic: OT22 [2026-03-18T07:15:11.528Z] STF 07:15:11.221 - | Echo: ECHO_ON [2026-03-18T07:15:11.528Z] STF 07:15:11.221 - | Expectation: CLEAN_RUN within 5m [2026-03-18T07:15:11.528Z] STF 07:15:11.221 - | [2026-03-18T07:15:11.528Z] STF 07:15:11.222 - Running command: C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17738157011834/PatModImg_AppMod_0/20260318-071503-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_17738157011834/PatModImg_AppMod_0/20260318-071503-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-03-18T07:15:11.528Z] STF 07:15:11.222 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17738157011834/PatModImg_AppMod_0/20260318-071503-PatModImgTest/results/10.OT22.stderr [2026-03-18T07:15:11.528Z] STF 07:15:11.222 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17738157011834/PatModImg_AppMod_0/20260318-071503-PatModImgTest/results/10.OT22.stdout [2026-03-18T07:15:11.528Z] STF 07:15:11.230 - Monitoring processes: OT22 [2026-03-18T07:15:11.528Z] 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_17738157011834\PatModImg_AppMod_0\20260318-071503-PatModImgTest\modules\7.com.hello.jar [2026-03-18T07:15:11.528Z] OT22 JUnit version 4.12 [2026-03-18T07:15:11.826Z] OT22 . [2026-03-18T07:15:11.826Z] OT22 Time: 0.008 [2026-03-18T07:15:11.826Z] OT22 [2026-03-18T07:15:11.826Z] OT22 OK (1 test) [2026-03-18T07:15:11.826Z] OT22 [2026-03-18T07:15:11.826Z] STF 07:15:11.571 - Monitoring Report Summary: [2026-03-18T07:15:11.826Z] STF 07:15:11.571 - o Process OT22 ended with the expected exit code (0) [2026-03-18T07:15:11.826Z] STF 07:15:11.572 - EXECUTE stage completed [2026-03-18T07:15:11.826Z] STF 07:15:11.615 - [2026-03-18T07:15:11.826Z] STF 07:15:11.615 - ==================== T E A R D O W N ==================== [2026-03-18T07:15:11.826Z] STF 07:15:11.615 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17738157011834\PatModImg_AppMod_0/20260318-071503-PatModImgTest/tearDown.pl [2026-03-18T07:15:12.125Z] STF 07:15:11.984 - TEARDOWN stage completed [2026-03-18T07:15:12.125Z] STF 07:15:12.010 - [2026-03-18T07:15:12.125Z] STF 07:15:12.010 - ===================== R E S U L T S ===================== [2026-03-18T07:15:12.125Z] STF 07:15:12.010 - Stage results: [2026-03-18T07:15:12.125Z] STF 07:15:12.010 - setUp: pass [2026-03-18T07:15:12.125Z] STF 07:15:12.010 - execute: pass [2026-03-18T07:15:12.125Z] STF 07:15:12.010 - teardown: pass [2026-03-18T07:15:12.125Z] STF 07:15:12.010 - [2026-03-18T07:15:12.125Z] STF 07:15:12.010 - Overall result: PASSED [2026-03-18T07:15:12.125Z] ----------------------------------- [2026-03-18T07:15:12.125Z] PatModImg_AppMod_0_PASSED [2026-03-18T07:15:12.125Z] ----------------------------------- [2026-03-18T07:15:12.422Z] [2026-03-18T07:15:12.422Z] TEST TEARDOWN: [2026-03-18T07:15:12.422Z] Nothing to be done for teardown. [2026-03-18T07:15:12.422Z] PatModImg_AppMod_0 Finish Time: Wed Mar 18 07:15:12 2026 Epoch Time (ms): 1773818112389