PatMod_AppMod_0

[2025-11-02T10:24:34.085Z] Running test PatMod_AppMod_0 ... [2025-11-02T10:24:34.376Z] =============================================== [2025-11-02T10:24:34.744Z] PatMod_AppMod_0 Start Time: Sun Nov 2 10:24:34 2025 Epoch Time (ms): 1762079074388 [2025-11-02T10:24:34.744Z] variation: Mode150 [2025-11-02T10:24:35.035Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-11-02T10:24:35.035Z] { \ [2025-11-02T10:24:35.035Z] echo ""; echo "TEST SETUP:"; \ [2025-11-02T10:24:35.035Z] echo "Nothing to be done for setup."; \ [2025-11-02T10:24:35.035Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17620761277790\\PatMod_AppMod_0"; \ [2025-11-02T10:24:35.035Z] cd "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17620761277790\\PatMod_AppMod_0"; \ [2025-11-02T10:24:35.035Z] echo ""; echo "TESTING:"; \ [2025-11-02T10:24:35.035Z] perl C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/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_0/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/../../externalDependency/system_lib\\" -java-args=' -XX:+UseCompressedOops ' -results-root="C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17620761277790\\PatMod_AppMod_0" -test=PatModTest -test-args="variant=AppMod"; \ [2025-11-02T10:24:35.035Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatMod_AppMod_0""_PASSED"; echo "-----------------------------------"; cd C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/; rm -f -r "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17620761277790\\PatMod_AppMod_0"; else echo "-----------------------------------"; echo "PatMod_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-11-02T10:24:35.035Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-11-02T10:24:35.035Z] echo "Nothing to be done for teardown."; \ [2025-11-02T10:24:35.035Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17620761277790\\TestTargetResult"; [2025-11-02T10:24:35.326Z] [2025-11-02T10:24:35.326Z] TEST SETUP: [2025-11-02T10:24:35.326Z] Nothing to be done for setup. [2025-11-02T10:24:35.326Z] [2025-11-02T10:24:35.326Z] TESTING: [2025-11-02T10:24:35.616Z] STF 10:24:35.489 - ========================= S T F ========================= [2025-11-02T10:24:35.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_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17620761277790\PatMod_AppMod_0 [2025-11-02T10:24:35.907Z] There is 13260 Mb free [2025-11-02T10:24:35.907Z] STF 10:24:35.570 - ================== G E N E R A T I O N ================== [2025-11-02T10:24:35.907Z] STF 10:24:35.575 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image [2025-11-02T10:24:35.907Z] STF 10:24:35.576 - Starting process to generate scripts: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/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_0/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_0/../../externalDependency/system_lib\/asm/asm.jar;C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/../../externalDependency/system_lib\/asm/asm-commons.jar;C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/../../externalDependency/system_lib\/log4j/log4j-api.jar;C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/../../externalDependency/system_lib\/log4j/log4j-core.jar;C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/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_0/aqa-tests/\TKG\output_17620761277790\PatMod_AppMod_0/20251102-102435-PatModTest/stf_parameters.properties, , C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17620761277790\PatMod_AppMod_0/20251102-102435-PatModTest" [2025-11-02T10:24:36.940Z] GEN 10:24:36.727 - Found test. Project: 'openjdk.test.modularity' class: 'PatModTest.class' Dir: 'C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2025-11-02T10:24:36.940Z] GEN 10:24:36.744 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModTest' [2025-11-02T10:24:37.230Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-11-02T10:24:37.230Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2025-11-02T10:24:37.230Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2025-11-02T10:24:37.230Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2025-11-02T10:24:37.230Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2025-11-02T10:24:37.230Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2025-11-02T10:24:37.230Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2025-11-02T10:24:37.230Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2025-11-02T10:24:37.230Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2025-11-02T10:24:37.230Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2025-11-02T10:24:37.230Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2025-11-02T10:24:37.230Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2025-11-02T10:24:37.230Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2025-11-02T10:24:37.230Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-11-02T10:24:37.230Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-11-02T10:24:37.230Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-11-02T10:24:37.230Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\\jvmtest\\system\\STF\\stf.core\\bin [2025-11-02T10:24:37.230Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-api.jar [2025-11-02T10:24:37.230Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-core.jar [2025-11-02T10:24:37.230Z] GEN C:/Users/jenkins/externalDependency/system_lib/junit/junit.jar [2025-11-02T10:24:37.230Z] GEN 10:24:37.001 - Using Mode NoOptions. Values = '' [2025-11-02T10:24:37.230Z] GEN 10:24:37.113 - [2025-11-02T10:24:37.230Z] GEN 10:24:37.113 - Test command summary: [2025-11-02T10:24:37.230Z] GEN 10:24:37.113 - Step Stage Command Description [2025-11-02T10:24:37.230Z] GEN 10:24:37.113 - -----+--------+-----------------+------------ [2025-11-02T10:24:37.230Z] GEN 10:24:37.113 - 1 execute jar Create com.hello jar [2025-11-02T10:24:37.230Z] GEN 10:24:37.113 - 2 execute jar Create com.discreet jar [2025-11-02T10:24:37.230Z] GEN 10:24:37.113 - 3 execute jar create java.xml.jar [2025-11-02T10:24:37.230Z] GEN 10:24:37.113 - 4 execute Run java Verify if we can patch an Application module using exploded directoryy [2025-11-02T10:24:37.230Z] GEN 10:24:37.113 - 5 execute Run java Verify if we can Patch an Application module using modular jar [2025-11-02T10:24:37.230Z] STF 10:24:37.143 - [2025-11-02T10:24:37.230Z] STF 10:24:37.143 - Script generation completed [2025-11-02T10:24:37.230Z] STF 10:24:37.143 - [2025-11-02T10:24:37.230Z] STF 10:24:37.146 - [2025-11-02T10:24:37.230Z] STF 10:24:37.146 - ======================= S E T U P ======================= [2025-11-02T10:24:37.230Z] STF 10:24:37.146 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17620761277790\PatMod_AppMod_0/20251102-102435-PatModTest/setUp.pl [2025-11-02T10:24:37.864Z] STF 10:24:37.524 - SETUP stage completed [2025-11-02T10:24:37.864Z] STF 10:24:37.555 - [2025-11-02T10:24:37.864Z] STF 10:24:37.555 - ==================== E X E C U T E - ==================== [2025-11-02T10:24:37.864Z] STF 10:24:37.555 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17620761277790\PatMod_AppMod_0/20251102-102435-PatModTest/execute.pl [2025-11-02T10:24:38.159Z] STF 10:24:37.950 - [2025-11-02T10:24:38.159Z] STF 10:24:37.950 - Java version [2025-11-02T10:24:38.159Z] STF 10:24:37.950 - Running: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/java -version [2025-11-02T10:24:38.159Z] openjdk version "25.0.1-beta" 2025-10-21 [2025-11-02T10:24:38.159Z] OpenJDK Runtime Environment Temurin-25.0.1+8-202510311124 (build 25.0.1-beta+8-ea) [2025-11-02T10:24:38.159Z] OpenJDK 64-Bit Server VM Temurin-25.0.1+8-202510311124 (build 25.0.1-beta+8-ea, mixed mode) [2025-11-02T10:24:38.159Z] STF 10:24:38.068 - [2025-11-02T10:24:38.159Z] STF 10:24:38.068 - +------ Step 1 - Create com.hello jar [2025-11-02T10:24:38.159Z] STF 10:24:38.068 - | Create modular jar [2025-11-02T10:24:38.159Z] STF 10:24:38.068 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-11-02T10:24:38.159Z] STF 10:24:38.068 - | ModuleVersion: null [2025-11-02T10:24:38.159Z] STF 10:24:38.068 - | MainClass: null [2025-11-02T10:24:38.159Z] STF 10:24:38.068 - | HashModules: null [2025-11-02T10:24:38.159Z] STF 10:24:38.068 - | [2025-11-02T10:24:38.160Z] STF 10:24:38.069 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17620761277790/PatMod_AppMod_0/20251102-102435-PatModTest/modules/1.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2025-11-02T10:24:38.160Z] STF 10:24:38.076 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17620761277790/PatMod_AppMod_0/20251102-102435-PatModTest/results/1.CMJ.stderr [2025-11-02T10:24:38.160Z] STF 10:24:38.076 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17620761277790/PatMod_AppMod_0/20251102-102435-PatModTest/results/1.CMJ.stdout [2025-11-02T10:24:38.451Z] STF 10:24:38.144 - Monitoring processes: CMJ [2025-11-02T10:24:38.743Z] STF 10:24:38.499 - Monitoring Report Summary: [2025-11-02T10:24:38.743Z] STF 10:24:38.499 - o Process CMJ ended with the expected exit code (0) [2025-11-02T10:24:38.743Z] STF 10:24:38.500 - Created modular jar: 1.com.hello.jar [2025-11-02T10:24:38.743Z] STF 10:24:38.500 - [2025-11-02T10:24:38.743Z] STF 10:24:38.500 - +------ Step 2 - Create com.discreet jar [2025-11-02T10:24:38.743Z] STF 10:24:38.500 - | Create modular jar [2025-11-02T10:24:38.743Z] STF 10:24:38.500 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.discreet [2025-11-02T10:24:38.743Z] STF 10:24:38.500 - | ModuleVersion: null [2025-11-02T10:24:38.743Z] STF 10:24:38.500 - | MainClass: null [2025-11-02T10:24:38.743Z] STF 10:24:38.500 - | HashModules: null [2025-11-02T10:24:38.743Z] STF 10:24:38.500 - | [2025-11-02T10:24:38.743Z] STF 10:24:38.501 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17620761277790/PatMod_AppMod_0/20251102-102435-PatModTest/modules/2.com.discreet.jar -C C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.discreet . [2025-11-02T10:24:38.743Z] STF 10:24:38.501 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17620761277790/PatMod_AppMod_0/20251102-102435-PatModTest/results/2.CMJ.stderr [2025-11-02T10:24:38.743Z] STF 10:24:38.501 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17620761277790/PatMod_AppMod_0/20251102-102435-PatModTest/results/2.CMJ.stdout [2025-11-02T10:24:38.743Z] STF 10:24:38.509 - Monitoring processes: CMJ [2025-11-02T10:24:39.035Z] STF 10:24:38.881 - Monitoring Report Summary: [2025-11-02T10:24:39.035Z] STF 10:24:38.881 - o Process CMJ ended with the expected exit code (0) [2025-11-02T10:24:39.035Z] STF 10:24:38.882 - Created modular jar: 2.com.discreet.jar [2025-11-02T10:24:39.035Z] STF 10:24:38.882 - [2025-11-02T10:24:39.035Z] STF 10:24:38.882 - +------ Step 3 - create java.xml.jar [2025-11-02T10:24:39.035Z] STF 10:24:38.882 - | Create modular jar [2025-11-02T10:24:39.035Z] STF 10:24:38.882 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-11-02T10:24:39.035Z] STF 10:24:38.882 - | ModuleVersion: null [2025-11-02T10:24:39.035Z] STF 10:24:38.883 - | MainClass: null [2025-11-02T10:24:39.035Z] STF 10:24:38.883 - | HashModules: null [2025-11-02T10:24:39.035Z] STF 10:24:38.883 - | [2025-11-02T10:24:39.035Z] STF 10:24:38.883 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17620761277790/PatMod_AppMod_0/20251102-102435-PatModTest/modules/3.java.xml.jar -C C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml . [2025-11-02T10:24:39.035Z] STF 10:24:38.883 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17620761277790/PatMod_AppMod_0/20251102-102435-PatModTest/results/3.CMJ.stderr [2025-11-02T10:24:39.035Z] STF 10:24:38.883 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17620761277790/PatMod_AppMod_0/20251102-102435-PatModTest/results/3.CMJ.stdout [2025-11-02T10:24:39.035Z] STF 10:24:38.891 - Monitoring processes: CMJ [2025-11-02T10:24:39.327Z] STF 10:24:39.265 - Monitoring Report Summary: [2025-11-02T10:24:39.327Z] STF 10:24:39.265 - o Process CMJ ended with the expected exit code (0) [2025-11-02T10:24:39.327Z] STF 10:24:39.266 - Created modular jar: 3.java.xml.jar [2025-11-02T10:24:39.327Z] STF 10:24:39.266 - [2025-11-02T10:24:39.327Z] STF 10:24:39.266 - +------ Step 4 - Verify if we can patch an Application module using exploded directoryy [2025-11-02T10:24:39.327Z] STF 10:24:39.266 - | Run foreground process [2025-11-02T10:24:39.327Z] STF 10:24:39.266 - | Program: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/java [2025-11-02T10:24:39.327Z] STF 10:24:39.266 - | Mnemonic: OT21 [2025-11-02T10:24:39.327Z] STF 10:24:39.266 - | Echo: ECHO_ON [2025-11-02T10:24:39.327Z] STF 10:24:39.266 - | Expectation: CLEAN_RUN within 1m [2025-11-02T10:24:39.327Z] STF 10:24:39.266 - | [2025-11-02T10:24:39.327Z] STF 10:24:39.267 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --add-modules=com.test --patch-module com.hello=C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\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-11-02T10:24:39.327Z] STF 10:24:39.267 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17620761277790/PatMod_AppMod_0/20251102-102435-PatModTest/results/4.OT21.stderr [2025-11-02T10:24:39.327Z] STF 10:24:39.267 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17620761277790/PatMod_AppMod_0/20251102-102435-PatModTest/results/4.OT21.stdout [2025-11-02T10:24:39.327Z] STF 10:24:39.275 - Monitoring processes: OT21 [2025-11-02T10:24:39.618Z] OT21 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello [2025-11-02T10:24:39.618Z] OT21 JUnit version 4.12 [2025-11-02T10:24:39.910Z] OT21 . [2025-11-02T10:24:39.910Z] OT21 Time: 0.006 [2025-11-02T10:24:39.910Z] OT21 [2025-11-02T10:24:39.910Z] OT21 OK (1 test) [2025-11-02T10:24:39.910Z] OT21 [2025-11-02T10:24:39.910Z] STF 10:24:39.708 - Monitoring Report Summary: [2025-11-02T10:24:39.910Z] STF 10:24:39.708 - o Process OT21 ended with the expected exit code (0) [2025-11-02T10:24:39.910Z] STF 10:24:39.709 - [2025-11-02T10:24:39.910Z] STF 10:24:39.709 - +------ Step 5 - Verify if we can Patch an Application module using modular jar [2025-11-02T10:24:39.910Z] STF 10:24:39.709 - | Run foreground process [2025-11-02T10:24:39.910Z] STF 10:24:39.709 - | Program: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/java [2025-11-02T10:24:39.910Z] STF 10:24:39.709 - | Mnemonic: OT22 [2025-11-02T10:24:39.910Z] STF 10:24:39.709 - | Echo: ECHO_ON [2025-11-02T10:24:39.910Z] STF 10:24:39.709 - | Expectation: CLEAN_RUN within 1m [2025-11-02T10:24:39.910Z] STF 10:24:39.709 - | [2025-11-02T10:24:39.910Z] STF 10:24:39.710 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --add-modules=com.test --patch-module com.hello=C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17620761277790/PatMod_AppMod_0/20251102-102435-PatModTest/modules/1.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-11-02T10:24:39.910Z] STF 10:24:39.710 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17620761277790/PatMod_AppMod_0/20251102-102435-PatModTest/results/5.OT22.stderr [2025-11-02T10:24:39.910Z] STF 10:24:39.710 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17620761277790/PatMod_AppMod_0/20251102-102435-PatModTest/results/5.OT22.stdout [2025-11-02T10:24:39.910Z] STF 10:24:39.718 - Monitoring processes: OT22 [2025-11-02T10:24:40.202Z] OT22 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\aqa-tests\TKG\output_17620761277790\PatMod_AppMod_0\20251102-102435-PatModTest\modules\1.com.hello.jar [2025-11-02T10:24:40.202Z] OT22 JUnit version 4.12 [2025-11-02T10:24:40.202Z] OT22 . [2025-11-02T10:24:40.202Z] OT22 Time: 0.007 [2025-11-02T10:24:40.202Z] OT22 [2025-11-02T10:24:40.202Z] OT22 OK (1 test) [2025-11-02T10:24:40.202Z] OT22 [2025-11-02T10:24:40.493Z] STF 10:24:40.174 - Monitoring Report Summary: [2025-11-02T10:24:40.493Z] STF 10:24:40.174 - o Process OT22 ended with the expected exit code (0) [2025-11-02T10:24:40.493Z] STF 10:24:40.175 - EXECUTE stage completed [2025-11-02T10:24:40.493Z] STF 10:24:40.206 - [2025-11-02T10:24:40.493Z] STF 10:24:40.206 - ==================== T E A R D O W N ==================== [2025-11-02T10:24:40.493Z] STF 10:24:40.206 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17620761277790\PatMod_AppMod_0/20251102-102435-PatModTest/tearDown.pl [2025-11-02T10:24:40.863Z] STF 10:24:40.581 - TEARDOWN stage completed [2025-11-02T10:24:40.863Z] STF 10:24:40.622 - [2025-11-02T10:24:40.863Z] STF 10:24:40.622 - ===================== R E S U L T S ===================== [2025-11-02T10:24:40.863Z] STF 10:24:40.622 - Stage results: [2025-11-02T10:24:40.863Z] STF 10:24:40.622 - setUp: pass [2025-11-02T10:24:40.863Z] STF 10:24:40.622 - execute: pass [2025-11-02T10:24:40.863Z] STF 10:24:40.622 - teardown: pass [2025-11-02T10:24:40.863Z] STF 10:24:40.622 - [2025-11-02T10:24:40.863Z] STF 10:24:40.622 - Overall result: PASSED [2025-11-02T10:24:40.863Z] ----------------------------------- [2025-11-02T10:24:40.863Z] PatMod_AppMod_0_PASSED [2025-11-02T10:24:40.863Z] ----------------------------------- [2025-11-02T10:24:40.863Z] [2025-11-02T10:24:40.863Z] TEST TEARDOWN: [2025-11-02T10:24:40.863Z] Nothing to be done for teardown. [2025-11-02T10:24:41.161Z] PatMod_AppMod_0 Finish Time: Sun Nov 2 10:24:41 2025 Epoch Time (ms): 1762079081013