PatModImg_AppMod_1

[2025-12-10T08:40:41.087Z] Running test PatModImg_AppMod_1 ... [2025-12-10T08:40:41.485Z] =============================================== [2025-12-10T08:40:41.816Z] PatModImg_AppMod_1 Start Time: Wed Dec 10 08:40:41 2025 Epoch Time (ms): 1765356041642 [2025-12-10T08:40:42.129Z] variation: Mode650 [2025-12-10T08:40:42.443Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-12-10T08:40:42.443Z] { \ [2025-12-10T08:40:42.443Z] echo ""; echo "TEST SETUP:"; \ [2025-12-10T08:40:42.443Z] echo "Nothing to be done for setup."; \ [2025-12-10T08:40:42.443Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17653534943115\\PatModImg_AppMod_1"; \ [2025-12-10T08:40:42.443Z] cd "C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17653534943115\\PatModImg_AppMod_1"; \ [2025-12-10T08:40:42.443Z] echo ""; echo "TESTING:"; \ [2025-12-10T08:40:42.443Z] 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_17653534943115\\PatModImg_AppMod_1" -test=PatModImgTest -test-args="variant=AppMod"; \ [2025-12-10T08:40:42.443Z] 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_17653534943115\\PatModImg_AppMod_1"; else echo "-----------------------------------"; echo "PatModImg_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-12-10T08:40:42.443Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-12-10T08:40:42.443Z] echo "Nothing to be done for teardown."; \ [2025-12-10T08:40:42.443Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17653534943115\\TestTargetResult"; [2025-12-10T08:40:42.443Z] [2025-12-10T08:40:42.443Z] TEST SETUP: [2025-12-10T08:40:42.443Z] Nothing to be done for setup. [2025-12-10T08:40:42.757Z] [2025-12-10T08:40:42.757Z] TESTING: [2025-12-10T08:40:43.069Z] STF 08:40:42.870 - ========================= S T F ========================= [2025-12-10T08:40:43.069Z] 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_17653534943115\PatModImg_AppMod_1 [2025-12-10T08:40:43.069Z] There is 39489 Mb free [2025-12-10T08:40:43.069Z] STF 08:40:42.952 - ================== G E N E R A T I O N ================== [2025-12-10T08:40:43.069Z] STF 08:40:42.957 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image [2025-12-10T08:40:43.069Z] STF 08:40:42.958 - 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_17653534943115\PatModImg_AppMod_1/20251210-084042-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_17653534943115\PatModImg_AppMod_1/20251210-084042-PatModImgTest" [2025-12-10T08:40:44.660Z] GEN 08:40:44.185 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: 'C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2025-12-10T08:40:44.660Z] GEN 08:40:44.201 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-12-10T08:40:44.660Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-12-10T08:40:44.660Z] GEN C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2025-12-10T08:40:44.660Z] GEN C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2025-12-10T08:40:44.660Z] GEN C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2025-12-10T08:40:44.660Z] GEN C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2025-12-10T08:40:44.660Z] GEN C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2025-12-10T08:40:44.660Z] GEN C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2025-12-10T08:40:44.660Z] GEN C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2025-12-10T08:40:44.660Z] GEN C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2025-12-10T08:40:44.660Z] GEN C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2025-12-10T08:40:44.660Z] GEN C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2025-12-10T08:40:44.660Z] GEN C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2025-12-10T08:40:44.660Z] GEN C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2025-12-10T08:40:44.660Z] GEN C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-12-10T08:40:44.660Z] GEN C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-12-10T08:40:44.660Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-12-10T08:40:44.660Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2025-12-10T08:40:44.660Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-api.jar [2025-12-10T08:40:44.660Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-core.jar [2025-12-10T08:40:44.660Z] GEN C:/Users/jenkins/externalDependency/system_lib/junit/junit.jar [2025-12-10T08:40:44.660Z] GEN 08:40:44.431 - Using Mode NoOptions. Values = '' [2025-12-10T08:40:44.660Z] GEN 08:40:44.538 - [2025-12-10T08:40:44.660Z] GEN 08:40:44.539 - Test command summary: [2025-12-10T08:40:44.660Z] GEN 08:40:44.539 - Step Stage Command Description [2025-12-10T08:40:44.660Z] GEN 08:40:44.539 - -----+--------+-----------------+------------ [2025-12-10T08:40:44.660Z] GEN 08:40:44.539 - 1 execute jar Create com.hello jar [2025-12-10T08:40:44.660Z] GEN 08:40:44.539 - 2 execute jar Create com.hola jar [2025-12-10T08:40:44.660Z] GEN 08:40:44.539 - 3 execute jar Create com.helper jar [2025-12-10T08:40:44.660Z] GEN 08:40:44.539 - 4 execute jar Create com.discreet jar [2025-12-10T08:40:44.660Z] GEN 08:40:44.540 - 5 execute jar Create tests jar [2025-12-10T08:40:44.660Z] GEN 08:40:44.540 - 6 execute jlink Create runtime image for PatchModule test [2025-12-10T08:40:44.660Z] GEN 08:40:44.540 - 7 execute jar Create com.hello jar [2025-12-10T08:40:44.660Z] GEN 08:40:44.540 - 8 execute jar create java.xml.jar [2025-12-10T08:40:44.660Z] GEN 08:40:44.540 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2025-12-10T08:40:44.660Z] GEN 08:40:44.540 - 10 execute Run java Verify if we can patch an Application module using modular jar [2025-12-10T08:40:44.660Z] STF 08:40:44.568 - [2025-12-10T08:40:44.660Z] STF 08:40:44.568 - Script generation completed [2025-12-10T08:40:44.660Z] STF 08:40:44.568 - [2025-12-10T08:40:44.660Z] STF 08:40:44.570 - [2025-12-10T08:40:44.660Z] STF 08:40:44.570 - ======================= S E T U P ======================= [2025-12-10T08:40:44.660Z] STF 08:40:44.570 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17653534943115\PatModImg_AppMod_1/20251210-084042-PatModImgTest/setUp.pl [2025-12-10T08:40:45.333Z] STF 08:40:44.967 - SETUP stage completed [2025-12-10T08:40:45.333Z] STF 08:40:44.996 - [2025-12-10T08:40:45.333Z] STF 08:40:44.996 - ==================== E X E C U T E - ==================== [2025-12-10T08:40:45.333Z] STF 08:40:44.996 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17653534943115\PatModImg_AppMod_1/20251210-084042-PatModImgTest/execute.pl [2025-12-10T08:40:45.643Z] STF 08:40:45.410 - [2025-12-10T08:40:45.643Z] STF 08:40:45.410 - Java version [2025-12-10T08:40:45.643Z] STF 08:40:45.410 - Running: C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2025-12-10T08:40:45.956Z] openjdk version "26-beta" 2026-03-17 [2025-12-10T08:40:45.956Z] OpenJDK Runtime Environment Temurin-26+27-202512092144 (build 26-beta+27-ea) [2025-12-10T08:40:45.956Z] OpenJDK 64-Bit Server VM Temurin-26+27-202512092144 (build 26-beta+27-ea, mixed mode) [2025-12-10T08:40:45.956Z] STF 08:40:45.658 - [2025-12-10T08:40:45.956Z] STF 08:40:45.658 - +------ Step 1 - Create com.hello jar [2025-12-10T08:40:45.956Z] STF 08:40:45.658 - | Create modular jar [2025-12-10T08:40:45.956Z] STF 08:40:45.658 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-12-10T08:40:45.956Z] STF 08:40:45.658 - | ModuleVersion: null [2025-12-10T08:40:45.956Z] STF 08:40:45.658 - | MainClass: null [2025-12-10T08:40:45.956Z] STF 08:40:45.658 - | HashModules: null [2025-12-10T08:40:45.956Z] STF 08:40:45.658 - | [2025-12-10T08:40:45.956Z] STF 08:40:45.661 - 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_17653534943115/PatModImg_AppMod_1/20251210-084042-PatModImgTest/modules/1.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2025-12-10T08:40:45.956Z] STF 08:40:45.661 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17653534943115/PatModImg_AppMod_1/20251210-084042-PatModImgTest/results/1.CMJ.stderr [2025-12-10T08:40:45.956Z] STF 08:40:45.661 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17653534943115/PatModImg_AppMod_1/20251210-084042-PatModImgTest/results/1.CMJ.stdout [2025-12-10T08:40:45.956Z] STF 08:40:45.735 - Monitoring processes: CMJ [2025-12-10T08:40:46.629Z] STF 08:40:46.288 - Monitoring Report Summary: [2025-12-10T08:40:46.629Z] STF 08:40:46.288 - o Process CMJ ended with the expected exit code (0) [2025-12-10T08:40:46.629Z] STF 08:40:46.289 - Created modular jar: 1.com.hello.jar [2025-12-10T08:40:46.629Z] STF 08:40:46.289 - [2025-12-10T08:40:46.629Z] STF 08:40:46.289 - +------ Step 2 - Create com.hola jar [2025-12-10T08:40:46.629Z] STF 08:40:46.289 - | Create modular jar [2025-12-10T08:40:46.629Z] STF 08:40:46.289 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-12-10T08:40:46.629Z] STF 08:40:46.289 - | ModuleVersion: null [2025-12-10T08:40:46.629Z] STF 08:40:46.289 - | MainClass: null [2025-12-10T08:40:46.629Z] STF 08:40:46.289 - | HashModules: null [2025-12-10T08:40:46.629Z] STF 08:40:46.289 - | [2025-12-10T08:40:46.629Z] STF 08:40:46.290 - 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_17653534943115/PatModImg_AppMod_1/20251210-084042-PatModImgTest/modules/2.com.hola.jar -C C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2025-12-10T08:40:46.629Z] STF 08:40:46.290 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17653534943115/PatModImg_AppMod_1/20251210-084042-PatModImgTest/results/2.CMJ.stderr [2025-12-10T08:40:46.629Z] STF 08:40:46.290 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17653534943115/PatModImg_AppMod_1/20251210-084042-PatModImgTest/results/2.CMJ.stdout [2025-12-10T08:40:46.629Z] STF 08:40:46.354 - Monitoring processes: CMJ [2025-12-10T08:40:46.940Z] STF 08:40:46.816 - Monitoring Report Summary: [2025-12-10T08:40:46.940Z] STF 08:40:46.817 - o Process CMJ ended with the expected exit code (0) [2025-12-10T08:40:46.940Z] STF 08:40:46.817 - Created modular jar: 2.com.hola.jar [2025-12-10T08:40:46.940Z] STF 08:40:46.817 - [2025-12-10T08:40:46.940Z] STF 08:40:46.817 - +------ Step 3 - Create com.helper jar [2025-12-10T08:40:46.940Z] STF 08:40:46.817 - | Create modular jar [2025-12-10T08:40:46.940Z] STF 08:40:46.818 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-12-10T08:40:46.940Z] STF 08:40:46.818 - | ModuleVersion: null [2025-12-10T08:40:46.940Z] STF 08:40:46.818 - | MainClass: null [2025-12-10T08:40:46.940Z] STF 08:40:46.818 - | HashModules: null [2025-12-10T08:40:46.940Z] STF 08:40:46.818 - | [2025-12-10T08:40:46.940Z] STF 08:40:46.818 - 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_17653534943115/PatModImg_AppMod_1/20251210-084042-PatModImgTest/modules/3.com.helper.jar -C C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2025-12-10T08:40:46.940Z] STF 08:40:46.818 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17653534943115/PatModImg_AppMod_1/20251210-084042-PatModImgTest/results/3.CMJ.stderr [2025-12-10T08:40:46.940Z] STF 08:40:46.818 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17653534943115/PatModImg_AppMod_1/20251210-084042-PatModImgTest/results/3.CMJ.stdout [2025-12-10T08:40:46.940Z] STF 08:40:46.826 - Monitoring processes: CMJ [2025-12-10T08:40:47.612Z] STF 08:40:47.245 - Monitoring Report Summary: [2025-12-10T08:40:47.612Z] STF 08:40:47.245 - o Process CMJ ended with the expected exit code (0) [2025-12-10T08:40:47.612Z] STF 08:40:47.246 - Created modular jar: 3.com.helper.jar [2025-12-10T08:40:47.612Z] STF 08:40:47.246 - [2025-12-10T08:40:47.612Z] STF 08:40:47.246 - +------ Step 4 - Create com.discreet jar [2025-12-10T08:40:47.612Z] STF 08:40:47.246 - | Create modular jar [2025-12-10T08:40:47.612Z] STF 08:40:47.246 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-12-10T08:40:47.612Z] STF 08:40:47.246 - | ModuleVersion: null [2025-12-10T08:40:47.612Z] STF 08:40:47.246 - | MainClass: null [2025-12-10T08:40:47.612Z] STF 08:40:47.246 - | HashModules: null [2025-12-10T08:40:47.612Z] STF 08:40:47.246 - | [2025-12-10T08:40:47.612Z] STF 08:40:47.247 - 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_17653534943115/PatModImg_AppMod_1/20251210-084042-PatModImgTest/modules/4.com.discreet.jar -C C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2025-12-10T08:40:47.612Z] STF 08:40:47.247 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17653534943115/PatModImg_AppMod_1/20251210-084042-PatModImgTest/results/4.CMJ.stderr [2025-12-10T08:40:47.612Z] STF 08:40:47.247 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17653534943115/PatModImg_AppMod_1/20251210-084042-PatModImgTest/results/4.CMJ.stdout [2025-12-10T08:40:47.612Z] STF 08:40:47.254 - Monitoring processes: CMJ [2025-12-10T08:40:47.923Z] STF 08:40:47.674 - Monitoring Report Summary: [2025-12-10T08:40:47.923Z] STF 08:40:47.674 - o Process CMJ ended with the expected exit code (0) [2025-12-10T08:40:47.923Z] STF 08:40:47.675 - Created modular jar: 4.com.discreet.jar [2025-12-10T08:40:47.923Z] STF 08:40:47.675 - [2025-12-10T08:40:47.923Z] STF 08:40:47.675 - +------ Step 5 - Create tests jar [2025-12-10T08:40:47.923Z] STF 08:40:47.675 - | Create modular jar [2025-12-10T08:40:47.923Z] STF 08:40:47.675 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-12-10T08:40:47.923Z] STF 08:40:47.675 - | ModuleVersion: null [2025-12-10T08:40:47.923Z] STF 08:40:47.675 - | MainClass: null [2025-12-10T08:40:47.923Z] STF 08:40:47.675 - | HashModules: null [2025-12-10T08:40:47.923Z] STF 08:40:47.675 - | [2025-12-10T08:40:47.923Z] STF 08:40:47.676 - 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_17653534943115/PatModImg_AppMod_1/20251210-084042-PatModImgTest/modules/5.com.test.jar -C C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2025-12-10T08:40:47.923Z] STF 08:40:47.676 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17653534943115/PatModImg_AppMod_1/20251210-084042-PatModImgTest/results/5.CMJ.stderr [2025-12-10T08:40:47.923Z] STF 08:40:47.676 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17653534943115/PatModImg_AppMod_1/20251210-084042-PatModImgTest/results/5.CMJ.stdout [2025-12-10T08:40:47.923Z] STF 08:40:47.684 - Monitoring processes: CMJ [2025-12-10T08:40:48.597Z] STF 08:40:48.457 - Monitoring Report Summary: [2025-12-10T08:40:48.597Z] STF 08:40:48.457 - o Process CMJ ended with the expected exit code (0) [2025-12-10T08:40:48.597Z] STF 08:40:48.458 - Created modular jar: 5.com.test.jar [2025-12-10T08:40:48.597Z] STF 08:40:48.458 - [2025-12-10T08:40:48.597Z] STF 08:40:48.458 - +------ Step 6 - Create runtime image for PatchModule test [2025-12-10T08:40:48.597Z] STF 08:40:48.458 - | Run jlink to create runtime image [2025-12-10T08:40:48.597Z] STF 08:40:48.458 - | ImageName: XpJVM [2025-12-10T08:40:48.597Z] STF 08:40:48.458 - | [2025-12-10T08:40:48.597Z] STF 08:40:48.459 - 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_17653534943115\PatModImg_AppMod_1\20251210-084042-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_17653534943115\PatModImg_AppMod_1\20251210-084042-PatModImgTest\tmp\6.XpJVM [2025-12-10T08:40:48.597Z] STF 08:40:48.459 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17653534943115/PatModImg_AppMod_1/20251210-084042-PatModImgTest/results/6.JLNK.stderr [2025-12-10T08:40:48.597Z] STF 08:40:48.459 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17653534943115/PatModImg_AppMod_1/20251210-084042-PatModImgTest/results/6.JLNK.stdout [2025-12-10T08:40:48.597Z] STF 08:40:48.506 - Monitoring processes: JLNK [2025-12-10T08:40:52.260Z] STF 08:40:52.050 - Monitoring Report Summary: [2025-12-10T08:40:52.260Z] STF 08:40:52.050 - o Process JLNK ended with the expected exit code (0) [2025-12-10T08:40:52.260Z] STF 08:40:52.051 - [2025-12-10T08:40:52.260Z] STF 08:40:52.051 - +------ Step 7 - Create com.hello jar [2025-12-10T08:40:52.260Z] STF 08:40:52.051 - | Create modular jar [2025-12-10T08:40:52.260Z] STF 08:40:52.051 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-12-10T08:40:52.260Z] STF 08:40:52.051 - | ModuleVersion: null [2025-12-10T08:40:52.260Z] STF 08:40:52.051 - | MainClass: null [2025-12-10T08:40:52.260Z] STF 08:40:52.051 - | HashModules: null [2025-12-10T08:40:52.260Z] STF 08:40:52.051 - | [2025-12-10T08:40:52.260Z] STF 08:40:52.052 - 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_17653534943115/PatModImg_AppMod_1/20251210-084042-PatModImgTest/modules/7.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2025-12-10T08:40:52.260Z] STF 08:40:52.052 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17653534943115/PatModImg_AppMod_1/20251210-084042-PatModImgTest/results/7.CMJ.stderr [2025-12-10T08:40:52.260Z] STF 08:40:52.052 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17653534943115/PatModImg_AppMod_1/20251210-084042-PatModImgTest/results/7.CMJ.stdout [2025-12-10T08:40:52.260Z] STF 08:40:52.102 - Monitoring processes: CMJ [2025-12-10T08:40:52.937Z] STF 08:40:52.552 - Monitoring Report Summary: [2025-12-10T08:40:52.937Z] STF 08:40:52.552 - o Process CMJ ended with the expected exit code (0) [2025-12-10T08:40:52.937Z] STF 08:40:52.553 - Created modular jar: 7.com.hello.jar [2025-12-10T08:40:52.937Z] STF 08:40:52.553 - [2025-12-10T08:40:52.937Z] STF 08:40:52.553 - +------ Step 8 - create java.xml.jar [2025-12-10T08:40:52.937Z] STF 08:40:52.553 - | Create modular jar [2025-12-10T08:40:52.937Z] STF 08:40:52.553 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-12-10T08:40:52.937Z] STF 08:40:52.553 - | ModuleVersion: null [2025-12-10T08:40:52.937Z] STF 08:40:52.553 - | MainClass: null [2025-12-10T08:40:52.937Z] STF 08:40:52.553 - | HashModules: null [2025-12-10T08:40:52.937Z] STF 08:40:52.553 - | [2025-12-10T08:40:52.937Z] STF 08:40:52.554 - 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_17653534943115/PatModImg_AppMod_1/20251210-084042-PatModImgTest/modules/8.java.xml.jar -C C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml . [2025-12-10T08:40:52.938Z] STF 08:40:52.554 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17653534943115/PatModImg_AppMod_1/20251210-084042-PatModImgTest/results/8.CMJ.stderr [2025-12-10T08:40:52.938Z] STF 08:40:52.554 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17653534943115/PatModImg_AppMod_1/20251210-084042-PatModImgTest/results/8.CMJ.stdout [2025-12-10T08:40:52.938Z] STF 08:40:52.561 - Monitoring processes: CMJ [2025-12-10T08:40:53.252Z] STF 08:40:52.952 - Monitoring Report Summary: [2025-12-10T08:40:53.252Z] STF 08:40:52.952 - o Process CMJ ended with the expected exit code (0) [2025-12-10T08:40:53.252Z] STF 08:40:52.953 - Created modular jar: 8.java.xml.jar [2025-12-10T08:40:53.252Z] STF 08:40:52.953 - [2025-12-10T08:40:53.252Z] STF 08:40:52.953 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2025-12-10T08:40:53.252Z] STF 08:40:52.953 - | Run foreground process [2025-12-10T08:40:53.252Z] STF 08:40:52.953 - | Program: C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17653534943115/PatModImg_AppMod_1/20251210-084042-PatModImgTest/tmp/6.XpJVM/bin/java [2025-12-10T08:40:53.252Z] STF 08:40:52.953 - | Mnemonic: OT21 [2025-12-10T08:40:53.252Z] STF 08:40:52.953 - | Echo: ECHO_ON [2025-12-10T08:40:53.252Z] STF 08:40:52.953 - | Expectation: CLEAN_RUN within 5m [2025-12-10T08:40:53.252Z] STF 08:40:52.953 - | [2025-12-10T08:40:53.252Z] STF 08:40:52.954 - Running command: C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17653534943115/PatModImg_AppMod_1/20251210-084042-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello -XX:-UseCompressedOops -classpath C:/Users/jenkins/externalDependency/system_lib/junit/junit.jar;C:/Users/jenkins/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2025-12-10T08:40:53.252Z] STF 08:40:52.954 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17653534943115/PatModImg_AppMod_1/20251210-084042-PatModImgTest/results/9.OT21.stderr [2025-12-10T08:40:53.252Z] STF 08:40:52.954 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17653534943115/PatModImg_AppMod_1/20251210-084042-PatModImgTest/results/9.OT21.stdout [2025-12-10T08:40:53.252Z] STF 08:40:52.980 - Monitoring processes: OT21 [2025-12-10T08:40:53.252Z] OT21 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello [2025-12-10T08:40:53.565Z] OT21 JUnit version 4.12 [2025-12-10T08:40:54.241Z] OT21 . [2025-12-10T08:40:54.241Z] OT21 Time: 0.014 [2025-12-10T08:40:54.241Z] OT21 [2025-12-10T08:40:54.241Z] OT21 OK (1 test) [2025-12-10T08:40:54.241Z] OT21 [2025-12-10T08:40:54.241Z] STF 08:40:53.895 - Monitoring Report Summary: [2025-12-10T08:40:54.241Z] STF 08:40:53.895 - o Process OT21 ended with the expected exit code (0) [2025-12-10T08:40:54.241Z] STF 08:40:53.896 - [2025-12-10T08:40:54.241Z] STF 08:40:53.896 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2025-12-10T08:40:54.241Z] STF 08:40:53.896 - | Run foreground process [2025-12-10T08:40:54.241Z] STF 08:40:53.896 - | Program: C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17653534943115/PatModImg_AppMod_1/20251210-084042-PatModImgTest/tmp/6.XpJVM/bin/java [2025-12-10T08:40:54.241Z] STF 08:40:53.896 - | Mnemonic: OT22 [2025-12-10T08:40:54.241Z] STF 08:40:53.896 - | Echo: ECHO_ON [2025-12-10T08:40:54.241Z] STF 08:40:53.896 - | Expectation: CLEAN_RUN within 5m [2025-12-10T08:40:54.241Z] STF 08:40:53.896 - | [2025-12-10T08:40:54.241Z] STF 08:40:53.897 - Running command: C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17653534943115/PatModImg_AppMod_1/20251210-084042-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_17653534943115/PatModImg_AppMod_1/20251210-084042-PatModImgTest/modules/7.com.hello.jar -XX:-UseCompressedOops -classpath C:/Users/jenkins/externalDependency/system_lib/junit/junit.jar;C:/Users/jenkins/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2025-12-10T08:40:54.241Z] STF 08:40:53.897 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17653534943115/PatModImg_AppMod_1/20251210-084042-PatModImgTest/results/10.OT22.stderr [2025-12-10T08:40:54.241Z] STF 08:40:53.897 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17653534943115/PatModImg_AppMod_1/20251210-084042-PatModImgTest/results/10.OT22.stdout [2025-12-10T08:40:54.241Z] STF 08:40:53.906 - Monitoring processes: OT22 [2025-12-10T08:40:54.241Z] 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_17653534943115\PatModImg_AppMod_1\20251210-084042-PatModImgTest\modules\7.com.hello.jar [2025-12-10T08:40:54.241Z] OT22 JUnit version 4.12 [2025-12-10T08:40:54.554Z] OT22 . [2025-12-10T08:40:54.554Z] OT22 Time: 0.009 [2025-12-10T08:40:54.554Z] OT22 [2025-12-10T08:40:54.554Z] OT22 OK (1 test) [2025-12-10T08:40:54.554Z] OT22 [2025-12-10T08:40:54.554Z] STF 08:40:54.321 - Monitoring Report Summary: [2025-12-10T08:40:54.554Z] STF 08:40:54.321 - o Process OT22 ended with the expected exit code (0) [2025-12-10T08:40:54.554Z] STF 08:40:54.322 - EXECUTE stage completed [2025-12-10T08:40:54.554Z] STF 08:40:54.438 - [2025-12-10T08:40:54.554Z] STF 08:40:54.439 - ==================== T E A R D O W N ==================== [2025-12-10T08:40:54.554Z] STF 08:40:54.439 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk26_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17653534943115\PatModImg_AppMod_1/20251210-084042-PatModImgTest/tearDown.pl [2025-12-10T08:40:56.143Z] STF 08:40:56.077 - TEARDOWN stage completed [2025-12-10T08:40:56.539Z] STF 08:40:56.130 - [2025-12-10T08:40:56.539Z] STF 08:40:56.130 - ===================== R E S U L T S ===================== [2025-12-10T08:40:56.539Z] STF 08:40:56.130 - Stage results: [2025-12-10T08:40:56.539Z] STF 08:40:56.130 - setUp: pass [2025-12-10T08:40:56.539Z] STF 08:40:56.130 - execute: pass [2025-12-10T08:40:56.539Z] STF 08:40:56.130 - teardown: pass [2025-12-10T08:40:56.539Z] STF 08:40:56.130 - [2025-12-10T08:40:56.539Z] STF 08:40:56.130 - Overall result: PASSED [2025-12-10T08:40:56.539Z] ----------------------------------- [2025-12-10T08:40:56.539Z] PatModImg_AppMod_1_PASSED [2025-12-10T08:40:56.539Z] ----------------------------------- [2025-12-10T08:40:56.539Z] [2025-12-10T08:40:56.539Z] TEST TEARDOWN: [2025-12-10T08:40:56.539Z] Nothing to be done for teardown. [2025-12-10T08:40:56.875Z] PatModImg_AppMod_1 Finish Time: Wed Dec 10 08:40:56 2025 Epoch Time (ms): 1765356056692