PatModImg_AppMod_1

[2025-11-07T01:17:56.293Z] Running test PatModImg_AppMod_1 ... [2025-11-07T01:17:56.595Z] =============================================== [2025-11-07T01:17:56.897Z] PatModImg_AppMod_1 Start Time: Fri Nov 7 01:17:56 2025 Epoch Time (ms): 1762478276644 [2025-11-07T01:17:57.199Z] variation: Mode650 [2025-11-07T01:17:57.199Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-11-07T01:17:57.199Z] { \ [2025-11-07T01:17:57.199Z] echo ""; echo "TEST SETUP:"; \ [2025-11-07T01:17:57.199Z] echo "Nothing to be done for setup."; \ [2025-11-07T01:17:57.199Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17624777141299\\PatModImg_AppMod_1"; \ [2025-11-07T01:17:57.199Z] cd "C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17624777141299\\PatModImg_AppMod_1"; \ [2025-11-07T01:17:57.199Z] echo ""; echo "TESTING:"; \ [2025-11-07T01:17:57.199Z] 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_17624777141299\\PatModImg_AppMod_1" -test=PatModImgTest -test-args="variant=AppMod"; \ [2025-11-07T01:17:57.199Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_1""_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_17624777141299\\PatModImg_AppMod_1"; else echo "-----------------------------------"; echo "PatModImg_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-11-07T01:17:57.199Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-11-07T01:17:57.199Z] echo "Nothing to be done for teardown."; \ [2025-11-07T01:17:57.199Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17624777141299\\TestTargetResult"; [2025-11-07T01:17:57.502Z] [2025-11-07T01:17:57.502Z] TEST SETUP: [2025-11-07T01:17:57.502Z] Nothing to be done for setup. [2025-11-07T01:17:57.502Z] [2025-11-07T01:17:57.502Z] TESTING: [2025-11-07T01:17:58.152Z] STF 01:17:57.894 - ========================= S T F ========================= [2025-11-07T01:17:58.152Z] 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_17624777141299\PatModImg_AppMod_1 [2025-11-07T01:17:58.152Z] There is 66382 Mb free [2025-11-07T01:17:58.152Z] STF 01:17:57.977 - ================== G E N E R A T I O N ================== [2025-11-07T01:17:58.152Z] STF 01:17:57.983 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image [2025-11-07T01:17:58.152Z] STF 01:17:57.984 - 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_17624777141299\PatModImg_AppMod_1/20251107-011757-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_17624777141299\PatModImg_AppMod_1/20251107-011757-PatModImgTest" [2025-11-07T01:17:59.216Z] GEN 01:17:59.145 - 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-07T01:17:59.216Z] GEN 01:17:59.159 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-11-07T01:17:59.517Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-11-07T01:17:59.517Z] 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-07T01:17:59.517Z] 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-07T01:17:59.517Z] 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-07T01:17:59.517Z] 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-07T01:17:59.518Z] 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-07T01:17:59.518Z] 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-07T01:17:59.518Z] 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-07T01:17:59.518Z] 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-07T01:17:59.518Z] 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-07T01:17:59.518Z] 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-07T01:17:59.518Z] 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-07T01:17:59.518Z] 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-07T01:17:59.518Z] 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-07T01:17:59.518Z] 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-07T01:17:59.518Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-11-07T01:17:59.518Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2025-11-07T01:17:59.518Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-api.jar [2025-11-07T01:17:59.518Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-core.jar [2025-11-07T01:17:59.518Z] GEN C:/Users/jenkins/externalDependency/system_lib/junit/junit.jar [2025-11-07T01:17:59.518Z] GEN 01:17:59.377 - Using Mode NoOptions. Values = '' [2025-11-07T01:17:59.518Z] GEN 01:17:59.483 - [2025-11-07T01:17:59.518Z] GEN 01:17:59.483 - Test command summary: [2025-11-07T01:17:59.518Z] GEN 01:17:59.483 - Step Stage Command Description [2025-11-07T01:17:59.518Z] GEN 01:17:59.483 - -----+--------+-----------------+------------ [2025-11-07T01:17:59.518Z] GEN 01:17:59.483 - 1 execute jar Create com.hello jar [2025-11-07T01:17:59.518Z] GEN 01:17:59.483 - 2 execute jar Create com.hola jar [2025-11-07T01:17:59.518Z] GEN 01:17:59.484 - 3 execute jar Create com.helper jar [2025-11-07T01:17:59.518Z] GEN 01:17:59.484 - 4 execute jar Create com.discreet jar [2025-11-07T01:17:59.518Z] GEN 01:17:59.484 - 5 execute jar Create tests jar [2025-11-07T01:17:59.518Z] GEN 01:17:59.484 - 6 execute jlink Create runtime image for PatchModule test [2025-11-07T01:17:59.518Z] GEN 01:17:59.484 - 7 execute jar Create com.hello jar [2025-11-07T01:17:59.518Z] GEN 01:17:59.484 - 8 execute jar create java.xml.jar [2025-11-07T01:17:59.518Z] GEN 01:17:59.484 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2025-11-07T01:17:59.518Z] GEN 01:17:59.484 - 10 execute Run java Verify if we can patch an Application module using modular jar [2025-11-07T01:17:59.819Z] STF 01:17:59.510 - [2025-11-07T01:17:59.819Z] STF 01:17:59.510 - Script generation completed [2025-11-07T01:17:59.819Z] STF 01:17:59.510 - [2025-11-07T01:17:59.819Z] STF 01:17:59.521 - [2025-11-07T01:17:59.819Z] STF 01:17:59.521 - ======================= S E T U P ======================= [2025-11-07T01:17:59.819Z] STF 01:17:59.521 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17624777141299\PatModImg_AppMod_1/20251107-011757-PatModImgTest/setUp.pl [2025-11-07T01:18:00.120Z] STF 01:17:59.894 - SETUP stage completed [2025-11-07T01:18:00.120Z] STF 01:17:59.920 - [2025-11-07T01:18:00.120Z] STF 01:17:59.920 - ==================== E X E C U T E - ==================== [2025-11-07T01:18:00.120Z] STF 01:17:59.920 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17624777141299\PatModImg_AppMod_1/20251107-011757-PatModImgTest/execute.pl [2025-11-07T01:18:00.420Z] STF 01:18:00.299 - [2025-11-07T01:18:00.420Z] STF 01:18:00.300 - Java version [2025-11-07T01:18:00.420Z] STF 01:18:00.300 - Running: C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2025-11-07T01:18:00.721Z] openjdk version "26-beta" 2026-03-17 [2025-11-07T01:18:00.721Z] OpenJDK Runtime Environment Temurin-26+23-202511062137 (build 26-beta+23-ea) [2025-11-07T01:18:00.722Z] OpenJDK 64-Bit Server VM Temurin-26+23-202511062137 (build 26-beta+23-ea, mixed mode) [2025-11-07T01:18:00.722Z] STF 01:18:00.416 - [2025-11-07T01:18:00.722Z] STF 01:18:00.416 - +------ Step 1 - Create com.hello jar [2025-11-07T01:18:00.722Z] STF 01:18:00.416 - | Create modular jar [2025-11-07T01:18:00.722Z] STF 01:18:00.416 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-11-07T01:18:00.722Z] STF 01:18:00.416 - | ModuleVersion: null [2025-11-07T01:18:00.722Z] STF 01:18:00.416 - | MainClass: null [2025-11-07T01:18:00.722Z] STF 01:18:00.416 - | HashModules: null [2025-11-07T01:18:00.722Z] STF 01:18:00.416 - | [2025-11-07T01:18:00.722Z] STF 01:18:00.418 - 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_17624777141299/PatModImg_AppMod_1/20251107-011757-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-07T01:18:00.722Z] STF 01:18:00.418 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17624777141299/PatModImg_AppMod_1/20251107-011757-PatModImgTest/results/1.CMJ.stderr [2025-11-07T01:18:00.722Z] STF 01:18:00.418 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17624777141299/PatModImg_AppMod_1/20251107-011757-PatModImgTest/results/1.CMJ.stdout [2025-11-07T01:18:00.722Z] STF 01:18:00.487 - Monitoring processes: CMJ [2025-11-07T01:18:01.021Z] STF 01:18:00.850 - Monitoring Report Summary: [2025-11-07T01:18:01.021Z] STF 01:18:00.851 - o Process CMJ ended with the expected exit code (0) [2025-11-07T01:18:01.021Z] STF 01:18:00.851 - Created modular jar: 1.com.hello.jar [2025-11-07T01:18:01.021Z] STF 01:18:00.852 - [2025-11-07T01:18:01.021Z] STF 01:18:00.852 - +------ Step 2 - Create com.hola jar [2025-11-07T01:18:01.021Z] STF 01:18:00.852 - | Create modular jar [2025-11-07T01:18:01.021Z] STF 01:18:00.852 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-11-07T01:18:01.021Z] STF 01:18:00.852 - | ModuleVersion: null [2025-11-07T01:18:01.021Z] STF 01:18:00.852 - | MainClass: null [2025-11-07T01:18:01.021Z] STF 01:18:00.852 - | HashModules: null [2025-11-07T01:18:01.021Z] STF 01:18:00.852 - | [2025-11-07T01:18:01.021Z] STF 01:18:00.852 - 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_17624777141299/PatModImg_AppMod_1/20251107-011757-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-07T01:18:01.021Z] STF 01:18:00.852 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17624777141299/PatModImg_AppMod_1/20251107-011757-PatModImgTest/results/2.CMJ.stderr [2025-11-07T01:18:01.021Z] STF 01:18:00.853 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17624777141299/PatModImg_AppMod_1/20251107-011757-PatModImgTest/results/2.CMJ.stdout [2025-11-07T01:18:01.021Z] STF 01:18:00.861 - Monitoring processes: CMJ [2025-11-07T01:18:01.322Z] STF 01:18:01.233 - Monitoring Report Summary: [2025-11-07T01:18:01.322Z] STF 01:18:01.233 - o Process CMJ ended with the expected exit code (0) [2025-11-07T01:18:01.322Z] STF 01:18:01.234 - Created modular jar: 2.com.hola.jar [2025-11-07T01:18:01.322Z] STF 01:18:01.234 - [2025-11-07T01:18:01.322Z] STF 01:18:01.234 - +------ Step 3 - Create com.helper jar [2025-11-07T01:18:01.322Z] STF 01:18:01.234 - | Create modular jar [2025-11-07T01:18:01.322Z] STF 01:18:01.234 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-11-07T01:18:01.322Z] STF 01:18:01.234 - | ModuleVersion: null [2025-11-07T01:18:01.322Z] STF 01:18:01.234 - | MainClass: null [2025-11-07T01:18:01.322Z] STF 01:18:01.234 - | HashModules: null [2025-11-07T01:18:01.322Z] STF 01:18:01.234 - | [2025-11-07T01:18:01.322Z] STF 01:18:01.235 - 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_17624777141299/PatModImg_AppMod_1/20251107-011757-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-07T01:18:01.322Z] STF 01:18:01.235 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17624777141299/PatModImg_AppMod_1/20251107-011757-PatModImgTest/results/3.CMJ.stderr [2025-11-07T01:18:01.322Z] STF 01:18:01.235 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17624777141299/PatModImg_AppMod_1/20251107-011757-PatModImgTest/results/3.CMJ.stdout [2025-11-07T01:18:01.322Z] STF 01:18:01.242 - Monitoring processes: CMJ [2025-11-07T01:18:01.975Z] STF 01:18:01.602 - Monitoring Report Summary: [2025-11-07T01:18:01.975Z] STF 01:18:01.602 - o Process CMJ ended with the expected exit code (0) [2025-11-07T01:18:01.975Z] STF 01:18:01.603 - Created modular jar: 3.com.helper.jar [2025-11-07T01:18:01.975Z] STF 01:18:01.603 - [2025-11-07T01:18:01.975Z] STF 01:18:01.603 - +------ Step 4 - Create com.discreet jar [2025-11-07T01:18:01.975Z] STF 01:18:01.603 - | Create modular jar [2025-11-07T01:18:01.975Z] STF 01:18:01.603 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-11-07T01:18:01.975Z] STF 01:18:01.603 - | ModuleVersion: null [2025-11-07T01:18:01.975Z] STF 01:18:01.603 - | MainClass: null [2025-11-07T01:18:01.975Z] STF 01:18:01.603 - | HashModules: null [2025-11-07T01:18:01.975Z] STF 01:18:01.603 - | [2025-11-07T01:18:01.975Z] STF 01:18:01.604 - 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_17624777141299/PatModImg_AppMod_1/20251107-011757-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-07T01:18:01.975Z] STF 01:18:01.604 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17624777141299/PatModImg_AppMod_1/20251107-011757-PatModImgTest/results/4.CMJ.stderr [2025-11-07T01:18:01.975Z] STF 01:18:01.604 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17624777141299/PatModImg_AppMod_1/20251107-011757-PatModImgTest/results/4.CMJ.stdout [2025-11-07T01:18:01.975Z] STF 01:18:01.611 - Monitoring processes: CMJ [2025-11-07T01:18:02.276Z] STF 01:18:01.983 - Monitoring Report Summary: [2025-11-07T01:18:02.276Z] STF 01:18:01.983 - o Process CMJ ended with the expected exit code (0) [2025-11-07T01:18:02.276Z] STF 01:18:01.984 - Created modular jar: 4.com.discreet.jar [2025-11-07T01:18:02.276Z] STF 01:18:01.984 - [2025-11-07T01:18:02.276Z] STF 01:18:01.984 - +------ Step 5 - Create tests jar [2025-11-07T01:18:02.276Z] STF 01:18:01.984 - | Create modular jar [2025-11-07T01:18:02.276Z] STF 01:18:01.984 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-11-07T01:18:02.276Z] STF 01:18:01.984 - | ModuleVersion: null [2025-11-07T01:18:02.276Z] STF 01:18:01.985 - | MainClass: null [2025-11-07T01:18:02.276Z] STF 01:18:01.985 - | HashModules: null [2025-11-07T01:18:02.276Z] STF 01:18:01.985 - | [2025-11-07T01:18:02.276Z] STF 01:18:01.985 - 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_17624777141299/PatModImg_AppMod_1/20251107-011757-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-07T01:18:02.276Z] STF 01:18:01.985 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17624777141299/PatModImg_AppMod_1/20251107-011757-PatModImgTest/results/5.CMJ.stderr [2025-11-07T01:18:02.276Z] STF 01:18:01.985 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17624777141299/PatModImg_AppMod_1/20251107-011757-PatModImgTest/results/5.CMJ.stdout [2025-11-07T01:18:02.276Z] STF 01:18:01.993 - Monitoring processes: CMJ [2025-11-07T01:18:02.577Z] STF 01:18:02.367 - Monitoring Report Summary: [2025-11-07T01:18:02.577Z] STF 01:18:02.367 - o Process CMJ ended with the expected exit code (0) [2025-11-07T01:18:02.577Z] STF 01:18:02.368 - Created modular jar: 5.com.test.jar [2025-11-07T01:18:02.577Z] STF 01:18:02.368 - [2025-11-07T01:18:02.577Z] STF 01:18:02.368 - +------ Step 6 - Create runtime image for PatchModule test [2025-11-07T01:18:02.577Z] STF 01:18:02.369 - | Run jlink to create runtime image [2025-11-07T01:18:02.577Z] STF 01:18:02.369 - | ImageName: XpJVM [2025-11-07T01:18:02.577Z] STF 01:18:02.369 - | [2025-11-07T01:18:02.577Z] STF 01:18:02.369 - 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_17624777141299\PatModImg_AppMod_1\20251107-011757-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_17624777141299\PatModImg_AppMod_1\20251107-011757-PatModImgTest\tmp\6.XpJVM [2025-11-07T01:18:02.577Z] STF 01:18:02.369 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17624777141299/PatModImg_AppMod_1/20251107-011757-PatModImgTest/results/6.JLNK.stderr [2025-11-07T01:18:02.578Z] STF 01:18:02.369 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17624777141299/PatModImg_AppMod_1/20251107-011757-PatModImgTest/results/6.JLNK.stdout [2025-11-07T01:18:02.578Z] STF 01:18:02.377 - Monitoring processes: JLNK [2025-11-07T01:18:04.705Z] STF 01:18:04.376 - Monitoring Report Summary: [2025-11-07T01:18:04.705Z] STF 01:18:04.376 - o Process JLNK ended with the expected exit code (0) [2025-11-07T01:18:04.705Z] STF 01:18:04.377 - [2025-11-07T01:18:04.705Z] STF 01:18:04.377 - +------ Step 7 - Create com.hello jar [2025-11-07T01:18:04.705Z] STF 01:18:04.377 - | Create modular jar [2025-11-07T01:18:04.705Z] STF 01:18:04.377 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-11-07T01:18:04.705Z] STF 01:18:04.377 - | ModuleVersion: null [2025-11-07T01:18:04.705Z] STF 01:18:04.377 - | MainClass: null [2025-11-07T01:18:04.705Z] STF 01:18:04.377 - | HashModules: null [2025-11-07T01:18:04.705Z] STF 01:18:04.377 - | [2025-11-07T01:18:04.705Z] STF 01:18:04.378 - 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_17624777141299/PatModImg_AppMod_1/20251107-011757-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-07T01:18:04.705Z] STF 01:18:04.378 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17624777141299/PatModImg_AppMod_1/20251107-011757-PatModImgTest/results/7.CMJ.stderr [2025-11-07T01:18:04.705Z] STF 01:18:04.378 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17624777141299/PatModImg_AppMod_1/20251107-011757-PatModImgTest/results/7.CMJ.stdout [2025-11-07T01:18:04.705Z] STF 01:18:04.385 - Monitoring processes: CMJ [2025-11-07T01:18:05.004Z] STF 01:18:04.827 - Monitoring Report Summary: [2025-11-07T01:18:05.004Z] STF 01:18:04.827 - o Process CMJ ended with the expected exit code (0) [2025-11-07T01:18:05.004Z] STF 01:18:04.828 - Created modular jar: 7.com.hello.jar [2025-11-07T01:18:05.004Z] STF 01:18:04.828 - [2025-11-07T01:18:05.004Z] STF 01:18:04.828 - +------ Step 8 - create java.xml.jar [2025-11-07T01:18:05.004Z] STF 01:18:04.828 - | Create modular jar [2025-11-07T01:18:05.004Z] STF 01:18:04.828 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-11-07T01:18:05.004Z] STF 01:18:04.828 - | ModuleVersion: null [2025-11-07T01:18:05.004Z] STF 01:18:04.828 - | MainClass: null [2025-11-07T01:18:05.004Z] STF 01:18:04.828 - | HashModules: null [2025-11-07T01:18:05.004Z] STF 01:18:04.828 - | [2025-11-07T01:18:05.004Z] STF 01:18:04.828 - 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_17624777141299/PatModImg_AppMod_1/20251107-011757-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-07T01:18:05.004Z] STF 01:18:04.829 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17624777141299/PatModImg_AppMod_1/20251107-011757-PatModImgTest/results/8.CMJ.stderr [2025-11-07T01:18:05.004Z] STF 01:18:04.829 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17624777141299/PatModImg_AppMod_1/20251107-011757-PatModImgTest/results/8.CMJ.stdout [2025-11-07T01:18:05.004Z] STF 01:18:04.836 - Monitoring processes: CMJ [2025-11-07T01:18:05.306Z] STF 01:18:05.207 - Monitoring Report Summary: [2025-11-07T01:18:05.306Z] STF 01:18:05.208 - o Process CMJ ended with the expected exit code (0) [2025-11-07T01:18:05.306Z] STF 01:18:05.208 - Created modular jar: 8.java.xml.jar [2025-11-07T01:18:05.306Z] STF 01:18:05.208 - [2025-11-07T01:18:05.306Z] STF 01:18:05.208 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2025-11-07T01:18:05.306Z] STF 01:18:05.208 - | Run foreground process [2025-11-07T01:18:05.306Z] STF 01:18:05.209 - | Program: C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17624777141299/PatModImg_AppMod_1/20251107-011757-PatModImgTest/tmp/6.XpJVM/bin/java [2025-11-07T01:18:05.306Z] STF 01:18:05.209 - | Mnemonic: OT21 [2025-11-07T01:18:05.306Z] STF 01:18:05.209 - | Echo: ECHO_ON [2025-11-07T01:18:05.306Z] STF 01:18:05.209 - | Expectation: CLEAN_RUN within 5m [2025-11-07T01:18:05.306Z] STF 01:18:05.209 - | [2025-11-07T01:18:05.306Z] STF 01:18:05.209 - Running command: C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17624777141299/PatModImg_AppMod_1/20251107-011757-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-07T01:18:05.306Z] STF 01:18:05.209 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17624777141299/PatModImg_AppMod_1/20251107-011757-PatModImgTest/results/9.OT21.stderr [2025-11-07T01:18:05.306Z] STF 01:18:05.210 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17624777141299/PatModImg_AppMod_1/20251107-011757-PatModImgTest/results/9.OT21.stdout [2025-11-07T01:18:05.606Z] STF 01:18:05.270 - Monitoring processes: OT21 [2025-11-07T01:18:05.907Z] 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-07T01:18:05.908Z] OT21 JUnit version 4.12 [2025-11-07T01:18:05.908Z] OT21 . [2025-11-07T01:18:05.908Z] OT21 Time: 0.014 [2025-11-07T01:18:05.908Z] OT21 [2025-11-07T01:18:05.908Z] OT21 OK (1 test) [2025-11-07T01:18:05.908Z] OT21 [2025-11-07T01:18:05.908Z] STF 01:18:05.784 - Monitoring Report Summary: [2025-11-07T01:18:05.908Z] STF 01:18:05.785 - o Process OT21 ended with the expected exit code (0) [2025-11-07T01:18:05.908Z] STF 01:18:05.785 - [2025-11-07T01:18:05.908Z] STF 01:18:05.785 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2025-11-07T01:18:05.908Z] STF 01:18:05.785 - | Run foreground process [2025-11-07T01:18:05.908Z] STF 01:18:05.786 - | Program: C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17624777141299/PatModImg_AppMod_1/20251107-011757-PatModImgTest/tmp/6.XpJVM/bin/java [2025-11-07T01:18:05.908Z] STF 01:18:05.786 - | Mnemonic: OT22 [2025-11-07T01:18:05.908Z] STF 01:18:05.786 - | Echo: ECHO_ON [2025-11-07T01:18:05.908Z] STF 01:18:05.786 - | Expectation: CLEAN_RUN within 5m [2025-11-07T01:18:05.908Z] STF 01:18:05.786 - | [2025-11-07T01:18:05.908Z] STF 01:18:05.786 - Running command: C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17624777141299/PatModImg_AppMod_1/20251107-011757-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_17624777141299/PatModImg_AppMod_1/20251107-011757-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-07T01:18:05.908Z] STF 01:18:05.787 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17624777141299/PatModImg_AppMod_1/20251107-011757-PatModImgTest/results/10.OT22.stderr [2025-11-07T01:18:05.908Z] STF 01:18:05.787 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17624777141299/PatModImg_AppMod_1/20251107-011757-PatModImgTest/results/10.OT22.stdout [2025-11-07T01:18:05.908Z] STF 01:18:05.795 - Monitoring processes: OT22 [2025-11-07T01:18:06.212Z] 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_17624777141299\PatModImg_AppMod_1\20251107-011757-PatModImgTest\modules\7.com.hello.jar [2025-11-07T01:18:06.212Z] OT22 JUnit version 4.12 [2025-11-07T01:18:06.513Z] OT22 . [2025-11-07T01:18:06.513Z] OT22 Time: 0.009 [2025-11-07T01:18:06.513Z] OT22 [2025-11-07T01:18:06.513Z] OT22 OK (1 test) [2025-11-07T01:18:06.513Z] OT22 [2025-11-07T01:18:06.513Z] STF 01:18:06.165 - Monitoring Report Summary: [2025-11-07T01:18:06.513Z] STF 01:18:06.165 - o Process OT22 ended with the expected exit code (0) [2025-11-07T01:18:06.513Z] STF 01:18:06.166 - EXECUTE stage completed [2025-11-07T01:18:06.513Z] STF 01:18:06.227 - [2025-11-07T01:18:06.513Z] STF 01:18:06.227 - ==================== T E A R D O W N ==================== [2025-11-07T01:18:06.513Z] STF 01:18:06.227 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17624777141299\PatModImg_AppMod_1/20251107-011757-PatModImgTest/tearDown.pl [2025-11-07T01:18:06.813Z] STF 01:18:06.605 - TEARDOWN stage completed [2025-11-07T01:18:06.813Z] STF 01:18:06.641 - [2025-11-07T01:18:06.813Z] STF 01:18:06.641 - ===================== R E S U L T S ===================== [2025-11-07T01:18:06.813Z] STF 01:18:06.641 - Stage results: [2025-11-07T01:18:06.813Z] STF 01:18:06.641 - setUp: pass [2025-11-07T01:18:06.813Z] STF 01:18:06.642 - execute: pass [2025-11-07T01:18:06.813Z] STF 01:18:06.642 - teardown: pass [2025-11-07T01:18:06.813Z] STF 01:18:06.642 - [2025-11-07T01:18:06.813Z] STF 01:18:06.642 - Overall result: PASSED [2025-11-07T01:18:06.813Z] ----------------------------------- [2025-11-07T01:18:06.813Z] PatModImg_AppMod_1_PASSED [2025-11-07T01:18:06.813Z] ----------------------------------- [2025-11-07T01:18:06.813Z] [2025-11-07T01:18:06.813Z] TEST TEARDOWN: [2025-11-07T01:18:06.813Z] Nothing to be done for teardown. [2025-11-07T01:18:07.581Z] PatModImg_AppMod_1 Finish Time: Fri Nov 7 01:18:07 2025 Epoch Time (ms): 1762478287104