PatModImg_AppMod_1

[2025-10-17T03:20:02.706Z] Running test PatModImg_AppMod_1 ... [2025-10-17T03:20:03.019Z] =============================================== [2025-10-17T03:20:03.436Z] PatModImg_AppMod_1 Start Time: Fri Oct 17 03:20:03 2025 Epoch Time (ms): 1760671203188 [2025-10-17T03:20:03.747Z] variation: Mode650 [2025-10-17T03:20:04.064Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-10-17T03:20:04.064Z] { \ [2025-10-17T03:20:04.064Z] echo ""; echo "TEST SETUP:"; \ [2025-10-17T03:20:04.064Z] echo "Nothing to be done for setup."; \ [2025-10-17T03:20:04.064Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17606687828143\\PatModImg_AppMod_1"; \ [2025-10-17T03:20:04.064Z] cd "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17606687828143\\PatModImg_AppMod_1"; \ [2025-10-17T03:20:04.064Z] echo ""; echo "TESTING:"; \ [2025-10-17T03:20:04.064Z] 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_17606687828143\\PatModImg_AppMod_1" -test=PatModImgTest -test-args="variant=AppMod"; \ [2025-10-17T03:20:04.064Z] 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_17606687828143\\PatModImg_AppMod_1"; else echo "-----------------------------------"; echo "PatModImg_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-10-17T03:20:04.064Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-10-17T03:20:04.064Z] echo "Nothing to be done for teardown."; \ [2025-10-17T03:20:04.064Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17606687828143\\TestTargetResult"; [2025-10-17T03:20:04.494Z] [2025-10-17T03:20:04.494Z] TEST SETUP: [2025-10-17T03:20:04.494Z] Nothing to be done for setup. [2025-10-17T03:20:04.494Z] [2025-10-17T03:20:04.494Z] TESTING: [2025-10-17T03:20:04.793Z] STF 03:20:04.610 - ========================= S T F ========================= [2025-10-17T03:20:04.793Z] 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_17606687828143\PatModImg_AppMod_1 [2025-10-17T03:20:04.793Z] There is 65871 Mb free [2025-10-17T03:20:04.793Z] STF 03:20:04.694 - ================== G E N E R A T I O N ================== [2025-10-17T03:20:04.793Z] STF 03:20:04.700 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image [2025-10-17T03:20:04.793Z] STF 03:20:04.700 - 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_17606687828143\PatModImg_AppMod_1/20251017-032004-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_17606687828143\PatModImg_AppMod_1/20251017-032004-PatModImgTest" [2025-10-17T03:20:06.326Z] GEN 03:20:05.869 - 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' [2025-10-17T03:20:06.326Z] GEN 03:20:05.885 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-10-17T03:20:06.326Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-10-17T03:20:06.326Z] 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 [2025-10-17T03:20:06.326Z] 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 [2025-10-17T03:20:06.326Z] 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 [2025-10-17T03:20:06.326Z] 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 [2025-10-17T03:20:06.326Z] 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 [2025-10-17T03:20:06.326Z] 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 [2025-10-17T03:20:06.326Z] 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 [2025-10-17T03:20:06.326Z] 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 [2025-10-17T03:20:06.326Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2025-10-17T03:20:06.326Z] 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 [2025-10-17T03:20:06.326Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2025-10-17T03:20:06.326Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2025-10-17T03:20:06.327Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-10-17T03:20:06.327Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-10-17T03:20:06.327Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-10-17T03:20:06.327Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2025-10-17T03:20:06.327Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-api.jar [2025-10-17T03:20:06.327Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-core.jar [2025-10-17T03:20:06.327Z] GEN C:/Users/jenkins/externalDependency/system_lib/junit/junit.jar [2025-10-17T03:20:06.327Z] GEN 03:20:06.115 - Using Mode NoOptions. Values = '' [2025-10-17T03:20:06.327Z] GEN 03:20:06.220 - [2025-10-17T03:20:06.327Z] GEN 03:20:06.220 - Test command summary: [2025-10-17T03:20:06.327Z] GEN 03:20:06.221 - Step Stage Command Description [2025-10-17T03:20:06.327Z] GEN 03:20:06.221 - -----+--------+-----------------+------------ [2025-10-17T03:20:06.327Z] GEN 03:20:06.221 - 1 execute jar Create com.hello jar [2025-10-17T03:20:06.327Z] GEN 03:20:06.221 - 2 execute jar Create com.hola jar [2025-10-17T03:20:06.327Z] GEN 03:20:06.221 - 3 execute jar Create com.helper jar [2025-10-17T03:20:06.327Z] GEN 03:20:06.221 - 4 execute jar Create com.discreet jar [2025-10-17T03:20:06.327Z] GEN 03:20:06.221 - 5 execute jar Create tests jar [2025-10-17T03:20:06.327Z] GEN 03:20:06.221 - 6 execute jlink Create runtime image for PatchModule test [2025-10-17T03:20:06.327Z] GEN 03:20:06.221 - 7 execute jar Create com.hello jar [2025-10-17T03:20:06.327Z] GEN 03:20:06.221 - 8 execute jar create java.xml.jar [2025-10-17T03:20:06.327Z] GEN 03:20:06.221 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2025-10-17T03:20:06.327Z] GEN 03:20:06.221 - 10 execute Run java Verify if we can patch an Application module using modular jar [2025-10-17T03:20:06.327Z] STF 03:20:06.253 - [2025-10-17T03:20:06.327Z] STF 03:20:06.253 - Script generation completed [2025-10-17T03:20:06.327Z] STF 03:20:06.253 - [2025-10-17T03:20:06.327Z] STF 03:20:06.255 - [2025-10-17T03:20:06.327Z] STF 03:20:06.255 - ======================= S E T U P ======================= [2025-10-17T03:20:06.327Z] STF 03:20:06.255 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17606687828143\PatModImg_AppMod_1/20251017-032004-PatModImgTest/setUp.pl [2025-10-17T03:20:06.971Z] STF 03:20:06.650 - SETUP stage completed [2025-10-17T03:20:06.971Z] STF 03:20:06.680 - [2025-10-17T03:20:06.971Z] STF 03:20:06.680 - ==================== E X E C U T E - ==================== [2025-10-17T03:20:06.971Z] STF 03:20:06.680 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17606687828143\PatModImg_AppMod_1/20251017-032004-PatModImgTest/execute.pl [2025-10-17T03:20:07.269Z] STF 03:20:07.081 - [2025-10-17T03:20:07.269Z] STF 03:20:07.081 - Java version [2025-10-17T03:20:07.269Z] STF 03:20:07.081 - Running: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2025-10-17T03:20:07.269Z] openjdk version "25" 2025-09-16 LTS [2025-10-17T03:20:07.269Z] OpenJDK Runtime Environment Temurin-25+36 (build 25+36-LTS) [2025-10-17T03:20:07.269Z] OpenJDK 64-Bit Server VM Temurin-25+36 (build 25+36-LTS, mixed mode) [2025-10-17T03:20:07.269Z] STF 03:20:07.198 - [2025-10-17T03:20:07.269Z] STF 03:20:07.198 - +------ Step 1 - Create com.hello jar [2025-10-17T03:20:07.269Z] STF 03:20:07.198 - | Create modular jar [2025-10-17T03:20:07.269Z] STF 03:20:07.198 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-10-17T03:20:07.269Z] STF 03:20:07.198 - | ModuleVersion: null [2025-10-17T03:20:07.269Z] STF 03:20:07.198 - | MainClass: null [2025-10-17T03:20:07.269Z] STF 03:20:07.198 - | HashModules: null [2025-10-17T03:20:07.269Z] STF 03:20:07.198 - | [2025-10-17T03:20:07.269Z] STF 03:20:07.199 - 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_17606687828143/PatModImg_AppMod_1/20251017-032004-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 . [2025-10-17T03:20:07.269Z] STF 03:20:07.200 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17606687828143/PatModImg_AppMod_1/20251017-032004-PatModImgTest/results/1.CMJ.stderr [2025-10-17T03:20:07.269Z] STF 03:20:07.200 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17606687828143/PatModImg_AppMod_1/20251017-032004-PatModImgTest/results/1.CMJ.stdout [2025-10-17T03:20:07.598Z] STF 03:20:07.268 - Monitoring processes: CMJ [2025-10-17T03:20:07.897Z] STF 03:20:07.653 - Monitoring Report Summary: [2025-10-17T03:20:07.897Z] STF 03:20:07.653 - o Process CMJ ended with the expected exit code (0) [2025-10-17T03:20:07.897Z] STF 03:20:07.654 - Created modular jar: 1.com.hello.jar [2025-10-17T03:20:07.897Z] STF 03:20:07.654 - [2025-10-17T03:20:07.897Z] STF 03:20:07.654 - +------ Step 2 - Create com.hola jar [2025-10-17T03:20:07.897Z] STF 03:20:07.654 - | Create modular jar [2025-10-17T03:20:07.897Z] STF 03:20:07.654 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-10-17T03:20:07.897Z] STF 03:20:07.654 - | ModuleVersion: null [2025-10-17T03:20:07.897Z] STF 03:20:07.654 - | MainClass: null [2025-10-17T03:20:07.897Z] STF 03:20:07.654 - | HashModules: null [2025-10-17T03:20:07.897Z] STF 03:20:07.654 - | [2025-10-17T03:20:07.897Z] STF 03:20:07.655 - 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_17606687828143/PatModImg_AppMod_1/20251017-032004-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 . [2025-10-17T03:20:07.897Z] STF 03:20:07.655 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17606687828143/PatModImg_AppMod_1/20251017-032004-PatModImgTest/results/2.CMJ.stderr [2025-10-17T03:20:07.897Z] STF 03:20:07.655 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17606687828143/PatModImg_AppMod_1/20251017-032004-PatModImgTest/results/2.CMJ.stdout [2025-10-17T03:20:07.897Z] STF 03:20:07.664 - Monitoring processes: CMJ [2025-10-17T03:20:08.197Z] STF 03:20:08.018 - Monitoring Report Summary: [2025-10-17T03:20:08.197Z] STF 03:20:08.018 - o Process CMJ ended with the expected exit code (0) [2025-10-17T03:20:08.197Z] STF 03:20:08.019 - Created modular jar: 2.com.hola.jar [2025-10-17T03:20:08.197Z] STF 03:20:08.019 - [2025-10-17T03:20:08.197Z] STF 03:20:08.019 - +------ Step 3 - Create com.helper jar [2025-10-17T03:20:08.197Z] STF 03:20:08.019 - | Create modular jar [2025-10-17T03:20:08.197Z] STF 03:20:08.019 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-10-17T03:20:08.197Z] STF 03:20:08.019 - | ModuleVersion: null [2025-10-17T03:20:08.197Z] STF 03:20:08.019 - | MainClass: null [2025-10-17T03:20:08.197Z] STF 03:20:08.019 - | HashModules: null [2025-10-17T03:20:08.197Z] STF 03:20:08.019 - | [2025-10-17T03:20:08.197Z] STF 03:20:08.020 - 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_17606687828143/PatModImg_AppMod_1/20251017-032004-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 . [2025-10-17T03:20:08.197Z] STF 03:20:08.020 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17606687828143/PatModImg_AppMod_1/20251017-032004-PatModImgTest/results/3.CMJ.stderr [2025-10-17T03:20:08.197Z] STF 03:20:08.020 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17606687828143/PatModImg_AppMod_1/20251017-032004-PatModImgTest/results/3.CMJ.stdout [2025-10-17T03:20:08.197Z] STF 03:20:08.028 - Monitoring processes: CMJ [2025-10-17T03:20:08.510Z] STF 03:20:08.396 - Monitoring Report Summary: [2025-10-17T03:20:08.510Z] STF 03:20:08.396 - o Process CMJ ended with the expected exit code (0) [2025-10-17T03:20:08.510Z] STF 03:20:08.397 - Created modular jar: 3.com.helper.jar [2025-10-17T03:20:08.510Z] STF 03:20:08.397 - [2025-10-17T03:20:08.510Z] STF 03:20:08.397 - +------ Step 4 - Create com.discreet jar [2025-10-17T03:20:08.510Z] STF 03:20:08.397 - | Create modular jar [2025-10-17T03:20:08.510Z] STF 03:20:08.397 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-10-17T03:20:08.510Z] STF 03:20:08.397 - | ModuleVersion: null [2025-10-17T03:20:08.510Z] STF 03:20:08.397 - | MainClass: null [2025-10-17T03:20:08.510Z] STF 03:20:08.397 - | HashModules: null [2025-10-17T03:20:08.510Z] STF 03:20:08.397 - | [2025-10-17T03:20:08.510Z] STF 03:20:08.398 - 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_17606687828143/PatModImg_AppMod_1/20251017-032004-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 . [2025-10-17T03:20:08.510Z] STF 03:20:08.398 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17606687828143/PatModImg_AppMod_1/20251017-032004-PatModImgTest/results/4.CMJ.stderr [2025-10-17T03:20:08.510Z] STF 03:20:08.398 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17606687828143/PatModImg_AppMod_1/20251017-032004-PatModImgTest/results/4.CMJ.stdout [2025-10-17T03:20:08.510Z] STF 03:20:08.405 - Monitoring processes: CMJ [2025-10-17T03:20:08.808Z] STF 03:20:08.764 - Monitoring Report Summary: [2025-10-17T03:20:08.808Z] STF 03:20:08.764 - o Process CMJ ended with the expected exit code (0) [2025-10-17T03:20:08.808Z] STF 03:20:08.765 - Created modular jar: 4.com.discreet.jar [2025-10-17T03:20:08.808Z] STF 03:20:08.765 - [2025-10-17T03:20:08.808Z] STF 03:20:08.765 - +------ Step 5 - Create tests jar [2025-10-17T03:20:08.808Z] STF 03:20:08.765 - | Create modular jar [2025-10-17T03:20:08.808Z] STF 03:20:08.765 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-10-17T03:20:08.808Z] STF 03:20:08.765 - | ModuleVersion: null [2025-10-17T03:20:08.808Z] STF 03:20:08.765 - | MainClass: null [2025-10-17T03:20:08.809Z] STF 03:20:08.765 - | HashModules: null [2025-10-17T03:20:08.809Z] STF 03:20:08.765 - | [2025-10-17T03:20:08.809Z] STF 03:20:08.766 - 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_17606687828143/PatModImg_AppMod_1/20251017-032004-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 . [2025-10-17T03:20:08.809Z] STF 03:20:08.766 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17606687828143/PatModImg_AppMod_1/20251017-032004-PatModImgTest/results/5.CMJ.stderr [2025-10-17T03:20:08.809Z] STF 03:20:08.766 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17606687828143/PatModImg_AppMod_1/20251017-032004-PatModImgTest/results/5.CMJ.stdout [2025-10-17T03:20:08.809Z] STF 03:20:08.774 - Monitoring processes: CMJ [2025-10-17T03:20:09.454Z] STF 03:20:09.148 - Monitoring Report Summary: [2025-10-17T03:20:09.454Z] STF 03:20:09.148 - o Process CMJ ended with the expected exit code (0) [2025-10-17T03:20:09.454Z] STF 03:20:09.149 - Created modular jar: 5.com.test.jar [2025-10-17T03:20:09.454Z] STF 03:20:09.149 - [2025-10-17T03:20:09.454Z] STF 03:20:09.149 - +------ Step 6 - Create runtime image for PatchModule test [2025-10-17T03:20:09.454Z] STF 03:20:09.149 - | Run jlink to create runtime image [2025-10-17T03:20:09.454Z] STF 03:20:09.149 - | ImageName: XpJVM [2025-10-17T03:20:09.454Z] STF 03:20:09.149 - | [2025-10-17T03:20:09.454Z] STF 03:20:09.150 - 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_17606687828143\PatModImg_AppMod_1\20251017-032004-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_17606687828143\PatModImg_AppMod_1\20251017-032004-PatModImgTest\tmp\6.XpJVM [2025-10-17T03:20:09.454Z] STF 03:20:09.150 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17606687828143/PatModImg_AppMod_1/20251017-032004-PatModImgTest/results/6.JLNK.stderr [2025-10-17T03:20:09.454Z] STF 03:20:09.150 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17606687828143/PatModImg_AppMod_1/20251017-032004-PatModImgTest/results/6.JLNK.stdout [2025-10-17T03:20:09.454Z] STF 03:20:09.158 - Monitoring processes: JLNK [2025-10-17T03:20:11.571Z] STF 03:20:11.205 - Monitoring Report Summary: [2025-10-17T03:20:11.571Z] STF 03:20:11.205 - o Process JLNK ended with the expected exit code (0) [2025-10-17T03:20:11.571Z] STF 03:20:11.206 - [2025-10-17T03:20:11.571Z] STF 03:20:11.206 - +------ Step 7 - Create com.hello jar [2025-10-17T03:20:11.571Z] STF 03:20:11.206 - | Create modular jar [2025-10-17T03:20:11.571Z] STF 03:20:11.206 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-10-17T03:20:11.571Z] STF 03:20:11.206 - | ModuleVersion: null [2025-10-17T03:20:11.571Z] STF 03:20:11.206 - | MainClass: null [2025-10-17T03:20:11.571Z] STF 03:20:11.206 - | HashModules: null [2025-10-17T03:20:11.571Z] STF 03:20:11.206 - | [2025-10-17T03:20:11.571Z] STF 03:20:11.207 - 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_17606687828143/PatModImg_AppMod_1/20251017-032004-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 . [2025-10-17T03:20:11.571Z] STF 03:20:11.207 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17606687828143/PatModImg_AppMod_1/20251017-032004-PatModImgTest/results/7.CMJ.stderr [2025-10-17T03:20:11.571Z] STF 03:20:11.207 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17606687828143/PatModImg_AppMod_1/20251017-032004-PatModImgTest/results/7.CMJ.stdout [2025-10-17T03:20:11.571Z] STF 03:20:11.215 - Monitoring processes: CMJ [2025-10-17T03:20:11.870Z] STF 03:20:11.600 - Monitoring Report Summary: [2025-10-17T03:20:11.870Z] STF 03:20:11.600 - o Process CMJ ended with the expected exit code (0) [2025-10-17T03:20:11.870Z] STF 03:20:11.601 - Created modular jar: 7.com.hello.jar [2025-10-17T03:20:11.870Z] STF 03:20:11.601 - [2025-10-17T03:20:11.870Z] STF 03:20:11.601 - +------ Step 8 - create java.xml.jar [2025-10-17T03:20:11.870Z] STF 03:20:11.601 - | Create modular jar [2025-10-17T03:20:11.870Z] STF 03:20:11.601 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-10-17T03:20:11.870Z] STF 03:20:11.601 - | ModuleVersion: null [2025-10-17T03:20:11.870Z] STF 03:20:11.601 - | MainClass: null [2025-10-17T03:20:11.870Z] STF 03:20:11.601 - | HashModules: null [2025-10-17T03:20:11.870Z] STF 03:20:11.601 - | [2025-10-17T03:20:11.870Z] STF 03:20:11.602 - 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_17606687828143/PatModImg_AppMod_1/20251017-032004-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 . [2025-10-17T03:20:11.870Z] STF 03:20:11.602 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17606687828143/PatModImg_AppMod_1/20251017-032004-PatModImgTest/results/8.CMJ.stderr [2025-10-17T03:20:11.870Z] STF 03:20:11.602 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17606687828143/PatModImg_AppMod_1/20251017-032004-PatModImgTest/results/8.CMJ.stdout [2025-10-17T03:20:11.870Z] STF 03:20:11.610 - Monitoring processes: CMJ [2025-10-17T03:20:12.168Z] STF 03:20:11.998 - Monitoring Report Summary: [2025-10-17T03:20:12.168Z] STF 03:20:11.998 - o Process CMJ ended with the expected exit code (0) [2025-10-17T03:20:12.168Z] STF 03:20:11.999 - Created modular jar: 8.java.xml.jar [2025-10-17T03:20:12.168Z] STF 03:20:11.999 - [2025-10-17T03:20:12.168Z] STF 03:20:11.999 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2025-10-17T03:20:12.168Z] STF 03:20:11.999 - | Run foreground process [2025-10-17T03:20:12.168Z] STF 03:20:11.999 - | Program: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17606687828143/PatModImg_AppMod_1/20251017-032004-PatModImgTest/tmp/6.XpJVM/bin/java [2025-10-17T03:20:12.168Z] STF 03:20:11.999 - | Mnemonic: OT21 [2025-10-17T03:20:12.168Z] STF 03:20:11.999 - | Echo: ECHO_ON [2025-10-17T03:20:12.168Z] STF 03:20:11.999 - | Expectation: CLEAN_RUN within 5m [2025-10-17T03:20:12.168Z] STF 03:20:11.999 - | [2025-10-17T03:20:12.168Z] STF 03:20:12.000 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17606687828143/PatModImg_AppMod_1/20251017-032004-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 [2025-10-17T03:20:12.168Z] STF 03:20:12.000 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17606687828143/PatModImg_AppMod_1/20251017-032004-PatModImgTest/results/9.OT21.stderr [2025-10-17T03:20:12.168Z] STF 03:20:12.000 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17606687828143/PatModImg_AppMod_1/20251017-032004-PatModImgTest/results/9.OT21.stdout [2025-10-17T03:20:12.168Z] STF 03:20:12.026 - Monitoring processes: OT21 [2025-10-17T03:20:12.466Z] 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 [2025-10-17T03:20:12.466Z] OT21 JUnit version 4.12 [2025-10-17T03:20:12.773Z] OT21 . [2025-10-17T03:20:12.773Z] OT21 Time: 0.014 [2025-10-17T03:20:12.773Z] OT21 [2025-10-17T03:20:12.773Z] OT21 OK (1 test) [2025-10-17T03:20:12.773Z] OT21 [2025-10-17T03:20:12.773Z] STF 03:20:12.510 - Monitoring Report Summary: [2025-10-17T03:20:12.773Z] STF 03:20:12.510 - o Process OT21 ended with the expected exit code (0) [2025-10-17T03:20:12.773Z] STF 03:20:12.511 - [2025-10-17T03:20:12.773Z] STF 03:20:12.511 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2025-10-17T03:20:12.773Z] STF 03:20:12.511 - | Run foreground process [2025-10-17T03:20:12.773Z] STF 03:20:12.511 - | Program: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17606687828143/PatModImg_AppMod_1/20251017-032004-PatModImgTest/tmp/6.XpJVM/bin/java [2025-10-17T03:20:12.773Z] STF 03:20:12.511 - | Mnemonic: OT22 [2025-10-17T03:20:12.773Z] STF 03:20:12.511 - | Echo: ECHO_ON [2025-10-17T03:20:12.773Z] STF 03:20:12.511 - | Expectation: CLEAN_RUN within 5m [2025-10-17T03:20:12.773Z] STF 03:20:12.511 - | [2025-10-17T03:20:12.773Z] STF 03:20:12.512 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17606687828143/PatModImg_AppMod_1/20251017-032004-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_17606687828143/PatModImg_AppMod_1/20251017-032004-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-10-17T03:20:12.773Z] STF 03:20:12.512 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17606687828143/PatModImg_AppMod_1/20251017-032004-PatModImgTest/results/10.OT22.stderr [2025-10-17T03:20:12.773Z] STF 03:20:12.512 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17606687828143/PatModImg_AppMod_1/20251017-032004-PatModImgTest/results/10.OT22.stdout [2025-10-17T03:20:12.773Z] STF 03:20:12.522 - Monitoring processes: OT22 [2025-10-17T03:20:13.070Z] 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_17606687828143\PatModImg_AppMod_1\20251017-032004-PatModImgTest\modules\7.com.hello.jar [2025-10-17T03:20:13.070Z] OT22 JUnit version 4.12 [2025-10-17T03:20:13.070Z] OT22 . [2025-10-17T03:20:13.070Z] OT22 Time: 0.009 [2025-10-17T03:20:13.070Z] OT22 [2025-10-17T03:20:13.070Z] OT22 OK (1 test) [2025-10-17T03:20:13.070Z] OT22 [2025-10-17T03:20:13.070Z] STF 03:20:12.942 - Monitoring Report Summary: [2025-10-17T03:20:13.070Z] STF 03:20:12.942 - o Process OT22 ended with the expected exit code (0) [2025-10-17T03:20:13.070Z] STF 03:20:12.943 - EXECUTE stage completed [2025-10-17T03:20:13.070Z] STF 03:20:13.021 - [2025-10-17T03:20:13.070Z] STF 03:20:13.021 - ==================== T E A R D O W N ==================== [2025-10-17T03:20:13.070Z] STF 03:20:13.021 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17606687828143\PatModImg_AppMod_1/20251017-032004-PatModImgTest/tearDown.pl [2025-10-17T03:20:13.844Z] STF 03:20:13.424 - TEARDOWN stage completed [2025-10-17T03:20:13.844Z] STF 03:20:13.465 - [2025-10-17T03:20:13.844Z] STF 03:20:13.465 - ===================== R E S U L T S ===================== [2025-10-17T03:20:13.844Z] STF 03:20:13.465 - Stage results: [2025-10-17T03:20:13.844Z] STF 03:20:13.465 - setUp: pass [2025-10-17T03:20:13.844Z] STF 03:20:13.465 - execute: pass [2025-10-17T03:20:13.844Z] STF 03:20:13.465 - teardown: pass [2025-10-17T03:20:13.844Z] STF 03:20:13.465 - [2025-10-17T03:20:13.844Z] STF 03:20:13.465 - Overall result: PASSED [2025-10-17T03:20:13.844Z] ----------------------------------- [2025-10-17T03:20:13.844Z] PatModImg_AppMod_1_PASSED [2025-10-17T03:20:13.844Z] ----------------------------------- [2025-10-17T03:20:13.844Z] [2025-10-17T03:20:13.844Z] TEST TEARDOWN: [2025-10-17T03:20:13.844Z] Nothing to be done for teardown. [2025-10-17T03:20:14.269Z] PatModImg_AppMod_1 Finish Time: Fri Oct 17 03:20:14 2025 Epoch Time (ms): 1760671214020