PatModImg_AppMod_1

[2026-01-17T04:11:06.708Z] Running test PatModImg_AppMod_1 ... [2026-01-17T04:11:06.708Z] =============================================== [2026-01-17T04:11:06.708Z] PatModImg_AppMod_1 Start Time: Fri Jan 16 23:11:06 2026 Epoch Time (ms): 1768623066316 [2026-01-17T04:11:06.708Z] variation: Mode650 [2026-01-17T04:11:06.708Z] JVM_OPTIONS: -XX:-UseCompressedOops [2026-01-17T04:11:06.708Z] { \ [2026-01-17T04:11:06.708Z] echo ""; echo "TEST SETUP:"; \ [2026-01-17T04:11:06.708Z] echo "Nothing to be done for setup."; \ [2026-01-17T04:11:06.708Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17686201183696/PatModImg_AppMod_1"; \ [2026-01-17T04:11:06.708Z] cd "/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17686201183696/PatModImg_AppMod_1"; \ [2026-01-17T04:11:06.708Z] echo ""; echo "TESTING:"; \ [2026-01-17T04:11:06.708Z] perl /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/../../externalDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17686201183696/PatModImg_AppMod_1" -test=PatModImgTest -test-args="variant=AppMod"; \ [2026-01-17T04:11:06.708Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_1""_PASSED"; echo "-----------------------------------"; cd /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/..; rm -f -r "/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17686201183696/PatModImg_AppMod_1"; else echo "-----------------------------------"; echo "PatModImg_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2026-01-17T04:11:06.708Z] echo ""; echo "TEST TEARDOWN:"; \ [2026-01-17T04:11:06.708Z] echo "Nothing to be done for teardown."; \ [2026-01-17T04:11:06.708Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17686201183696/TestTargetResult"; [2026-01-17T04:11:07.352Z] [2026-01-17T04:11:07.352Z] TEST SETUP: [2026-01-17T04:11:07.352Z] Nothing to be done for setup. [2026-01-17T04:11:07.352Z] [2026-01-17T04:11:07.352Z] TESTING: [2026-01-17T04:11:07.881Z] STF 23:11:07.709 - ========================= S T F ========================= [2026-01-17T04:11:07.881Z] 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_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17686201183696/PatModImg_AppMod_1 [2026-01-17T04:11:07.881Z] There is 14727 Mb free [2026-01-17T04:11:07.881Z] STF 23:11:07.744 - ================== G E N E R A T I O N ================== [2026-01-17T04:11:07.881Z] STF 23:11:07.746 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2026-01-17T04:11:07.881Z] STF 23:11:07.746 - Starting process to generate scripts: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_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_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/../../externalDependency/system_lib//asm/asm.jar:/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/../../externalDependency/system_lib//asm/asm-commons.jar:/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/../../externalDependency/system_lib//log4j/log4j-api.jar:/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/../../externalDependency/system_lib//log4j/log4j-core.jar:/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17686201183696/PatModImg_AppMod_1/20260116-231107-PatModImgTest/stf_parameters.properties, , /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17686201183696/PatModImg_AppMod_1/20260116-231107-PatModImgTest" [2026-01-17T04:11:11.942Z] GEN 23:11:11.677 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2026-01-17T04:11:11.942Z] GEN 23:11:11.721 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2026-01-17T04:11:13.941Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2026-01-17T04:11:13.941Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2026-01-17T04:11:13.941Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2026-01-17T04:11:13.941Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2026-01-17T04:11:13.941Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2026-01-17T04:11:13.941Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2026-01-17T04:11:13.941Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2026-01-17T04:11:13.941Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2026-01-17T04:11:13.941Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2026-01-17T04:11:13.942Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2026-01-17T04:11:13.942Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2026-01-17T04:11:13.942Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2026-01-17T04:11:13.942Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2026-01-17T04:11:13.942Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2026-01-17T04:11:13.942Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2026-01-17T04:11:13.942Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2026-01-17T04:11:13.942Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/bin [2026-01-17T04:11:13.942Z] GEN /Users/admin/workspace/externalDependency/system_lib/log4j/log4j-api.jar [2026-01-17T04:11:13.942Z] GEN /Users/admin/workspace/externalDependency/system_lib/log4j/log4j-core.jar [2026-01-17T04:11:13.942Z] GEN /Users/admin/workspace/externalDependency/system_lib/junit/junit.jar [2026-01-17T04:11:13.942Z] GEN 23:11:13.758 - Using Mode NoOptions. Values = '' [2026-01-17T04:11:14.984Z] GEN 23:11:14.387 - [2026-01-17T04:11:14.984Z] GEN 23:11:14.387 - Test command summary: [2026-01-17T04:11:14.984Z] GEN 23:11:14.387 - Step Stage Command Description [2026-01-17T04:11:14.984Z] GEN 23:11:14.387 - -----+--------+-----------------+------------ [2026-01-17T04:11:14.984Z] GEN 23:11:14.387 - 1 execute jar Create com.hello jar [2026-01-17T04:11:14.984Z] GEN 23:11:14.387 - 2 execute jar Create com.hola jar [2026-01-17T04:11:14.984Z] GEN 23:11:14.387 - 3 execute jar Create com.helper jar [2026-01-17T04:11:14.984Z] GEN 23:11:14.388 - 4 execute jar Create com.discreet jar [2026-01-17T04:11:14.984Z] GEN 23:11:14.388 - 5 execute jar Create tests jar [2026-01-17T04:11:14.984Z] GEN 23:11:14.388 - 6 execute jlink Create runtime image for PatchModule test [2026-01-17T04:11:14.984Z] GEN 23:11:14.388 - 7 execute jar Create com.hello jar [2026-01-17T04:11:14.984Z] GEN 23:11:14.388 - 8 execute jar create java.xml.jar [2026-01-17T04:11:14.984Z] GEN 23:11:14.388 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2026-01-17T04:11:14.984Z] GEN 23:11:14.388 - 10 execute Run java Verify if we can patch an Application module using modular jar [2026-01-17T04:11:14.984Z] STF 23:11:14.509 - [2026-01-17T04:11:14.984Z] STF 23:11:14.509 - Script generation completed [2026-01-17T04:11:14.984Z] STF 23:11:14.509 - [2026-01-17T04:11:14.984Z] STF 23:11:14.510 - [2026-01-17T04:11:14.984Z] STF 23:11:14.510 - ======================= S E T U P ======================= [2026-01-17T04:11:14.984Z] STF 23:11:14.510 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17686201183696/PatModImg_AppMod_1/20260116-231107-PatModImgTest/setUp.pl [2026-01-17T04:11:14.984Z] STF 23:11:14.711 - SETUP stage completed [2026-01-17T04:11:14.984Z] STF 23:11:14.794 - [2026-01-17T04:11:14.984Z] STF 23:11:14.794 - ==================== E X E C U T E - ==================== [2026-01-17T04:11:14.984Z] STF 23:11:14.794 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17686201183696/PatModImg_AppMod_1/20260116-231107-PatModImgTest/execute.pl [2026-01-17T04:11:16.331Z] STF 23:11:15.730 - [2026-01-17T04:11:16.331Z] STF 23:11:15.730 - Java version [2026-01-17T04:11:16.331Z] STF 23:11:15.730 - Running: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2026-01-17T04:11:16.331Z] openjdk version "11.0.30" 2026-01-20 [2026-01-17T04:11:16.331Z] OpenJDK Runtime Environment Temurin-11.0.30+6 (build 11.0.30+6) [2026-01-17T04:11:16.331Z] OpenJDK 64-Bit Server VM Temurin-11.0.30+6 (build 11.0.30+6, mixed mode) [2026-01-17T04:11:16.331Z] STF 23:11:16.121 - [2026-01-17T04:11:16.331Z] STF 23:11:16.121 - +------ Step 1 - Create com.hello jar [2026-01-17T04:11:16.331Z] STF 23:11:16.121 - | Create modular jar [2026-01-17T04:11:16.331Z] STF 23:11:16.121 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2026-01-17T04:11:16.331Z] STF 23:11:16.121 - | ModuleVersion: null [2026-01-17T04:11:16.331Z] STF 23:11:16.121 - | MainClass: null [2026-01-17T04:11:16.331Z] STF 23:11:16.121 - | HashModules: null [2026-01-17T04:11:16.331Z] STF 23:11:16.121 - | [2026-01-17T04:11:16.331Z] STF 23:11:16.123 - Running command: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17686201183696/PatModImg_AppMod_1/20260116-231107-PatModImgTest/modules/1.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2026-01-17T04:11:16.331Z] STF 23:11:16.123 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17686201183696/PatModImg_AppMod_1/20260116-231107-PatModImgTest/results/1.CMJ.stderr [2026-01-17T04:11:16.331Z] STF 23:11:16.123 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17686201183696/PatModImg_AppMod_1/20260116-231107-PatModImgTest/results/1.CMJ.stdout [2026-01-17T04:11:16.331Z] STF 23:11:16.208 - Monitoring processes: CMJ [2026-01-17T04:11:17.304Z] STF 23:11:16.807 - Monitoring Report Summary: [2026-01-17T04:11:17.304Z] STF 23:11:16.807 - o Process CMJ ended with the expected exit code (0) [2026-01-17T04:11:17.304Z] STF 23:11:16.807 - Created modular jar: 1.com.hello.jar [2026-01-17T04:11:17.304Z] STF 23:11:16.807 - [2026-01-17T04:11:17.304Z] STF 23:11:16.807 - +------ Step 2 - Create com.hola jar [2026-01-17T04:11:17.304Z] STF 23:11:16.807 - | Create modular jar [2026-01-17T04:11:17.304Z] STF 23:11:16.807 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2026-01-17T04:11:17.304Z] STF 23:11:16.807 - | ModuleVersion: null [2026-01-17T04:11:17.304Z] STF 23:11:16.807 - | MainClass: null [2026-01-17T04:11:17.304Z] STF 23:11:16.807 - | HashModules: null [2026-01-17T04:11:17.304Z] STF 23:11:16.807 - | [2026-01-17T04:11:17.304Z] STF 23:11:16.808 - Running command: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17686201183696/PatModImg_AppMod_1/20260116-231107-PatModImgTest/modules/2.com.hola.jar -C /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2026-01-17T04:11:17.304Z] STF 23:11:16.808 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17686201183696/PatModImg_AppMod_1/20260116-231107-PatModImgTest/results/2.CMJ.stderr [2026-01-17T04:11:17.304Z] STF 23:11:16.808 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17686201183696/PatModImg_AppMod_1/20260116-231107-PatModImgTest/results/2.CMJ.stdout [2026-01-17T04:11:17.304Z] STF 23:11:16.821 - Monitoring processes: CMJ [2026-01-17T04:11:17.884Z] STF 23:11:17.580 - Monitoring Report Summary: [2026-01-17T04:11:17.884Z] STF 23:11:17.580 - o Process CMJ ended with the expected exit code (0) [2026-01-17T04:11:17.885Z] STF 23:11:17.585 - Created modular jar: 2.com.hola.jar [2026-01-17T04:11:17.885Z] STF 23:11:17.585 - [2026-01-17T04:11:17.885Z] STF 23:11:17.585 - +------ Step 3 - Create com.helper jar [2026-01-17T04:11:17.885Z] STF 23:11:17.585 - | Create modular jar [2026-01-17T04:11:17.885Z] STF 23:11:17.585 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2026-01-17T04:11:17.885Z] STF 23:11:17.585 - | ModuleVersion: null [2026-01-17T04:11:17.885Z] STF 23:11:17.585 - | MainClass: null [2026-01-17T04:11:17.885Z] STF 23:11:17.586 - | HashModules: null [2026-01-17T04:11:17.885Z] STF 23:11:17.586 - | [2026-01-17T04:11:17.885Z] STF 23:11:17.587 - Running command: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17686201183696/PatModImg_AppMod_1/20260116-231107-PatModImgTest/modules/3.com.helper.jar -C /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2026-01-17T04:11:17.885Z] STF 23:11:17.587 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17686201183696/PatModImg_AppMod_1/20260116-231107-PatModImgTest/results/3.CMJ.stderr [2026-01-17T04:11:17.885Z] STF 23:11:17.587 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17686201183696/PatModImg_AppMod_1/20260116-231107-PatModImgTest/results/3.CMJ.stdout [2026-01-17T04:11:17.885Z] STF 23:11:17.679 - Monitoring processes: CMJ [2026-01-17T04:11:19.455Z] STF 23:11:18.835 - Monitoring Report Summary: [2026-01-17T04:11:19.455Z] STF 23:11:18.835 - o Process CMJ ended with the expected exit code (0) [2026-01-17T04:11:19.455Z] STF 23:11:18.836 - Created modular jar: 3.com.helper.jar [2026-01-17T04:11:19.455Z] STF 23:11:18.836 - [2026-01-17T04:11:19.455Z] STF 23:11:18.836 - +------ Step 4 - Create com.discreet jar [2026-01-17T04:11:19.455Z] STF 23:11:18.836 - | Create modular jar [2026-01-17T04:11:19.455Z] STF 23:11:18.836 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2026-01-17T04:11:19.455Z] STF 23:11:18.836 - | ModuleVersion: null [2026-01-17T04:11:19.455Z] STF 23:11:18.836 - | MainClass: null [2026-01-17T04:11:19.455Z] STF 23:11:18.836 - | HashModules: null [2026-01-17T04:11:19.455Z] STF 23:11:18.836 - | [2026-01-17T04:11:19.455Z] STF 23:11:18.836 - Running command: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17686201183696/PatModImg_AppMod_1/20260116-231107-PatModImgTest/modules/4.com.discreet.jar -C /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2026-01-17T04:11:19.455Z] STF 23:11:18.836 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17686201183696/PatModImg_AppMod_1/20260116-231107-PatModImgTest/results/4.CMJ.stderr [2026-01-17T04:11:19.455Z] STF 23:11:18.836 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17686201183696/PatModImg_AppMod_1/20260116-231107-PatModImgTest/results/4.CMJ.stdout [2026-01-17T04:11:19.455Z] STF 23:11:18.855 - Monitoring processes: CMJ [2026-01-17T04:11:19.900Z] STF 23:11:19.650 - Monitoring Report Summary: [2026-01-17T04:11:19.900Z] STF 23:11:19.650 - o Process CMJ ended with the expected exit code (0) [2026-01-17T04:11:19.900Z] STF 23:11:19.651 - Created modular jar: 4.com.discreet.jar [2026-01-17T04:11:19.900Z] STF 23:11:19.651 - [2026-01-17T04:11:19.900Z] STF 23:11:19.651 - +------ Step 5 - Create tests jar [2026-01-17T04:11:19.900Z] STF 23:11:19.651 - | Create modular jar [2026-01-17T04:11:19.900Z] STF 23:11:19.651 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2026-01-17T04:11:19.900Z] STF 23:11:19.651 - | ModuleVersion: null [2026-01-17T04:11:19.900Z] STF 23:11:19.651 - | MainClass: null [2026-01-17T04:11:19.900Z] STF 23:11:19.651 - | HashModules: null [2026-01-17T04:11:19.900Z] STF 23:11:19.651 - | [2026-01-17T04:11:19.900Z] STF 23:11:19.651 - Running command: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17686201183696/PatModImg_AppMod_1/20260116-231107-PatModImgTest/modules/5.com.test.jar -C /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2026-01-17T04:11:19.900Z] STF 23:11:19.651 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17686201183696/PatModImg_AppMod_1/20260116-231107-PatModImgTest/results/5.CMJ.stderr [2026-01-17T04:11:19.900Z] STF 23:11:19.651 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17686201183696/PatModImg_AppMod_1/20260116-231107-PatModImgTest/results/5.CMJ.stdout [2026-01-17T04:11:19.900Z] STF 23:11:19.673 - Monitoring processes: CMJ [2026-01-17T04:11:21.007Z] STF 23:11:20.408 - Monitoring Report Summary: [2026-01-17T04:11:21.007Z] STF 23:11:20.408 - o Process CMJ ended with the expected exit code (0) [2026-01-17T04:11:21.007Z] STF 23:11:20.409 - Created modular jar: 5.com.test.jar [2026-01-17T04:11:21.007Z] STF 23:11:20.409 - [2026-01-17T04:11:21.007Z] STF 23:11:20.409 - +------ Step 6 - Create runtime image for PatchModule test [2026-01-17T04:11:21.007Z] STF 23:11:20.409 - | Run jlink to create runtime image [2026-01-17T04:11:21.007Z] STF 23:11:20.409 - | ImageName: XpJVM [2026-01-17T04:11:21.007Z] STF 23:11:20.409 - | [2026-01-17T04:11:21.007Z] STF 23:11:20.409 - Running command: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17686201183696/PatModImg_AppMod_1/20260116-231107-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17686201183696/PatModImg_AppMod_1/20260116-231107-PatModImgTest/tmp/6.XpJVM [2026-01-17T04:11:21.007Z] STF 23:11:20.409 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17686201183696/PatModImg_AppMod_1/20260116-231107-PatModImgTest/results/6.JLNK.stderr [2026-01-17T04:11:21.007Z] STF 23:11:20.409 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17686201183696/PatModImg_AppMod_1/20260116-231107-PatModImgTest/results/6.JLNK.stdout [2026-01-17T04:11:21.007Z] STF 23:11:20.420 - Monitoring processes: JLNK [2026-01-17T04:11:32.211Z] STF 23:11:32.002 - Monitoring Report Summary: [2026-01-17T04:11:32.211Z] STF 23:11:32.002 - o Process JLNK ended with the expected exit code (0) [2026-01-17T04:11:32.211Z] STF 23:11:32.002 - [2026-01-17T04:11:32.211Z] STF 23:11:32.003 - +------ Step 7 - Create com.hello jar [2026-01-17T04:11:32.211Z] STF 23:11:32.003 - | Create modular jar [2026-01-17T04:11:32.211Z] STF 23:11:32.003 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2026-01-17T04:11:32.211Z] STF 23:11:32.003 - | ModuleVersion: null [2026-01-17T04:11:32.211Z] STF 23:11:32.003 - | MainClass: null [2026-01-17T04:11:32.211Z] STF 23:11:32.003 - | HashModules: null [2026-01-17T04:11:32.211Z] STF 23:11:32.003 - | [2026-01-17T04:11:32.211Z] STF 23:11:32.003 - Running command: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17686201183696/PatModImg_AppMod_1/20260116-231107-PatModImgTest/modules/7.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2026-01-17T04:11:32.211Z] STF 23:11:32.003 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17686201183696/PatModImg_AppMod_1/20260116-231107-PatModImgTest/results/7.CMJ.stderr [2026-01-17T04:11:32.211Z] STF 23:11:32.003 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17686201183696/PatModImg_AppMod_1/20260116-231107-PatModImgTest/results/7.CMJ.stdout [2026-01-17T04:11:32.211Z] STF 23:11:32.007 - Monitoring processes: CMJ [2026-01-17T04:11:33.892Z] STF 23:11:33.398 - Monitoring Report Summary: [2026-01-17T04:11:33.892Z] STF 23:11:33.399 - o Process CMJ ended with the expected exit code (0) [2026-01-17T04:11:33.892Z] STF 23:11:33.401 - Created modular jar: 7.com.hello.jar [2026-01-17T04:11:33.892Z] STF 23:11:33.401 - [2026-01-17T04:11:33.892Z] STF 23:11:33.401 - +------ Step 8 - create java.xml.jar [2026-01-17T04:11:33.892Z] STF 23:11:33.401 - | Create modular jar [2026-01-17T04:11:33.892Z] STF 23:11:33.401 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2026-01-17T04:11:33.892Z] STF 23:11:33.401 - | ModuleVersion: null [2026-01-17T04:11:33.892Z] STF 23:11:33.401 - | MainClass: null [2026-01-17T04:11:33.892Z] STF 23:11:33.401 - | HashModules: null [2026-01-17T04:11:33.892Z] STF 23:11:33.401 - | [2026-01-17T04:11:33.892Z] STF 23:11:33.403 - Running command: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17686201183696/PatModImg_AppMod_1/20260116-231107-PatModImgTest/modules/8.java.xml.jar -C /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2026-01-17T04:11:33.892Z] STF 23:11:33.403 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17686201183696/PatModImg_AppMod_1/20260116-231107-PatModImgTest/results/8.CMJ.stderr [2026-01-17T04:11:33.892Z] STF 23:11:33.403 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17686201183696/PatModImg_AppMod_1/20260116-231107-PatModImgTest/results/8.CMJ.stdout [2026-01-17T04:11:33.892Z] STF 23:11:33.443 - Monitoring processes: CMJ [2026-01-17T04:11:35.660Z] STF 23:11:35.149 - Monitoring Report Summary: [2026-01-17T04:11:35.660Z] STF 23:11:35.149 - o Process CMJ ended with the expected exit code (0) [2026-01-17T04:11:35.660Z] STF 23:11:35.150 - Created modular jar: 8.java.xml.jar [2026-01-17T04:11:35.660Z] STF 23:11:35.150 - [2026-01-17T04:11:35.660Z] STF 23:11:35.150 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2026-01-17T04:11:35.660Z] STF 23:11:35.150 - | Run foreground process [2026-01-17T04:11:35.660Z] STF 23:11:35.150 - | Program: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17686201183696/PatModImg_AppMod_1/20260116-231107-PatModImgTest/tmp/6.XpJVM/bin/java [2026-01-17T04:11:35.660Z] STF 23:11:35.150 - | Mnemonic: OT21 [2026-01-17T04:11:35.660Z] STF 23:11:35.150 - | Echo: ECHO_ON [2026-01-17T04:11:35.661Z] STF 23:11:35.150 - | Expectation: CLEAN_RUN within 5m [2026-01-17T04:11:35.661Z] STF 23:11:35.150 - | [2026-01-17T04:11:35.661Z] STF 23:11:35.150 - Running command: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17686201183696/PatModImg_AppMod_1/20260116-231107-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_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-17T04:11:35.661Z] STF 23:11:35.150 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17686201183696/PatModImg_AppMod_1/20260116-231107-PatModImgTest/results/9.OT21.stderr [2026-01-17T04:11:35.661Z] STF 23:11:35.150 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17686201183696/PatModImg_AppMod_1/20260116-231107-PatModImgTest/results/9.OT21.stdout [2026-01-17T04:11:35.661Z] STF 23:11:35.153 - Monitoring processes: OT21 [2026-01-17T04:11:50.760Z] OT21 JUnit version 4.12 [2026-01-17T04:11:50.760Z] OT21 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello [2026-01-17T04:11:51.188Z] OT21 . [2026-01-17T04:11:51.188Z] OT21 Time: 0.07 [2026-01-17T04:11:51.188Z] OT21 [2026-01-17T04:11:51.188Z] OT21 OK (1 test) [2026-01-17T04:11:51.188Z] OT21 [2026-01-17T04:11:51.188Z] STF 23:11:50.668 - Monitoring Report Summary: [2026-01-17T04:11:51.188Z] STF 23:11:50.668 - o Process OT21 ended with the expected exit code (0) [2026-01-17T04:11:51.188Z] STF 23:11:50.668 - [2026-01-17T04:11:51.188Z] STF 23:11:50.668 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2026-01-17T04:11:51.188Z] STF 23:11:50.668 - | Run foreground process [2026-01-17T04:11:51.188Z] STF 23:11:50.668 - | Program: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17686201183696/PatModImg_AppMod_1/20260116-231107-PatModImgTest/tmp/6.XpJVM/bin/java [2026-01-17T04:11:51.188Z] STF 23:11:50.668 - | Mnemonic: OT22 [2026-01-17T04:11:51.188Z] STF 23:11:50.668 - | Echo: ECHO_ON [2026-01-17T04:11:51.188Z] STF 23:11:50.668 - | Expectation: CLEAN_RUN within 5m [2026-01-17T04:11:51.188Z] STF 23:11:50.668 - | [2026-01-17T04:11:51.188Z] STF 23:11:50.669 - Running command: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17686201183696/PatModImg_AppMod_1/20260116-231107-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17686201183696/PatModImg_AppMod_1/20260116-231107-PatModImgTest/modules/7.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-17T04:11:51.188Z] STF 23:11:50.669 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17686201183696/PatModImg_AppMod_1/20260116-231107-PatModImgTest/results/10.OT22.stderr [2026-01-17T04:11:51.188Z] STF 23:11:50.669 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17686201183696/PatModImg_AppMod_1/20260116-231107-PatModImgTest/results/10.OT22.stdout [2026-01-17T04:11:51.188Z] STF 23:11:50.673 - Monitoring processes: OT22 [2026-01-17T04:11:52.235Z] OT22 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17686201183696/PatModImg_AppMod_1/20260116-231107-PatModImgTest/modules/7.com.hello.jar [2026-01-17T04:11:52.235Z] OT22 JUnit version 4.12 [2026-01-17T04:11:52.779Z] OT22 . [2026-01-17T04:11:52.779Z] OT22 Time: 0.006 [2026-01-17T04:11:52.779Z] OT22 [2026-01-17T04:11:52.779Z] OT22 OK (1 test) [2026-01-17T04:11:52.779Z] OT22 [2026-01-17T04:11:52.779Z] STF 23:11:51.968 - Monitoring Report Summary: [2026-01-17T04:11:52.779Z] STF 23:11:51.968 - o Process OT22 ended with the expected exit code (0) [2026-01-17T04:11:52.779Z] STF 23:11:51.968 - EXECUTE stage completed [2026-01-17T04:11:52.779Z] STF 23:11:52.214 - [2026-01-17T04:11:52.779Z] STF 23:11:52.214 - ==================== T E A R D O W N ==================== [2026-01-17T04:11:52.779Z] STF 23:11:52.214 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17686201183696/PatModImg_AppMod_1/20260116-231107-PatModImgTest/tearDown.pl [2026-01-17T04:11:52.779Z] STF 23:11:52.448 - TEARDOWN stage completed [2026-01-17T04:11:52.779Z] STF 23:11:52.483 - [2026-01-17T04:11:52.779Z] STF 23:11:52.483 - ===================== R E S U L T S ===================== [2026-01-17T04:11:52.779Z] STF 23:11:52.483 - Stage results: [2026-01-17T04:11:52.779Z] STF 23:11:52.483 - setUp: pass [2026-01-17T04:11:52.779Z] STF 23:11:52.483 - execute: pass [2026-01-17T04:11:52.779Z] STF 23:11:52.483 - teardown: pass [2026-01-17T04:11:52.779Z] STF 23:11:52.483 - [2026-01-17T04:11:52.779Z] STF 23:11:52.484 - Overall result: PASSED [2026-01-17T04:11:52.779Z] ----------------------------------- [2026-01-17T04:11:52.779Z] PatModImg_AppMod_1_PASSED [2026-01-17T04:11:52.779Z] ----------------------------------- [2026-01-17T04:11:52.779Z] [2026-01-17T04:11:52.779Z] TEST TEARDOWN: [2026-01-17T04:11:52.779Z] Nothing to be done for teardown. [2026-01-17T04:11:53.253Z] PatModImg_AppMod_1 Finish Time: Fri Jan 16 23:11:52 2026 Epoch Time (ms): 1768623112769