PatModImg_AppMod_1

[2026-04-02T18:25:03.986Z] Running test PatModImg_AppMod_1 ... [2026-04-02T18:25:03.986Z] =============================================== [2026-04-02T18:25:04.395Z] PatModImg_AppMod_1 Start Time: Thu Apr 2 14:25:03 2026 Epoch Time (ms): 1775154303851 [2026-04-02T18:25:04.395Z] variation: Mode650 [2026-04-02T18:25:04.395Z] JVM_OPTIONS: -XX:-UseCompressedOops [2026-04-02T18:25:04.395Z] { \ [2026-04-02T18:25:04.395Z] echo ""; echo "TEST SETUP:"; \ [2026-04-02T18:25:04.395Z] echo "Nothing to be done for setup."; \ [2026-04-02T18:25:04.395Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_1775152509836/PatModImg_AppMod_1"; \ [2026-04-02T18:25:04.395Z] cd "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_1775152509836/PatModImg_AppMod_1"; \ [2026-04-02T18:25:04.395Z] echo ""; echo "TESTING:"; \ [2026-04-02T18:25:04.395Z] perl /Users/admin/workspace/workspace/Test_openjdk17_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_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/../../externalDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_1775152509836/PatModImg_AppMod_1" -test=PatModImgTest -test-args="variant=AppMod"; \ [2026-04-02T18:25:04.395Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_1""_PASSED"; echo "-----------------------------------"; cd /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/..; rm -f -r "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_1775152509836/PatModImg_AppMod_1"; else echo "-----------------------------------"; echo "PatModImg_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2026-04-02T18:25:04.395Z] echo ""; echo "TEST TEARDOWN:"; \ [2026-04-02T18:25:04.395Z] echo "Nothing to be done for teardown."; \ [2026-04-02T18:25:04.395Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_1775152509836/TestTargetResult"; [2026-04-02T18:25:04.395Z] [2026-04-02T18:25:04.395Z] TEST SETUP: [2026-04-02T18:25:04.395Z] Nothing to be done for setup. [2026-04-02T18:25:04.395Z] [2026-04-02T18:25:04.395Z] TESTING: [2026-04-02T18:25:04.395Z] STF 14:25:04.077 - ========================= S T F ========================= [2026-04-02T18:25:04.395Z] 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_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_1775152509836/PatModImg_AppMod_1 [2026-04-02T18:25:04.395Z] There is 13197 Mb free [2026-04-02T18:25:04.395Z] STF 14:25:04.095 - ================== G E N E R A T I O N ================== [2026-04-02T18:25:04.395Z] STF 14:25:04.097 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2026-04-02T18:25:04.395Z] STF 14:25:04.097 - Starting process to generate scripts: /Users/admin/workspace/workspace/Test_openjdk17_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_openjdk17_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_openjdk17_hs_sanity.system_x86-64_mac_testList_2/../../externalDependency/system_lib//asm/asm.jar:/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/../../externalDependency/system_lib//asm/asm-commons.jar:/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/../../externalDependency/system_lib//log4j/log4j-api.jar:/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/../../externalDependency/system_lib//log4j/log4j-core.jar:/Users/admin/workspace/workspace/Test_openjdk17_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_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_1775152509836/PatModImg_AppMod_1/20260402-142504-PatModImgTest/stf_parameters.properties, , /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_1775152509836/PatModImg_AppMod_1/20260402-142504-PatModImgTest" [2026-04-02T18:25:07.549Z] GEN 14:25:07.232 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2026-04-02T18:25:07.549Z] GEN 14:25:07.342 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2026-04-02T18:25:08.552Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2026-04-02T18:25:08.552Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2026-04-02T18:25:08.552Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2026-04-02T18:25:08.552Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2026-04-02T18:25:08.552Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2026-04-02T18:25:08.552Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2026-04-02T18:25:08.552Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2026-04-02T18:25:08.552Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2026-04-02T18:25:08.552Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2026-04-02T18:25:08.552Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2026-04-02T18:25:08.552Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2026-04-02T18:25:08.552Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2026-04-02T18:25:08.552Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2026-04-02T18:25:08.552Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2026-04-02T18:25:08.552Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2026-04-02T18:25:08.552Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2026-04-02T18:25:08.552Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/bin [2026-04-02T18:25:08.552Z] GEN /Users/admin/workspace/externalDependency/system_lib/log4j/log4j-api.jar [2026-04-02T18:25:08.552Z] GEN /Users/admin/workspace/externalDependency/system_lib/log4j/log4j-core.jar [2026-04-02T18:25:08.552Z] GEN /Users/admin/workspace/externalDependency/system_lib/junit/junit.jar [2026-04-02T18:25:08.552Z] GEN 14:25:07.957 - Using Mode NoOptions. Values = '' [2026-04-02T18:25:08.552Z] GEN 14:25:08.160 - [2026-04-02T18:25:08.552Z] GEN 14:25:08.161 - Test command summary: [2026-04-02T18:25:08.552Z] GEN 14:25:08.161 - Step Stage Command Description [2026-04-02T18:25:08.552Z] GEN 14:25:08.161 - -----+--------+-----------------+------------ [2026-04-02T18:25:08.552Z] GEN 14:25:08.161 - 1 execute jar Create com.hello jar [2026-04-02T18:25:08.552Z] GEN 14:25:08.161 - 2 execute jar Create com.hola jar [2026-04-02T18:25:08.552Z] GEN 14:25:08.161 - 3 execute jar Create com.helper jar [2026-04-02T18:25:08.552Z] GEN 14:25:08.161 - 4 execute jar Create com.discreet jar [2026-04-02T18:25:08.552Z] GEN 14:25:08.161 - 5 execute jar Create tests jar [2026-04-02T18:25:08.552Z] GEN 14:25:08.161 - 6 execute jlink Create runtime image for PatchModule test [2026-04-02T18:25:08.552Z] GEN 14:25:08.161 - 7 execute jar Create com.hello jar [2026-04-02T18:25:08.552Z] GEN 14:25:08.161 - 8 execute jar create java.xml.jar [2026-04-02T18:25:08.553Z] GEN 14:25:08.161 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2026-04-02T18:25:08.553Z] GEN 14:25:08.162 - 10 execute Run java Verify if we can patch an Application module using modular jar [2026-04-02T18:25:08.553Z] STF 14:25:08.252 - [2026-04-02T18:25:08.553Z] STF 14:25:08.252 - Script generation completed [2026-04-02T18:25:08.553Z] STF 14:25:08.252 - [2026-04-02T18:25:08.553Z] STF 14:25:08.252 - [2026-04-02T18:25:08.553Z] STF 14:25:08.252 - ======================= S E T U P ======================= [2026-04-02T18:25:08.553Z] STF 14:25:08.253 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_1775152509836/PatModImg_AppMod_1/20260402-142504-PatModImgTest/setUp.pl [2026-04-02T18:25:09.063Z] STF 14:25:08.472 - SETUP stage completed [2026-04-02T18:25:09.063Z] STF 14:25:08.485 - [2026-04-02T18:25:09.063Z] STF 14:25:08.485 - ==================== E X E C U T E - ==================== [2026-04-02T18:25:09.064Z] STF 14:25:08.485 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_1775152509836/PatModImg_AppMod_1/20260402-142504-PatModImgTest/execute.pl [2026-04-02T18:25:09.064Z] STF 14:25:08.785 - [2026-04-02T18:25:09.064Z] STF 14:25:08.785 - Java version [2026-04-02T18:25:09.064Z] STF 14:25:08.785 - Running: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2026-04-02T18:25:10.138Z] openjdk version "17.0.19-beta" 2026-04-21 [2026-04-02T18:25:10.138Z] OpenJDK Runtime Environment Temurin-17.0.19+9-202604011933 (build 17.0.19-beta+9-ea) [2026-04-02T18:25:10.138Z] OpenJDK 64-Bit Server VM Temurin-17.0.19+9-202604011933 (build 17.0.19-beta+9-ea, mixed mode) [2026-04-02T18:25:10.650Z] STF 14:25:10.035 - [2026-04-02T18:25:10.650Z] STF 14:25:10.035 - +------ Step 1 - Create com.hello jar [2026-04-02T18:25:10.650Z] STF 14:25:10.035 - | Create modular jar [2026-04-02T18:25:10.650Z] STF 14:25:10.035 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2026-04-02T18:25:10.650Z] STF 14:25:10.035 - | ModuleVersion: null [2026-04-02T18:25:10.650Z] STF 14:25:10.035 - | MainClass: null [2026-04-02T18:25:10.650Z] STF 14:25:10.036 - | HashModules: null [2026-04-02T18:25:10.650Z] STF 14:25:10.036 - | [2026-04-02T18:25:10.650Z] STF 14:25:10.037 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1775152509836/PatModImg_AppMod_1/20260402-142504-PatModImgTest/modules/1.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2026-04-02T18:25:10.650Z] STF 14:25:10.037 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1775152509836/PatModImg_AppMod_1/20260402-142504-PatModImgTest/results/1.CMJ.stderr [2026-04-02T18:25:10.650Z] STF 14:25:10.037 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1775152509836/PatModImg_AppMod_1/20260402-142504-PatModImgTest/results/1.CMJ.stdout [2026-04-02T18:25:10.650Z] STF 14:25:10.072 - Monitoring processes: CMJ [2026-04-02T18:25:11.080Z] STF 14:25:10.886 - Monitoring Report Summary: [2026-04-02T18:25:11.080Z] STF 14:25:10.886 - o Process CMJ ended with the expected exit code (0) [2026-04-02T18:25:11.080Z] STF 14:25:10.887 - Created modular jar: 1.com.hello.jar [2026-04-02T18:25:11.080Z] STF 14:25:10.887 - [2026-04-02T18:25:11.080Z] STF 14:25:10.887 - +------ Step 2 - Create com.hola jar [2026-04-02T18:25:11.080Z] STF 14:25:10.887 - | Create modular jar [2026-04-02T18:25:11.080Z] STF 14:25:10.887 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2026-04-02T18:25:11.080Z] STF 14:25:10.887 - | ModuleVersion: null [2026-04-02T18:25:11.080Z] STF 14:25:10.887 - | MainClass: null [2026-04-02T18:25:11.080Z] STF 14:25:10.887 - | HashModules: null [2026-04-02T18:25:11.080Z] STF 14:25:10.887 - | [2026-04-02T18:25:11.080Z] STF 14:25:10.887 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1775152509836/PatModImg_AppMod_1/20260402-142504-PatModImgTest/modules/2.com.hola.jar -C /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2026-04-02T18:25:11.080Z] STF 14:25:10.894 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1775152509836/PatModImg_AppMod_1/20260402-142504-PatModImgTest/results/2.CMJ.stderr [2026-04-02T18:25:11.080Z] STF 14:25:10.894 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1775152509836/PatModImg_AppMod_1/20260402-142504-PatModImgTest/results/2.CMJ.stdout [2026-04-02T18:25:11.080Z] STF 14:25:10.897 - Monitoring processes: CMJ [2026-04-02T18:25:12.055Z] STF 14:25:11.739 - Monitoring Report Summary: [2026-04-02T18:25:12.055Z] STF 14:25:11.739 - o Process CMJ ended with the expected exit code (0) [2026-04-02T18:25:12.055Z] STF 14:25:11.739 - Created modular jar: 2.com.hola.jar [2026-04-02T18:25:12.055Z] STF 14:25:11.739 - [2026-04-02T18:25:12.055Z] STF 14:25:11.739 - +------ Step 3 - Create com.helper jar [2026-04-02T18:25:12.055Z] STF 14:25:11.739 - | Create modular jar [2026-04-02T18:25:12.055Z] STF 14:25:11.739 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2026-04-02T18:25:12.055Z] STF 14:25:11.739 - | ModuleVersion: null [2026-04-02T18:25:12.055Z] STF 14:25:11.739 - | MainClass: null [2026-04-02T18:25:12.055Z] STF 14:25:11.739 - | HashModules: null [2026-04-02T18:25:12.055Z] STF 14:25:11.739 - | [2026-04-02T18:25:12.055Z] STF 14:25:11.739 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1775152509836/PatModImg_AppMod_1/20260402-142504-PatModImgTest/modules/3.com.helper.jar -C /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2026-04-02T18:25:12.055Z] STF 14:25:11.739 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1775152509836/PatModImg_AppMod_1/20260402-142504-PatModImgTest/results/3.CMJ.stderr [2026-04-02T18:25:12.055Z] STF 14:25:11.739 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1775152509836/PatModImg_AppMod_1/20260402-142504-PatModImgTest/results/3.CMJ.stdout [2026-04-02T18:25:12.055Z] STF 14:25:11.742 - Monitoring processes: CMJ [2026-04-02T18:25:13.772Z] STF 14:25:13.326 - Monitoring Report Summary: [2026-04-02T18:25:13.772Z] STF 14:25:13.376 - o Process CMJ ended with the expected exit code (0) [2026-04-02T18:25:13.772Z] STF 14:25:13.377 - Created modular jar: 3.com.helper.jar [2026-04-02T18:25:13.772Z] STF 14:25:13.377 - [2026-04-02T18:25:13.772Z] STF 14:25:13.377 - +------ Step 4 - Create com.discreet jar [2026-04-02T18:25:13.772Z] STF 14:25:13.377 - | Create modular jar [2026-04-02T18:25:13.772Z] STF 14:25:13.377 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2026-04-02T18:25:13.772Z] STF 14:25:13.377 - | ModuleVersion: null [2026-04-02T18:25:13.772Z] STF 14:25:13.377 - | MainClass: null [2026-04-02T18:25:13.772Z] STF 14:25:13.377 - | HashModules: null [2026-04-02T18:25:13.772Z] STF 14:25:13.377 - | [2026-04-02T18:25:13.772Z] STF 14:25:13.377 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1775152509836/PatModImg_AppMod_1/20260402-142504-PatModImgTest/modules/4.com.discreet.jar -C /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2026-04-02T18:25:13.772Z] STF 14:25:13.377 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1775152509836/PatModImg_AppMod_1/20260402-142504-PatModImgTest/results/4.CMJ.stderr [2026-04-02T18:25:13.772Z] STF 14:25:13.377 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1775152509836/PatModImg_AppMod_1/20260402-142504-PatModImgTest/results/4.CMJ.stdout [2026-04-02T18:25:13.772Z] STF 14:25:13.380 - Monitoring processes: CMJ [2026-04-02T18:25:14.685Z] STF 14:25:14.114 - Monitoring Report Summary: [2026-04-02T18:25:14.685Z] STF 14:25:14.114 - o Process CMJ ended with the expected exit code (0) [2026-04-02T18:25:14.685Z] STF 14:25:14.114 - Created modular jar: 4.com.discreet.jar [2026-04-02T18:25:14.685Z] STF 14:25:14.114 - [2026-04-02T18:25:14.685Z] STF 14:25:14.114 - +------ Step 5 - Create tests jar [2026-04-02T18:25:14.685Z] STF 14:25:14.114 - | Create modular jar [2026-04-02T18:25:14.685Z] STF 14:25:14.114 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2026-04-02T18:25:14.685Z] STF 14:25:14.114 - | ModuleVersion: null [2026-04-02T18:25:14.685Z] STF 14:25:14.114 - | MainClass: null [2026-04-02T18:25:14.685Z] STF 14:25:14.114 - | HashModules: null [2026-04-02T18:25:14.685Z] STF 14:25:14.114 - | [2026-04-02T18:25:14.685Z] STF 14:25:14.114 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1775152509836/PatModImg_AppMod_1/20260402-142504-PatModImgTest/modules/5.com.test.jar -C /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2026-04-02T18:25:14.685Z] STF 14:25:14.115 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1775152509836/PatModImg_AppMod_1/20260402-142504-PatModImgTest/results/5.CMJ.stderr [2026-04-02T18:25:14.685Z] STF 14:25:14.115 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1775152509836/PatModImg_AppMod_1/20260402-142504-PatModImgTest/results/5.CMJ.stdout [2026-04-02T18:25:14.685Z] STF 14:25:14.121 - Monitoring processes: CMJ [2026-04-02T18:25:15.284Z] STF 14:25:14.779 - Monitoring Report Summary: [2026-04-02T18:25:15.284Z] STF 14:25:14.779 - o Process CMJ ended with the expected exit code (0) [2026-04-02T18:25:15.284Z] STF 14:25:14.779 - Created modular jar: 5.com.test.jar [2026-04-02T18:25:15.284Z] STF 14:25:14.779 - [2026-04-02T18:25:15.284Z] STF 14:25:14.779 - +------ Step 6 - Create runtime image for PatchModule test [2026-04-02T18:25:15.284Z] STF 14:25:14.779 - | Run jlink to create runtime image [2026-04-02T18:25:15.284Z] STF 14:25:14.779 - | ImageName: XpJVM [2026-04-02T18:25:15.284Z] STF 14:25:14.779 - | [2026-04-02T18:25:15.284Z] STF 14:25:14.780 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1775152509836/PatModImg_AppMod_1/20260402-142504-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1775152509836/PatModImg_AppMod_1/20260402-142504-PatModImgTest/tmp/6.XpJVM [2026-04-02T18:25:15.284Z] STF 14:25:14.780 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1775152509836/PatModImg_AppMod_1/20260402-142504-PatModImgTest/results/6.JLNK.stderr [2026-04-02T18:25:15.284Z] STF 14:25:14.780 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1775152509836/PatModImg_AppMod_1/20260402-142504-PatModImgTest/results/6.JLNK.stdout [2026-04-02T18:25:15.284Z] STF 14:25:14.782 - Monitoring processes: JLNK [2026-04-02T18:25:26.318Z] STF 14:25:24.757 - Monitoring Report Summary: [2026-04-02T18:25:26.318Z] STF 14:25:24.757 - o Process JLNK ended with the expected exit code (0) [2026-04-02T18:25:26.318Z] STF 14:25:24.757 - [2026-04-02T18:25:26.318Z] STF 14:25:24.757 - +------ Step 7 - Create com.hello jar [2026-04-02T18:25:26.318Z] STF 14:25:24.757 - | Create modular jar [2026-04-02T18:25:26.318Z] STF 14:25:24.757 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2026-04-02T18:25:26.318Z] STF 14:25:24.757 - | ModuleVersion: null [2026-04-02T18:25:26.318Z] STF 14:25:24.757 - | MainClass: null [2026-04-02T18:25:26.318Z] STF 14:25:24.758 - | HashModules: null [2026-04-02T18:25:26.318Z] STF 14:25:24.758 - | [2026-04-02T18:25:26.318Z] STF 14:25:24.758 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1775152509836/PatModImg_AppMod_1/20260402-142504-PatModImgTest/modules/7.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2026-04-02T18:25:26.318Z] STF 14:25:24.758 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1775152509836/PatModImg_AppMod_1/20260402-142504-PatModImgTest/results/7.CMJ.stderr [2026-04-02T18:25:26.318Z] STF 14:25:24.758 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1775152509836/PatModImg_AppMod_1/20260402-142504-PatModImgTest/results/7.CMJ.stdout [2026-04-02T18:25:26.318Z] STF 14:25:24.761 - Monitoring processes: CMJ [2026-04-02T18:25:26.789Z] STF 14:25:26.483 - Monitoring Report Summary: [2026-04-02T18:25:26.789Z] STF 14:25:26.483 - o Process CMJ ended with the expected exit code (0) [2026-04-02T18:25:26.789Z] STF 14:25:26.483 - Created modular jar: 7.com.hello.jar [2026-04-02T18:25:26.789Z] STF 14:25:26.483 - [2026-04-02T18:25:26.789Z] STF 14:25:26.483 - +------ Step 8 - create java.xml.jar [2026-04-02T18:25:26.789Z] STF 14:25:26.483 - | Create modular jar [2026-04-02T18:25:26.789Z] STF 14:25:26.483 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2026-04-02T18:25:26.789Z] STF 14:25:26.483 - | ModuleVersion: null [2026-04-02T18:25:26.789Z] STF 14:25:26.483 - | MainClass: null [2026-04-02T18:25:26.789Z] STF 14:25:26.483 - | HashModules: null [2026-04-02T18:25:26.789Z] STF 14:25:26.483 - | [2026-04-02T18:25:26.789Z] STF 14:25:26.484 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1775152509836/PatModImg_AppMod_1/20260402-142504-PatModImgTest/modules/8.java.xml.jar -C /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2026-04-02T18:25:26.789Z] STF 14:25:26.484 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1775152509836/PatModImg_AppMod_1/20260402-142504-PatModImgTest/results/8.CMJ.stderr [2026-04-02T18:25:26.789Z] STF 14:25:26.484 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1775152509836/PatModImg_AppMod_1/20260402-142504-PatModImgTest/results/8.CMJ.stdout [2026-04-02T18:25:26.789Z] STF 14:25:26.486 - Monitoring processes: CMJ [2026-04-02T18:25:28.554Z] STF 14:25:28.126 - Monitoring Report Summary: [2026-04-02T18:25:28.554Z] STF 14:25:28.126 - o Process CMJ ended with the expected exit code (0) [2026-04-02T18:25:28.554Z] STF 14:25:28.126 - Created modular jar: 8.java.xml.jar [2026-04-02T18:25:28.554Z] STF 14:25:28.126 - [2026-04-02T18:25:28.554Z] STF 14:25:28.126 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2026-04-02T18:25:28.554Z] STF 14:25:28.126 - | Run foreground process [2026-04-02T18:25:28.554Z] STF 14:25:28.126 - | Program: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1775152509836/PatModImg_AppMod_1/20260402-142504-PatModImgTest/tmp/6.XpJVM/bin/java [2026-04-02T18:25:28.554Z] STF 14:25:28.126 - | Mnemonic: OT21 [2026-04-02T18:25:28.554Z] STF 14:25:28.126 - | Echo: ECHO_ON [2026-04-02T18:25:28.554Z] STF 14:25:28.126 - | Expectation: CLEAN_RUN within 5m [2026-04-02T18:25:28.554Z] STF 14:25:28.126 - | [2026-04-02T18:25:28.554Z] STF 14:25:28.127 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1775152509836/PatModImg_AppMod_1/20260402-142504-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/Users/admin/workspace/workspace/Test_openjdk17_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-02T18:25:28.554Z] STF 14:25:28.127 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1775152509836/PatModImg_AppMod_1/20260402-142504-PatModImgTest/results/9.OT21.stderr [2026-04-02T18:25:28.554Z] STF 14:25:28.127 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1775152509836/PatModImg_AppMod_1/20260402-142504-PatModImgTest/results/9.OT21.stdout [2026-04-02T18:25:28.554Z] STF 14:25:28.130 - Monitoring processes: OT21 [2026-04-02T18:25:39.288Z] OT21 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello [2026-04-02T18:25:42.481Z] OT21 JUnit version 4.12 [2026-04-02T18:25:42.481Z] OT21 . [2026-04-02T18:25:42.481Z] OT21 Time: 0.041 [2026-04-02T18:25:42.481Z] OT21 [2026-04-02T18:25:42.481Z] OT21 OK (1 test) [2026-04-02T18:25:42.481Z] OT21 [2026-04-02T18:25:42.482Z] STF 14:25:41.754 - Monitoring Report Summary: [2026-04-02T18:25:42.482Z] STF 14:25:41.754 - o Process OT21 ended with the expected exit code (0) [2026-04-02T18:25:42.482Z] STF 14:25:41.754 - [2026-04-02T18:25:42.482Z] STF 14:25:41.754 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2026-04-02T18:25:42.482Z] STF 14:25:41.754 - | Run foreground process [2026-04-02T18:25:42.482Z] STF 14:25:41.754 - | Program: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1775152509836/PatModImg_AppMod_1/20260402-142504-PatModImgTest/tmp/6.XpJVM/bin/java [2026-04-02T18:25:42.482Z] STF 14:25:41.754 - | Mnemonic: OT22 [2026-04-02T18:25:42.482Z] STF 14:25:41.754 - | Echo: ECHO_ON [2026-04-02T18:25:42.482Z] STF 14:25:41.754 - | Expectation: CLEAN_RUN within 5m [2026-04-02T18:25:42.482Z] STF 14:25:41.754 - | [2026-04-02T18:25:42.482Z] STF 14:25:41.755 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1775152509836/PatModImg_AppMod_1/20260402-142504-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1775152509836/PatModImg_AppMod_1/20260402-142504-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-02T18:25:42.482Z] STF 14:25:41.755 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1775152509836/PatModImg_AppMod_1/20260402-142504-PatModImgTest/results/10.OT22.stderr [2026-04-02T18:25:42.482Z] STF 14:25:41.755 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1775152509836/PatModImg_AppMod_1/20260402-142504-PatModImgTest/results/10.OT22.stdout [2026-04-02T18:25:42.482Z] STF 14:25:41.757 - Monitoring processes: OT22 [2026-04-02T18:25:43.564Z] OT22 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1775152509836/PatModImg_AppMod_1/20260402-142504-PatModImgTest/modules/7.com.hello.jar [2026-04-02T18:25:43.564Z] OT22 JUnit version 4.12 [2026-04-02T18:25:44.011Z] OT22 . [2026-04-02T18:25:44.011Z] OT22 Time: 0.046 [2026-04-02T18:25:44.011Z] OT22 [2026-04-02T18:25:44.011Z] OT22 OK (1 test) [2026-04-02T18:25:44.011Z] OT22 [2026-04-02T18:25:44.011Z] STF 14:25:43.467 - Monitoring Report Summary: [2026-04-02T18:25:44.011Z] STF 14:25:43.511 - o Process OT22 ended with the expected exit code (0) [2026-04-02T18:25:44.011Z] STF 14:25:43.511 - EXECUTE stage completed [2026-04-02T18:25:44.011Z] STF 14:25:43.834 - [2026-04-02T18:25:44.011Z] STF 14:25:43.834 - ==================== T E A R D O W N ==================== [2026-04-02T18:25:44.011Z] STF 14:25:43.834 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_1775152509836/PatModImg_AppMod_1/20260402-142504-PatModImgTest/tearDown.pl [2026-04-02T18:25:45.140Z] STF 14:25:44.881 - TEARDOWN stage completed [2026-04-02T18:25:45.140Z] STF 14:25:44.912 - [2026-04-02T18:25:45.140Z] STF 14:25:44.912 - ===================== R E S U L T S ===================== [2026-04-02T18:25:45.140Z] STF 14:25:44.912 - Stage results: [2026-04-02T18:25:45.140Z] STF 14:25:44.912 - setUp: pass [2026-04-02T18:25:45.140Z] STF 14:25:44.912 - execute: pass [2026-04-02T18:25:45.140Z] STF 14:25:44.912 - teardown: pass [2026-04-02T18:25:45.140Z] STF 14:25:44.912 - [2026-04-02T18:25:45.140Z] STF 14:25:44.912 - Overall result: PASSED [2026-04-02T18:25:45.140Z] ----------------------------------- [2026-04-02T18:25:45.140Z] PatModImg_AppMod_1_PASSED [2026-04-02T18:25:45.140Z] ----------------------------------- [2026-04-02T18:25:45.534Z] [2026-04-02T18:25:45.534Z] TEST TEARDOWN: [2026-04-02T18:25:45.534Z] Nothing to be done for teardown. [2026-04-02T18:25:45.535Z] PatModImg_AppMod_1 Finish Time: Thu Apr 2 14:25:45 2026 Epoch Time (ms): 1775154345105