PatModImg_AppMod_1

[2026-04-07T00:09:54.349Z] Running test PatModImg_AppMod_1 ... [2026-04-07T00:09:54.349Z] =============================================== [2026-04-07T00:09:54.349Z] PatModImg_AppMod_1 Start Time: Mon Apr 6 20:09:53 2026 Epoch Time (ms): 1775520593834 [2026-04-07T00:09:54.349Z] variation: Mode650 [2026-04-07T00:09:54.349Z] JVM_OPTIONS: -XX:-UseCompressedOops [2026-04-07T00:09:54.349Z] { \ [2026-04-07T00:09:54.349Z] echo ""; echo "TEST SETUP:"; \ [2026-04-07T00:09:54.349Z] echo "Nothing to be done for setup."; \ [2026-04-07T00:09:54.349Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17755195705652/PatModImg_AppMod_1"; \ [2026-04-07T00:09:54.349Z] cd "/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17755195705652/PatModImg_AppMod_1"; \ [2026-04-07T00:09:54.349Z] echo ""; echo "TESTING:"; \ [2026-04-07T00:09:54.349Z] perl /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/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_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/../../externalDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17755195705652/PatModImg_AppMod_1" -test=PatModImgTest -test-args="variant=AppMod"; \ [2026-04-07T00:09:54.349Z] 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_2/aqa-tests/TKG/..; rm -f -r "/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17755195705652/PatModImg_AppMod_1"; else echo "-----------------------------------"; echo "PatModImg_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2026-04-07T00:09:54.349Z] echo ""; echo "TEST TEARDOWN:"; \ [2026-04-07T00:09:54.349Z] echo "Nothing to be done for teardown."; \ [2026-04-07T00:09:54.349Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17755195705652/TestTargetResult"; [2026-04-07T00:09:54.349Z] [2026-04-07T00:09:54.349Z] TEST SETUP: [2026-04-07T00:09:54.349Z] Nothing to be done for setup. [2026-04-07T00:09:54.349Z] [2026-04-07T00:09:54.349Z] TESTING: [2026-04-07T00:09:55.405Z] STF 20:09:54.684 - ========================= S T F ========================= [2026-04-07T00:09:55.405Z] 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_2/aqa-tests/TKG/../TKG/output_17755195705652/PatModImg_AppMod_1 [2026-04-07T00:09:55.405Z] There is 11962 Mb free [2026-04-07T00:09:55.405Z] STF 20:09:54.973 - ================== G E N E R A T I O N ================== [2026-04-07T00:09:55.405Z] STF 20:09:54.990 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2026-04-07T00:09:55.405Z] STF 20:09:54.991 - Starting process to generate scripts: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/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_2/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_2/../../externalDependency/system_lib//asm/asm.jar:/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/../../externalDependency/system_lib//asm/asm-commons.jar:/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/../../externalDependency/system_lib//log4j/log4j-api.jar:/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/../../externalDependency/system_lib//log4j/log4j-core.jar:/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/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_2/aqa-tests/TKG/../TKG/output_17755195705652/PatModImg_AppMod_1/20260406-200954-PatModImgTest/stf_parameters.properties, , /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17755195705652/PatModImg_AppMod_1/20260406-200954-PatModImgTest" [2026-04-07T00:09:59.432Z] GEN 20:09:58.993 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2026-04-07T00:09:59.432Z] GEN 20:09:59.053 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2026-04-07T00:10:00.626Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2026-04-07T00:10:00.626Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2026-04-07T00:10:00.626Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2026-04-07T00:10:00.626Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2026-04-07T00:10:00.626Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2026-04-07T00:10:00.626Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2026-04-07T00:10:00.626Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2026-04-07T00:10:00.626Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2026-04-07T00:10:00.626Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2026-04-07T00:10:00.626Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2026-04-07T00:10:00.626Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2026-04-07T00:10:00.626Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2026-04-07T00:10:00.626Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2026-04-07T00:10:00.626Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2026-04-07T00:10:00.627Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2026-04-07T00:10:00.627Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2026-04-07T00:10:00.627Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/bin [2026-04-07T00:10:00.627Z] GEN /Users/admin/workspace/externalDependency/system_lib/log4j/log4j-api.jar [2026-04-07T00:10:00.627Z] GEN /Users/admin/workspace/externalDependency/system_lib/log4j/log4j-core.jar [2026-04-07T00:10:00.627Z] GEN /Users/admin/workspace/externalDependency/system_lib/junit/junit.jar [2026-04-07T00:10:00.627Z] GEN 20:10:00.015 - Using Mode NoOptions. Values = '' [2026-04-07T00:10:01.768Z] GEN 20:10:01.135 - [2026-04-07T00:10:01.768Z] GEN 20:10:01.136 - Test command summary: [2026-04-07T00:10:01.768Z] GEN 20:10:01.136 - Step Stage Command Description [2026-04-07T00:10:01.768Z] GEN 20:10:01.136 - -----+--------+-----------------+------------ [2026-04-07T00:10:01.768Z] GEN 20:10:01.136 - 1 execute jar Create com.hello jar [2026-04-07T00:10:01.768Z] GEN 20:10:01.136 - 2 execute jar Create com.hola jar [2026-04-07T00:10:01.768Z] GEN 20:10:01.136 - 3 execute jar Create com.helper jar [2026-04-07T00:10:01.768Z] GEN 20:10:01.136 - 4 execute jar Create com.discreet jar [2026-04-07T00:10:01.768Z] GEN 20:10:01.137 - 5 execute jar Create tests jar [2026-04-07T00:10:01.768Z] GEN 20:10:01.137 - 6 execute jlink Create runtime image for PatchModule test [2026-04-07T00:10:01.768Z] GEN 20:10:01.137 - 7 execute jar Create com.hello jar [2026-04-07T00:10:01.768Z] GEN 20:10:01.137 - 8 execute jar create java.xml.jar [2026-04-07T00:10:01.768Z] GEN 20:10:01.137 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2026-04-07T00:10:01.768Z] GEN 20:10:01.137 - 10 execute Run java Verify if we can patch an Application module using modular jar [2026-04-07T00:10:01.768Z] STF 20:10:01.350 - [2026-04-07T00:10:01.768Z] STF 20:10:01.350 - Script generation completed [2026-04-07T00:10:01.768Z] STF 20:10:01.350 - [2026-04-07T00:10:01.768Z] STF 20:10:01.350 - [2026-04-07T00:10:01.768Z] STF 20:10:01.350 - ======================= S E T U P ======================= [2026-04-07T00:10:01.768Z] STF 20:10:01.350 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17755195705652/PatModImg_AppMod_1/20260406-200954-PatModImgTest/setUp.pl [2026-04-07T00:10:02.225Z] STF 20:10:01.610 - SETUP stage completed [2026-04-07T00:10:02.225Z] STF 20:10:01.632 - [2026-04-07T00:10:02.225Z] STF 20:10:01.633 - ==================== E X E C U T E - ==================== [2026-04-07T00:10:02.225Z] STF 20:10:01.633 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17755195705652/PatModImg_AppMod_1/20260406-200954-PatModImgTest/execute.pl [2026-04-07T00:10:02.225Z] STF 20:10:01.818 - [2026-04-07T00:10:02.225Z] STF 20:10:01.818 - Java version [2026-04-07T00:10:02.225Z] STF 20:10:01.818 - Running: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2026-04-07T00:10:02.730Z] openjdk version "11.0.31-beta" 2026-04-21 [2026-04-07T00:10:02.730Z] OpenJDK Runtime Environment Temurin-11.0.31+10-202604062005 (build 11.0.31-beta+10-ea) [2026-04-07T00:10:02.730Z] OpenJDK 64-Bit Server VM Temurin-11.0.31+10-202604062005 (build 11.0.31-beta+10-ea, mixed mode) [2026-04-07T00:10:02.730Z] STF 20:10:02.247 - [2026-04-07T00:10:02.730Z] STF 20:10:02.247 - +------ Step 1 - Create com.hello jar [2026-04-07T00:10:02.730Z] STF 20:10:02.247 - | Create modular jar [2026-04-07T00:10:02.730Z] STF 20:10:02.247 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2026-04-07T00:10:02.730Z] STF 20:10:02.247 - | ModuleVersion: null [2026-04-07T00:10:02.730Z] STF 20:10:02.247 - | MainClass: null [2026-04-07T00:10:02.730Z] STF 20:10:02.247 - | HashModules: null [2026-04-07T00:10:02.730Z] STF 20:10:02.248 - | [2026-04-07T00:10:02.730Z] STF 20:10:02.266 - Running command: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17755195705652/PatModImg_AppMod_1/20260406-200954-PatModImgTest/modules/1.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2026-04-07T00:10:02.730Z] STF 20:10:02.266 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17755195705652/PatModImg_AppMod_1/20260406-200954-PatModImgTest/results/1.CMJ.stderr [2026-04-07T00:10:02.730Z] STF 20:10:02.266 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17755195705652/PatModImg_AppMod_1/20260406-200954-PatModImgTest/results/1.CMJ.stdout [2026-04-07T00:10:02.730Z] STF 20:10:02.283 - Monitoring processes: CMJ [2026-04-07T00:10:03.858Z] STF 20:10:03.172 - Monitoring Report Summary: [2026-04-07T00:10:03.858Z] STF 20:10:03.172 - o Process CMJ ended with the expected exit code (0) [2026-04-07T00:10:03.858Z] STF 20:10:03.173 - Created modular jar: 1.com.hello.jar [2026-04-07T00:10:03.858Z] STF 20:10:03.173 - [2026-04-07T00:10:03.858Z] STF 20:10:03.173 - +------ Step 2 - Create com.hola jar [2026-04-07T00:10:03.858Z] STF 20:10:03.173 - | Create modular jar [2026-04-07T00:10:03.858Z] STF 20:10:03.173 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2026-04-07T00:10:03.858Z] STF 20:10:03.173 - | ModuleVersion: null [2026-04-07T00:10:03.858Z] STF 20:10:03.173 - | MainClass: null [2026-04-07T00:10:03.858Z] STF 20:10:03.173 - | HashModules: null [2026-04-07T00:10:03.858Z] STF 20:10:03.173 - | [2026-04-07T00:10:03.858Z] STF 20:10:03.173 - Running command: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17755195705652/PatModImg_AppMod_1/20260406-200954-PatModImgTest/modules/2.com.hola.jar -C /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2026-04-07T00:10:03.858Z] STF 20:10:03.173 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17755195705652/PatModImg_AppMod_1/20260406-200954-PatModImgTest/results/2.CMJ.stderr [2026-04-07T00:10:03.858Z] STF 20:10:03.173 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17755195705652/PatModImg_AppMod_1/20260406-200954-PatModImgTest/results/2.CMJ.stdout [2026-04-07T00:10:03.858Z] STF 20:10:03.293 - Monitoring processes: CMJ [2026-04-07T00:10:05.355Z] STF 20:10:04.854 - Monitoring Report Summary: [2026-04-07T00:10:05.355Z] STF 20:10:04.854 - o Process CMJ ended with the expected exit code (0) [2026-04-07T00:10:05.355Z] STF 20:10:04.855 - Created modular jar: 2.com.hola.jar [2026-04-07T00:10:05.355Z] STF 20:10:04.855 - [2026-04-07T00:10:05.355Z] STF 20:10:04.855 - +------ Step 3 - Create com.helper jar [2026-04-07T00:10:05.355Z] STF 20:10:04.855 - | Create modular jar [2026-04-07T00:10:05.355Z] STF 20:10:04.855 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2026-04-07T00:10:05.355Z] STF 20:10:04.855 - | ModuleVersion: null [2026-04-07T00:10:05.355Z] STF 20:10:04.855 - | MainClass: null [2026-04-07T00:10:05.355Z] STF 20:10:04.855 - | HashModules: null [2026-04-07T00:10:05.355Z] STF 20:10:04.855 - | [2026-04-07T00:10:05.355Z] STF 20:10:04.855 - Running command: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17755195705652/PatModImg_AppMod_1/20260406-200954-PatModImgTest/modules/3.com.helper.jar -C /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2026-04-07T00:10:05.355Z] STF 20:10:04.855 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17755195705652/PatModImg_AppMod_1/20260406-200954-PatModImgTest/results/3.CMJ.stderr [2026-04-07T00:10:05.355Z] STF 20:10:04.855 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17755195705652/PatModImg_AppMod_1/20260406-200954-PatModImgTest/results/3.CMJ.stdout [2026-04-07T00:10:05.355Z] STF 20:10:04.858 - Monitoring processes: CMJ [2026-04-07T00:10:06.276Z] STF 20:10:05.653 - Monitoring Report Summary: [2026-04-07T00:10:06.276Z] STF 20:10:05.653 - o Process CMJ ended with the expected exit code (0) [2026-04-07T00:10:06.276Z] STF 20:10:05.653 - Created modular jar: 3.com.helper.jar [2026-04-07T00:10:06.276Z] STF 20:10:05.653 - [2026-04-07T00:10:06.276Z] STF 20:10:05.653 - +------ Step 4 - Create com.discreet jar [2026-04-07T00:10:06.276Z] STF 20:10:05.653 - | Create modular jar [2026-04-07T00:10:06.276Z] STF 20:10:05.653 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2026-04-07T00:10:06.276Z] STF 20:10:05.653 - | ModuleVersion: null [2026-04-07T00:10:06.276Z] STF 20:10:05.653 - | MainClass: null [2026-04-07T00:10:06.276Z] STF 20:10:05.654 - | HashModules: null [2026-04-07T00:10:06.276Z] STF 20:10:05.654 - | [2026-04-07T00:10:06.276Z] STF 20:10:05.662 - Running command: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17755195705652/PatModImg_AppMod_1/20260406-200954-PatModImgTest/modules/4.com.discreet.jar -C /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2026-04-07T00:10:06.276Z] STF 20:10:05.662 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17755195705652/PatModImg_AppMod_1/20260406-200954-PatModImgTest/results/4.CMJ.stderr [2026-04-07T00:10:06.276Z] STF 20:10:05.662 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17755195705652/PatModImg_AppMod_1/20260406-200954-PatModImgTest/results/4.CMJ.stdout [2026-04-07T00:10:06.276Z] STF 20:10:05.665 - Monitoring processes: CMJ [2026-04-07T00:10:07.468Z] STF 20:10:06.928 - Monitoring Report Summary: [2026-04-07T00:10:07.468Z] STF 20:10:06.928 - o Process CMJ ended with the expected exit code (0) [2026-04-07T00:10:07.468Z] STF 20:10:06.929 - Created modular jar: 4.com.discreet.jar [2026-04-07T00:10:07.468Z] STF 20:10:06.929 - [2026-04-07T00:10:07.468Z] STF 20:10:06.929 - +------ Step 5 - Create tests jar [2026-04-07T00:10:07.468Z] STF 20:10:06.929 - | Create modular jar [2026-04-07T00:10:07.468Z] STF 20:10:06.929 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2026-04-07T00:10:07.468Z] STF 20:10:06.930 - | ModuleVersion: null [2026-04-07T00:10:07.468Z] STF 20:10:06.930 - | MainClass: null [2026-04-07T00:10:07.468Z] STF 20:10:06.930 - | HashModules: null [2026-04-07T00:10:07.468Z] STF 20:10:06.930 - | [2026-04-07T00:10:07.468Z] STF 20:10:06.939 - Running command: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17755195705652/PatModImg_AppMod_1/20260406-200954-PatModImgTest/modules/5.com.test.jar -C /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2026-04-07T00:10:07.468Z] STF 20:10:06.939 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17755195705652/PatModImg_AppMod_1/20260406-200954-PatModImgTest/results/5.CMJ.stderr [2026-04-07T00:10:07.468Z] STF 20:10:06.939 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17755195705652/PatModImg_AppMod_1/20260406-200954-PatModImgTest/results/5.CMJ.stdout [2026-04-07T00:10:07.468Z] STF 20:10:07.022 - Monitoring processes: CMJ [2026-04-07T00:10:08.428Z] STF 20:10:08.230 - Monitoring Report Summary: [2026-04-07T00:10:08.428Z] STF 20:10:08.230 - o Process CMJ ended with the expected exit code (0) [2026-04-07T00:10:08.428Z] STF 20:10:08.230 - Created modular jar: 5.com.test.jar [2026-04-07T00:10:08.428Z] STF 20:10:08.230 - [2026-04-07T00:10:08.428Z] STF 20:10:08.230 - +------ Step 6 - Create runtime image for PatchModule test [2026-04-07T00:10:08.428Z] STF 20:10:08.230 - | Run jlink to create runtime image [2026-04-07T00:10:08.428Z] STF 20:10:08.230 - | ImageName: XpJVM [2026-04-07T00:10:08.428Z] STF 20:10:08.230 - | [2026-04-07T00:10:08.428Z] STF 20:10:08.231 - Running command: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17755195705652/PatModImg_AppMod_1/20260406-200954-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_2/aqa-tests/TKG/output_17755195705652/PatModImg_AppMod_1/20260406-200954-PatModImgTest/tmp/6.XpJVM [2026-04-07T00:10:08.428Z] STF 20:10:08.231 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17755195705652/PatModImg_AppMod_1/20260406-200954-PatModImgTest/results/6.JLNK.stderr [2026-04-07T00:10:08.428Z] STF 20:10:08.231 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17755195705652/PatModImg_AppMod_1/20260406-200954-PatModImgTest/results/6.JLNK.stdout [2026-04-07T00:10:08.428Z] STF 20:10:08.239 - Monitoring processes: JLNK [2026-04-07T00:10:21.825Z] STF 20:10:19.403 - Monitoring Report Summary: [2026-04-07T00:10:21.826Z] STF 20:10:19.403 - o Process JLNK ended with the expected exit code (0) [2026-04-07T00:10:21.826Z] STF 20:10:19.403 - [2026-04-07T00:10:21.826Z] STF 20:10:19.403 - +------ Step 7 - Create com.hello jar [2026-04-07T00:10:21.826Z] STF 20:10:19.403 - | Create modular jar [2026-04-07T00:10:21.826Z] STF 20:10:19.403 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2026-04-07T00:10:21.826Z] STF 20:10:19.403 - | ModuleVersion: null [2026-04-07T00:10:21.826Z] STF 20:10:19.403 - | MainClass: null [2026-04-07T00:10:21.826Z] STF 20:10:19.403 - | HashModules: null [2026-04-07T00:10:21.826Z] STF 20:10:19.403 - | [2026-04-07T00:10:21.826Z] STF 20:10:19.404 - Running command: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17755195705652/PatModImg_AppMod_1/20260406-200954-PatModImgTest/modules/7.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2026-04-07T00:10:21.826Z] STF 20:10:19.404 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17755195705652/PatModImg_AppMod_1/20260406-200954-PatModImgTest/results/7.CMJ.stderr [2026-04-07T00:10:21.826Z] STF 20:10:19.404 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17755195705652/PatModImg_AppMod_1/20260406-200954-PatModImgTest/results/7.CMJ.stdout [2026-04-07T00:10:21.826Z] STF 20:10:19.410 - Monitoring processes: CMJ [2026-04-07T00:10:22.327Z] STF 20:10:22.015 - Monitoring Report Summary: [2026-04-07T00:10:22.327Z] STF 20:10:22.016 - o Process CMJ ended with the expected exit code (0) [2026-04-07T00:10:22.327Z] STF 20:10:22.016 - Created modular jar: 7.com.hello.jar [2026-04-07T00:10:22.327Z] STF 20:10:22.016 - [2026-04-07T00:10:22.327Z] STF 20:10:22.016 - +------ Step 8 - create java.xml.jar [2026-04-07T00:10:22.327Z] STF 20:10:22.016 - | Create modular jar [2026-04-07T00:10:22.327Z] STF 20:10:22.016 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2026-04-07T00:10:22.327Z] STF 20:10:22.016 - | ModuleVersion: null [2026-04-07T00:10:22.327Z] STF 20:10:22.016 - | MainClass: null [2026-04-07T00:10:22.327Z] STF 20:10:22.016 - | HashModules: null [2026-04-07T00:10:22.327Z] STF 20:10:22.016 - | [2026-04-07T00:10:22.328Z] STF 20:10:22.016 - Running command: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17755195705652/PatModImg_AppMod_1/20260406-200954-PatModImgTest/modules/8.java.xml.jar -C /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2026-04-07T00:10:22.328Z] STF 20:10:22.016 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17755195705652/PatModImg_AppMod_1/20260406-200954-PatModImgTest/results/8.CMJ.stderr [2026-04-07T00:10:22.328Z] STF 20:10:22.016 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17755195705652/PatModImg_AppMod_1/20260406-200954-PatModImgTest/results/8.CMJ.stdout [2026-04-07T00:10:22.328Z] STF 20:10:22.029 - Monitoring processes: CMJ [2026-04-07T00:10:23.747Z] STF 20:10:22.735 - Monitoring Report Summary: [2026-04-07T00:10:23.748Z] STF 20:10:22.735 - o Process CMJ ended with the expected exit code (0) [2026-04-07T00:10:23.748Z] STF 20:10:22.735 - Created modular jar: 8.java.xml.jar [2026-04-07T00:10:23.748Z] STF 20:10:22.735 - [2026-04-07T00:10:23.748Z] STF 20:10:22.735 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2026-04-07T00:10:23.748Z] STF 20:10:22.735 - | Run foreground process [2026-04-07T00:10:23.748Z] STF 20:10:22.735 - | Program: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17755195705652/PatModImg_AppMod_1/20260406-200954-PatModImgTest/tmp/6.XpJVM/bin/java [2026-04-07T00:10:23.748Z] STF 20:10:22.735 - | Mnemonic: OT21 [2026-04-07T00:10:23.748Z] STF 20:10:22.735 - | Echo: ECHO_ON [2026-04-07T00:10:23.748Z] STF 20:10:22.735 - | Expectation: CLEAN_RUN within 5m [2026-04-07T00:10:23.748Z] STF 20:10:22.735 - | [2026-04-07T00:10:23.748Z] STF 20:10:22.736 - Running command: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17755195705652/PatModImg_AppMod_1/20260406-200954-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_2/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-04-07T00:10:23.748Z] STF 20:10:22.736 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17755195705652/PatModImg_AppMod_1/20260406-200954-PatModImgTest/results/9.OT21.stderr [2026-04-07T00:10:23.748Z] STF 20:10:22.736 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17755195705652/PatModImg_AppMod_1/20260406-200954-PatModImgTest/results/9.OT21.stdout [2026-04-07T00:10:23.748Z] STF 20:10:22.739 - Monitoring processes: OT21 [2026-04-07T00:10:45.742Z] OT21 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello [2026-04-07T00:10:45.742Z] OT21 JUnit version 4.12 [2026-04-07T00:10:45.742Z] OT21 . [2026-04-07T00:10:45.742Z] OT21 Time: 0.03 [2026-04-07T00:10:45.742Z] OT21 [2026-04-07T00:10:45.742Z] OT21 OK (1 test) [2026-04-07T00:10:45.742Z] OT21 [2026-04-07T00:10:45.742Z] STF 20:10:45.250 - Monitoring Report Summary: [2026-04-07T00:10:45.742Z] STF 20:10:45.250 - o Process OT21 ended with the expected exit code (0) [2026-04-07T00:10:45.742Z] STF 20:10:45.250 - [2026-04-07T00:10:45.742Z] STF 20:10:45.250 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2026-04-07T00:10:45.742Z] STF 20:10:45.250 - | Run foreground process [2026-04-07T00:10:45.742Z] STF 20:10:45.250 - | Program: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17755195705652/PatModImg_AppMod_1/20260406-200954-PatModImgTest/tmp/6.XpJVM/bin/java [2026-04-07T00:10:45.742Z] STF 20:10:45.250 - | Mnemonic: OT22 [2026-04-07T00:10:45.742Z] STF 20:10:45.250 - | Echo: ECHO_ON [2026-04-07T00:10:45.742Z] STF 20:10:45.250 - | Expectation: CLEAN_RUN within 5m [2026-04-07T00:10:45.742Z] STF 20:10:45.250 - | [2026-04-07T00:10:45.742Z] STF 20:10:45.251 - Running command: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17755195705652/PatModImg_AppMod_1/20260406-200954-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_2/aqa-tests/TKG/output_17755195705652/PatModImg_AppMod_1/20260406-200954-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-04-07T00:10:45.742Z] STF 20:10:45.251 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17755195705652/PatModImg_AppMod_1/20260406-200954-PatModImgTest/results/10.OT22.stderr [2026-04-07T00:10:45.742Z] STF 20:10:45.251 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17755195705652/PatModImg_AppMod_1/20260406-200954-PatModImgTest/results/10.OT22.stdout [2026-04-07T00:10:45.742Z] STF 20:10:45.254 - Monitoring processes: OT22 [2026-04-07T00:10:46.321Z] OT22 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17755195705652/PatModImg_AppMod_1/20260406-200954-PatModImgTest/modules/7.com.hello.jar [2026-04-07T00:10:46.322Z] OT22 JUnit version 4.12 [2026-04-07T00:10:47.490Z] OT22 . [2026-04-07T00:10:47.490Z] OT22 Time: 0.023 [2026-04-07T00:10:47.490Z] OT22 [2026-04-07T00:10:47.490Z] OT22 OK (1 test) [2026-04-07T00:10:47.490Z] OT22 [2026-04-07T00:10:47.490Z] STF 20:10:46.754 - Monitoring Report Summary: [2026-04-07T00:10:47.490Z] STF 20:10:46.754 - o Process OT22 ended with the expected exit code (0) [2026-04-07T00:10:47.490Z] STF 20:10:46.754 - EXECUTE stage completed [2026-04-07T00:10:47.490Z] STF 20:10:46.898 - [2026-04-07T00:10:47.490Z] STF 20:10:46.898 - ==================== T E A R D O W N ==================== [2026-04-07T00:10:47.490Z] STF 20:10:46.898 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17755195705652/PatModImg_AppMod_1/20260406-200954-PatModImgTest/tearDown.pl [2026-04-07T00:10:47.490Z] STF 20:10:47.051 - TEARDOWN stage completed [2026-04-07T00:10:47.490Z] STF 20:10:47.111 - [2026-04-07T00:10:47.490Z] STF 20:10:47.111 - ===================== R E S U L T S ===================== [2026-04-07T00:10:47.490Z] STF 20:10:47.111 - Stage results: [2026-04-07T00:10:47.490Z] STF 20:10:47.111 - setUp: pass [2026-04-07T00:10:47.490Z] STF 20:10:47.111 - execute: pass [2026-04-07T00:10:47.490Z] STF 20:10:47.111 - teardown: pass [2026-04-07T00:10:47.490Z] STF 20:10:47.111 - [2026-04-07T00:10:47.490Z] STF 20:10:47.111 - Overall result: PASSED [2026-04-07T00:10:47.490Z] ----------------------------------- [2026-04-07T00:10:47.490Z] PatModImg_AppMod_1_PASSED [2026-04-07T00:10:47.490Z] ----------------------------------- [2026-04-07T00:10:47.490Z] [2026-04-07T00:10:47.490Z] TEST TEARDOWN: [2026-04-07T00:10:47.490Z] Nothing to be done for teardown. [2026-04-07T00:10:47.938Z] PatModImg_AppMod_1 Finish Time: Mon Apr 6 20:10:47 2026 Epoch Time (ms): 1775520647374