PatModImg_AppMod_1

[2025-05-30T02:25:18.651Z] Running test PatModImg_AppMod_1 ... [2025-05-30T02:25:18.651Z] =============================================== [2025-05-30T02:25:18.651Z] PatModImg_AppMod_1 Start Time: Thu May 29 19:25:17 2025 Epoch Time (ms): 1748571917815 [2025-05-30T02:25:18.651Z] variation: Mode650 [2025-05-30T02:25:18.651Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-05-30T02:25:18.651Z] { \ [2025-05-30T02:25:18.651Z] echo ""; echo "TEST SETUP:"; \ [2025-05-30T02:25:18.651Z] echo "Nothing to be done for setup."; \ [2025-05-30T02:25:18.651Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17485708156547/PatModImg_AppMod_1"; \ [2025-05-30T02:25:18.651Z] cd "/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17485708156547/PatModImg_AppMod_1"; \ [2025-05-30T02:25:18.651Z] echo ""; echo "TESTING:"; \ [2025-05-30T02:25:18.651Z] perl /Users/admin/workspace/workspace/Test_openjdk25_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_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17485708156547/PatModImg_AppMod_1" -test=PatModImgTest -test-args="variant=AppMod"; \ [2025-05-30T02:25:18.651Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_1""_PASSED"; echo "-----------------------------------"; cd /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/..; rm -f -r "/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17485708156547/PatModImg_AppMod_1"; else echo "-----------------------------------"; echo "PatModImg_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-05-30T02:25:18.651Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-05-30T02:25:18.651Z] echo "Nothing to be done for teardown."; \ [2025-05-30T02:25:18.651Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17485708156547/TestTargetResult"; [2025-05-30T02:25:18.651Z] [2025-05-30T02:25:18.651Z] TEST SETUP: [2025-05-30T02:25:18.651Z] Nothing to be done for setup. [2025-05-30T02:25:18.651Z] [2025-05-30T02:25:18.651Z] TESTING: [2025-05-30T02:25:18.651Z] STF 19:25:17.977 - ========================= S T F ========================= [2025-05-30T02:25:18.651Z] systemtest-prereqs has been processed, and set to: /Users/admin/workspace/testDependency/system_libRetrieving amount of free space on drive containing /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17485708156547/PatModImg_AppMod_1 [2025-05-30T02:25:18.651Z] There is 11656 Mb free [2025-05-30T02:25:18.651Z] STF 19:25:17.990 - ================== G E N E R A T I O N ================== [2025-05-30T02:25:18.651Z] STF 19:25:17.991 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2025-05-30T02:25:18.651Z] STF 19:25:17.991 - Starting process to generate scripts: /Users/admin/workspace/workspace/Test_openjdk25_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_openjdk25_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_openjdk25_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib//asm/asm.jar:/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib//asm/asm-commons.jar:/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib//log4j/log4j-api.jar:/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib//log4j/log4j-core.jar:/Users/admin/workspace/workspace/Test_openjdk25_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_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17485708156547/PatModImg_AppMod_1/20250529-192517-PatModImgTest/stf_parameters.properties, , /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17485708156547/PatModImg_AppMod_1/20250529-192517-PatModImgTest" [2025-05-30T02:25:21.747Z] GEN 19:25:19.155 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-05-30T02:25:21.747Z] GEN 19:25:19.173 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-05-30T02:25:21.747Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-05-30T02:25:21.747Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-05-30T02:25:21.747Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-05-30T02:25:21.747Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-05-30T02:25:21.747Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-05-30T02:25:21.747Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-05-30T02:25:21.747Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-05-30T02:25:21.747Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-05-30T02:25:21.747Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-05-30T02:25:21.747Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-05-30T02:25:21.747Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-05-30T02:25:21.747Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-05-30T02:25:21.747Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-05-30T02:25:21.747Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-05-30T02:25:21.747Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-05-30T02:25:21.747Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-05-30T02:25:21.747Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/bin [2025-05-30T02:25:21.747Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-api.jar [2025-05-30T02:25:21.747Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-core.jar [2025-05-30T02:25:21.747Z] GEN /Users/admin/workspace/testDependency/system_lib/junit/junit.jar [2025-05-30T02:25:21.747Z] GEN 19:25:20.716 - Using Mode NoOptions. Values = '' [2025-05-30T02:25:21.747Z] GEN 19:25:20.858 - [2025-05-30T02:25:21.747Z] GEN 19:25:20.858 - Test command summary: [2025-05-30T02:25:21.747Z] GEN 19:25:20.858 - Step Stage Command Description [2025-05-30T02:25:21.747Z] GEN 19:25:20.858 - -----+--------+-----------------+------------ [2025-05-30T02:25:21.747Z] GEN 19:25:20.858 - 1 execute jar Create com.hello jar [2025-05-30T02:25:21.747Z] GEN 19:25:20.858 - 2 execute jar Create com.hola jar [2025-05-30T02:25:21.747Z] GEN 19:25:20.858 - 3 execute jar Create com.helper jar [2025-05-30T02:25:21.747Z] GEN 19:25:20.858 - 4 execute jar Create com.discreet jar [2025-05-30T02:25:21.747Z] GEN 19:25:20.858 - 5 execute jar Create tests jar [2025-05-30T02:25:21.748Z] GEN 19:25:20.858 - 6 execute jlink Create runtime image for PatchModule test [2025-05-30T02:25:21.748Z] GEN 19:25:20.858 - 7 execute jar Create com.hello jar [2025-05-30T02:25:21.748Z] GEN 19:25:20.859 - 8 execute jar create java.xml.jar [2025-05-30T02:25:21.748Z] GEN 19:25:20.859 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2025-05-30T02:25:21.748Z] GEN 19:25:20.859 - 10 execute Run java Verify if we can patch an Application module using modular jar [2025-05-30T02:25:21.748Z] STF 19:25:20.897 - [2025-05-30T02:25:21.748Z] STF 19:25:20.897 - Script generation completed [2025-05-30T02:25:21.748Z] STF 19:25:20.897 - [2025-05-30T02:25:21.748Z] STF 19:25:20.897 - [2025-05-30T02:25:21.748Z] STF 19:25:20.897 - ======================= S E T U P ======================= [2025-05-30T02:25:21.748Z] STF 19:25:20.897 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17485708156547/PatModImg_AppMod_1/20250529-192517-PatModImgTest/setUp.pl [2025-05-30T02:25:21.748Z] STF 19:25:21.033 - SETUP stage completed [2025-05-30T02:25:21.748Z] STF 19:25:21.039 - [2025-05-30T02:25:21.748Z] STF 19:25:21.039 - ==================== E X E C U T E - ==================== [2025-05-30T02:25:21.748Z] STF 19:25:21.039 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17485708156547/PatModImg_AppMod_1/20250529-192517-PatModImgTest/execute.pl [2025-05-30T02:25:21.748Z] STF 19:25:21.168 - [2025-05-30T02:25:21.748Z] STF 19:25:21.168 - Java version [2025-05-30T02:25:21.748Z] STF 19:25:21.168 - Running: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2025-05-30T02:25:22.274Z] openjdk version "25-beta" 2025-09-16 [2025-05-30T02:25:22.274Z] OpenJDK Runtime Environment Temurin-25+25-202505292033 (build 25-beta+25-ea) [2025-05-30T02:25:22.274Z] OpenJDK 64-Bit Server VM Temurin-25+25-202505292033 (build 25-beta+25-ea, mixed mode) [2025-05-30T02:25:22.274Z] STF 19:25:21.429 - [2025-05-30T02:25:22.274Z] STF 19:25:21.429 - +------ Step 1 - Create com.hello jar [2025-05-30T02:25:22.274Z] STF 19:25:21.429 - | Create modular jar [2025-05-30T02:25:22.274Z] STF 19:25:21.429 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-05-30T02:25:22.274Z] STF 19:25:21.429 - | ModuleVersion: null [2025-05-30T02:25:22.274Z] STF 19:25:21.429 - | MainClass: null [2025-05-30T02:25:22.274Z] STF 19:25:21.429 - | HashModules: null [2025-05-30T02:25:22.274Z] STF 19:25:21.429 - | [2025-05-30T02:25:22.274Z] STF 19:25:21.430 - Running command: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17485708156547/PatModImg_AppMod_1/20250529-192517-PatModImgTest/modules/1.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-05-30T02:25:22.274Z] STF 19:25:21.430 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17485708156547/PatModImg_AppMod_1/20250529-192517-PatModImgTest/results/1.CMJ.stderr [2025-05-30T02:25:22.274Z] STF 19:25:21.430 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17485708156547/PatModImg_AppMod_1/20250529-192517-PatModImgTest/results/1.CMJ.stdout [2025-05-30T02:25:22.274Z] STF 19:25:21.452 - Monitoring processes: CMJ [2025-05-30T02:25:22.746Z] STF 19:25:22.145 - Monitoring Report Summary: [2025-05-30T02:25:22.746Z] STF 19:25:22.145 - o Process CMJ ended with the expected exit code (0) [2025-05-30T02:25:22.746Z] STF 19:25:22.145 - Created modular jar: 1.com.hello.jar [2025-05-30T02:25:22.746Z] STF 19:25:22.145 - [2025-05-30T02:25:22.746Z] STF 19:25:22.145 - +------ Step 2 - Create com.hola jar [2025-05-30T02:25:22.746Z] STF 19:25:22.145 - | Create modular jar [2025-05-30T02:25:22.746Z] STF 19:25:22.145 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-05-30T02:25:22.746Z] STF 19:25:22.145 - | ModuleVersion: null [2025-05-30T02:25:22.746Z] STF 19:25:22.145 - | MainClass: null [2025-05-30T02:25:22.746Z] STF 19:25:22.145 - | HashModules: null [2025-05-30T02:25:22.746Z] STF 19:25:22.145 - | [2025-05-30T02:25:22.746Z] STF 19:25:22.146 - Running command: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17485708156547/PatModImg_AppMod_1/20250529-192517-PatModImgTest/modules/2.com.hola.jar -C /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2025-05-30T02:25:22.746Z] STF 19:25:22.146 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17485708156547/PatModImg_AppMod_1/20250529-192517-PatModImgTest/results/2.CMJ.stderr [2025-05-30T02:25:22.746Z] STF 19:25:22.146 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17485708156547/PatModImg_AppMod_1/20250529-192517-PatModImgTest/results/2.CMJ.stdout [2025-05-30T02:25:22.746Z] STF 19:25:22.166 - Monitoring processes: CMJ [2025-05-30T02:25:25.234Z] STF 19:25:24.110 - Monitoring Report Summary: [2025-05-30T02:25:25.234Z] STF 19:25:24.110 - o Process CMJ ended with the expected exit code (0) [2025-05-30T02:25:25.234Z] STF 19:25:24.110 - Created modular jar: 2.com.hola.jar [2025-05-30T02:25:25.234Z] STF 19:25:24.110 - [2025-05-30T02:25:25.234Z] STF 19:25:24.110 - +------ Step 3 - Create com.helper jar [2025-05-30T02:25:25.234Z] STF 19:25:24.110 - | Create modular jar [2025-05-30T02:25:25.234Z] STF 19:25:24.110 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-05-30T02:25:25.234Z] STF 19:25:24.110 - | ModuleVersion: null [2025-05-30T02:25:25.234Z] STF 19:25:24.110 - | MainClass: null [2025-05-30T02:25:25.234Z] STF 19:25:24.110 - | HashModules: null [2025-05-30T02:25:25.234Z] STF 19:25:24.110 - | [2025-05-30T02:25:25.235Z] STF 19:25:24.111 - Running command: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17485708156547/PatModImg_AppMod_1/20250529-192517-PatModImgTest/modules/3.com.helper.jar -C /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2025-05-30T02:25:25.235Z] STF 19:25:24.111 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17485708156547/PatModImg_AppMod_1/20250529-192517-PatModImgTest/results/3.CMJ.stderr [2025-05-30T02:25:25.235Z] STF 19:25:24.111 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17485708156547/PatModImg_AppMod_1/20250529-192517-PatModImgTest/results/3.CMJ.stdout [2025-05-30T02:25:25.235Z] STF 19:25:24.114 - Monitoring processes: CMJ [2025-05-30T02:25:25.676Z] STF 19:25:24.711 - Monitoring Report Summary: [2025-05-30T02:25:25.676Z] STF 19:25:24.711 - o Process CMJ ended with the expected exit code (0) [2025-05-30T02:25:25.676Z] STF 19:25:24.729 - Created modular jar: 3.com.helper.jar [2025-05-30T02:25:25.676Z] STF 19:25:24.729 - [2025-05-30T02:25:25.676Z] STF 19:25:24.729 - +------ Step 4 - Create com.discreet jar [2025-05-30T02:25:25.676Z] STF 19:25:24.729 - | Create modular jar [2025-05-30T02:25:25.676Z] STF 19:25:24.729 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-05-30T02:25:25.676Z] STF 19:25:24.729 - | ModuleVersion: null [2025-05-30T02:25:25.676Z] STF 19:25:24.729 - | MainClass: null [2025-05-30T02:25:25.676Z] STF 19:25:24.729 - | HashModules: null [2025-05-30T02:25:25.676Z] STF 19:25:24.729 - | [2025-05-30T02:25:25.676Z] STF 19:25:24.730 - Running command: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17485708156547/PatModImg_AppMod_1/20250529-192517-PatModImgTest/modules/4.com.discreet.jar -C /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2025-05-30T02:25:25.676Z] STF 19:25:24.730 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17485708156547/PatModImg_AppMod_1/20250529-192517-PatModImgTest/results/4.CMJ.stderr [2025-05-30T02:25:25.676Z] STF 19:25:24.730 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17485708156547/PatModImg_AppMod_1/20250529-192517-PatModImgTest/results/4.CMJ.stdout [2025-05-30T02:25:25.676Z] STF 19:25:24.732 - Monitoring processes: CMJ [2025-05-30T02:25:26.202Z] STF 19:25:25.283 - Monitoring Report Summary: [2025-05-30T02:25:26.203Z] STF 19:25:25.283 - o Process CMJ ended with the expected exit code (0) [2025-05-30T02:25:26.203Z] STF 19:25:25.283 - Created modular jar: 4.com.discreet.jar [2025-05-30T02:25:26.203Z] STF 19:25:25.283 - [2025-05-30T02:25:26.203Z] STF 19:25:25.283 - +------ Step 5 - Create tests jar [2025-05-30T02:25:26.203Z] STF 19:25:25.283 - | Create modular jar [2025-05-30T02:25:26.203Z] STF 19:25:25.283 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-05-30T02:25:26.203Z] STF 19:25:25.283 - | ModuleVersion: null [2025-05-30T02:25:26.203Z] STF 19:25:25.283 - | MainClass: null [2025-05-30T02:25:26.203Z] STF 19:25:25.283 - | HashModules: null [2025-05-30T02:25:26.203Z] STF 19:25:25.283 - | [2025-05-30T02:25:26.203Z] STF 19:25:25.284 - Running command: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17485708156547/PatModImg_AppMod_1/20250529-192517-PatModImgTest/modules/5.com.test.jar -C /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2025-05-30T02:25:26.203Z] STF 19:25:25.284 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17485708156547/PatModImg_AppMod_1/20250529-192517-PatModImgTest/results/5.CMJ.stderr [2025-05-30T02:25:26.203Z] STF 19:25:25.284 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17485708156547/PatModImg_AppMod_1/20250529-192517-PatModImgTest/results/5.CMJ.stdout [2025-05-30T02:25:26.203Z] STF 19:25:25.286 - Monitoring processes: CMJ [2025-05-30T02:25:27.238Z] STF 19:25:26.640 - Monitoring Report Summary: [2025-05-30T02:25:27.238Z] STF 19:25:26.640 - o Process CMJ ended with the expected exit code (0) [2025-05-30T02:25:27.238Z] STF 19:25:26.640 - Created modular jar: 5.com.test.jar [2025-05-30T02:25:27.238Z] STF 19:25:26.640 - [2025-05-30T02:25:27.238Z] STF 19:25:26.640 - +------ Step 6 - Create runtime image for PatchModule test [2025-05-30T02:25:27.238Z] STF 19:25:26.640 - | Run jlink to create runtime image [2025-05-30T02:25:27.238Z] STF 19:25:26.640 - | ImageName: XpJVM [2025-05-30T02:25:27.238Z] STF 19:25:26.640 - | [2025-05-30T02:25:27.238Z] STF 19:25:26.641 - Running command: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17485708156547/PatModImg_AppMod_1/20250529-192517-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17485708156547/PatModImg_AppMod_1/20250529-192517-PatModImgTest/tmp/6.XpJVM [2025-05-30T02:25:27.238Z] STF 19:25:26.641 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17485708156547/PatModImg_AppMod_1/20250529-192517-PatModImgTest/results/6.JLNK.stderr [2025-05-30T02:25:27.238Z] STF 19:25:26.641 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17485708156547/PatModImg_AppMod_1/20250529-192517-PatModImgTest/results/6.JLNK.stdout [2025-05-30T02:25:27.238Z] STF 19:25:26.643 - Monitoring processes: JLNK [2025-05-30T02:25:32.210Z] STF 19:25:31.186 - Monitoring Report Summary: [2025-05-30T02:25:32.210Z] STF 19:25:31.186 - o Process JLNK ended with the expected exit code (0) [2025-05-30T02:25:32.210Z] STF 19:25:31.186 - [2025-05-30T02:25:32.210Z] STF 19:25:31.186 - +------ Step 7 - Create com.hello jar [2025-05-30T02:25:32.210Z] STF 19:25:31.186 - | Create modular jar [2025-05-30T02:25:32.210Z] STF 19:25:31.186 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-05-30T02:25:32.210Z] STF 19:25:31.186 - | ModuleVersion: null [2025-05-30T02:25:32.210Z] STF 19:25:31.186 - | MainClass: null [2025-05-30T02:25:32.210Z] STF 19:25:31.186 - | HashModules: null [2025-05-30T02:25:32.210Z] STF 19:25:31.186 - | [2025-05-30T02:25:32.210Z] STF 19:25:31.187 - Running command: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17485708156547/PatModImg_AppMod_1/20250529-192517-PatModImgTest/modules/7.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2025-05-30T02:25:32.210Z] STF 19:25:31.187 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17485708156547/PatModImg_AppMod_1/20250529-192517-PatModImgTest/results/7.CMJ.stderr [2025-05-30T02:25:32.210Z] STF 19:25:31.187 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17485708156547/PatModImg_AppMod_1/20250529-192517-PatModImgTest/results/7.CMJ.stdout [2025-05-30T02:25:32.210Z] STF 19:25:31.223 - Monitoring processes: CMJ [2025-05-30T02:25:34.713Z] STF 19:25:33.511 - Monitoring Report Summary: [2025-05-30T02:25:34.713Z] STF 19:25:33.511 - o Process CMJ ended with the expected exit code (0) [2025-05-30T02:25:34.713Z] STF 19:25:33.512 - Created modular jar: 7.com.hello.jar [2025-05-30T02:25:34.713Z] STF 19:25:33.512 - [2025-05-30T02:25:34.713Z] STF 19:25:33.512 - +------ Step 8 - create java.xml.jar [2025-05-30T02:25:34.713Z] STF 19:25:33.512 - | Create modular jar [2025-05-30T02:25:34.713Z] STF 19:25:33.512 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-05-30T02:25:34.713Z] STF 19:25:33.512 - | ModuleVersion: null [2025-05-30T02:25:34.713Z] STF 19:25:33.512 - | MainClass: null [2025-05-30T02:25:34.713Z] STF 19:25:33.512 - | HashModules: null [2025-05-30T02:25:34.713Z] STF 19:25:33.512 - | [2025-05-30T02:25:34.714Z] STF 19:25:33.512 - Running command: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17485708156547/PatModImg_AppMod_1/20250529-192517-PatModImgTest/modules/8.java.xml.jar -C /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2025-05-30T02:25:34.714Z] STF 19:25:33.512 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17485708156547/PatModImg_AppMod_1/20250529-192517-PatModImgTest/results/8.CMJ.stderr [2025-05-30T02:25:34.714Z] STF 19:25:33.512 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17485708156547/PatModImg_AppMod_1/20250529-192517-PatModImgTest/results/8.CMJ.stdout [2025-05-30T02:25:34.714Z] STF 19:25:33.522 - Monitoring processes: CMJ [2025-05-30T02:25:35.185Z] STF 19:25:34.180 - Monitoring Report Summary: [2025-05-30T02:25:35.185Z] STF 19:25:34.180 - o Process CMJ ended with the expected exit code (0) [2025-05-30T02:25:35.185Z] STF 19:25:34.180 - Created modular jar: 8.java.xml.jar [2025-05-30T02:25:35.185Z] STF 19:25:34.180 - [2025-05-30T02:25:35.185Z] STF 19:25:34.180 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2025-05-30T02:25:35.185Z] STF 19:25:34.180 - | Run foreground process [2025-05-30T02:25:35.185Z] STF 19:25:34.180 - | Program: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17485708156547/PatModImg_AppMod_1/20250529-192517-PatModImgTest/tmp/6.XpJVM/bin/java [2025-05-30T02:25:35.185Z] STF 19:25:34.180 - | Mnemonic: OT21 [2025-05-30T02:25:35.185Z] STF 19:25:34.180 - | Echo: ECHO_ON [2025-05-30T02:25:35.185Z] STF 19:25:34.180 - | Expectation: CLEAN_RUN within 5m [2025-05-30T02:25:35.185Z] STF 19:25:34.180 - | [2025-05-30T02:25:35.185Z] STF 19:25:34.180 - Running command: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17485708156547/PatModImg_AppMod_1/20250529-192517-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/Users/admin/workspace/workspace/Test_openjdk25_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/testDependency/system_lib/junit/junit.jar:/Users/admin/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2025-05-30T02:25:35.185Z] STF 19:25:34.180 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17485708156547/PatModImg_AppMod_1/20250529-192517-PatModImgTest/results/9.OT21.stderr [2025-05-30T02:25:35.185Z] STF 19:25:34.181 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17485708156547/PatModImg_AppMod_1/20250529-192517-PatModImgTest/results/9.OT21.stdout [2025-05-30T02:25:35.185Z] STF 19:25:34.183 - Monitoring processes: OT21 [2025-05-30T02:25:37.627Z] OT21 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello [2025-05-30T02:25:38.042Z] OT21 JUnit version 4.12 [2025-05-30T02:25:38.042Z] OT21 . [2025-05-30T02:25:38.042Z] OT21 Time: 0.011 [2025-05-30T02:25:38.042Z] OT21 [2025-05-30T02:25:38.042Z] OT21 OK (1 test) [2025-05-30T02:25:38.042Z] OT21 [2025-05-30T02:25:38.453Z] STF 19:25:37.375 - Monitoring Report Summary: [2025-05-30T02:25:38.453Z] STF 19:25:37.375 - o Process OT21 ended with the expected exit code (0) [2025-05-30T02:25:38.453Z] STF 19:25:37.375 - [2025-05-30T02:25:38.453Z] STF 19:25:37.375 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2025-05-30T02:25:38.453Z] STF 19:25:37.375 - | Run foreground process [2025-05-30T02:25:38.453Z] STF 19:25:37.375 - | Program: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17485708156547/PatModImg_AppMod_1/20250529-192517-PatModImgTest/tmp/6.XpJVM/bin/java [2025-05-30T02:25:38.453Z] STF 19:25:37.375 - | Mnemonic: OT22 [2025-05-30T02:25:38.453Z] STF 19:25:37.375 - | Echo: ECHO_ON [2025-05-30T02:25:38.453Z] STF 19:25:37.375 - | Expectation: CLEAN_RUN within 5m [2025-05-30T02:25:38.453Z] STF 19:25:37.375 - | [2025-05-30T02:25:38.453Z] STF 19:25:37.376 - Running command: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17485708156547/PatModImg_AppMod_1/20250529-192517-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17485708156547/PatModImg_AppMod_1/20250529-192517-PatModImgTest/modules/7.com.hello.jar -XX:-UseCompressedOops -classpath /Users/admin/workspace/testDependency/system_lib/junit/junit.jar:/Users/admin/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2025-05-30T02:25:38.453Z] STF 19:25:37.376 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17485708156547/PatModImg_AppMod_1/20250529-192517-PatModImgTest/results/10.OT22.stderr [2025-05-30T02:25:38.453Z] STF 19:25:37.376 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17485708156547/PatModImg_AppMod_1/20250529-192517-PatModImgTest/results/10.OT22.stdout [2025-05-30T02:25:38.453Z] STF 19:25:37.381 - Monitoring processes: OT22 [2025-05-30T02:25:38.453Z] OT22 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17485708156547/PatModImg_AppMod_1/20250529-192517-PatModImgTest/modules/7.com.hello.jar [2025-05-30T02:25:38.453Z] OT22 JUnit version 4.12 [2025-05-30T02:25:38.453Z] OT22 . [2025-05-30T02:25:38.453Z] OT22 Time: 0.006 [2025-05-30T02:25:38.453Z] OT22 [2025-05-30T02:25:38.453Z] OT22 OK (1 test) [2025-05-30T02:25:38.453Z] OT22 [2025-05-30T02:25:38.453Z] STF 19:25:37.824 - Monitoring Report Summary: [2025-05-30T02:25:38.453Z] STF 19:25:37.824 - o Process OT22 ended with the expected exit code (0) [2025-05-30T02:25:38.453Z] STF 19:25:37.824 - EXECUTE stage completed [2025-05-30T02:25:38.453Z] STF 19:25:37.882 - [2025-05-30T02:25:38.454Z] STF 19:25:37.882 - ==================== T E A R D O W N ==================== [2025-05-30T02:25:38.454Z] STF 19:25:37.882 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17485708156547/PatModImg_AppMod_1/20250529-192517-PatModImgTest/tearDown.pl [2025-05-30T02:25:38.901Z] STF 19:25:37.994 - TEARDOWN stage completed [2025-05-30T02:25:38.901Z] STF 19:25:38.003 - [2025-05-30T02:25:38.901Z] STF 19:25:38.003 - ===================== R E S U L T S ===================== [2025-05-30T02:25:38.901Z] STF 19:25:38.003 - Stage results: [2025-05-30T02:25:38.901Z] STF 19:25:38.003 - setUp: pass [2025-05-30T02:25:38.901Z] STF 19:25:38.003 - execute: pass [2025-05-30T02:25:38.901Z] STF 19:25:38.003 - teardown: pass [2025-05-30T02:25:38.901Z] STF 19:25:38.003 - [2025-05-30T02:25:38.901Z] STF 19:25:38.003 - Overall result: PASSED [2025-05-30T02:25:38.901Z] ----------------------------------- [2025-05-30T02:25:38.901Z] PatModImg_AppMod_1_PASSED [2025-05-30T02:25:38.901Z] ----------------------------------- [2025-05-30T02:25:38.901Z] [2025-05-30T02:25:38.901Z] TEST TEARDOWN: [2025-05-30T02:25:38.901Z] Nothing to be done for teardown. [2025-05-30T02:25:38.901Z] PatModImg_AppMod_1 Finish Time: Thu May 29 19:25:38 2025 Epoch Time (ms): 1748571938098