PatModImg_AppMod_0

[2025-12-05T15:39:58.882Z] Running test PatModImg_AppMod_0 ... [2025-12-05T15:39:59.170Z] =============================================== [2025-12-05T15:39:59.459Z] PatModImg_AppMod_0 Start Time: Fri Dec 5 15:39:59 2025 Epoch Time (ms): 1764949199252 [2025-12-05T15:39:59.749Z] variation: Mode150 [2025-12-05T15:40:00.038Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-12-05T15:40:00.039Z] { \ [2025-12-05T15:40:00.039Z] echo ""; echo "TEST SETUP:"; \ [2025-12-05T15:40:00.039Z] echo "Nothing to be done for setup."; \ [2025-12-05T15:40:00.039Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17649486512044\\PatModImg_AppMod_0"; \ [2025-12-05T15:40:00.039Z] cd "C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17649486512044\\PatModImg_AppMod_0"; \ [2025-12-05T15:40:00.039Z] echo ""; echo "TESTING:"; \ [2025-12-05T15:40:00.039Z] 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_17649486512044\\PatModImg_AppMod_0" -test=PatModImgTest -test-args="variant=AppMod"; \ [2025-12-05T15:40:00.039Z] 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_17649486512044\\PatModImg_AppMod_0"; else echo "-----------------------------------"; echo "PatModImg_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-12-05T15:40:00.039Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-12-05T15:40:00.039Z] echo "Nothing to be done for teardown."; \ [2025-12-05T15:40:00.039Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17649486512044\\TestTargetResult"; [2025-12-05T15:40:00.328Z] [2025-12-05T15:40:00.328Z] TEST SETUP: [2025-12-05T15:40:00.328Z] Nothing to be done for setup. [2025-12-05T15:40:00.328Z] [2025-12-05T15:40:00.328Z] TESTING: [2025-12-05T15:40:00.616Z] STF 15:40:00.476 - ========================= S T F ========================= [2025-12-05T15:40:00.616Z] 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_17649486512044\PatModImg_AppMod_0 [2025-12-05T15:40:00.904Z] There is 17594 Mb free [2025-12-05T15:40:00.904Z] STF 15:40:00.555 - ================== G E N E R A T I O N ================== [2025-12-05T15:40:00.904Z] STF 15:40:00.561 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image [2025-12-05T15:40:00.904Z] STF 15:40:00.562 - 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_17649486512044\PatModImg_AppMod_0/20251205-154000-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_17649486512044\PatModImg_AppMod_0/20251205-154000-PatModImgTest" [2025-12-05T15:40:01.953Z] GEN 15:40:01.746 - 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' [2025-12-05T15:40:01.953Z] GEN 15:40:01.761 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-12-05T15:40:02.246Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-12-05T15:40:02.246Z] 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 [2025-12-05T15:40:02.246Z] 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 [2025-12-05T15:40:02.246Z] 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 [2025-12-05T15:40:02.246Z] 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 [2025-12-05T15:40:02.246Z] 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 [2025-12-05T15:40:02.246Z] 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 [2025-12-05T15:40:02.246Z] 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 [2025-12-05T15:40:02.246Z] 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 [2025-12-05T15:40:02.246Z] GEN C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2025-12-05T15:40:02.246Z] 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 [2025-12-05T15:40:02.246Z] GEN C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2025-12-05T15:40:02.246Z] GEN C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2025-12-05T15:40:02.246Z] GEN C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-12-05T15:40:02.246Z] GEN C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-12-05T15:40:02.246Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-12-05T15:40:02.246Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2025-12-05T15:40:02.246Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-api.jar [2025-12-05T15:40:02.246Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-core.jar [2025-12-05T15:40:02.246Z] GEN C:/Users/jenkins/externalDependency/system_lib/junit/junit.jar [2025-12-05T15:40:02.246Z] GEN 15:40:01.976 - Using Mode NoOptions. Values = '' [2025-12-05T15:40:02.246Z] GEN 15:40:02.088 - [2025-12-05T15:40:02.246Z] GEN 15:40:02.088 - Test command summary: [2025-12-05T15:40:02.246Z] GEN 15:40:02.088 - Step Stage Command Description [2025-12-05T15:40:02.246Z] GEN 15:40:02.089 - -----+--------+-----------------+------------ [2025-12-05T15:40:02.246Z] GEN 15:40:02.089 - 1 execute jar Create com.hello jar [2025-12-05T15:40:02.246Z] GEN 15:40:02.089 - 2 execute jar Create com.hola jar [2025-12-05T15:40:02.246Z] GEN 15:40:02.089 - 3 execute jar Create com.helper jar [2025-12-05T15:40:02.246Z] GEN 15:40:02.089 - 4 execute jar Create com.discreet jar [2025-12-05T15:40:02.246Z] GEN 15:40:02.089 - 5 execute jar Create tests jar [2025-12-05T15:40:02.246Z] GEN 15:40:02.089 - 6 execute jlink Create runtime image for PatchModule test [2025-12-05T15:40:02.246Z] GEN 15:40:02.089 - 7 execute jar Create com.hello jar [2025-12-05T15:40:02.246Z] GEN 15:40:02.089 - 8 execute jar create java.xml.jar [2025-12-05T15:40:02.246Z] GEN 15:40:02.089 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2025-12-05T15:40:02.246Z] GEN 15:40:02.090 - 10 execute Run java Verify if we can patch an Application module using modular jar [2025-12-05T15:40:02.246Z] STF 15:40:02.135 - [2025-12-05T15:40:02.246Z] STF 15:40:02.135 - Script generation completed [2025-12-05T15:40:02.246Z] STF 15:40:02.135 - [2025-12-05T15:40:02.246Z] STF 15:40:02.138 - [2025-12-05T15:40:02.246Z] STF 15:40:02.138 - ======================= S E T U P ======================= [2025-12-05T15:40:02.246Z] STF 15:40:02.138 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17649486512044\PatModImg_AppMod_0/20251205-154000-PatModImgTest/setUp.pl [2025-12-05T15:40:02.879Z] STF 15:40:02.516 - SETUP stage completed [2025-12-05T15:40:02.879Z] STF 15:40:02.543 - [2025-12-05T15:40:02.879Z] STF 15:40:02.543 - ==================== E X E C U T E - ==================== [2025-12-05T15:40:02.879Z] STF 15:40:02.543 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17649486512044\PatModImg_AppMod_0/20251205-154000-PatModImgTest/execute.pl [2025-12-05T15:40:03.168Z] STF 15:40:02.925 - [2025-12-05T15:40:03.168Z] STF 15:40:02.926 - Java version [2025-12-05T15:40:03.168Z] STF 15:40:02.926 - Running: C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2025-12-05T15:40:03.168Z] STF 15:40:03.037 - [2025-12-05T15:40:03.168Z] STF 15:40:03.038 - +------ Step 1 - Create com.hello jar [2025-12-05T15:40:03.168Z] STF 15:40:03.038 - | Create modular jar [2025-12-05T15:40:03.168Z] STF 15:40:03.038 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-12-05T15:40:03.168Z] STF 15:40:03.038 - | ModuleVersion: null [2025-12-05T15:40:03.168Z] STF 15:40:03.038 - | MainClass: null [2025-12-05T15:40:03.168Z] STF 15:40:03.038 - | HashModules: null [2025-12-05T15:40:03.168Z] STF 15:40:03.038 - | [2025-12-05T15:40:03.168Z] STF 15:40:03.039 - 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_17649486512044/PatModImg_AppMod_0/20251205-154000-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 . [2025-12-05T15:40:03.168Z] STF 15:40:03.045 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17649486512044/PatModImg_AppMod_0/20251205-154000-PatModImgTest/results/1.CMJ.stderr [2025-12-05T15:40:03.168Z] STF 15:40:03.045 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17649486512044/PatModImg_AppMod_0/20251205-154000-PatModImgTest/results/1.CMJ.stdout [2025-12-05T15:40:03.168Z] openjdk version "26-beta" 2026-03-17 [2025-12-05T15:40:03.168Z] OpenJDK Runtime Environment Temurin-26+26-202512051146 (build 26-beta+26-ea) [2025-12-05T15:40:03.168Z] OpenJDK 64-Bit Server VM Temurin-26+26-202512051146 (build 26-beta+26-ea, mixed mode) [2025-12-05T15:40:03.168Z] STF 15:40:03.113 - Monitoring processes: CMJ [2025-12-05T15:40:03.795Z] STF 15:40:03.454 - Monitoring Report Summary: [2025-12-05T15:40:03.795Z] STF 15:40:03.455 - o Process CMJ ended with the expected exit code (0) [2025-12-05T15:40:03.795Z] STF 15:40:03.455 - Created modular jar: 1.com.hello.jar [2025-12-05T15:40:03.795Z] STF 15:40:03.455 - [2025-12-05T15:40:03.795Z] STF 15:40:03.455 - +------ Step 2 - Create com.hola jar [2025-12-05T15:40:03.795Z] STF 15:40:03.456 - | Create modular jar [2025-12-05T15:40:03.795Z] STF 15:40:03.456 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-12-05T15:40:03.795Z] STF 15:40:03.456 - | ModuleVersion: null [2025-12-05T15:40:03.795Z] STF 15:40:03.456 - | MainClass: null [2025-12-05T15:40:03.795Z] STF 15:40:03.456 - | HashModules: null [2025-12-05T15:40:03.795Z] STF 15:40:03.456 - | [2025-12-05T15:40:03.795Z] STF 15:40:03.456 - 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_17649486512044/PatModImg_AppMod_0/20251205-154000-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 . [2025-12-05T15:40:03.795Z] STF 15:40:03.456 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17649486512044/PatModImg_AppMod_0/20251205-154000-PatModImgTest/results/2.CMJ.stderr [2025-12-05T15:40:03.795Z] STF 15:40:03.456 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17649486512044/PatModImg_AppMod_0/20251205-154000-PatModImgTest/results/2.CMJ.stdout [2025-12-05T15:40:03.795Z] STF 15:40:03.464 - Monitoring processes: CMJ [2025-12-05T15:40:04.084Z] STF 15:40:03.805 - Monitoring Report Summary: [2025-12-05T15:40:04.084Z] STF 15:40:03.805 - o Process CMJ ended with the expected exit code (0) [2025-12-05T15:40:04.084Z] STF 15:40:03.806 - Created modular jar: 2.com.hola.jar [2025-12-05T15:40:04.084Z] STF 15:40:03.806 - [2025-12-05T15:40:04.084Z] STF 15:40:03.806 - +------ Step 3 - Create com.helper jar [2025-12-05T15:40:04.084Z] STF 15:40:03.806 - | Create modular jar [2025-12-05T15:40:04.084Z] STF 15:40:03.806 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-12-05T15:40:04.084Z] STF 15:40:03.806 - | ModuleVersion: null [2025-12-05T15:40:04.084Z] STF 15:40:03.806 - | MainClass: null [2025-12-05T15:40:04.084Z] STF 15:40:03.806 - | HashModules: null [2025-12-05T15:40:04.084Z] STF 15:40:03.806 - | [2025-12-05T15:40:04.084Z] STF 15:40:03.807 - 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_17649486512044/PatModImg_AppMod_0/20251205-154000-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 . [2025-12-05T15:40:04.084Z] STF 15:40:03.807 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17649486512044/PatModImg_AppMod_0/20251205-154000-PatModImgTest/results/3.CMJ.stderr [2025-12-05T15:40:04.084Z] STF 15:40:03.807 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17649486512044/PatModImg_AppMod_0/20251205-154000-PatModImgTest/results/3.CMJ.stdout [2025-12-05T15:40:04.084Z] STF 15:40:03.815 - Monitoring processes: CMJ [2025-12-05T15:40:04.373Z] STF 15:40:04.153 - Monitoring Report Summary: [2025-12-05T15:40:04.373Z] STF 15:40:04.153 - o Process CMJ ended with the expected exit code (0) [2025-12-05T15:40:04.373Z] STF 15:40:04.154 - Created modular jar: 3.com.helper.jar [2025-12-05T15:40:04.373Z] STF 15:40:04.154 - [2025-12-05T15:40:04.373Z] STF 15:40:04.154 - +------ Step 4 - Create com.discreet jar [2025-12-05T15:40:04.373Z] STF 15:40:04.154 - | Create modular jar [2025-12-05T15:40:04.374Z] STF 15:40:04.154 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-12-05T15:40:04.374Z] STF 15:40:04.154 - | ModuleVersion: null [2025-12-05T15:40:04.374Z] STF 15:40:04.154 - | MainClass: null [2025-12-05T15:40:04.374Z] STF 15:40:04.154 - | HashModules: null [2025-12-05T15:40:04.374Z] STF 15:40:04.154 - | [2025-12-05T15:40:04.374Z] STF 15:40:04.155 - 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_17649486512044/PatModImg_AppMod_0/20251205-154000-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 . [2025-12-05T15:40:04.374Z] STF 15:40:04.155 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17649486512044/PatModImg_AppMod_0/20251205-154000-PatModImgTest/results/4.CMJ.stderr [2025-12-05T15:40:04.374Z] STF 15:40:04.155 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17649486512044/PatModImg_AppMod_0/20251205-154000-PatModImgTest/results/4.CMJ.stdout [2025-12-05T15:40:04.374Z] STF 15:40:04.162 - Monitoring processes: CMJ [2025-12-05T15:40:04.662Z] STF 15:40:04.515 - Monitoring Report Summary: [2025-12-05T15:40:04.662Z] STF 15:40:04.515 - o Process CMJ ended with the expected exit code (0) [2025-12-05T15:40:04.662Z] STF 15:40:04.516 - Created modular jar: 4.com.discreet.jar [2025-12-05T15:40:04.662Z] STF 15:40:04.516 - [2025-12-05T15:40:04.662Z] STF 15:40:04.516 - +------ Step 5 - Create tests jar [2025-12-05T15:40:04.662Z] STF 15:40:04.516 - | Create modular jar [2025-12-05T15:40:04.662Z] STF 15:40:04.516 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-12-05T15:40:04.662Z] STF 15:40:04.516 - | ModuleVersion: null [2025-12-05T15:40:04.662Z] STF 15:40:04.516 - | MainClass: null [2025-12-05T15:40:04.662Z] STF 15:40:04.516 - | HashModules: null [2025-12-05T15:40:04.662Z] STF 15:40:04.516 - | [2025-12-05T15:40:04.662Z] STF 15:40:04.517 - 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_17649486512044/PatModImg_AppMod_0/20251205-154000-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 . [2025-12-05T15:40:04.662Z] STF 15:40:04.517 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17649486512044/PatModImg_AppMod_0/20251205-154000-PatModImgTest/results/5.CMJ.stderr [2025-12-05T15:40:04.662Z] STF 15:40:04.517 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17649486512044/PatModImg_AppMod_0/20251205-154000-PatModImgTest/results/5.CMJ.stdout [2025-12-05T15:40:04.662Z] STF 15:40:04.524 - Monitoring processes: CMJ [2025-12-05T15:40:04.951Z] STF 15:40:04.882 - Monitoring Report Summary: [2025-12-05T15:40:04.951Z] STF 15:40:04.882 - o Process CMJ ended with the expected exit code (0) [2025-12-05T15:40:04.951Z] STF 15:40:04.883 - Created modular jar: 5.com.test.jar [2025-12-05T15:40:04.951Z] STF 15:40:04.883 - [2025-12-05T15:40:04.951Z] STF 15:40:04.883 - +------ Step 6 - Create runtime image for PatchModule test [2025-12-05T15:40:04.951Z] STF 15:40:04.884 - | Run jlink to create runtime image [2025-12-05T15:40:04.951Z] STF 15:40:04.884 - | ImageName: XpJVM [2025-12-05T15:40:04.951Z] STF 15:40:04.884 - | [2025-12-05T15:40:04.951Z] STF 15:40:04.884 - 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_17649486512044\PatModImg_AppMod_0\20251205-154000-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_17649486512044\PatModImg_AppMod_0\20251205-154000-PatModImgTest\tmp\6.XpJVM [2025-12-05T15:40:04.951Z] STF 15:40:04.884 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17649486512044/PatModImg_AppMod_0/20251205-154000-PatModImgTest/results/6.JLNK.stderr [2025-12-05T15:40:04.951Z] STF 15:40:04.884 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17649486512044/PatModImg_AppMod_0/20251205-154000-PatModImgTest/results/6.JLNK.stdout [2025-12-05T15:40:04.951Z] STF 15:40:04.892 - Monitoring processes: JLNK [2025-12-05T15:40:07.017Z] STF 15:40:06.756 - Monitoring Report Summary: [2025-12-05T15:40:07.017Z] STF 15:40:06.756 - o Process JLNK ended with the expected exit code (0) [2025-12-05T15:40:07.017Z] STF 15:40:06.757 - [2025-12-05T15:40:07.017Z] STF 15:40:06.757 - +------ Step 7 - Create com.hello jar [2025-12-05T15:40:07.017Z] STF 15:40:06.757 - | Create modular jar [2025-12-05T15:40:07.017Z] STF 15:40:06.757 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-12-05T15:40:07.017Z] STF 15:40:06.757 - | ModuleVersion: null [2025-12-05T15:40:07.017Z] STF 15:40:06.757 - | MainClass: null [2025-12-05T15:40:07.017Z] STF 15:40:06.757 - | HashModules: null [2025-12-05T15:40:07.017Z] STF 15:40:06.757 - | [2025-12-05T15:40:07.017Z] STF 15:40:06.758 - 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_17649486512044/PatModImg_AppMod_0/20251205-154000-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 . [2025-12-05T15:40:07.017Z] STF 15:40:06.758 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17649486512044/PatModImg_AppMod_0/20251205-154000-PatModImgTest/results/7.CMJ.stderr [2025-12-05T15:40:07.017Z] STF 15:40:06.758 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17649486512044/PatModImg_AppMod_0/20251205-154000-PatModImgTest/results/7.CMJ.stdout [2025-12-05T15:40:07.017Z] STF 15:40:06.773 - Monitoring processes: CMJ [2025-12-05T15:40:07.306Z] STF 15:40:07.142 - Monitoring Report Summary: [2025-12-05T15:40:07.306Z] STF 15:40:07.142 - o Process CMJ ended with the expected exit code (0) [2025-12-05T15:40:07.306Z] STF 15:40:07.143 - Created modular jar: 7.com.hello.jar [2025-12-05T15:40:07.306Z] STF 15:40:07.143 - [2025-12-05T15:40:07.306Z] STF 15:40:07.143 - +------ Step 8 - create java.xml.jar [2025-12-05T15:40:07.306Z] STF 15:40:07.143 - | Create modular jar [2025-12-05T15:40:07.306Z] STF 15:40:07.143 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-12-05T15:40:07.306Z] STF 15:40:07.143 - | ModuleVersion: null [2025-12-05T15:40:07.306Z] STF 15:40:07.143 - | MainClass: null [2025-12-05T15:40:07.306Z] STF 15:40:07.143 - | HashModules: null [2025-12-05T15:40:07.306Z] STF 15:40:07.143 - | [2025-12-05T15:40:07.306Z] STF 15:40:07.144 - 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_17649486512044/PatModImg_AppMod_0/20251205-154000-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 . [2025-12-05T15:40:07.306Z] STF 15:40:07.144 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17649486512044/PatModImg_AppMod_0/20251205-154000-PatModImgTest/results/8.CMJ.stderr [2025-12-05T15:40:07.306Z] STF 15:40:07.144 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17649486512044/PatModImg_AppMod_0/20251205-154000-PatModImgTest/results/8.CMJ.stdout [2025-12-05T15:40:07.306Z] STF 15:40:07.152 - Monitoring processes: CMJ [2025-12-05T15:40:07.595Z] STF 15:40:07.510 - Monitoring Report Summary: [2025-12-05T15:40:07.595Z] STF 15:40:07.510 - o Process CMJ ended with the expected exit code (0) [2025-12-05T15:40:07.595Z] STF 15:40:07.511 - Created modular jar: 8.java.xml.jar [2025-12-05T15:40:07.595Z] STF 15:40:07.511 - [2025-12-05T15:40:07.595Z] STF 15:40:07.511 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2025-12-05T15:40:07.595Z] STF 15:40:07.511 - | Run foreground process [2025-12-05T15:40:07.595Z] STF 15:40:07.511 - | Program: C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17649486512044/PatModImg_AppMod_0/20251205-154000-PatModImgTest/tmp/6.XpJVM/bin/java [2025-12-05T15:40:07.595Z] STF 15:40:07.511 - | Mnemonic: OT21 [2025-12-05T15:40:07.595Z] STF 15:40:07.511 - | Echo: ECHO_ON [2025-12-05T15:40:07.595Z] STF 15:40:07.511 - | Expectation: CLEAN_RUN within 5m [2025-12-05T15:40:07.595Z] STF 15:40:07.511 - | [2025-12-05T15:40:07.595Z] STF 15:40:07.512 - Running command: C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17649486512044/PatModImg_AppMod_0/20251205-154000-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 [2025-12-05T15:40:07.595Z] STF 15:40:07.512 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17649486512044/PatModImg_AppMod_0/20251205-154000-PatModImgTest/results/9.OT21.stderr [2025-12-05T15:40:07.596Z] STF 15:40:07.512 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17649486512044/PatModImg_AppMod_0/20251205-154000-PatModImgTest/results/9.OT21.stdout [2025-12-05T15:40:07.887Z] STF 15:40:07.571 - Monitoring processes: OT21 [2025-12-05T15:40:08.176Z] 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 [2025-12-05T15:40:08.176Z] OT21 JUnit version 4.12 [2025-12-05T15:40:08.176Z] OT21 . [2025-12-05T15:40:08.176Z] OT21 Time: 0.013 [2025-12-05T15:40:08.176Z] OT21 [2025-12-05T15:40:08.176Z] OT21 OK (1 test) [2025-12-05T15:40:08.176Z] OT21 [2025-12-05T15:40:08.176Z] STF 15:40:08.055 - Monitoring Report Summary: [2025-12-05T15:40:08.177Z] STF 15:40:08.055 - o Process OT21 ended with the expected exit code (0) [2025-12-05T15:40:08.177Z] STF 15:40:08.056 - [2025-12-05T15:40:08.177Z] STF 15:40:08.056 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2025-12-05T15:40:08.177Z] STF 15:40:08.056 - | Run foreground process [2025-12-05T15:40:08.177Z] STF 15:40:08.056 - | Program: C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17649486512044/PatModImg_AppMod_0/20251205-154000-PatModImgTest/tmp/6.XpJVM/bin/java [2025-12-05T15:40:08.177Z] STF 15:40:08.056 - | Mnemonic: OT22 [2025-12-05T15:40:08.177Z] STF 15:40:08.056 - | Echo: ECHO_ON [2025-12-05T15:40:08.177Z] STF 15:40:08.056 - | Expectation: CLEAN_RUN within 5m [2025-12-05T15:40:08.177Z] STF 15:40:08.056 - | [2025-12-05T15:40:08.177Z] STF 15:40:08.057 - Running command: C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17649486512044/PatModImg_AppMod_0/20251205-154000-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_17649486512044/PatModImg_AppMod_0/20251205-154000-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 [2025-12-05T15:40:08.177Z] STF 15:40:08.057 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17649486512044/PatModImg_AppMod_0/20251205-154000-PatModImgTest/results/10.OT22.stderr [2025-12-05T15:40:08.177Z] STF 15:40:08.057 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17649486512044/PatModImg_AppMod_0/20251205-154000-PatModImgTest/results/10.OT22.stdout [2025-12-05T15:40:08.177Z] STF 15:40:08.066 - Monitoring processes: OT22 [2025-12-05T15:40:08.465Z] 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_17649486512044\PatModImg_AppMod_0\20251205-154000-PatModImgTest\modules\7.com.hello.jar [2025-12-05T15:40:08.465Z] OT22 JUnit version 4.12 [2025-12-05T15:40:08.465Z] OT22 . [2025-12-05T15:40:08.465Z] OT22 Time: 0.008 [2025-12-05T15:40:08.465Z] OT22 [2025-12-05T15:40:08.465Z] OT22 OK (1 test) [2025-12-05T15:40:08.465Z] OT22 [2025-12-05T15:40:08.757Z] STF 15:40:08.428 - Monitoring Report Summary: [2025-12-05T15:40:08.757Z] STF 15:40:08.428 - o Process OT22 ended with the expected exit code (0) [2025-12-05T15:40:08.757Z] STF 15:40:08.429 - EXECUTE stage completed [2025-12-05T15:40:08.757Z] STF 15:40:08.508 - [2025-12-05T15:40:08.757Z] STF 15:40:08.508 - ==================== T E A R D O W N ==================== [2025-12-05T15:40:08.757Z] STF 15:40:08.508 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17649486512044\PatModImg_AppMod_0/20251205-154000-PatModImgTest/tearDown.pl [2025-12-05T15:40:09.046Z] STF 15:40:08.883 - TEARDOWN stage completed [2025-12-05T15:40:09.046Z] STF 15:40:08.921 - [2025-12-05T15:40:09.046Z] STF 15:40:08.922 - ===================== R E S U L T S ===================== [2025-12-05T15:40:09.046Z] STF 15:40:08.922 - Stage results: [2025-12-05T15:40:09.046Z] STF 15:40:08.922 - setUp: pass [2025-12-05T15:40:09.046Z] STF 15:40:08.922 - execute: pass [2025-12-05T15:40:09.046Z] STF 15:40:08.922 - teardown: pass [2025-12-05T15:40:09.046Z] STF 15:40:08.922 - [2025-12-05T15:40:09.046Z] STF 15:40:08.922 - Overall result: PASSED [2025-12-05T15:40:09.046Z] ----------------------------------- [2025-12-05T15:40:09.046Z] PatModImg_AppMod_0_PASSED [2025-12-05T15:40:09.046Z] ----------------------------------- [2025-12-05T15:40:09.335Z] [2025-12-05T15:40:09.335Z] TEST TEARDOWN: [2025-12-05T15:40:09.335Z] Nothing to be done for teardown. [2025-12-05T15:40:09.623Z] PatModImg_AppMod_0 Finish Time: Fri Dec 5 15:40:09 2025 Epoch Time (ms): 1764949209395