PatModImg_AppMod_0

[2025-11-29T05:34:31.192Z] Running test PatModImg_AppMod_0 ... [2025-11-29T05:34:31.505Z] =============================================== [2025-11-29T05:34:31.939Z] PatModImg_AppMod_0 Start Time: Sat Nov 29 05:34:31 2025 Epoch Time (ms): 1764394471764 [2025-11-29T05:34:32.251Z] variation: Mode150 [2025-11-29T05:34:32.561Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-11-29T05:34:32.561Z] { \ [2025-11-29T05:34:32.561Z] echo ""; echo "TEST SETUP:"; \ [2025-11-29T05:34:32.561Z] echo "Nothing to be done for setup."; \ [2025-11-29T05:34:32.561Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17643939263910\\PatModImg_AppMod_0"; \ [2025-11-29T05:34:32.561Z] cd "C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17643939263910\\PatModImg_AppMod_0"; \ [2025-11-29T05:34:32.561Z] echo ""; echo "TESTING:"; \ [2025-11-29T05:34:32.561Z] 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_17643939263910\\PatModImg_AppMod_0" -test=PatModImgTest -test-args="variant=AppMod"; \ [2025-11-29T05:34:32.561Z] 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_17643939263910\\PatModImg_AppMod_0"; else echo "-----------------------------------"; echo "PatModImg_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-11-29T05:34:32.561Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-11-29T05:34:32.561Z] echo "Nothing to be done for teardown."; \ [2025-11-29T05:34:32.561Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17643939263910\\TestTargetResult"; [2025-11-29T05:34:32.873Z] [2025-11-29T05:34:32.873Z] TEST SETUP: [2025-11-29T05:34:32.873Z] Nothing to be done for setup. [2025-11-29T05:34:32.873Z] [2025-11-29T05:34:32.873Z] TESTING: [2025-11-29T05:34:33.184Z] STF 05:34:33.004 - ========================= S T F ========================= [2025-11-29T05:34:33.184Z] 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_17643939263910\PatModImg_AppMod_0 [2025-11-29T05:34:33.496Z] There is 39403 Mb free [2025-11-29T05:34:33.496Z] STF 05:34:33.090 - ================== G E N E R A T I O N ================== [2025-11-29T05:34:33.496Z] STF 05:34:33.095 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image [2025-11-29T05:34:33.496Z] STF 05:34:33.095 - 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_17643939263910\PatModImg_AppMod_0/20251129-053433-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_17643939263910\PatModImg_AppMod_0/20251129-053433-PatModImgTest" [2025-11-29T05:34:34.595Z] GEN 05:34:34.243 - 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-11-29T05:34:34.595Z] GEN 05:34:34.258 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-11-29T05:34:34.595Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-11-29T05:34:34.595Z] 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-11-29T05:34:34.595Z] 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-11-29T05:34:34.595Z] 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-11-29T05:34:34.595Z] 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-11-29T05:34:34.595Z] 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-11-29T05:34:34.595Z] 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-11-29T05:34:34.595Z] 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-11-29T05:34:34.595Z] 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-11-29T05:34:34.595Z] 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-11-29T05:34:34.595Z] 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-11-29T05:34:34.595Z] 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-11-29T05:34:34.595Z] 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-11-29T05:34:34.595Z] GEN C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-11-29T05:34:34.595Z] GEN C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-11-29T05:34:34.595Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-11-29T05:34:34.595Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2025-11-29T05:34:34.595Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-api.jar [2025-11-29T05:34:34.595Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-core.jar [2025-11-29T05:34:34.595Z] GEN C:/Users/jenkins/externalDependency/system_lib/junit/junit.jar [2025-11-29T05:34:34.595Z] GEN 05:34:34.480 - Using Mode NoOptions. Values = '' [2025-11-29T05:34:34.906Z] GEN 05:34:34.583 - [2025-11-29T05:34:34.906Z] GEN 05:34:34.583 - Test command summary: [2025-11-29T05:34:34.906Z] GEN 05:34:34.583 - Step Stage Command Description [2025-11-29T05:34:34.906Z] GEN 05:34:34.583 - -----+--------+-----------------+------------ [2025-11-29T05:34:34.906Z] GEN 05:34:34.584 - 1 execute jar Create com.hello jar [2025-11-29T05:34:34.906Z] GEN 05:34:34.584 - 2 execute jar Create com.hola jar [2025-11-29T05:34:34.906Z] GEN 05:34:34.584 - 3 execute jar Create com.helper jar [2025-11-29T05:34:34.906Z] GEN 05:34:34.584 - 4 execute jar Create com.discreet jar [2025-11-29T05:34:34.906Z] GEN 05:34:34.584 - 5 execute jar Create tests jar [2025-11-29T05:34:34.906Z] GEN 05:34:34.584 - 6 execute jlink Create runtime image for PatchModule test [2025-11-29T05:34:34.906Z] GEN 05:34:34.584 - 7 execute jar Create com.hello jar [2025-11-29T05:34:34.906Z] GEN 05:34:34.584 - 8 execute jar create java.xml.jar [2025-11-29T05:34:34.906Z] GEN 05:34:34.584 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2025-11-29T05:34:34.906Z] GEN 05:34:34.584 - 10 execute Run java Verify if we can patch an Application module using modular jar [2025-11-29T05:34:34.906Z] STF 05:34:34.622 - [2025-11-29T05:34:34.906Z] STF 05:34:34.622 - Script generation completed [2025-11-29T05:34:34.906Z] STF 05:34:34.622 - [2025-11-29T05:34:34.906Z] STF 05:34:34.625 - [2025-11-29T05:34:34.906Z] STF 05:34:34.625 - ======================= S E T U P ======================= [2025-11-29T05:34:34.906Z] STF 05:34:34.625 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17643939263910\PatModImg_AppMod_0/20251129-053433-PatModImgTest/setUp.pl [2025-11-29T05:34:35.217Z] STF 05:34:35.007 - SETUP stage completed [2025-11-29T05:34:35.217Z] STF 05:34:35.047 - [2025-11-29T05:34:35.217Z] STF 05:34:35.047 - ==================== E X E C U T E - ==================== [2025-11-29T05:34:35.217Z] STF 05:34:35.047 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17643939263910\PatModImg_AppMod_0/20251129-053433-PatModImgTest/execute.pl [2025-11-29T05:34:35.529Z] STF 05:34:35.426 - [2025-11-29T05:34:35.529Z] STF 05:34:35.426 - Java version [2025-11-29T05:34:35.529Z] STF 05:34:35.426 - Running: C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2025-11-29T05:34:35.842Z] openjdk version "26-beta" 2026-03-17 [2025-11-29T05:34:35.842Z] OpenJDK Runtime Environment Temurin-26+26-202511272245 (build 26-beta+26-ea) [2025-11-29T05:34:35.842Z] OpenJDK 64-Bit Server VM Temurin-26+26-202511272245 (build 26-beta+26-ea, mixed mode) [2025-11-29T05:34:35.842Z] STF 05:34:35.537 - [2025-11-29T05:34:35.842Z] STF 05:34:35.537 - +------ Step 1 - Create com.hello jar [2025-11-29T05:34:35.842Z] STF 05:34:35.537 - | Create modular jar [2025-11-29T05:34:35.842Z] STF 05:34:35.537 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-11-29T05:34:35.842Z] STF 05:34:35.537 - | ModuleVersion: null [2025-11-29T05:34:35.842Z] STF 05:34:35.537 - | MainClass: null [2025-11-29T05:34:35.842Z] STF 05:34:35.537 - | HashModules: null [2025-11-29T05:34:35.842Z] STF 05:34:35.537 - | [2025-11-29T05:34:35.842Z] STF 05:34:35.538 - 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_17643939263910/PatModImg_AppMod_0/20251129-053433-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-11-29T05:34:35.842Z] STF 05:34:35.538 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17643939263910/PatModImg_AppMod_0/20251129-053433-PatModImgTest/results/1.CMJ.stderr [2025-11-29T05:34:35.842Z] STF 05:34:35.538 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17643939263910/PatModImg_AppMod_0/20251129-053433-PatModImgTest/results/1.CMJ.stdout [2025-11-29T05:34:35.842Z] STF 05:34:35.606 - Monitoring processes: CMJ [2025-11-29T05:34:36.153Z] STF 05:34:35.951 - Monitoring Report Summary: [2025-11-29T05:34:36.153Z] STF 05:34:35.951 - o Process CMJ ended with the expected exit code (0) [2025-11-29T05:34:36.153Z] STF 05:34:35.952 - Created modular jar: 1.com.hello.jar [2025-11-29T05:34:36.153Z] STF 05:34:35.952 - [2025-11-29T05:34:36.153Z] STF 05:34:35.952 - +------ Step 2 - Create com.hola jar [2025-11-29T05:34:36.153Z] STF 05:34:35.952 - | Create modular jar [2025-11-29T05:34:36.153Z] STF 05:34:35.952 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-11-29T05:34:36.153Z] STF 05:34:35.952 - | ModuleVersion: null [2025-11-29T05:34:36.153Z] STF 05:34:35.952 - | MainClass: null [2025-11-29T05:34:36.153Z] STF 05:34:35.952 - | HashModules: null [2025-11-29T05:34:36.153Z] STF 05:34:35.952 - | [2025-11-29T05:34:36.153Z] STF 05:34:35.953 - 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_17643939263910/PatModImg_AppMod_0/20251129-053433-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-11-29T05:34:36.153Z] STF 05:34:35.953 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17643939263910/PatModImg_AppMod_0/20251129-053433-PatModImgTest/results/2.CMJ.stderr [2025-11-29T05:34:36.153Z] STF 05:34:35.953 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17643939263910/PatModImg_AppMod_0/20251129-053433-PatModImgTest/results/2.CMJ.stdout [2025-11-29T05:34:36.153Z] STF 05:34:35.960 - Monitoring processes: CMJ [2025-11-29T05:34:36.464Z] STF 05:34:36.315 - Monitoring Report Summary: [2025-11-29T05:34:36.464Z] STF 05:34:36.315 - o Process CMJ ended with the expected exit code (0) [2025-11-29T05:34:36.464Z] STF 05:34:36.316 - Created modular jar: 2.com.hola.jar [2025-11-29T05:34:36.464Z] STF 05:34:36.316 - [2025-11-29T05:34:36.464Z] STF 05:34:36.316 - +------ Step 3 - Create com.helper jar [2025-11-29T05:34:36.464Z] STF 05:34:36.316 - | Create modular jar [2025-11-29T05:34:36.464Z] STF 05:34:36.316 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-11-29T05:34:36.464Z] STF 05:34:36.316 - | ModuleVersion: null [2025-11-29T05:34:36.464Z] STF 05:34:36.316 - | MainClass: null [2025-11-29T05:34:36.464Z] STF 05:34:36.316 - | HashModules: null [2025-11-29T05:34:36.464Z] STF 05:34:36.316 - | [2025-11-29T05:34:36.464Z] STF 05:34:36.317 - 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_17643939263910/PatModImg_AppMod_0/20251129-053433-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-11-29T05:34:36.464Z] STF 05:34:36.317 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17643939263910/PatModImg_AppMod_0/20251129-053433-PatModImgTest/results/3.CMJ.stderr [2025-11-29T05:34:36.464Z] STF 05:34:36.317 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17643939263910/PatModImg_AppMod_0/20251129-053433-PatModImgTest/results/3.CMJ.stdout [2025-11-29T05:34:36.464Z] STF 05:34:36.325 - Monitoring processes: CMJ [2025-11-29T05:34:36.775Z] STF 05:34:36.668 - Monitoring Report Summary: [2025-11-29T05:34:36.775Z] STF 05:34:36.668 - o Process CMJ ended with the expected exit code (0) [2025-11-29T05:34:36.775Z] STF 05:34:36.669 - Created modular jar: 3.com.helper.jar [2025-11-29T05:34:36.775Z] STF 05:34:36.669 - [2025-11-29T05:34:36.775Z] STF 05:34:36.669 - +------ Step 4 - Create com.discreet jar [2025-11-29T05:34:36.775Z] STF 05:34:36.669 - | Create modular jar [2025-11-29T05:34:36.775Z] STF 05:34:36.669 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-11-29T05:34:36.775Z] STF 05:34:36.669 - | ModuleVersion: null [2025-11-29T05:34:36.775Z] STF 05:34:36.669 - | MainClass: null [2025-11-29T05:34:36.776Z] STF 05:34:36.669 - | HashModules: null [2025-11-29T05:34:36.776Z] STF 05:34:36.669 - | [2025-11-29T05:34:36.776Z] STF 05:34:36.670 - 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_17643939263910/PatModImg_AppMod_0/20251129-053433-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-11-29T05:34:36.776Z] STF 05:34:36.670 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17643939263910/PatModImg_AppMod_0/20251129-053433-PatModImgTest/results/4.CMJ.stderr [2025-11-29T05:34:36.776Z] STF 05:34:36.670 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17643939263910/PatModImg_AppMod_0/20251129-053433-PatModImgTest/results/4.CMJ.stdout [2025-11-29T05:34:36.776Z] STF 05:34:36.677 - Monitoring processes: CMJ [2025-11-29T05:34:37.446Z] STF 05:34:37.036 - Monitoring Report Summary: [2025-11-29T05:34:37.446Z] STF 05:34:37.036 - o Process CMJ ended with the expected exit code (0) [2025-11-29T05:34:37.446Z] STF 05:34:37.037 - Created modular jar: 4.com.discreet.jar [2025-11-29T05:34:37.446Z] STF 05:34:37.037 - [2025-11-29T05:34:37.446Z] STF 05:34:37.037 - +------ Step 5 - Create tests jar [2025-11-29T05:34:37.446Z] STF 05:34:37.037 - | Create modular jar [2025-11-29T05:34:37.446Z] STF 05:34:37.037 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-11-29T05:34:37.446Z] STF 05:34:37.037 - | ModuleVersion: null [2025-11-29T05:34:37.446Z] STF 05:34:37.037 - | MainClass: null [2025-11-29T05:34:37.446Z] STF 05:34:37.037 - | HashModules: null [2025-11-29T05:34:37.446Z] STF 05:34:37.037 - | [2025-11-29T05:34:37.446Z] STF 05:34:37.038 - 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_17643939263910/PatModImg_AppMod_0/20251129-053433-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-11-29T05:34:37.446Z] STF 05:34:37.038 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17643939263910/PatModImg_AppMod_0/20251129-053433-PatModImgTest/results/5.CMJ.stderr [2025-11-29T05:34:37.446Z] STF 05:34:37.038 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17643939263910/PatModImg_AppMod_0/20251129-053433-PatModImgTest/results/5.CMJ.stdout [2025-11-29T05:34:37.446Z] STF 05:34:37.046 - Monitoring processes: CMJ [2025-11-29T05:34:37.758Z] STF 05:34:37.418 - Monitoring Report Summary: [2025-11-29T05:34:37.758Z] STF 05:34:37.418 - o Process CMJ ended with the expected exit code (0) [2025-11-29T05:34:37.758Z] STF 05:34:37.419 - Created modular jar: 5.com.test.jar [2025-11-29T05:34:37.758Z] STF 05:34:37.419 - [2025-11-29T05:34:37.758Z] STF 05:34:37.419 - +------ Step 6 - Create runtime image for PatchModule test [2025-11-29T05:34:37.758Z] STF 05:34:37.419 - | Run jlink to create runtime image [2025-11-29T05:34:37.758Z] STF 05:34:37.419 - | ImageName: XpJVM [2025-11-29T05:34:37.758Z] STF 05:34:37.419 - | [2025-11-29T05:34:37.758Z] STF 05:34:37.420 - 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_17643939263910\PatModImg_AppMod_0\20251129-053433-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_17643939263910\PatModImg_AppMod_0\20251129-053433-PatModImgTest\tmp\6.XpJVM [2025-11-29T05:34:37.758Z] STF 05:34:37.420 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17643939263910/PatModImg_AppMod_0/20251129-053433-PatModImgTest/results/6.JLNK.stderr [2025-11-29T05:34:37.758Z] STF 05:34:37.420 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17643939263910/PatModImg_AppMod_0/20251129-053433-PatModImgTest/results/6.JLNK.stdout [2025-11-29T05:34:37.758Z] STF 05:34:37.428 - Monitoring processes: JLNK [2025-11-29T05:34:39.969Z] STF 05:34:39.310 - Monitoring Report Summary: [2025-11-29T05:34:39.969Z] STF 05:34:39.310 - o Process JLNK ended with the expected exit code (0) [2025-11-29T05:34:39.969Z] STF 05:34:39.311 - [2025-11-29T05:34:39.969Z] STF 05:34:39.311 - +------ Step 7 - Create com.hello jar [2025-11-29T05:34:39.969Z] STF 05:34:39.311 - | Create modular jar [2025-11-29T05:34:39.969Z] STF 05:34:39.311 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-11-29T05:34:39.969Z] STF 05:34:39.311 - | ModuleVersion: null [2025-11-29T05:34:39.969Z] STF 05:34:39.311 - | MainClass: null [2025-11-29T05:34:39.969Z] STF 05:34:39.311 - | HashModules: null [2025-11-29T05:34:39.969Z] STF 05:34:39.311 - | [2025-11-29T05:34:39.969Z] STF 05:34:39.312 - 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_17643939263910/PatModImg_AppMod_0/20251129-053433-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-11-29T05:34:39.969Z] STF 05:34:39.312 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17643939263910/PatModImg_AppMod_0/20251129-053433-PatModImgTest/results/7.CMJ.stderr [2025-11-29T05:34:39.969Z] STF 05:34:39.312 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17643939263910/PatModImg_AppMod_0/20251129-053433-PatModImgTest/results/7.CMJ.stdout [2025-11-29T05:34:39.969Z] STF 05:34:39.364 - Monitoring processes: CMJ [2025-11-29T05:34:39.969Z] STF 05:34:39.755 - Monitoring Report Summary: [2025-11-29T05:34:39.969Z] STF 05:34:39.755 - o Process CMJ ended with the expected exit code (0) [2025-11-29T05:34:39.969Z] STF 05:34:39.756 - Created modular jar: 7.com.hello.jar [2025-11-29T05:34:39.969Z] STF 05:34:39.756 - [2025-11-29T05:34:39.969Z] STF 05:34:39.756 - +------ Step 8 - create java.xml.jar [2025-11-29T05:34:39.969Z] STF 05:34:39.756 - | Create modular jar [2025-11-29T05:34:39.969Z] STF 05:34:39.756 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-11-29T05:34:39.969Z] STF 05:34:39.756 - | ModuleVersion: null [2025-11-29T05:34:39.969Z] STF 05:34:39.756 - | MainClass: null [2025-11-29T05:34:39.969Z] STF 05:34:39.757 - | HashModules: null [2025-11-29T05:34:39.969Z] STF 05:34:39.757 - | [2025-11-29T05:34:39.969Z] STF 05:34:39.757 - 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_17643939263910/PatModImg_AppMod_0/20251129-053433-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-11-29T05:34:39.969Z] STF 05:34:39.757 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17643939263910/PatModImg_AppMod_0/20251129-053433-PatModImgTest/results/8.CMJ.stderr [2025-11-29T05:34:39.969Z] STF 05:34:39.757 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17643939263910/PatModImg_AppMod_0/20251129-053433-PatModImgTest/results/8.CMJ.stdout [2025-11-29T05:34:39.969Z] STF 05:34:39.765 - Monitoring processes: CMJ [2025-11-29T05:34:40.281Z] STF 05:34:40.122 - Monitoring Report Summary: [2025-11-29T05:34:40.281Z] STF 05:34:40.122 - o Process CMJ ended with the expected exit code (0) [2025-11-29T05:34:40.281Z] STF 05:34:40.123 - Created modular jar: 8.java.xml.jar [2025-11-29T05:34:40.281Z] STF 05:34:40.123 - [2025-11-29T05:34:40.281Z] STF 05:34:40.123 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2025-11-29T05:34:40.281Z] STF 05:34:40.123 - | Run foreground process [2025-11-29T05:34:40.281Z] STF 05:34:40.123 - | Program: C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17643939263910/PatModImg_AppMod_0/20251129-053433-PatModImgTest/tmp/6.XpJVM/bin/java [2025-11-29T05:34:40.281Z] STF 05:34:40.123 - | Mnemonic: OT21 [2025-11-29T05:34:40.281Z] STF 05:34:40.123 - | Echo: ECHO_ON [2025-11-29T05:34:40.281Z] STF 05:34:40.123 - | Expectation: CLEAN_RUN within 5m [2025-11-29T05:34:40.281Z] STF 05:34:40.123 - | [2025-11-29T05:34:40.281Z] STF 05:34:40.124 - Running command: C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17643939263910/PatModImg_AppMod_0/20251129-053433-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-11-29T05:34:40.281Z] STF 05:34:40.124 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17643939263910/PatModImg_AppMod_0/20251129-053433-PatModImgTest/results/9.OT21.stderr [2025-11-29T05:34:40.281Z] STF 05:34:40.124 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17643939263910/PatModImg_AppMod_0/20251129-053433-PatModImgTest/results/9.OT21.stdout [2025-11-29T05:34:40.594Z] STF 05:34:40.181 - Monitoring processes: OT21 [2025-11-29T05:34:40.594Z] 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-11-29T05:34:40.594Z] OT21 JUnit version 4.12 [2025-11-29T05:34:40.904Z] OT21 . [2025-11-29T05:34:40.904Z] OT21 Time: 0.014 [2025-11-29T05:34:40.904Z] OT21 [2025-11-29T05:34:40.904Z] OT21 OK (1 test) [2025-11-29T05:34:40.904Z] OT21 [2025-11-29T05:34:40.904Z] STF 05:34:40.581 - Monitoring Report Summary: [2025-11-29T05:34:40.904Z] STF 05:34:40.581 - o Process OT21 ended with the expected exit code (0) [2025-11-29T05:34:40.904Z] STF 05:34:40.582 - [2025-11-29T05:34:40.904Z] STF 05:34:40.582 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2025-11-29T05:34:40.904Z] STF 05:34:40.582 - | Run foreground process [2025-11-29T05:34:40.904Z] STF 05:34:40.582 - | Program: C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17643939263910/PatModImg_AppMod_0/20251129-053433-PatModImgTest/tmp/6.XpJVM/bin/java [2025-11-29T05:34:40.904Z] STF 05:34:40.582 - | Mnemonic: OT22 [2025-11-29T05:34:40.904Z] STF 05:34:40.582 - | Echo: ECHO_ON [2025-11-29T05:34:40.904Z] STF 05:34:40.582 - | Expectation: CLEAN_RUN within 5m [2025-11-29T05:34:40.904Z] STF 05:34:40.582 - | [2025-11-29T05:34:40.904Z] STF 05:34:40.583 - Running command: C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17643939263910/PatModImg_AppMod_0/20251129-053433-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_17643939263910/PatModImg_AppMod_0/20251129-053433-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-11-29T05:34:40.904Z] STF 05:34:40.583 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17643939263910/PatModImg_AppMod_0/20251129-053433-PatModImgTest/results/10.OT22.stderr [2025-11-29T05:34:40.904Z] STF 05:34:40.583 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17643939263910/PatModImg_AppMod_0/20251129-053433-PatModImgTest/results/10.OT22.stdout [2025-11-29T05:34:40.905Z] STF 05:34:40.597 - Monitoring processes: OT22 [2025-11-29T05:34:40.905Z] 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_17643939263910\PatModImg_AppMod_0\20251129-053433-PatModImgTest\modules\7.com.hello.jar [2025-11-29T05:34:40.905Z] OT22 JUnit version 4.12 [2025-11-29T05:34:41.217Z] OT22 . [2025-11-29T05:34:41.217Z] OT22 Time: 0.009 [2025-11-29T05:34:41.217Z] OT22 [2025-11-29T05:34:41.217Z] OT22 OK (1 test) [2025-11-29T05:34:41.217Z] OT22 [2025-11-29T05:34:41.217Z] STF 05:34:40.951 - Monitoring Report Summary: [2025-11-29T05:34:41.217Z] STF 05:34:40.951 - o Process OT22 ended with the expected exit code (0) [2025-11-29T05:34:41.217Z] STF 05:34:40.952 - EXECUTE stage completed [2025-11-29T05:34:41.217Z] STF 05:34:40.982 - [2025-11-29T05:34:41.217Z] STF 05:34:40.983 - ==================== T E A R D O W N ==================== [2025-11-29T05:34:41.217Z] STF 05:34:40.983 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17643939263910\PatModImg_AppMod_0/20251129-053433-PatModImgTest/tearDown.pl [2025-11-29T05:34:41.530Z] STF 05:34:41.371 - TEARDOWN stage completed [2025-11-29T05:34:41.530Z] STF 05:34:41.416 - [2025-11-29T05:34:41.530Z] STF 05:34:41.416 - ===================== R E S U L T S ===================== [2025-11-29T05:34:41.530Z] STF 05:34:41.416 - Stage results: [2025-11-29T05:34:41.530Z] STF 05:34:41.416 - setUp: pass [2025-11-29T05:34:41.530Z] STF 05:34:41.416 - execute: pass [2025-11-29T05:34:41.530Z] STF 05:34:41.416 - teardown: pass [2025-11-29T05:34:41.530Z] STF 05:34:41.416 - [2025-11-29T05:34:41.530Z] STF 05:34:41.416 - Overall result: PASSED [2025-11-29T05:34:41.530Z] ----------------------------------- [2025-11-29T05:34:41.530Z] PatModImg_AppMod_0_PASSED [2025-11-29T05:34:41.530Z] ----------------------------------- [2025-11-29T05:34:41.843Z] [2025-11-29T05:34:41.843Z] TEST TEARDOWN: [2025-11-29T05:34:41.843Z] Nothing to be done for teardown. [2025-11-29T05:34:42.157Z] PatModImg_AppMod_0 Finish Time: Sat Nov 29 05:34:41 2025 Epoch Time (ms): 1764394481893