PatModImg_AppMod_1

[2025-10-30T23:04:44.617Z] Running test PatModImg_AppMod_1 ... [2025-10-30T23:04:44.617Z] =============================================== [2025-10-30T23:04:44.617Z] PatModImg_AppMod_1 Start Time: Thu Oct 30 16:04:44 2025 Epoch Time (ms): 1761865484181 [2025-10-30T23:04:44.617Z] variation: Mode650 [2025-10-30T23:04:44.617Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-10-30T23:04:44.617Z] { \ [2025-10-30T23:04:44.617Z] echo ""; echo "TEST SETUP:"; \ [2025-10-30T23:04:44.617Z] echo "Nothing to be done for setup."; \ [2025-10-30T23:04:44.617Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17618653838338/PatModImg_AppMod_1"; \ [2025-10-30T23:04:44.617Z] cd "/Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17618653838338/PatModImg_AppMod_1"; \ [2025-10-30T23:04:44.617Z] echo ""; echo "TESTING:"; \ [2025-10-30T23:04:44.617Z] perl /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/../../externalDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17618653838338/PatModImg_AppMod_1" -test=PatModImgTest -test-args="variant=AppMod"; \ [2025-10-30T23:04:44.617Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_1""_PASSED"; echo "-----------------------------------"; cd /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/..; rm -f -r "/Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17618653838338/PatModImg_AppMod_1"; else echo "-----------------------------------"; echo "PatModImg_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-10-30T23:04:44.617Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-10-30T23:04:44.617Z] echo "Nothing to be done for teardown."; \ [2025-10-30T23:04:44.617Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17618653838338/TestTargetResult"; [2025-10-30T23:04:44.617Z] [2025-10-30T23:04:44.617Z] TEST SETUP: [2025-10-30T23:04:44.617Z] Nothing to be done for setup. [2025-10-30T23:04:44.617Z] [2025-10-30T23:04:44.617Z] TESTING: [2025-10-30T23:04:44.617Z] STF 16:04:44.366 - ========================= S T F ========================= [2025-10-30T23:04:44.617Z] systemtest-prereqs has been processed, and set to: /Users/admin/workspace/externalDependency/system_libRetrieving amount of free space on drive containing /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17618653838338/PatModImg_AppMod_1 [2025-10-30T23:04:44.617Z] There is 12336 Mb free [2025-10-30T23:04:44.617Z] STF 16:04:44.380 - ================== G E N E R A T I O N ================== [2025-10-30T23:04:44.617Z] STF 16:04:44.382 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2025-10-30T23:04:44.617Z] STF 16:04:44.382 - Starting process to generate scripts: /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/..//bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=/Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/../../externalDependency/system_lib//asm/asm.jar:/Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/../../externalDependency/system_lib//asm/asm-commons.jar:/Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/../../externalDependency/system_lib//log4j/log4j-api.jar:/Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/../../externalDependency/system_lib//log4j/log4j-core.jar:/Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17618653838338/PatModImg_AppMod_1/20251030-160444-PatModImgTest/stf_parameters.properties, , /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17618653838338/PatModImg_AppMod_1/20251030-160444-PatModImgTest" [2025-10-30T23:04:46.632Z] GEN 16:04:46.084 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-10-30T23:04:46.632Z] GEN 16:04:46.101 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-10-30T23:04:46.632Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-10-30T23:04:46.632Z] GEN /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-10-30T23:04:46.632Z] GEN /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-10-30T23:04:46.632Z] GEN /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-10-30T23:04:46.632Z] GEN /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-10-30T23:04:46.632Z] GEN /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-10-30T23:04:46.632Z] GEN /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-10-30T23:04:46.632Z] GEN /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-10-30T23:04:46.632Z] GEN /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-10-30T23:04:46.632Z] GEN /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-10-30T23:04:46.632Z] GEN /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-10-30T23:04:46.632Z] GEN /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-10-30T23:04:46.632Z] GEN /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-10-30T23:04:46.632Z] GEN /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-10-30T23:04:46.632Z] GEN /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-10-30T23:04:46.632Z] GEN /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-10-30T23:04:46.632Z] GEN /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/STF/stf.core/bin [2025-10-30T23:04:46.632Z] GEN /Users/admin/workspace/externalDependency/system_lib/log4j/log4j-api.jar [2025-10-30T23:04:46.632Z] GEN /Users/admin/workspace/externalDependency/system_lib/log4j/log4j-core.jar [2025-10-30T23:04:46.632Z] GEN /Users/admin/workspace/externalDependency/system_lib/junit/junit.jar [2025-10-30T23:04:46.632Z] GEN 16:04:46.368 - Using Mode NoOptions. Values = '' [2025-10-30T23:04:47.012Z] GEN 16:04:46.483 - [2025-10-30T23:04:47.012Z] GEN 16:04:46.484 - Test command summary: [2025-10-30T23:04:47.012Z] GEN 16:04:46.484 - Step Stage Command Description [2025-10-30T23:04:47.012Z] GEN 16:04:46.484 - -----+--------+-----------------+------------ [2025-10-30T23:04:47.012Z] GEN 16:04:46.484 - 1 execute jar Create com.hello jar [2025-10-30T23:04:47.012Z] GEN 16:04:46.484 - 2 execute jar Create com.hola jar [2025-10-30T23:04:47.013Z] GEN 16:04:46.484 - 3 execute jar Create com.helper jar [2025-10-30T23:04:47.013Z] GEN 16:04:46.484 - 4 execute jar Create com.discreet jar [2025-10-30T23:04:47.013Z] GEN 16:04:46.484 - 5 execute jar Create tests jar [2025-10-30T23:04:47.013Z] GEN 16:04:46.484 - 6 execute jlink Create runtime image for PatchModule test [2025-10-30T23:04:47.013Z] GEN 16:04:46.484 - 7 execute jar Create com.hello jar [2025-10-30T23:04:47.013Z] GEN 16:04:46.484 - 8 execute jar create java.xml.jar [2025-10-30T23:04:47.013Z] GEN 16:04:46.484 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2025-10-30T23:04:47.013Z] GEN 16:04:46.484 - 10 execute Run java Verify if we can patch an Application module using modular jar [2025-10-30T23:04:47.013Z] STF 16:04:46.519 - [2025-10-30T23:04:47.013Z] STF 16:04:46.519 - Script generation completed [2025-10-30T23:04:47.013Z] STF 16:04:46.519 - [2025-10-30T23:04:47.013Z] STF 16:04:46.519 - [2025-10-30T23:04:47.013Z] STF 16:04:46.519 - ======================= S E T U P ======================= [2025-10-30T23:04:47.013Z] STF 16:04:46.519 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17618653838338/PatModImg_AppMod_1/20251030-160444-PatModImgTest/setUp.pl [2025-10-30T23:04:47.013Z] STF 16:04:46.632 - SETUP stage completed [2025-10-30T23:04:47.013Z] STF 16:04:46.643 - [2025-10-30T23:04:47.013Z] STF 16:04:46.643 - ==================== E X E C U T E - ==================== [2025-10-30T23:04:47.013Z] STF 16:04:46.643 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17618653838338/PatModImg_AppMod_1/20251030-160444-PatModImgTest/execute.pl [2025-10-30T23:04:47.013Z] STF 16:04:46.761 - [2025-10-30T23:04:47.013Z] STF 16:04:46.761 - Java version [2025-10-30T23:04:47.013Z] STF 16:04:46.761 - Running: /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2025-10-30T23:04:47.431Z] openjdk version "26-beta" 2026-03-17 [2025-10-30T23:04:47.431Z] OpenJDK Runtime Environment Temurin-26+22-202510302134 (build 26-beta+22-ea) [2025-10-30T23:04:47.431Z] OpenJDK 64-Bit Server VM Temurin-26+22-202510302134 (build 26-beta+22-ea, mixed mode) [2025-10-30T23:04:47.431Z] STF 16:04:46.970 - [2025-10-30T23:04:47.431Z] STF 16:04:46.970 - +------ Step 1 - Create com.hello jar [2025-10-30T23:04:47.431Z] STF 16:04:46.970 - | Create modular jar [2025-10-30T23:04:47.431Z] STF 16:04:46.970 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-10-30T23:04:47.431Z] STF 16:04:46.970 - | ModuleVersion: null [2025-10-30T23:04:47.431Z] STF 16:04:46.970 - | MainClass: null [2025-10-30T23:04:47.431Z] STF 16:04:46.970 - | HashModules: null [2025-10-30T23:04:47.431Z] STF 16:04:46.970 - | [2025-10-30T23:04:47.431Z] STF 16:04:46.971 - Running command: /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17618653838338/PatModImg_AppMod_1/20251030-160444-PatModImgTest/modules/1.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-10-30T23:04:47.431Z] STF 16:04:46.971 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17618653838338/PatModImg_AppMod_1/20251030-160444-PatModImgTest/results/1.CMJ.stderr [2025-10-30T23:04:47.431Z] STF 16:04:46.971 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17618653838338/PatModImg_AppMod_1/20251030-160444-PatModImgTest/results/1.CMJ.stdout [2025-10-30T23:04:47.431Z] STF 16:04:46.990 - Monitoring processes: CMJ [2025-10-30T23:04:47.806Z] STF 16:04:47.472 - Monitoring Report Summary: [2025-10-30T23:04:47.806Z] STF 16:04:47.472 - o Process CMJ ended with the expected exit code (0) [2025-10-30T23:04:47.806Z] STF 16:04:47.472 - Created modular jar: 1.com.hello.jar [2025-10-30T23:04:47.806Z] STF 16:04:47.472 - [2025-10-30T23:04:47.806Z] STF 16:04:47.472 - +------ Step 2 - Create com.hola jar [2025-10-30T23:04:47.806Z] STF 16:04:47.472 - | Create modular jar [2025-10-30T23:04:47.806Z] STF 16:04:47.472 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-10-30T23:04:47.806Z] STF 16:04:47.472 - | ModuleVersion: null [2025-10-30T23:04:47.806Z] STF 16:04:47.472 - | MainClass: null [2025-10-30T23:04:47.806Z] STF 16:04:47.472 - | HashModules: null [2025-10-30T23:04:47.806Z] STF 16:04:47.472 - | [2025-10-30T23:04:47.806Z] STF 16:04:47.472 - Running command: /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17618653838338/PatModImg_AppMod_1/20251030-160444-PatModImgTest/modules/2.com.hola.jar -C /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2025-10-30T23:04:47.806Z] STF 16:04:47.473 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17618653838338/PatModImg_AppMod_1/20251030-160444-PatModImgTest/results/2.CMJ.stderr [2025-10-30T23:04:47.806Z] STF 16:04:47.473 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17618653838338/PatModImg_AppMod_1/20251030-160444-PatModImgTest/results/2.CMJ.stdout [2025-10-30T23:04:47.806Z] STF 16:04:47.475 - Monitoring processes: CMJ [2025-10-30T23:04:48.796Z] STF 16:04:48.123 - Monitoring Report Summary: [2025-10-30T23:04:48.796Z] STF 16:04:48.124 - o Process CMJ ended with the expected exit code (0) [2025-10-30T23:04:48.796Z] STF 16:04:48.127 - Created modular jar: 2.com.hola.jar [2025-10-30T23:04:48.796Z] STF 16:04:48.285 - [2025-10-30T23:04:48.796Z] STF 16:04:48.285 - +------ Step 3 - Create com.helper jar [2025-10-30T23:04:48.796Z] STF 16:04:48.285 - | Create modular jar [2025-10-30T23:04:48.796Z] STF 16:04:48.285 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-10-30T23:04:48.796Z] STF 16:04:48.286 - | ModuleVersion: null [2025-10-30T23:04:48.796Z] STF 16:04:48.286 - | MainClass: null [2025-10-30T23:04:48.796Z] STF 16:04:48.286 - | HashModules: null [2025-10-30T23:04:48.796Z] STF 16:04:48.286 - | [2025-10-30T23:04:48.796Z] STF 16:04:48.288 - Running command: /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17618653838338/PatModImg_AppMod_1/20251030-160444-PatModImgTest/modules/3.com.helper.jar -C /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2025-10-30T23:04:48.796Z] STF 16:04:48.288 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17618653838338/PatModImg_AppMod_1/20251030-160444-PatModImgTest/results/3.CMJ.stderr [2025-10-30T23:04:48.797Z] STF 16:04:48.288 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17618653838338/PatModImg_AppMod_1/20251030-160444-PatModImgTest/results/3.CMJ.stdout [2025-10-30T23:04:48.797Z] STF 16:04:48.323 - Monitoring processes: CMJ [2025-10-30T23:04:49.182Z] STF 16:04:48.989 - Monitoring Report Summary: [2025-10-30T23:04:49.182Z] STF 16:04:48.989 - o Process CMJ ended with the expected exit code (0) [2025-10-30T23:04:49.182Z] STF 16:04:48.989 - Created modular jar: 3.com.helper.jar [2025-10-30T23:04:49.182Z] STF 16:04:48.990 - [2025-10-30T23:04:49.182Z] STF 16:04:48.990 - +------ Step 4 - Create com.discreet jar [2025-10-30T23:04:49.182Z] STF 16:04:48.990 - | Create modular jar [2025-10-30T23:04:49.182Z] STF 16:04:48.990 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-10-30T23:04:49.182Z] STF 16:04:48.990 - | ModuleVersion: null [2025-10-30T23:04:49.182Z] STF 16:04:48.990 - | MainClass: null [2025-10-30T23:04:49.182Z] STF 16:04:48.990 - | HashModules: null [2025-10-30T23:04:49.182Z] STF 16:04:48.990 - | [2025-10-30T23:04:49.182Z] STF 16:04:48.990 - Running command: /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17618653838338/PatModImg_AppMod_1/20251030-160444-PatModImgTest/modules/4.com.discreet.jar -C /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2025-10-30T23:04:49.182Z] STF 16:04:48.990 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17618653838338/PatModImg_AppMod_1/20251030-160444-PatModImgTest/results/4.CMJ.stderr [2025-10-30T23:04:49.182Z] STF 16:04:48.990 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17618653838338/PatModImg_AppMod_1/20251030-160444-PatModImgTest/results/4.CMJ.stdout [2025-10-30T23:04:49.548Z] STF 16:04:48.992 - Monitoring processes: CMJ [2025-10-30T23:04:49.961Z] STF 16:04:49.495 - Monitoring Report Summary: [2025-10-30T23:04:49.961Z] STF 16:04:49.496 - o Process CMJ ended with the expected exit code (0) [2025-10-30T23:04:49.961Z] STF 16:04:49.496 - Created modular jar: 4.com.discreet.jar [2025-10-30T23:04:49.961Z] STF 16:04:49.496 - [2025-10-30T23:04:49.961Z] STF 16:04:49.496 - +------ Step 5 - Create tests jar [2025-10-30T23:04:49.961Z] STF 16:04:49.496 - | Create modular jar [2025-10-30T23:04:49.961Z] STF 16:04:49.496 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-10-30T23:04:49.961Z] STF 16:04:49.496 - | ModuleVersion: null [2025-10-30T23:04:49.961Z] STF 16:04:49.496 - | MainClass: null [2025-10-30T23:04:49.961Z] STF 16:04:49.496 - | HashModules: null [2025-10-30T23:04:49.961Z] STF 16:04:49.496 - | [2025-10-30T23:04:49.961Z] STF 16:04:49.497 - Running command: /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17618653838338/PatModImg_AppMod_1/20251030-160444-PatModImgTest/modules/5.com.test.jar -C /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2025-10-30T23:04:49.961Z] STF 16:04:49.497 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17618653838338/PatModImg_AppMod_1/20251030-160444-PatModImgTest/results/5.CMJ.stderr [2025-10-30T23:04:49.961Z] STF 16:04:49.497 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17618653838338/PatModImg_AppMod_1/20251030-160444-PatModImgTest/results/5.CMJ.stdout [2025-10-30T23:04:49.961Z] STF 16:04:49.499 - Monitoring processes: CMJ [2025-10-30T23:04:50.344Z] STF 16:04:49.962 - Monitoring Report Summary: [2025-10-30T23:04:50.344Z] STF 16:04:49.962 - o Process CMJ ended with the expected exit code (0) [2025-10-30T23:04:50.344Z] STF 16:04:49.963 - Created modular jar: 5.com.test.jar [2025-10-30T23:04:50.344Z] STF 16:04:49.963 - [2025-10-30T23:04:50.344Z] STF 16:04:49.963 - +------ Step 6 - Create runtime image for PatchModule test [2025-10-30T23:04:50.344Z] STF 16:04:49.963 - | Run jlink to create runtime image [2025-10-30T23:04:50.344Z] STF 16:04:49.963 - | ImageName: XpJVM [2025-10-30T23:04:50.344Z] STF 16:04:49.963 - | [2025-10-30T23:04:50.344Z] STF 16:04:49.963 - Running command: /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17618653838338/PatModImg_AppMod_1/20251030-160444-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17618653838338/PatModImg_AppMod_1/20251030-160444-PatModImgTest/tmp/6.XpJVM [2025-10-30T23:04:50.344Z] STF 16:04:49.963 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17618653838338/PatModImg_AppMod_1/20251030-160444-PatModImgTest/results/6.JLNK.stderr [2025-10-30T23:04:50.344Z] STF 16:04:49.963 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17618653838338/PatModImg_AppMod_1/20251030-160444-PatModImgTest/results/6.JLNK.stdout [2025-10-30T23:04:50.344Z] STF 16:04:49.965 - Monitoring processes: JLNK [2025-10-30T23:04:57.535Z] STF 16:04:56.166 - Monitoring Report Summary: [2025-10-30T23:04:57.535Z] STF 16:04:56.166 - o Process JLNK ended with the expected exit code (0) [2025-10-30T23:04:57.535Z] STF 16:04:56.167 - [2025-10-30T23:04:57.535Z] STF 16:04:56.167 - +------ Step 7 - Create com.hello jar [2025-10-30T23:04:57.535Z] STF 16:04:56.167 - | Create modular jar [2025-10-30T23:04:57.535Z] STF 16:04:56.167 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-10-30T23:04:57.535Z] STF 16:04:56.167 - | ModuleVersion: null [2025-10-30T23:04:57.535Z] STF 16:04:56.167 - | MainClass: null [2025-10-30T23:04:57.535Z] STF 16:04:56.167 - | HashModules: null [2025-10-30T23:04:57.535Z] STF 16:04:56.167 - | [2025-10-30T23:04:57.535Z] STF 16:04:56.167 - Running command: /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17618653838338/PatModImg_AppMod_1/20251030-160444-PatModImgTest/modules/7.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2025-10-30T23:04:57.535Z] STF 16:04:56.167 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17618653838338/PatModImg_AppMod_1/20251030-160444-PatModImgTest/results/7.CMJ.stderr [2025-10-30T23:04:57.535Z] STF 16:04:56.167 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17618653838338/PatModImg_AppMod_1/20251030-160444-PatModImgTest/results/7.CMJ.stdout [2025-10-30T23:04:57.535Z] STF 16:04:56.173 - Monitoring processes: CMJ [2025-10-30T23:04:59.186Z] STF 16:04:58.755 - Monitoring Report Summary: [2025-10-30T23:04:59.186Z] STF 16:04:58.756 - o Process CMJ ended with the expected exit code (0) [2025-10-30T23:04:59.186Z] STF 16:04:58.756 - Created modular jar: 7.com.hello.jar [2025-10-30T23:04:59.186Z] STF 16:04:58.756 - [2025-10-30T23:04:59.186Z] STF 16:04:58.756 - +------ Step 8 - create java.xml.jar [2025-10-30T23:04:59.186Z] STF 16:04:58.756 - | Create modular jar [2025-10-30T23:04:59.186Z] STF 16:04:58.756 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-10-30T23:04:59.186Z] STF 16:04:58.756 - | ModuleVersion: null [2025-10-30T23:04:59.186Z] STF 16:04:58.756 - | MainClass: null [2025-10-30T23:04:59.186Z] STF 16:04:58.756 - | HashModules: null [2025-10-30T23:04:59.186Z] STF 16:04:58.756 - | [2025-10-30T23:04:59.186Z] STF 16:04:58.757 - Running command: /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17618653838338/PatModImg_AppMod_1/20251030-160444-PatModImgTest/modules/8.java.xml.jar -C /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2025-10-30T23:04:59.186Z] STF 16:04:58.757 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17618653838338/PatModImg_AppMod_1/20251030-160444-PatModImgTest/results/8.CMJ.stderr [2025-10-30T23:04:59.186Z] STF 16:04:58.757 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17618653838338/PatModImg_AppMod_1/20251030-160444-PatModImgTest/results/8.CMJ.stdout [2025-10-30T23:04:59.186Z] STF 16:04:58.761 - Monitoring processes: CMJ [2025-10-30T23:05:00.130Z] STF 16:04:59.535 - Monitoring Report Summary: [2025-10-30T23:05:00.130Z] STF 16:04:59.535 - o Process CMJ ended with the expected exit code (0) [2025-10-30T23:05:00.130Z] STF 16:04:59.535 - Created modular jar: 8.java.xml.jar [2025-10-30T23:05:00.130Z] STF 16:04:59.535 - [2025-10-30T23:05:00.130Z] STF 16:04:59.535 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2025-10-30T23:05:00.130Z] STF 16:04:59.535 - | Run foreground process [2025-10-30T23:05:00.130Z] STF 16:04:59.535 - | Program: /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17618653838338/PatModImg_AppMod_1/20251030-160444-PatModImgTest/tmp/6.XpJVM/bin/java [2025-10-30T23:05:00.130Z] STF 16:04:59.535 - | Mnemonic: OT21 [2025-10-30T23:05:00.130Z] STF 16:04:59.535 - | Echo: ECHO_ON [2025-10-30T23:05:00.130Z] STF 16:04:59.535 - | Expectation: CLEAN_RUN within 5m [2025-10-30T23:05:00.130Z] STF 16:04:59.535 - | [2025-10-30T23:05:00.130Z] STF 16:04:59.536 - Running command: /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17618653838338/PatModImg_AppMod_1/20251030-160444-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/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 [2025-10-30T23:05:00.130Z] STF 16:04:59.536 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17618653838338/PatModImg_AppMod_1/20251030-160444-PatModImgTest/results/9.OT21.stderr [2025-10-30T23:05:00.130Z] STF 16:04:59.536 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17618653838338/PatModImg_AppMod_1/20251030-160444-PatModImgTest/results/9.OT21.stdout [2025-10-30T23:05:00.130Z] STF 16:04:59.538 - Monitoring processes: OT21 [2025-10-30T23:05:04.818Z] OT21 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello [2025-10-30T23:05:04.818Z] OT21 JUnit version 4.12 [2025-10-30T23:05:04.818Z] OT21 . [2025-10-30T23:05:04.818Z] OT21 Time: 0.036 [2025-10-30T23:05:04.818Z] OT21 [2025-10-30T23:05:04.818Z] OT21 OK (1 test) [2025-10-30T23:05:04.818Z] OT21 [2025-10-30T23:05:05.257Z] STF 16:05:04.624 - Monitoring Report Summary: [2025-10-30T23:05:05.257Z] STF 16:05:04.624 - o Process OT21 ended with the expected exit code (0) [2025-10-30T23:05:05.257Z] STF 16:05:04.624 - [2025-10-30T23:05:05.257Z] STF 16:05:04.624 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2025-10-30T23:05:05.257Z] STF 16:05:04.624 - | Run foreground process [2025-10-30T23:05:05.257Z] STF 16:05:04.624 - | Program: /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17618653838338/PatModImg_AppMod_1/20251030-160444-PatModImgTest/tmp/6.XpJVM/bin/java [2025-10-30T23:05:05.257Z] STF 16:05:04.624 - | Mnemonic: OT22 [2025-10-30T23:05:05.257Z] STF 16:05:04.624 - | Echo: ECHO_ON [2025-10-30T23:05:05.257Z] STF 16:05:04.624 - | Expectation: CLEAN_RUN within 5m [2025-10-30T23:05:05.257Z] STF 16:05:04.624 - | [2025-10-30T23:05:05.257Z] STF 16:05:04.625 - Running command: /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17618653838338/PatModImg_AppMod_1/20251030-160444-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17618653838338/PatModImg_AppMod_1/20251030-160444-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 [2025-10-30T23:05:05.257Z] STF 16:05:04.625 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17618653838338/PatModImg_AppMod_1/20251030-160444-PatModImgTest/results/10.OT22.stderr [2025-10-30T23:05:05.257Z] STF 16:05:04.625 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17618653838338/PatModImg_AppMod_1/20251030-160444-PatModImgTest/results/10.OT22.stdout [2025-10-30T23:05:05.257Z] STF 16:05:04.627 - Monitoring processes: OT22 [2025-10-30T23:05:05.257Z] OT22 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17618653838338/PatModImg_AppMod_1/20251030-160444-PatModImgTest/modules/7.com.hello.jar [2025-10-30T23:05:05.257Z] OT22 JUnit version 4.12 [2025-10-30T23:05:05.646Z] OT22 . [2025-10-30T23:05:05.646Z] OT22 Time: 0.054 [2025-10-30T23:05:05.646Z] OT22 [2025-10-30T23:05:05.646Z] OT22 OK (1 test) [2025-10-30T23:05:05.646Z] OT22 [2025-10-30T23:05:05.646Z] STF 16:05:05.314 - Monitoring Report Summary: [2025-10-30T23:05:05.646Z] STF 16:05:05.314 - o Process OT22 ended with the expected exit code (0) [2025-10-30T23:05:05.646Z] STF 16:05:05.314 - EXECUTE stage completed [2025-10-30T23:05:05.646Z] STF 16:05:05.399 - [2025-10-30T23:05:05.646Z] STF 16:05:05.400 - ==================== T E A R D O W N ==================== [2025-10-30T23:05:05.646Z] STF 16:05:05.400 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk26_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17618653838338/PatModImg_AppMod_1/20251030-160444-PatModImgTest/tearDown.pl [2025-10-30T23:05:06.221Z] STF 16:05:05.552 - TEARDOWN stage completed [2025-10-30T23:05:06.221Z] STF 16:05:05.585 - [2025-10-30T23:05:06.221Z] STF 16:05:05.585 - ===================== R E S U L T S ===================== [2025-10-30T23:05:06.221Z] STF 16:05:05.586 - Stage results: [2025-10-30T23:05:06.221Z] STF 16:05:05.586 - setUp: pass [2025-10-30T23:05:06.221Z] STF 16:05:05.586 - execute: pass [2025-10-30T23:05:06.221Z] STF 16:05:05.586 - teardown: pass [2025-10-30T23:05:06.221Z] STF 16:05:05.586 - [2025-10-30T23:05:06.221Z] STF 16:05:05.586 - Overall result: PASSED [2025-10-30T23:05:06.221Z] ----------------------------------- [2025-10-30T23:05:06.221Z] PatModImg_AppMod_1_PASSED [2025-10-30T23:05:06.221Z] ----------------------------------- [2025-10-30T23:05:06.701Z] [2025-10-30T23:05:06.701Z] TEST TEARDOWN: [2025-10-30T23:05:06.701Z] Nothing to be done for teardown. [2025-10-30T23:05:07.094Z] PatModImg_AppMod_1 Finish Time: Thu Oct 30 16:05:06 2025 Epoch Time (ms): 1761865506616