PatModImg_PlatMod_1

[2026-03-05T02:51:44.107Z] Running test PatModImg_PlatMod_1 ... [2026-03-05T02:51:44.107Z] =============================================== [2026-03-05T02:51:44.107Z] PatModImg_PlatMod_1 Start Time: Wed Mar 4 21:51:43 2026 Epoch Time (ms): 1772679103740 [2026-03-05T02:51:44.107Z] variation: Mode650 [2026-03-05T02:51:44.107Z] JVM_OPTIONS: -XX:-UseCompressedOops [2026-03-05T02:51:44.107Z] { \ [2026-03-05T02:51:44.107Z] echo ""; echo "TEST SETUP:"; \ [2026-03-05T02:51:44.107Z] echo "Nothing to be done for setup."; \ [2026-03-05T02:51:44.107Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_177267627411/PatModImg_PlatMod_1"; \ [2026-03-05T02:51:44.107Z] cd "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_177267627411/PatModImg_PlatMod_1"; \ [2026-03-05T02:51:44.107Z] echo ""; echo "TESTING:"; \ [2026-03-05T02:51:44.107Z] perl /Users/admin/workspace/workspace/Test_openjdk21_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_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/../../externalDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_177267627411/PatModImg_PlatMod_1" -test=PatModImgTest -test-args="variant=PlatMod"; \ [2026-03-05T02:51:44.107Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_PlatMod_1""_PASSED"; echo "-----------------------------------"; cd /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/..; rm -f -r "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_177267627411/PatModImg_PlatMod_1"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2026-03-05T02:51:44.107Z] echo ""; echo "TEST TEARDOWN:"; \ [2026-03-05T02:51:44.107Z] echo "Nothing to be done for teardown."; \ [2026-03-05T02:51:44.107Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_177267627411/TestTargetResult"; [2026-03-05T02:51:44.107Z] [2026-03-05T02:51:44.107Z] TEST SETUP: [2026-03-05T02:51:44.107Z] Nothing to be done for setup. [2026-03-05T02:51:44.108Z] [2026-03-05T02:51:44.108Z] TESTING: [2026-03-05T02:51:44.523Z] STF 21:51:44.135 - ========================= S T F ========================= [2026-03-05T02:51:44.523Z] 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_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_177267627411/PatModImg_PlatMod_1 [2026-03-05T02:51:44.523Z] There is 12336 Mb free [2026-03-05T02:51:44.523Z] STF 21:51:44.155 - ================== G E N E R A T I O N ================== [2026-03-05T02:51:44.523Z] STF 21:51:44.157 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2026-03-05T02:51:44.523Z] STF 21:51:44.157 - Starting process to generate scripts: /Users/admin/workspace/workspace/Test_openjdk21_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_openjdk21_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_openjdk21_hs_sanity.system_x86-64_mac_testList_1/../../externalDependency/system_lib//asm/asm.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/../../externalDependency/system_lib//asm/asm-commons.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/../../externalDependency/system_lib//log4j/log4j-api.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/../../externalDependency/system_lib//log4j/log4j-core.jar:/Users/admin/workspace/workspace/Test_openjdk21_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_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_177267627411/PatModImg_PlatMod_1/20260304-215144-PatModImgTest/stf_parameters.properties, , /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_177267627411/PatModImg_PlatMod_1/20260304-215144-PatModImgTest" [2026-03-05T02:51:44.523Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-03-05T02:51:48.631Z] GEN 21:51:47.612 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2026-03-05T02:51:48.631Z] GEN 21:51:47.981 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2026-03-05T02:51:49.160Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2026-03-05T02:51:49.160Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2026-03-05T02:51:49.160Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2026-03-05T02:51:49.160Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2026-03-05T02:51:49.160Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2026-03-05T02:51:49.160Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2026-03-05T02:51:49.160Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2026-03-05T02:51:49.160Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2026-03-05T02:51:49.160Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2026-03-05T02:51:49.160Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2026-03-05T02:51:49.160Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2026-03-05T02:51:49.160Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2026-03-05T02:51:49.160Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2026-03-05T02:51:49.160Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2026-03-05T02:51:49.160Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2026-03-05T02:51:49.160Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2026-03-05T02:51:49.160Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/bin [2026-03-05T02:51:49.160Z] GEN /Users/admin/workspace/externalDependency/system_lib/log4j/log4j-api.jar [2026-03-05T02:51:49.160Z] GEN /Users/admin/workspace/externalDependency/system_lib/log4j/log4j-core.jar [2026-03-05T02:51:49.160Z] GEN /Users/admin/workspace/externalDependency/system_lib/junit/junit.jar [2026-03-05T02:51:49.160Z] GEN 21:51:48.638 - Using Mode NoOptions. Values = '' [2026-03-05T02:51:49.160Z] GEN 21:51:48.905 - [2026-03-05T02:51:49.160Z] GEN 21:51:48.905 - Test command summary: [2026-03-05T02:51:49.160Z] GEN 21:51:48.905 - Step Stage Command Description [2026-03-05T02:51:49.160Z] GEN 21:51:48.905 - -----+--------+-----------------+------------ [2026-03-05T02:51:49.160Z] GEN 21:51:48.906 - 1 execute jar Create com.hello jar [2026-03-05T02:51:49.160Z] GEN 21:51:48.906 - 2 execute jar Create com.hola jar [2026-03-05T02:51:49.160Z] GEN 21:51:48.906 - 3 execute jar Create com.helper jar [2026-03-05T02:51:49.160Z] GEN 21:51:48.906 - 4 execute jar Create com.discreet jar [2026-03-05T02:51:49.160Z] GEN 21:51:48.906 - 5 execute jar Create tests jar [2026-03-05T02:51:49.160Z] GEN 21:51:48.906 - 6 execute jlink Create runtime image for PatchModule test [2026-03-05T02:51:49.160Z] GEN 21:51:48.906 - 7 execute jar Create com.hello jar [2026-03-05T02:51:49.160Z] GEN 21:51:48.906 - 8 execute jar create java.xml.jar [2026-03-05T02:51:49.160Z] GEN 21:51:48.906 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory [2026-03-05T02:51:49.160Z] GEN 21:51:48.906 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar [2026-03-05T02:51:49.617Z] STF 21:51:49.043 - [2026-03-05T02:51:49.617Z] STF 21:51:49.043 - Script generation completed [2026-03-05T02:51:49.617Z] STF 21:51:49.043 - [2026-03-05T02:51:49.617Z] STF 21:51:49.044 - [2026-03-05T02:51:49.617Z] STF 21:51:49.044 - ======================= S E T U P ======================= [2026-03-05T02:51:49.617Z] STF 21:51:49.044 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_177267627411/PatModImg_PlatMod_1/20260304-215144-PatModImgTest/setUp.pl [2026-03-05T02:51:49.617Z] STF 21:51:49.230 - SETUP stage completed [2026-03-05T02:51:49.617Z] STF 21:51:49.248 - [2026-03-05T02:51:49.617Z] STF 21:51:49.248 - ==================== E X E C U T E - ==================== [2026-03-05T02:51:49.617Z] STF 21:51:49.248 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_177267627411/PatModImg_PlatMod_1/20260304-215144-PatModImgTest/execute.pl [2026-03-05T02:51:49.617Z] STF 21:51:49.400 - [2026-03-05T02:51:49.617Z] STF 21:51:49.400 - Java version [2026-03-05T02:51:49.617Z] STF 21:51:49.400 - Running: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2026-03-05T02:51:50.254Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-03-05T02:51:50.668Z] STF 21:51:50.333 - [2026-03-05T02:51:50.669Z] STF 21:51:50.333 - +------ Step 1 - Create com.hello jar [2026-03-05T02:51:50.669Z] STF 21:51:50.333 - | Create modular jar [2026-03-05T02:51:50.669Z] STF 21:51:50.333 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2026-03-05T02:51:50.669Z] STF 21:51:50.333 - | ModuleVersion: null [2026-03-05T02:51:50.669Z] STF 21:51:50.333 - | MainClass: null [2026-03-05T02:51:50.669Z] STF 21:51:50.333 - | HashModules: null [2026-03-05T02:51:50.669Z] STF 21:51:50.333 - | [2026-03-05T02:51:50.669Z] STF 21:51:50.334 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_177267627411/PatModImg_PlatMod_1/20260304-215144-PatModImgTest/modules/1.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2026-03-05T02:51:50.669Z] STF 21:51:50.334 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_177267627411/PatModImg_PlatMod_1/20260304-215144-PatModImgTest/results/1.CMJ.stderr [2026-03-05T02:51:50.669Z] STF 21:51:50.334 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_177267627411/PatModImg_PlatMod_1/20260304-215144-PatModImgTest/results/1.CMJ.stdout [2026-03-05T02:51:50.669Z] STF 21:51:50.350 - Monitoring processes: CMJ [2026-03-05T02:51:50.669Z] openjdk version "21.0.11-beta" 2026-04-21 [2026-03-05T02:51:50.669Z] OpenJDK Runtime Environment Temurin-21.0.11+5-202603042003 (build 21.0.11-beta+5-ea) [2026-03-05T02:51:50.669Z] OpenJDK 64-Bit Server VM Temurin-21.0.11+5-202603042003 (build 21.0.11-beta+5-ea, mixed mode) [2026-03-05T02:51:51.125Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-03-05T02:51:51.556Z] STF 21:51:51.259 - Monitoring Report Summary: [2026-03-05T02:51:51.556Z] STF 21:51:51.259 - o Process CMJ ended with the expected exit code (0) [2026-03-05T02:51:51.556Z] STF 21:51:51.259 - Created modular jar: 1.com.hello.jar [2026-03-05T02:51:51.556Z] STF 21:51:51.259 - [2026-03-05T02:51:51.556Z] STF 21:51:51.259 - +------ Step 2 - Create com.hola jar [2026-03-05T02:51:51.556Z] STF 21:51:51.259 - | Create modular jar [2026-03-05T02:51:51.556Z] STF 21:51:51.259 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2026-03-05T02:51:51.556Z] STF 21:51:51.259 - | ModuleVersion: null [2026-03-05T02:51:51.556Z] STF 21:51:51.259 - | MainClass: null [2026-03-05T02:51:51.556Z] STF 21:51:51.259 - | HashModules: null [2026-03-05T02:51:51.556Z] STF 21:51:51.259 - | [2026-03-05T02:51:51.556Z] STF 21:51:51.259 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_177267627411/PatModImg_PlatMod_1/20260304-215144-PatModImgTest/modules/2.com.hola.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2026-03-05T02:51:51.556Z] STF 21:51:51.259 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_177267627411/PatModImg_PlatMod_1/20260304-215144-PatModImgTest/results/2.CMJ.stderr [2026-03-05T02:51:51.556Z] STF 21:51:51.259 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_177267627411/PatModImg_PlatMod_1/20260304-215144-PatModImgTest/results/2.CMJ.stdout [2026-03-05T02:51:51.556Z] STF 21:51:51.262 - Monitoring processes: CMJ [2026-03-05T02:51:51.556Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-03-05T02:51:52.860Z] STF 21:51:51.985 - Monitoring Report Summary: [2026-03-05T02:51:52.860Z] STF 21:51:51.985 - o Process CMJ ended with the expected exit code (0) [2026-03-05T02:51:52.860Z] STF 21:51:51.985 - Created modular jar: 2.com.hola.jar [2026-03-05T02:51:52.860Z] STF 21:51:51.985 - [2026-03-05T02:51:52.860Z] STF 21:51:51.985 - +------ Step 3 - Create com.helper jar [2026-03-05T02:51:52.861Z] STF 21:51:51.985 - | Create modular jar [2026-03-05T02:51:52.861Z] STF 21:51:51.985 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2026-03-05T02:51:52.861Z] STF 21:51:51.985 - | ModuleVersion: null [2026-03-05T02:51:52.861Z] STF 21:51:51.985 - | MainClass: null [2026-03-05T02:51:52.861Z] STF 21:51:51.985 - | HashModules: null [2026-03-05T02:51:52.861Z] STF 21:51:51.985 - | [2026-03-05T02:51:52.861Z] STF 21:51:51.985 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_177267627411/PatModImg_PlatMod_1/20260304-215144-PatModImgTest/modules/3.com.helper.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2026-03-05T02:51:52.861Z] STF 21:51:51.986 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_177267627411/PatModImg_PlatMod_1/20260304-215144-PatModImgTest/results/3.CMJ.stderr [2026-03-05T02:51:52.861Z] STF 21:51:51.986 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_177267627411/PatModImg_PlatMod_1/20260304-215144-PatModImgTest/results/3.CMJ.stdout [2026-03-05T02:51:52.861Z] STF 21:51:51.989 - Monitoring processes: CMJ [2026-03-05T02:51:52.861Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-03-05T02:51:54.514Z] STF 21:51:53.762 - Monitoring Report Summary: [2026-03-05T02:51:54.514Z] STF 21:51:53.762 - o Process CMJ ended with the expected exit code (0) [2026-03-05T02:51:54.514Z] STF 21:51:53.763 - Created modular jar: 3.com.helper.jar [2026-03-05T02:51:54.514Z] STF 21:51:53.763 - [2026-03-05T02:51:54.514Z] STF 21:51:53.763 - +------ Step 4 - Create com.discreet jar [2026-03-05T02:51:54.514Z] STF 21:51:53.763 - | Create modular jar [2026-03-05T02:51:54.514Z] STF 21:51:53.763 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2026-03-05T02:51:54.514Z] STF 21:51:53.763 - | ModuleVersion: null [2026-03-05T02:51:54.514Z] STF 21:51:53.763 - | MainClass: null [2026-03-05T02:51:54.514Z] STF 21:51:53.763 - | HashModules: null [2026-03-05T02:51:54.514Z] STF 21:51:53.763 - | [2026-03-05T02:51:54.515Z] STF 21:51:53.763 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_177267627411/PatModImg_PlatMod_1/20260304-215144-PatModImgTest/modules/4.com.discreet.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2026-03-05T02:51:54.515Z] STF 21:51:53.763 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_177267627411/PatModImg_PlatMod_1/20260304-215144-PatModImgTest/results/4.CMJ.stderr [2026-03-05T02:51:54.515Z] STF 21:51:53.763 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_177267627411/PatModImg_PlatMod_1/20260304-215144-PatModImgTest/results/4.CMJ.stdout [2026-03-05T02:51:54.515Z] STF 21:51:53.778 - Monitoring processes: CMJ [2026-03-05T02:51:54.515Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-03-05T02:51:54.986Z] STF 21:51:54.686 - Monitoring Report Summary: [2026-03-05T02:51:54.986Z] STF 21:51:54.686 - o Process CMJ ended with the expected exit code (0) [2026-03-05T02:51:54.986Z] STF 21:51:54.686 - Created modular jar: 4.com.discreet.jar [2026-03-05T02:51:54.986Z] STF 21:51:54.686 - [2026-03-05T02:51:54.986Z] STF 21:51:54.686 - +------ Step 5 - Create tests jar [2026-03-05T02:51:54.986Z] STF 21:51:54.686 - | Create modular jar [2026-03-05T02:51:54.986Z] STF 21:51:54.686 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2026-03-05T02:51:54.986Z] STF 21:51:54.687 - | ModuleVersion: null [2026-03-05T02:51:54.986Z] STF 21:51:54.687 - | MainClass: null [2026-03-05T02:51:54.986Z] STF 21:51:54.687 - | HashModules: null [2026-03-05T02:51:54.986Z] STF 21:51:54.687 - | [2026-03-05T02:51:54.986Z] STF 21:51:54.687 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_177267627411/PatModImg_PlatMod_1/20260304-215144-PatModImgTest/modules/5.com.test.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2026-03-05T02:51:54.986Z] STF 21:51:54.687 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_177267627411/PatModImg_PlatMod_1/20260304-215144-PatModImgTest/results/5.CMJ.stderr [2026-03-05T02:51:54.986Z] STF 21:51:54.687 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_177267627411/PatModImg_PlatMod_1/20260304-215144-PatModImgTest/results/5.CMJ.stdout [2026-03-05T02:51:54.986Z] STF 21:51:54.699 - Monitoring processes: CMJ [2026-03-05T02:51:54.986Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-03-05T02:51:56.059Z] STF 21:51:55.845 - Monitoring Report Summary: [2026-03-05T02:51:56.059Z] STF 21:51:55.845 - o Process CMJ ended with the expected exit code (0) [2026-03-05T02:51:56.059Z] STF 21:51:55.845 - Created modular jar: 5.com.test.jar [2026-03-05T02:51:56.059Z] STF 21:51:55.845 - [2026-03-05T02:51:56.059Z] STF 21:51:55.845 - +------ Step 6 - Create runtime image for PatchModule test [2026-03-05T02:51:56.059Z] STF 21:51:55.845 - | Run jlink to create runtime image [2026-03-05T02:51:56.059Z] STF 21:51:55.845 - | ImageName: XpJVM [2026-03-05T02:51:56.059Z] STF 21:51:55.845 - | [2026-03-05T02:51:56.059Z] STF 21:51:55.845 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_177267627411/PatModImg_PlatMod_1/20260304-215144-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_177267627411/PatModImg_PlatMod_1/20260304-215144-PatModImgTest/tmp/6.XpJVM [2026-03-05T02:51:56.059Z] STF 21:51:55.845 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_177267627411/PatModImg_PlatMod_1/20260304-215144-PatModImgTest/results/6.JLNK.stderr [2026-03-05T02:51:56.059Z] STF 21:51:55.845 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_177267627411/PatModImg_PlatMod_1/20260304-215144-PatModImgTest/results/6.JLNK.stdout [2026-03-05T02:51:56.059Z] STF 21:51:55.848 - Monitoring processes: JLNK [2026-03-05T02:51:56.568Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-03-05T02:52:05.673Z] STF 21:52:05.419 - Monitoring Report Summary: [2026-03-05T02:52:05.673Z] STF 21:52:05.420 - o Process JLNK ended with the expected exit code (0) [2026-03-05T02:52:05.673Z] STF 21:52:05.420 - [2026-03-05T02:52:05.673Z] STF 21:52:05.420 - +------ Step 7 - Create com.hello jar [2026-03-05T02:52:05.673Z] STF 21:52:05.420 - | Create modular jar [2026-03-05T02:52:05.673Z] STF 21:52:05.420 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2026-03-05T02:52:05.673Z] STF 21:52:05.420 - | ModuleVersion: null [2026-03-05T02:52:05.673Z] STF 21:52:05.420 - | MainClass: null [2026-03-05T02:52:05.673Z] STF 21:52:05.420 - | HashModules: null [2026-03-05T02:52:05.673Z] STF 21:52:05.420 - | [2026-03-05T02:52:05.673Z] STF 21:52:05.420 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_177267627411/PatModImg_PlatMod_1/20260304-215144-PatModImgTest/modules/7.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2026-03-05T02:52:05.673Z] STF 21:52:05.420 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_177267627411/PatModImg_PlatMod_1/20260304-215144-PatModImgTest/results/7.CMJ.stderr [2026-03-05T02:52:05.673Z] STF 21:52:05.420 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_177267627411/PatModImg_PlatMod_1/20260304-215144-PatModImgTest/results/7.CMJ.stdout [2026-03-05T02:52:05.673Z] STF 21:52:05.423 - Monitoring processes: CMJ [2026-03-05T02:52:06.236Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-03-05T02:52:08.046Z] STF 21:52:07.341 - Monitoring Report Summary: [2026-03-05T02:52:08.046Z] STF 21:52:07.341 - o Process CMJ ended with the expected exit code (0) [2026-03-05T02:52:08.046Z] STF 21:52:07.341 - Created modular jar: 7.com.hello.jar [2026-03-05T02:52:08.046Z] STF 21:52:07.341 - [2026-03-05T02:52:08.046Z] STF 21:52:07.341 - +------ Step 8 - create java.xml.jar [2026-03-05T02:52:08.046Z] STF 21:52:07.341 - | Create modular jar [2026-03-05T02:52:08.046Z] STF 21:52:07.341 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2026-03-05T02:52:08.046Z] STF 21:52:07.341 - | ModuleVersion: null [2026-03-05T02:52:08.046Z] STF 21:52:07.341 - | MainClass: null [2026-03-05T02:52:08.046Z] STF 21:52:07.341 - | HashModules: null [2026-03-05T02:52:08.046Z] STF 21:52:07.341 - | [2026-03-05T02:52:08.046Z] STF 21:52:07.341 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_177267627411/PatModImg_PlatMod_1/20260304-215144-PatModImgTest/modules/8.java.xml.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2026-03-05T02:52:08.046Z] STF 21:52:07.341 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_177267627411/PatModImg_PlatMod_1/20260304-215144-PatModImgTest/results/8.CMJ.stderr [2026-03-05T02:52:08.046Z] STF 21:52:07.342 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_177267627411/PatModImg_PlatMod_1/20260304-215144-PatModImgTest/results/8.CMJ.stdout [2026-03-05T02:52:08.046Z] STF 21:52:07.346 - Monitoring processes: CMJ [2026-03-05T02:52:08.046Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-03-05T02:52:09.123Z] STF 21:52:08.824 - Monitoring Report Summary: [2026-03-05T02:52:09.123Z] STF 21:52:08.824 - o Process CMJ ended with the expected exit code (0) [2026-03-05T02:52:09.123Z] STF 21:52:08.824 - Created modular jar: 8.java.xml.jar [2026-03-05T02:52:09.123Z] STF 21:52:08.824 - [2026-03-05T02:52:09.123Z] STF 21:52:08.824 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory [2026-03-05T02:52:09.123Z] STF 21:52:08.824 - | Run foreground process [2026-03-05T02:52:09.123Z] STF 21:52:08.824 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_177267627411/PatModImg_PlatMod_1/20260304-215144-PatModImgTest/tmp/6.XpJVM/bin/java [2026-03-05T02:52:09.123Z] STF 21:52:08.824 - | Mnemonic: OT11 [2026-03-05T02:52:09.123Z] STF 21:52:08.824 - | Echo: ECHO_ON [2026-03-05T02:52:09.123Z] STF 21:52:08.824 - | Expectation: CLEAN_RUN within 5m [2026-03-05T02:52:09.123Z] STF 21:52:08.824 - | [2026-03-05T02:52:09.123Z] STF 21:52:08.824 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_177267627411/PatModImg_PlatMod_1/20260304-215144-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml -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.TestOverrideUsingUpgradablePlatformModule [2026-03-05T02:52:09.123Z] STF 21:52:08.824 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_177267627411/PatModImg_PlatMod_1/20260304-215144-PatModImgTest/results/9.OT11.stderr [2026-03-05T02:52:09.123Z] STF 21:52:08.824 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_177267627411/PatModImg_PlatMod_1/20260304-215144-PatModImgTest/results/9.OT11.stdout [2026-03-05T02:52:09.123Z] STF 21:52:08.827 - Monitoring processes: OT11 [2026-03-05T02:52:15.411Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-03-05T02:52:21.368Z] OT11 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml [2026-03-05T02:52:23.518Z] OT11 JUnit version 4.12 [2026-03-05T02:52:24.034Z] OT11 . [2026-03-05T02:52:24.034Z] OT11 Time: 0.035 [2026-03-05T02:52:24.034Z] OT11 [2026-03-05T02:52:24.034Z] OT11 OK (1 test) [2026-03-05T02:52:24.034Z] OT11 [2026-03-05T02:52:24.034Z] STF 21:52:23.510 - Monitoring Report Summary: [2026-03-05T02:52:24.034Z] STF 21:52:23.510 - o Process OT11 ended with the expected exit code (0) [2026-03-05T02:52:24.034Z] STF 21:52:23.510 - [2026-03-05T02:52:24.034Z] STF 21:52:23.510 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar [2026-03-05T02:52:24.034Z] STF 21:52:23.510 - | Run foreground process [2026-03-05T02:52:24.034Z] STF 21:52:23.510 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_177267627411/PatModImg_PlatMod_1/20260304-215144-PatModImgTest/tmp/6.XpJVM/bin/java [2026-03-05T02:52:24.034Z] STF 21:52:23.510 - | Mnemonic: OT12 [2026-03-05T02:52:24.034Z] STF 21:52:23.510 - | Echo: ECHO_ON [2026-03-05T02:52:24.034Z] STF 21:52:23.510 - | Expectation: CLEAN_RUN within 5m [2026-03-05T02:52:24.034Z] STF 21:52:23.510 - | [2026-03-05T02:52:24.034Z] STF 21:52:23.510 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_177267627411/PatModImg_PlatMod_1/20260304-215144-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_177267627411/PatModImg_PlatMod_1/20260304-215144-PatModImgTest/modules/8.java.xml.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.TestOverrideUsingUpgradablePlatformModule [2026-03-05T02:52:24.034Z] STF 21:52:23.510 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_177267627411/PatModImg_PlatMod_1/20260304-215144-PatModImgTest/results/10.OT12.stderr [2026-03-05T02:52:24.035Z] STF 21:52:23.510 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_177267627411/PatModImg_PlatMod_1/20260304-215144-PatModImgTest/results/10.OT12.stdout [2026-03-05T02:52:24.035Z] STF 21:52:23.513 - Monitoring processes: OT12 [2026-03-05T02:52:24.035Z] OT12 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-03-05T02:52:24.419Z] OT12 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_177267627411/PatModImg_PlatMod_1/20260304-215144-PatModImgTest/modules/8.java.xml.jar [2026-03-05T02:52:24.419Z] OT12 JUnit version 4.12 [2026-03-05T02:52:24.952Z] OT12 . [2026-03-05T02:52:24.952Z] OT12 Time: 0.004 [2026-03-05T02:52:24.952Z] OT12 [2026-03-05T02:52:24.952Z] OT12 OK (1 test) [2026-03-05T02:52:24.952Z] OT12 [2026-03-05T02:52:24.952Z] STF 21:52:24.276 - Monitoring Report Summary: [2026-03-05T02:52:24.952Z] STF 21:52:24.276 - o Process OT12 ended with the expected exit code (0) [2026-03-05T02:52:24.952Z] STF 21:52:24.277 - EXECUTE stage completed [2026-03-05T02:52:24.952Z] STF 21:52:24.413 - [2026-03-05T02:52:24.952Z] STF 21:52:24.413 - ==================== T E A R D O W N ==================== [2026-03-05T02:52:24.952Z] STF 21:52:24.413 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_177267627411/PatModImg_PlatMod_1/20260304-215144-PatModImgTest/tearDown.pl [2026-03-05T02:52:24.952Z] STF 21:52:24.605 - TEARDOWN stage completed [2026-03-05T02:52:24.952Z] STF 21:52:24.618 - [2026-03-05T02:52:24.952Z] STF 21:52:24.618 - ===================== R E S U L T S ===================== [2026-03-05T02:52:24.952Z] STF 21:52:24.618 - Stage results: [2026-03-05T02:52:24.952Z] STF 21:52:24.618 - setUp: pass [2026-03-05T02:52:24.952Z] STF 21:52:24.618 - execute: pass [2026-03-05T02:52:24.952Z] STF 21:52:24.618 - teardown: pass [2026-03-05T02:52:24.952Z] STF 21:52:24.618 - [2026-03-05T02:52:24.952Z] STF 21:52:24.618 - Overall result: PASSED [2026-03-05T02:52:24.952Z] ----------------------------------- [2026-03-05T02:52:24.952Z] PatModImg_PlatMod_1_PASSED [2026-03-05T02:52:24.952Z] ----------------------------------- [2026-03-05T02:52:25.457Z] [2026-03-05T02:52:25.457Z] TEST TEARDOWN: [2026-03-05T02:52:25.457Z] Nothing to be done for teardown. [2026-03-05T02:52:25.860Z] PatModImg_PlatMod_1 Finish Time: Wed Mar 4 21:52:25 2026 Epoch Time (ms): 1772679145406