PatMod_AppMod_0

[2026-01-09T00:09:58.687Z] Running test PatMod_AppMod_0 ... [2026-01-09T00:09:59.043Z] =============================================== [2026-01-09T00:09:59.043Z] PatMod_AppMod_0 Start Time: Thu Jan 8 19:09:58 2026 Epoch Time (ms): 1767917398605 [2026-01-09T00:09:59.043Z] variation: Mode150 [2026-01-09T00:09:59.043Z] JVM_OPTIONS: -XX:+UseCompressedOops [2026-01-09T00:09:59.043Z] { \ [2026-01-09T00:09:59.043Z] echo ""; echo "TEST SETUP:"; \ [2026-01-09T00:09:59.043Z] echo "Nothing to be done for setup."; \ [2026-01-09T00:09:59.043Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17679164686606/PatMod_AppMod_0"; \ [2026-01-09T00:09:59.043Z] cd "/Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17679164686606/PatMod_AppMod_0"; \ [2026-01-09T00:09:59.043Z] echo ""; echo "TESTING:"; \ [2026-01-09T00:09:59.043Z] perl /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/../../externalDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17679164686606/PatMod_AppMod_0" -test=PatModTest -test-args="variant=AppMod"; \ [2026-01-09T00:09:59.043Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatMod_AppMod_0""_PASSED"; echo "-----------------------------------"; cd /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/..; rm -f -r "/Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17679164686606/PatMod_AppMod_0"; else echo "-----------------------------------"; echo "PatMod_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2026-01-09T00:09:59.043Z] echo ""; echo "TEST TEARDOWN:"; \ [2026-01-09T00:09:59.043Z] echo "Nothing to be done for teardown."; \ [2026-01-09T00:09:59.043Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17679164686606/TestTargetResult"; [2026-01-09T00:09:59.043Z] [2026-01-09T00:09:59.043Z] TEST SETUP: [2026-01-09T00:09:59.043Z] Nothing to be done for setup. [2026-01-09T00:09:59.043Z] [2026-01-09T00:09:59.043Z] TESTING: [2026-01-09T00:09:59.043Z] STF 19:09:58.676 - ========================= S T F ========================= [2026-01-09T00:09:59.043Z] systemtest-prereqs has been processed, and set to: /Users/admin/workspace/externalDependency/system_libRetrieving amount of free space on drive containing /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17679164686606/PatMod_AppMod_0 [2026-01-09T00:09:59.043Z] There is 36679 Mb free [2026-01-09T00:09:59.043Z] STF 19:09:58.683 - ================== G E N E R A T I O N ================== [2026-01-09T00:09:59.043Z] STF 19:09:58.684 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2026-01-09T00:09:59.043Z] STF 19:09:58.684 - Starting process to generate scripts: /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/..//bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=/Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/../../externalDependency/system_lib//asm/asm.jar:/Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/../../externalDependency/system_lib//asm/asm-commons.jar:/Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/../../externalDependency/system_lib//log4j/log4j-api.jar:/Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/../../externalDependency/system_lib//log4j/log4j-core.jar:/Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17679164686606/PatMod_AppMod_0/20260108-190958-PatModTest/stf_parameters.properties, , /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17679164686606/PatMod_AppMod_0/20260108-190958-PatModTest" [2026-01-09T00:09:59.043Z] GEN [0.010s][warning][cds] Archived non-system classes are disabled because the java.system.class.loader property is specified (value = "net.adoptopenjdk.stf.runner.StfClassLoader"). To use archived non-system classes, this property must not be set [2026-01-09T00:09:59.398Z] GEN 19:09:59.239 - Found test. Project: 'openjdk.test.modularity' class: 'PatModTest.class' Dir: '/Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2026-01-09T00:09:59.398Z] GEN 19:09:59.251 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModTest' [2026-01-09T00:09:59.764Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2026-01-09T00:09:59.764Z] GEN /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2026-01-09T00:09:59.764Z] GEN /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2026-01-09T00:09:59.764Z] GEN /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2026-01-09T00:09:59.764Z] GEN /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2026-01-09T00:09:59.764Z] GEN /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2026-01-09T00:09:59.764Z] GEN /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2026-01-09T00:09:59.764Z] GEN /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2026-01-09T00:09:59.764Z] GEN /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2026-01-09T00:09:59.764Z] GEN /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2026-01-09T00:09:59.764Z] GEN /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2026-01-09T00:09:59.764Z] GEN /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2026-01-09T00:09:59.764Z] GEN /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2026-01-09T00:09:59.764Z] GEN /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2026-01-09T00:09:59.764Z] GEN /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2026-01-09T00:09:59.764Z] GEN /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2026-01-09T00:09:59.764Z] GEN /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/STF/stf.core/bin [2026-01-09T00:09:59.764Z] GEN /Users/admin/workspace/externalDependency/system_lib/log4j/log4j-api.jar [2026-01-09T00:09:59.764Z] GEN /Users/admin/workspace/externalDependency/system_lib/log4j/log4j-core.jar [2026-01-09T00:09:59.764Z] GEN /Users/admin/workspace/externalDependency/system_lib/junit/junit.jar [2026-01-09T00:09:59.764Z] GEN 19:09:59.340 - Using Mode NoOptions. Values = '' [2026-01-09T00:09:59.764Z] GEN 19:09:59.368 - [2026-01-09T00:09:59.764Z] GEN 19:09:59.368 - Test command summary: [2026-01-09T00:09:59.764Z] GEN 19:09:59.368 - Step Stage Command Description [2026-01-09T00:09:59.764Z] GEN 19:09:59.369 - -----+--------+-----------------+------------ [2026-01-09T00:09:59.764Z] GEN 19:09:59.369 - 1 execute jar Create com.hello jar [2026-01-09T00:09:59.764Z] GEN 19:09:59.369 - 2 execute jar Create com.discreet jar [2026-01-09T00:09:59.764Z] GEN 19:09:59.369 - 3 execute jar create java.xml.jar [2026-01-09T00:09:59.764Z] GEN 19:09:59.369 - 4 execute Run java Verify if we can patch an Application module using exploded directoryy [2026-01-09T00:09:59.764Z] GEN 19:09:59.369 - 5 execute Run java Verify if we can Patch an Application module using modular jar [2026-01-09T00:09:59.764Z] STF 19:09:59.387 - [2026-01-09T00:09:59.764Z] STF 19:09:59.387 - Script generation completed [2026-01-09T00:09:59.764Z] STF 19:09:59.387 - [2026-01-09T00:09:59.764Z] STF 19:09:59.388 - [2026-01-09T00:09:59.764Z] STF 19:09:59.388 - ======================= S E T U P ======================= [2026-01-09T00:09:59.764Z] STF 19:09:59.388 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17679164686606/PatMod_AppMod_0/20260108-190958-PatModTest/setUp.pl [2026-01-09T00:09:59.764Z] STF 19:09:59.427 - SETUP stage completed [2026-01-09T00:09:59.764Z] STF 19:09:59.432 - [2026-01-09T00:09:59.764Z] STF 19:09:59.432 - ==================== E X E C U T E - ==================== [2026-01-09T00:09:59.764Z] STF 19:09:59.432 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17679164686606/PatMod_AppMod_0/20260108-190958-PatModTest/execute.pl [2026-01-09T00:09:59.764Z] STF 19:09:59.475 - [2026-01-09T00:09:59.764Z] STF 19:09:59.476 - Java version [2026-01-09T00:09:59.764Z] STF 19:09:59.476 - Running: /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2026-01-09T00:09:59.764Z] STF 19:09:59.515 - [2026-01-09T00:09:59.764Z] STF 19:09:59.516 - +------ Step 1 - Create com.hello jar [2026-01-09T00:09:59.764Z] STF 19:09:59.516 - | Create modular jar [2026-01-09T00:09:59.764Z] STF 19:09:59.516 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2026-01-09T00:09:59.764Z] STF 19:09:59.516 - | ModuleVersion: null [2026-01-09T00:09:59.764Z] STF 19:09:59.516 - | MainClass: null [2026-01-09T00:09:59.764Z] STF 19:09:59.516 - | HashModules: null [2026-01-09T00:09:59.764Z] STF 19:09:59.516 - | [2026-01-09T00:09:59.764Z] STF 19:09:59.517 - Running command: /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17679164686606/PatMod_AppMod_0/20260108-190958-PatModTest/modules/1.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2026-01-09T00:09:59.764Z] STF 19:09:59.517 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17679164686606/PatMod_AppMod_0/20260108-190958-PatModTest/results/1.CMJ.stderr [2026-01-09T00:09:59.764Z] STF 19:09:59.517 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17679164686606/PatMod_AppMod_0/20260108-190958-PatModTest/results/1.CMJ.stdout [2026-01-09T00:09:59.764Z] openjdk version "26-beta" 2026-03-17 [2026-01-09T00:09:59.764Z] OpenJDK Runtime Environment Temurin-26+30-202601082133 (build 26-beta+30-ea) [2026-01-09T00:09:59.764Z] OpenJDK 64-Bit Server VM Temurin-26+30-202601082133 (build 26-beta+30-ea, mixed mode, sharing) [2026-01-09T00:09:59.764Z] STF 19:09:59.525 - Monitoring processes: CMJ [2026-01-09T00:09:59.764Z] STF 19:09:59.654 - Monitoring Report Summary: [2026-01-09T00:09:59.764Z] STF 19:09:59.654 - o Process CMJ ended with the expected exit code (0) [2026-01-09T00:09:59.764Z] STF 19:09:59.654 - Created modular jar: 1.com.hello.jar [2026-01-09T00:09:59.764Z] STF 19:09:59.654 - [2026-01-09T00:09:59.764Z] STF 19:09:59.654 - +------ Step 2 - Create com.discreet jar [2026-01-09T00:09:59.764Z] STF 19:09:59.654 - | Create modular jar [2026-01-09T00:09:59.764Z] STF 19:09:59.654 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.discreet [2026-01-09T00:09:59.764Z] STF 19:09:59.654 - | ModuleVersion: null [2026-01-09T00:09:59.764Z] STF 19:09:59.654 - | MainClass: null [2026-01-09T00:09:59.764Z] STF 19:09:59.654 - | HashModules: null [2026-01-09T00:09:59.764Z] STF 19:09:59.654 - | [2026-01-09T00:09:59.764Z] STF 19:09:59.654 - Running command: /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17679164686606/PatMod_AppMod_0/20260108-190958-PatModTest/modules/2.com.discreet.jar -C /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.discreet . [2026-01-09T00:09:59.764Z] STF 19:09:59.654 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17679164686606/PatMod_AppMod_0/20260108-190958-PatModTest/results/2.CMJ.stderr [2026-01-09T00:09:59.764Z] STF 19:09:59.654 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17679164686606/PatMod_AppMod_0/20260108-190958-PatModTest/results/2.CMJ.stdout [2026-01-09T00:09:59.764Z] STF 19:09:59.655 - Monitoring processes: CMJ [2026-01-09T00:10:00.134Z] STF 19:09:59.785 - Monitoring Report Summary: [2026-01-09T00:10:00.134Z] STF 19:09:59.785 - o Process CMJ ended with the expected exit code (0) [2026-01-09T00:10:00.134Z] STF 19:09:59.785 - Created modular jar: 2.com.discreet.jar [2026-01-09T00:10:00.134Z] STF 19:09:59.785 - [2026-01-09T00:10:00.134Z] STF 19:09:59.785 - +------ Step 3 - create java.xml.jar [2026-01-09T00:10:00.134Z] STF 19:09:59.785 - | Create modular jar [2026-01-09T00:10:00.134Z] STF 19:09:59.785 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2026-01-09T00:10:00.134Z] STF 19:09:59.785 - | ModuleVersion: null [2026-01-09T00:10:00.134Z] STF 19:09:59.785 - | MainClass: null [2026-01-09T00:10:00.134Z] STF 19:09:59.785 - | HashModules: null [2026-01-09T00:10:00.134Z] STF 19:09:59.785 - | [2026-01-09T00:10:00.134Z] STF 19:09:59.786 - Running command: /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17679164686606/PatMod_AppMod_0/20260108-190958-PatModTest/modules/3.java.xml.jar -C /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2026-01-09T00:10:00.134Z] STF 19:09:59.786 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17679164686606/PatMod_AppMod_0/20260108-190958-PatModTest/results/3.CMJ.stderr [2026-01-09T00:10:00.134Z] STF 19:09:59.786 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17679164686606/PatMod_AppMod_0/20260108-190958-PatModTest/results/3.CMJ.stdout [2026-01-09T00:10:00.134Z] STF 19:09:59.787 - Monitoring processes: CMJ [2026-01-09T00:10:00.134Z] STF 19:09:59.930 - Monitoring Report Summary: [2026-01-09T00:10:00.134Z] STF 19:09:59.930 - o Process CMJ ended with the expected exit code (0) [2026-01-09T00:10:00.134Z] STF 19:09:59.931 - Created modular jar: 3.java.xml.jar [2026-01-09T00:10:00.134Z] STF 19:09:59.931 - [2026-01-09T00:10:00.134Z] STF 19:09:59.931 - +------ Step 4 - Verify if we can patch an Application module using exploded directoryy [2026-01-09T00:10:00.134Z] STF 19:09:59.931 - | Run foreground process [2026-01-09T00:10:00.134Z] STF 19:09:59.931 - | Program: /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java [2026-01-09T00:10:00.134Z] STF 19:09:59.931 - | Mnemonic: OT21 [2026-01-09T00:10:00.134Z] STF 19:09:59.931 - | Echo: ECHO_ON [2026-01-09T00:10:00.134Z] STF 19:09:59.931 - | Expectation: CLEAN_RUN within 1m [2026-01-09T00:10:00.134Z] STF 19:09:59.931 - | [2026-01-09T00:10:00.134Z] STF 19:09:59.931 - Running command: /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java --add-reads com.test=ALL-UNNAMED --module-path /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --add-modules=com.test --patch-module com.hello=/Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello -XX:+UseCompressedOops -classpath /Users/admin/workspace/externalDependency/system_lib/junit/junit.jar:/Users/admin/workspace/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2026-01-09T00:10:00.134Z] STF 19:09:59.931 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17679164686606/PatMod_AppMod_0/20260108-190958-PatModTest/results/4.OT21.stderr [2026-01-09T00:10:00.134Z] STF 19:09:59.931 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17679164686606/PatMod_AppMod_0/20260108-190958-PatModTest/results/4.OT21.stdout [2026-01-09T00:10:00.134Z] STF 19:09:59.933 - Monitoring processes: OT21 [2026-01-09T00:10:00.496Z] OT21 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello [2026-01-09T00:10:00.496Z] OT21 JUnit version 4.12 [2026-01-09T00:10:00.496Z] OT21 . [2026-01-09T00:10:00.496Z] OT21 Time: 0.007 [2026-01-09T00:10:00.496Z] OT21 [2026-01-09T00:10:00.496Z] OT21 OK (1 test) [2026-01-09T00:10:00.496Z] OT21 [2026-01-09T00:10:00.496Z] STF 19:10:00.251 - Monitoring Report Summary: [2026-01-09T00:10:00.496Z] STF 19:10:00.251 - o Process OT21 ended with the expected exit code (0) [2026-01-09T00:10:00.496Z] STF 19:10:00.251 - [2026-01-09T00:10:00.496Z] STF 19:10:00.251 - +------ Step 5 - Verify if we can Patch an Application module using modular jar [2026-01-09T00:10:00.496Z] STF 19:10:00.251 - | Run foreground process [2026-01-09T00:10:00.496Z] STF 19:10:00.251 - | Program: /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java [2026-01-09T00:10:00.496Z] STF 19:10:00.251 - | Mnemonic: OT22 [2026-01-09T00:10:00.496Z] STF 19:10:00.251 - | Echo: ECHO_ON [2026-01-09T00:10:00.496Z] STF 19:10:00.251 - | Expectation: CLEAN_RUN within 1m [2026-01-09T00:10:00.496Z] STF 19:10:00.251 - | [2026-01-09T00:10:00.496Z] STF 19:10:00.252 - Running command: /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java --add-reads com.test=ALL-UNNAMED --module-path /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --add-modules=com.test --patch-module com.hello=/Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17679164686606/PatMod_AppMod_0/20260108-190958-PatModTest/modules/1.com.hello.jar -XX:+UseCompressedOops -classpath /Users/admin/workspace/externalDependency/system_lib/junit/junit.jar:/Users/admin/workspace/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2026-01-09T00:10:00.496Z] STF 19:10:00.252 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17679164686606/PatMod_AppMod_0/20260108-190958-PatModTest/results/5.OT22.stderr [2026-01-09T00:10:00.496Z] STF 19:10:00.252 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17679164686606/PatMod_AppMod_0/20260108-190958-PatModTest/results/5.OT22.stdout [2026-01-09T00:10:00.496Z] STF 19:10:00.255 - Monitoring processes: OT22 [2026-01-09T00:10:00.853Z] OT22 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17679164686606/PatMod_AppMod_0/20260108-190958-PatModTest/modules/1.com.hello.jar [2026-01-09T00:10:00.853Z] OT22 JUnit version 4.12 [2026-01-09T00:10:00.853Z] OT22 . [2026-01-09T00:10:00.853Z] OT22 Time: 0.004 [2026-01-09T00:10:00.853Z] OT22 [2026-01-09T00:10:00.853Z] OT22 OK (1 test) [2026-01-09T00:10:00.853Z] OT22 [2026-01-09T00:10:00.853Z] STF 19:10:00.531 - Monitoring Report Summary: [2026-01-09T00:10:00.853Z] STF 19:10:00.531 - o Process OT22 ended with the expected exit code (0) [2026-01-09T00:10:00.853Z] STF 19:10:00.531 - EXECUTE stage completed [2026-01-09T00:10:00.853Z] STF 19:10:00.536 - [2026-01-09T00:10:00.853Z] STF 19:10:00.536 - ==================== T E A R D O W N ==================== [2026-01-09T00:10:00.853Z] STF 19:10:00.536 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17679164686606/PatMod_AppMod_0/20260108-190958-PatModTest/tearDown.pl [2026-01-09T00:10:00.853Z] STF 19:10:00.575 - TEARDOWN stage completed [2026-01-09T00:10:00.853Z] STF 19:10:00.581 - [2026-01-09T00:10:00.853Z] STF 19:10:00.581 - ===================== R E S U L T S ===================== [2026-01-09T00:10:00.853Z] STF 19:10:00.581 - Stage results: [2026-01-09T00:10:00.853Z] STF 19:10:00.581 - setUp: pass [2026-01-09T00:10:00.853Z] STF 19:10:00.581 - execute: pass [2026-01-09T00:10:00.853Z] STF 19:10:00.581 - teardown: pass [2026-01-09T00:10:00.853Z] STF 19:10:00.581 - [2026-01-09T00:10:00.853Z] STF 19:10:00.581 - Overall result: PASSED [2026-01-09T00:10:00.853Z] ----------------------------------- [2026-01-09T00:10:00.853Z] PatMod_AppMod_0_PASSED [2026-01-09T00:10:00.853Z] ----------------------------------- [2026-01-09T00:10:00.853Z] [2026-01-09T00:10:00.853Z] TEST TEARDOWN: [2026-01-09T00:10:00.853Z] Nothing to be done for teardown. [2026-01-09T00:10:00.853Z] PatMod_AppMod_0 Finish Time: Thu Jan 8 19:10:00 2026 Epoch Time (ms): 1767917400606