PatModImg_AppMod_1

[2025-12-27T15:52:10.148Z] Running test PatModImg_AppMod_1 ... [2025-12-27T15:52:10.148Z] =============================================== [2025-12-27T15:52:10.480Z] PatModImg_AppMod_1 Start Time: Sat Dec 27 15:52:10 2025 Epoch Time (ms): 1766850730356 [2025-12-27T15:52:10.779Z] variation: Mode650 [2025-12-27T15:52:10.779Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-12-27T15:52:10.779Z] { \ [2025-12-27T15:52:10.779Z] echo ""; echo "TEST SETUP:"; \ [2025-12-27T15:52:10.779Z] echo "Nothing to be done for setup."; \ [2025-12-27T15:52:10.779Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\\TKG\\output_17668480417263\\PatModImg_AppMod_1"; \ [2025-12-27T15:52:10.779Z] cd "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\\TKG\\output_17668480417263\\PatModImg_AppMod_1"; \ [2025-12-27T15:52:10.779Z] echo ""; echo "TESTING:"; \ [2025-12-27T15:52:10.779Z] perl C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/../../externalDependency/system_lib\\" -java-args=' -XX:-UseCompressedOops ' -results-root="C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\\TKG\\output_17668480417263\\PatModImg_AppMod_1" -test=PatModImgTest -test-args="variant=AppMod"; \ [2025-12-27T15:52:10.779Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_1""_PASSED"; echo "-----------------------------------"; cd C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/; rm -f -r "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\\TKG\\output_17668480417263\\PatModImg_AppMod_1"; else echo "-----------------------------------"; echo "PatModImg_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-12-27T15:52:10.779Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-12-27T15:52:10.779Z] echo "Nothing to be done for teardown."; \ [2025-12-27T15:52:10.779Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\\TKG\\output_17668480417263\\TestTargetResult"; [2025-12-27T15:52:11.078Z] [2025-12-27T15:52:11.078Z] TEST SETUP: [2025-12-27T15:52:11.078Z] Nothing to be done for setup. [2025-12-27T15:52:11.078Z] [2025-12-27T15:52:11.078Z] TESTING: [2025-12-27T15:52:11.726Z] STF 15:52:11.347 - ========================= S T F ========================= [2025-12-27T15:52:11.726Z] systemtest-prereqs has been processed, and set to: C:/Users/jenkins/externalDependency/system_libRetrieving amount of free space on drive containing C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\TKG\output_17668480417263\PatModImg_AppMod_1 [2025-12-27T15:52:11.726Z] There is 17291 Mb free [2025-12-27T15:52:11.726Z] STF 15:52:11.427 - ================== G E N E R A T I O N ================== [2025-12-27T15:52:11.726Z] STF 15:52:11.432 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/jdkbinary/j2sdk-image [2025-12-27T15:52:11.726Z] STF 15:52:11.433 - Starting process to generate scripts: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/../../externalDependency/system_lib\/asm/asm.jar;C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/../../externalDependency/system_lib\/asm/asm-commons.jar;C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/../../externalDependency/system_lib\/log4j/log4j-api.jar;C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/../../externalDependency/system_lib\/log4j/log4j-core.jar;C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\TKG\output_17668480417263\PatModImg_AppMod_1/20251227-155211-PatModImgTest/stf_parameters.properties, , C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\TKG\output_17668480417263\PatModImg_AppMod_1/20251227-155211-PatModImgTest" [2025-12-27T15:52:12.784Z] GEN 15:52:12.521 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: 'C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2025-12-27T15:52:12.784Z] GEN 15:52:12.536 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-12-27T15:52:12.784Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-12-27T15:52:12.784Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2025-12-27T15:52:12.784Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2025-12-27T15:52:12.784Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2025-12-27T15:52:12.784Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2025-12-27T15:52:12.784Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2025-12-27T15:52:12.784Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2025-12-27T15:52:12.784Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2025-12-27T15:52:12.784Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2025-12-27T15:52:12.784Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2025-12-27T15:52:12.784Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2025-12-27T15:52:12.784Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2025-12-27T15:52:12.784Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2025-12-27T15:52:12.784Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-12-27T15:52:12.784Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-12-27T15:52:12.784Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-12-27T15:52:12.784Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2\\jvmtest\\system\\STF\\stf.core\\bin [2025-12-27T15:52:12.784Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-api.jar [2025-12-27T15:52:12.784Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-core.jar [2025-12-27T15:52:12.784Z] GEN C:/Users/jenkins/externalDependency/system_lib/junit/junit.jar [2025-12-27T15:52:13.083Z] GEN 15:52:12.753 - Using Mode NoOptions. Values = '' [2025-12-27T15:52:13.083Z] GEN 15:52:12.868 - [2025-12-27T15:52:13.083Z] GEN 15:52:12.868 - Test command summary: [2025-12-27T15:52:13.083Z] GEN 15:52:12.868 - Step Stage Command Description [2025-12-27T15:52:13.083Z] GEN 15:52:12.868 - -----+--------+-----------------+------------ [2025-12-27T15:52:13.083Z] GEN 15:52:12.868 - 1 execute jar Create com.hello jar [2025-12-27T15:52:13.083Z] GEN 15:52:12.868 - 2 execute jar Create com.hola jar [2025-12-27T15:52:13.083Z] GEN 15:52:12.868 - 3 execute jar Create com.helper jar [2025-12-27T15:52:13.083Z] GEN 15:52:12.869 - 4 execute jar Create com.discreet jar [2025-12-27T15:52:13.083Z] GEN 15:52:12.869 - 5 execute jar Create tests jar [2025-12-27T15:52:13.083Z] GEN 15:52:12.869 - 6 execute jlink Create runtime image for PatchModule test [2025-12-27T15:52:13.083Z] GEN 15:52:12.869 - 7 execute jar Create com.hello jar [2025-12-27T15:52:13.083Z] GEN 15:52:12.869 - 8 execute jar create java.xml.jar [2025-12-27T15:52:13.083Z] GEN 15:52:12.869 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2025-12-27T15:52:13.083Z] GEN 15:52:12.869 - 10 execute Run java Verify if we can patch an Application module using modular jar [2025-12-27T15:52:13.083Z] STF 15:52:12.893 - [2025-12-27T15:52:13.083Z] STF 15:52:12.893 - Script generation completed [2025-12-27T15:52:13.083Z] STF 15:52:12.893 - [2025-12-27T15:52:13.083Z] STF 15:52:12.895 - [2025-12-27T15:52:13.083Z] STF 15:52:12.895 - ======================= S E T U P ======================= [2025-12-27T15:52:13.083Z] STF 15:52:12.895 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\TKG\output_17668480417263\PatModImg_AppMod_1/20251227-155211-PatModImgTest/setUp.pl [2025-12-27T15:52:13.384Z] STF 15:52:13.280 - SETUP stage completed [2025-12-27T15:52:13.384Z] STF 15:52:13.323 - [2025-12-27T15:52:13.384Z] STF 15:52:13.323 - ==================== E X E C U T E - ==================== [2025-12-27T15:52:13.384Z] STF 15:52:13.324 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\TKG\output_17668480417263\PatModImg_AppMod_1/20251227-155211-PatModImgTest/execute.pl [2025-12-27T15:52:14.031Z] STF 15:52:13.707 - [2025-12-27T15:52:14.031Z] STF 15:52:13.707 - Java version [2025-12-27T15:52:14.031Z] STF 15:52:13.707 - Running: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/jdkbinary/j2sdk-image/bin/java -version [2025-12-27T15:52:14.031Z] openjdk version "25.0.3-beta" 2026-04-21 [2025-12-27T15:52:14.031Z] OpenJDK Runtime Environment Temurin-25.0.3+0-202512271214 (build 25.0.3-beta-202512271214) [2025-12-27T15:52:14.031Z] OpenJDK 64-Bit Server VM Temurin-25.0.3+0-202512271214 (build 25.0.3-beta-202512271214, mixed mode) [2025-12-27T15:52:14.031Z] STF 15:52:13.823 - [2025-12-27T15:52:14.031Z] STF 15:52:13.823 - +------ Step 1 - Create com.hello jar [2025-12-27T15:52:14.031Z] STF 15:52:13.823 - | Create modular jar [2025-12-27T15:52:14.031Z] STF 15:52:13.823 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-12-27T15:52:14.031Z] STF 15:52:13.823 - | ModuleVersion: null [2025-12-27T15:52:14.031Z] STF 15:52:13.823 - | MainClass: null [2025-12-27T15:52:14.031Z] STF 15:52:13.823 - | HashModules: null [2025-12-27T15:52:14.031Z] STF 15:52:13.823 - | [2025-12-27T15:52:14.031Z] STF 15:52:13.824 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17668480417263/PatModImg_AppMod_1/20251227-155211-PatModImgTest/modules/1.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2025-12-27T15:52:14.031Z] STF 15:52:13.824 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17668480417263/PatModImg_AppMod_1/20251227-155211-PatModImgTest/results/1.CMJ.stderr [2025-12-27T15:52:14.031Z] STF 15:52:13.824 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17668480417263/PatModImg_AppMod_1/20251227-155211-PatModImgTest/results/1.CMJ.stdout [2025-12-27T15:52:14.032Z] STF 15:52:13.892 - Monitoring processes: CMJ [2025-12-27T15:52:14.331Z] STF 15:52:14.234 - Monitoring Report Summary: [2025-12-27T15:52:14.331Z] STF 15:52:14.235 - o Process CMJ ended with the expected exit code (0) [2025-12-27T15:52:14.331Z] STF 15:52:14.235 - Created modular jar: 1.com.hello.jar [2025-12-27T15:52:14.331Z] STF 15:52:14.235 - [2025-12-27T15:52:14.331Z] STF 15:52:14.236 - +------ Step 2 - Create com.hola jar [2025-12-27T15:52:14.331Z] STF 15:52:14.236 - | Create modular jar [2025-12-27T15:52:14.331Z] STF 15:52:14.236 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-12-27T15:52:14.331Z] STF 15:52:14.236 - | ModuleVersion: null [2025-12-27T15:52:14.331Z] STF 15:52:14.236 - | MainClass: null [2025-12-27T15:52:14.331Z] STF 15:52:14.236 - | HashModules: null [2025-12-27T15:52:14.331Z] STF 15:52:14.236 - | [2025-12-27T15:52:14.331Z] STF 15:52:14.236 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17668480417263/PatModImg_AppMod_1/20251227-155211-PatModImgTest/modules/2.com.hola.jar -C C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2025-12-27T15:52:14.331Z] STF 15:52:14.236 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17668480417263/PatModImg_AppMod_1/20251227-155211-PatModImgTest/results/2.CMJ.stderr [2025-12-27T15:52:14.331Z] STF 15:52:14.236 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17668480417263/PatModImg_AppMod_1/20251227-155211-PatModImgTest/results/2.CMJ.stdout [2025-12-27T15:52:14.331Z] STF 15:52:14.244 - Monitoring processes: CMJ [2025-12-27T15:52:14.979Z] STF 15:52:14.599 - Monitoring Report Summary: [2025-12-27T15:52:14.979Z] STF 15:52:14.599 - o Process CMJ ended with the expected exit code (0) [2025-12-27T15:52:14.979Z] STF 15:52:14.600 - Created modular jar: 2.com.hola.jar [2025-12-27T15:52:14.979Z] STF 15:52:14.600 - [2025-12-27T15:52:14.979Z] STF 15:52:14.600 - +------ Step 3 - Create com.helper jar [2025-12-27T15:52:14.979Z] STF 15:52:14.600 - | Create modular jar [2025-12-27T15:52:14.979Z] STF 15:52:14.600 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-12-27T15:52:14.979Z] STF 15:52:14.600 - | ModuleVersion: null [2025-12-27T15:52:14.979Z] STF 15:52:14.600 - | MainClass: null [2025-12-27T15:52:14.979Z] STF 15:52:14.600 - | HashModules: null [2025-12-27T15:52:14.979Z] STF 15:52:14.600 - | [2025-12-27T15:52:14.979Z] STF 15:52:14.601 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17668480417263/PatModImg_AppMod_1/20251227-155211-PatModImgTest/modules/3.com.helper.jar -C C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2025-12-27T15:52:14.979Z] STF 15:52:14.601 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17668480417263/PatModImg_AppMod_1/20251227-155211-PatModImgTest/results/3.CMJ.stderr [2025-12-27T15:52:14.979Z] STF 15:52:14.601 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17668480417263/PatModImg_AppMod_1/20251227-155211-PatModImgTest/results/3.CMJ.stdout [2025-12-27T15:52:14.979Z] STF 15:52:14.608 - Monitoring processes: CMJ [2025-12-27T15:52:15.278Z] STF 15:52:14.948 - Monitoring Report Summary: [2025-12-27T15:52:15.279Z] STF 15:52:14.948 - o Process CMJ ended with the expected exit code (0) [2025-12-27T15:52:15.279Z] STF 15:52:14.954 - Created modular jar: 3.com.helper.jar [2025-12-27T15:52:15.279Z] STF 15:52:14.954 - [2025-12-27T15:52:15.279Z] STF 15:52:14.954 - +------ Step 4 - Create com.discreet jar [2025-12-27T15:52:15.279Z] STF 15:52:14.954 - | Create modular jar [2025-12-27T15:52:15.279Z] STF 15:52:14.954 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-12-27T15:52:15.279Z] STF 15:52:14.954 - | ModuleVersion: null [2025-12-27T15:52:15.279Z] STF 15:52:14.954 - | MainClass: null [2025-12-27T15:52:15.279Z] STF 15:52:14.954 - | HashModules: null [2025-12-27T15:52:15.279Z] STF 15:52:14.954 - | [2025-12-27T15:52:15.279Z] STF 15:52:14.955 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17668480417263/PatModImg_AppMod_1/20251227-155211-PatModImgTest/modules/4.com.discreet.jar -C C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2025-12-27T15:52:15.279Z] STF 15:52:14.955 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17668480417263/PatModImg_AppMod_1/20251227-155211-PatModImgTest/results/4.CMJ.stderr [2025-12-27T15:52:15.279Z] STF 15:52:14.955 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17668480417263/PatModImg_AppMod_1/20251227-155211-PatModImgTest/results/4.CMJ.stdout [2025-12-27T15:52:15.279Z] STF 15:52:14.962 - Monitoring processes: CMJ [2025-12-27T15:52:15.578Z] STF 15:52:15.315 - Monitoring Report Summary: [2025-12-27T15:52:15.578Z] STF 15:52:15.315 - o Process CMJ ended with the expected exit code (0) [2025-12-27T15:52:15.578Z] STF 15:52:15.316 - Created modular jar: 4.com.discreet.jar [2025-12-27T15:52:15.578Z] STF 15:52:15.316 - [2025-12-27T15:52:15.578Z] STF 15:52:15.316 - +------ Step 5 - Create tests jar [2025-12-27T15:52:15.578Z] STF 15:52:15.316 - | Create modular jar [2025-12-27T15:52:15.578Z] STF 15:52:15.316 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-12-27T15:52:15.578Z] STF 15:52:15.316 - | ModuleVersion: null [2025-12-27T15:52:15.578Z] STF 15:52:15.316 - | MainClass: null [2025-12-27T15:52:15.578Z] STF 15:52:15.316 - | HashModules: null [2025-12-27T15:52:15.578Z] STF 15:52:15.316 - | [2025-12-27T15:52:15.578Z] STF 15:52:15.317 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17668480417263/PatModImg_AppMod_1/20251227-155211-PatModImgTest/modules/5.com.test.jar -C C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2025-12-27T15:52:15.578Z] STF 15:52:15.317 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17668480417263/PatModImg_AppMod_1/20251227-155211-PatModImgTest/results/5.CMJ.stderr [2025-12-27T15:52:15.578Z] STF 15:52:15.317 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17668480417263/PatModImg_AppMod_1/20251227-155211-PatModImgTest/results/5.CMJ.stdout [2025-12-27T15:52:15.578Z] STF 15:52:15.324 - Monitoring processes: CMJ [2025-12-27T15:52:15.878Z] STF 15:52:15.682 - Monitoring Report Summary: [2025-12-27T15:52:15.878Z] STF 15:52:15.682 - o Process CMJ ended with the expected exit code (0) [2025-12-27T15:52:15.878Z] STF 15:52:15.683 - Created modular jar: 5.com.test.jar [2025-12-27T15:52:15.878Z] STF 15:52:15.683 - [2025-12-27T15:52:15.878Z] STF 15:52:15.683 - +------ Step 6 - Create runtime image for PatchModule test [2025-12-27T15:52:15.878Z] STF 15:52:15.683 - | Run jlink to create runtime image [2025-12-27T15:52:15.878Z] STF 15:52:15.683 - | ImageName: XpJVM [2025-12-27T15:52:15.878Z] STF 15:52:15.683 - | [2025-12-27T15:52:15.878Z] STF 15:52:15.684 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/jdkbinary/j2sdk-image/bin/jlink --module-path C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2\jdkbinary\j2sdk-image\jmods;C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2\aqa-tests\TKG\output_17668480417263\PatModImg_AppMod_1\20251227-155211-PatModImgTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2\aqa-tests\TKG\output_17668480417263\PatModImg_AppMod_1\20251227-155211-PatModImgTest\tmp\6.XpJVM [2025-12-27T15:52:15.878Z] STF 15:52:15.684 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17668480417263/PatModImg_AppMod_1/20251227-155211-PatModImgTest/results/6.JLNK.stderr [2025-12-27T15:52:15.878Z] STF 15:52:15.684 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17668480417263/PatModImg_AppMod_1/20251227-155211-PatModImgTest/results/6.JLNK.stdout [2025-12-27T15:52:15.878Z] STF 15:52:15.691 - Monitoring processes: JLNK [2025-12-27T15:52:17.986Z] STF 15:52:17.439 - Monitoring Report Summary: [2025-12-27T15:52:17.986Z] STF 15:52:17.439 - o Process JLNK ended with the expected exit code (0) [2025-12-27T15:52:17.986Z] STF 15:52:17.440 - [2025-12-27T15:52:17.986Z] STF 15:52:17.440 - +------ Step 7 - Create com.hello jar [2025-12-27T15:52:17.986Z] STF 15:52:17.440 - | Create modular jar [2025-12-27T15:52:17.986Z] STF 15:52:17.440 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-12-27T15:52:17.986Z] STF 15:52:17.440 - | ModuleVersion: null [2025-12-27T15:52:17.986Z] STF 15:52:17.440 - | MainClass: null [2025-12-27T15:52:17.986Z] STF 15:52:17.440 - | HashModules: null [2025-12-27T15:52:17.986Z] STF 15:52:17.440 - | [2025-12-27T15:52:17.986Z] STF 15:52:17.441 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17668480417263/PatModImg_AppMod_1/20251227-155211-PatModImgTest/modules/7.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2025-12-27T15:52:17.986Z] STF 15:52:17.441 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17668480417263/PatModImg_AppMod_1/20251227-155211-PatModImgTest/results/7.CMJ.stderr [2025-12-27T15:52:17.986Z] STF 15:52:17.441 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17668480417263/PatModImg_AppMod_1/20251227-155211-PatModImgTest/results/7.CMJ.stdout [2025-12-27T15:52:17.986Z] STF 15:52:17.463 - Monitoring processes: CMJ [2025-12-27T15:52:18.298Z] STF 15:52:17.919 - Monitoring Report Summary: [2025-12-27T15:52:18.298Z] STF 15:52:17.919 - o Process CMJ ended with the expected exit code (0) [2025-12-27T15:52:18.298Z] STF 15:52:17.920 - Created modular jar: 7.com.hello.jar [2025-12-27T15:52:18.298Z] STF 15:52:17.920 - [2025-12-27T15:52:18.298Z] STF 15:52:17.920 - +------ Step 8 - create java.xml.jar [2025-12-27T15:52:18.298Z] STF 15:52:17.920 - | Create modular jar [2025-12-27T15:52:18.298Z] STF 15:52:17.920 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-12-27T15:52:18.298Z] STF 15:52:17.920 - | ModuleVersion: null [2025-12-27T15:52:18.298Z] STF 15:52:17.920 - | MainClass: null [2025-12-27T15:52:18.298Z] STF 15:52:17.920 - | HashModules: null [2025-12-27T15:52:18.298Z] STF 15:52:17.920 - | [2025-12-27T15:52:18.298Z] STF 15:52:17.921 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17668480417263/PatModImg_AppMod_1/20251227-155211-PatModImgTest/modules/8.java.xml.jar -C C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml . [2025-12-27T15:52:18.298Z] STF 15:52:17.921 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17668480417263/PatModImg_AppMod_1/20251227-155211-PatModImgTest/results/8.CMJ.stderr [2025-12-27T15:52:18.298Z] STF 15:52:17.921 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17668480417263/PatModImg_AppMod_1/20251227-155211-PatModImgTest/results/8.CMJ.stdout [2025-12-27T15:52:18.298Z] STF 15:52:17.929 - Monitoring processes: CMJ [2025-12-27T15:52:18.597Z] STF 15:52:18.284 - Monitoring Report Summary: [2025-12-27T15:52:18.597Z] STF 15:52:18.284 - o Process CMJ ended with the expected exit code (0) [2025-12-27T15:52:18.597Z] STF 15:52:18.285 - Created modular jar: 8.java.xml.jar [2025-12-27T15:52:18.597Z] STF 15:52:18.285 - [2025-12-27T15:52:18.597Z] STF 15:52:18.285 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2025-12-27T15:52:18.597Z] STF 15:52:18.285 - | Run foreground process [2025-12-27T15:52:18.597Z] STF 15:52:18.285 - | Program: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17668480417263/PatModImg_AppMod_1/20251227-155211-PatModImgTest/tmp/6.XpJVM/bin/java [2025-12-27T15:52:18.597Z] STF 15:52:18.285 - | Mnemonic: OT21 [2025-12-27T15:52:18.597Z] STF 15:52:18.285 - | Echo: ECHO_ON [2025-12-27T15:52:18.597Z] STF 15:52:18.285 - | Expectation: CLEAN_RUN within 5m [2025-12-27T15:52:18.597Z] STF 15:52:18.285 - | [2025-12-27T15:52:18.597Z] STF 15:52:18.286 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17668480417263/PatModImg_AppMod_1/20251227-155211-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2\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-27T15:52:18.597Z] STF 15:52:18.286 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17668480417263/PatModImg_AppMod_1/20251227-155211-PatModImgTest/results/9.OT21.stderr [2025-12-27T15:52:18.597Z] STF 15:52:18.286 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17668480417263/PatModImg_AppMod_1/20251227-155211-PatModImgTest/results/9.OT21.stdout [2025-12-27T15:52:18.597Z] STF 15:52:18.345 - Monitoring processes: OT21 [2025-12-27T15:52:18.896Z] OT21 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello [2025-12-27T15:52:18.896Z] OT21 JUnit version 4.12 [2025-12-27T15:52:18.896Z] OT21 . [2025-12-27T15:52:18.896Z] OT21 Time: 0.012 [2025-12-27T15:52:18.896Z] OT21 [2025-12-27T15:52:18.896Z] OT21 OK (1 test) [2025-12-27T15:52:18.896Z] OT21 [2025-12-27T15:52:18.896Z] STF 15:52:18.777 - Monitoring Report Summary: [2025-12-27T15:52:18.896Z] STF 15:52:18.777 - o Process OT21 ended with the expected exit code (0) [2025-12-27T15:52:18.896Z] STF 15:52:18.778 - [2025-12-27T15:52:18.896Z] STF 15:52:18.778 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2025-12-27T15:52:18.896Z] STF 15:52:18.778 - | Run foreground process [2025-12-27T15:52:18.896Z] STF 15:52:18.778 - | Program: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17668480417263/PatModImg_AppMod_1/20251227-155211-PatModImgTest/tmp/6.XpJVM/bin/java [2025-12-27T15:52:18.896Z] STF 15:52:18.778 - | Mnemonic: OT22 [2025-12-27T15:52:18.896Z] STF 15:52:18.778 - | Echo: ECHO_ON [2025-12-27T15:52:18.896Z] STF 15:52:18.778 - | Expectation: CLEAN_RUN within 5m [2025-12-27T15:52:18.896Z] STF 15:52:18.778 - | [2025-12-27T15:52:18.896Z] STF 15:52:18.779 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17668480417263/PatModImg_AppMod_1/20251227-155211-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17668480417263/PatModImg_AppMod_1/20251227-155211-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-27T15:52:18.896Z] STF 15:52:18.779 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17668480417263/PatModImg_AppMod_1/20251227-155211-PatModImgTest/results/10.OT22.stderr [2025-12-27T15:52:18.896Z] STF 15:52:18.779 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17668480417263/PatModImg_AppMod_1/20251227-155211-PatModImgTest/results/10.OT22.stdout [2025-12-27T15:52:18.896Z] STF 15:52:18.787 - Monitoring processes: OT22 [2025-12-27T15:52:19.195Z] OT22 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2\aqa-tests\TKG\output_17668480417263\PatModImg_AppMod_1\20251227-155211-PatModImgTest\modules\7.com.hello.jar [2025-12-27T15:52:19.195Z] OT22 JUnit version 4.12 [2025-12-27T15:52:19.195Z] OT22 . [2025-12-27T15:52:19.195Z] OT22 Time: 0.008 [2025-12-27T15:52:19.195Z] OT22 [2025-12-27T15:52:19.195Z] OT22 OK (1 test) [2025-12-27T15:52:19.195Z] OT22 [2025-12-27T15:52:19.195Z] STF 15:52:19.129 - Monitoring Report Summary: [2025-12-27T15:52:19.195Z] STF 15:52:19.129 - o Process OT22 ended with the expected exit code (0) [2025-12-27T15:52:19.195Z] STF 15:52:19.130 - EXECUTE stage completed [2025-12-27T15:52:19.493Z] STF 15:52:19.214 - [2025-12-27T15:52:19.493Z] STF 15:52:19.214 - ==================== T E A R D O W N ==================== [2025-12-27T15:52:19.493Z] STF 15:52:19.215 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\TKG\output_17668480417263\PatModImg_AppMod_1/20251227-155211-PatModImgTest/tearDown.pl [2025-12-27T15:52:19.792Z] STF 15:52:19.587 - TEARDOWN stage completed [2025-12-27T15:52:19.792Z] STF 15:52:19.630 - [2025-12-27T15:52:19.792Z] STF 15:52:19.630 - ===================== R E S U L T S ===================== [2025-12-27T15:52:19.792Z] STF 15:52:19.630 - Stage results: [2025-12-27T15:52:19.792Z] STF 15:52:19.631 - setUp: pass [2025-12-27T15:52:19.792Z] STF 15:52:19.631 - execute: pass [2025-12-27T15:52:19.792Z] STF 15:52:19.631 - teardown: pass [2025-12-27T15:52:19.792Z] STF 15:52:19.631 - [2025-12-27T15:52:19.792Z] STF 15:52:19.631 - Overall result: PASSED [2025-12-27T15:52:19.792Z] ----------------------------------- [2025-12-27T15:52:19.792Z] PatModImg_AppMod_1_PASSED [2025-12-27T15:52:19.792Z] ----------------------------------- [2025-12-27T15:52:19.792Z] [2025-12-27T15:52:19.792Z] TEST TEARDOWN: [2025-12-27T15:52:19.792Z] Nothing to be done for teardown. [2025-12-27T15:52:20.124Z] PatModImg_AppMod_1 Finish Time: Sat Dec 27 15:52:19 2025 Epoch Time (ms): 1766850739996