PatMod_PlatMod_0

[2026-01-16T15:23:03.958Z] Running test PatMod_PlatMod_0 ... [2026-01-16T15:23:03.958Z] =============================================== [2026-01-16T15:23:03.958Z] PatMod_PlatMod_0 Start Time: Fri Jan 16 10:23:03 2026 Epoch Time (ms): 1768576983776 [2026-01-16T15:23:03.958Z] variation: Mode150 [2026-01-16T15:23:03.958Z] JVM_OPTIONS: -XX:+UseCompressedOops [2026-01-16T15:23:04.463Z] { \ [2026-01-16T15:23:04.463Z] echo ""; echo "TEST SETUP:"; \ [2026-01-16T15:23:04.463Z] echo "Nothing to be done for setup."; \ [2026-01-16T15:23:04.463Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17685767197176/PatMod_PlatMod_0"; \ [2026-01-16T15:23:04.463Z] cd "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17685767197176/PatMod_PlatMod_0"; \ [2026-01-16T15:23:04.463Z] echo ""; echo "TESTING:"; \ [2026-01-16T15:23:04.463Z] perl /Users/admin/workspace/workspace/Test_openjdk21_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_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/../../externalDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17685767197176/PatMod_PlatMod_0" -test=PatModTest -test-args="variant=PlatMod"; \ [2026-01-16T15:23:04.463Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatMod_PlatMod_0""_PASSED"; echo "-----------------------------------"; cd /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/..; rm -f -r "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17685767197176/PatMod_PlatMod_0"; else echo "-----------------------------------"; echo "PatMod_PlatMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2026-01-16T15:23:04.463Z] echo ""; echo "TEST TEARDOWN:"; \ [2026-01-16T15:23:04.463Z] echo "Nothing to be done for teardown."; \ [2026-01-16T15:23:04.463Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17685767197176/TestTargetResult"; [2026-01-16T15:23:04.463Z] [2026-01-16T15:23:04.463Z] TEST SETUP: [2026-01-16T15:23:04.463Z] Nothing to be done for setup. [2026-01-16T15:23:04.463Z] [2026-01-16T15:23:04.463Z] TESTING: [2026-01-16T15:23:04.463Z] STF 10:23:04.032 - ========================= S T F ========================= [2026-01-16T15:23:04.463Z] 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_0/aqa-tests/TKG/../TKG/output_17685767197176/PatMod_PlatMod_0 [2026-01-16T15:23:04.463Z] There is 14891 Mb free [2026-01-16T15:23:04.463Z] STF 10:23:04.045 - ================== G E N E R A T I O N ================== [2026-01-16T15:23:04.463Z] STF 10:23:04.046 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2026-01-16T15:23:04.463Z] STF 10:23:04.046 - Starting process to generate scripts: /Users/admin/workspace/workspace/Test_openjdk21_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_openjdk21_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_openjdk21_hs_sanity.system_x86-64_mac_testList_0/../../externalDependency/system_lib//asm/asm.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/../../externalDependency/system_lib//asm/asm-commons.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/../../externalDependency/system_lib//log4j/log4j-api.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/../../externalDependency/system_lib//log4j/log4j-core.jar:/Users/admin/workspace/workspace/Test_openjdk21_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_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17685767197176/PatMod_PlatMod_0/20260116-102304-PatModTest/stf_parameters.properties, , /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17685767197176/PatMod_PlatMod_0/20260116-102304-PatModTest" [2026-01-16T15:23:04.463Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-16T15:23:07.736Z] GEN 10:23:07.270 - Found test. Project: 'openjdk.test.modularity' class: 'PatModTest.class' Dir: '/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2026-01-16T15:23:07.736Z] GEN 10:23:07.361 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModTest' [2026-01-16T15:23:08.181Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2026-01-16T15:23:08.181Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2026-01-16T15:23:08.181Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2026-01-16T15:23:08.181Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2026-01-16T15:23:08.181Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2026-01-16T15:23:08.181Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2026-01-16T15:23:08.181Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2026-01-16T15:23:08.181Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2026-01-16T15:23:08.181Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2026-01-16T15:23:08.181Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2026-01-16T15:23:08.181Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2026-01-16T15:23:08.181Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2026-01-16T15:23:08.181Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2026-01-16T15:23:08.181Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2026-01-16T15:23:08.181Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2026-01-16T15:23:08.181Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2026-01-16T15:23:08.181Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/STF/stf.core/bin [2026-01-16T15:23:08.181Z] GEN /Users/admin/workspace/externalDependency/system_lib/log4j/log4j-api.jar [2026-01-16T15:23:08.181Z] GEN /Users/admin/workspace/externalDependency/system_lib/log4j/log4j-core.jar [2026-01-16T15:23:08.182Z] GEN /Users/admin/workspace/externalDependency/system_lib/junit/junit.jar [2026-01-16T15:23:08.182Z] GEN 10:23:07.745 - Using Mode NoOptions. Values = '' [2026-01-16T15:23:08.182Z] GEN 10:23:07.861 - [2026-01-16T15:23:08.182Z] GEN 10:23:07.861 - Test command summary: [2026-01-16T15:23:08.182Z] GEN 10:23:07.862 - Step Stage Command Description [2026-01-16T15:23:08.182Z] GEN 10:23:07.862 - -----+--------+-----------------+------------ [2026-01-16T15:23:08.182Z] GEN 10:23:07.862 - 1 execute jar Create com.hello jar [2026-01-16T15:23:08.182Z] GEN 10:23:07.862 - 2 execute jar Create com.discreet jar [2026-01-16T15:23:08.182Z] GEN 10:23:07.862 - 3 execute jar create java.xml.jar [2026-01-16T15:23:08.182Z] GEN 10:23:07.862 - 4 execute Run java Verify if we can Patch an upgradable platform module using exploded directoryy [2026-01-16T15:23:08.182Z] GEN 10:23:07.862 - 5 execute Run java Verify if we can Patch an upgradable platform module using modular jar [2026-01-16T15:23:08.182Z] STF 10:23:07.943 - [2026-01-16T15:23:08.182Z] STF 10:23:07.943 - Script generation completed [2026-01-16T15:23:08.182Z] STF 10:23:07.943 - [2026-01-16T15:23:08.182Z] STF 10:23:07.944 - [2026-01-16T15:23:08.182Z] STF 10:23:07.944 - ======================= S E T U P ======================= [2026-01-16T15:23:08.182Z] STF 10:23:07.944 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17685767197176/PatMod_PlatMod_0/20260116-102304-PatModTest/setUp.pl [2026-01-16T15:23:08.668Z] STF 10:23:08.138 - SETUP stage completed [2026-01-16T15:23:08.668Z] STF 10:23:08.156 - [2026-01-16T15:23:08.668Z] STF 10:23:08.156 - ==================== E X E C U T E - ==================== [2026-01-16T15:23:08.668Z] STF 10:23:08.156 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17685767197176/PatMod_PlatMod_0/20260116-102304-PatModTest/execute.pl [2026-01-16T15:23:08.668Z] STF 10:23:08.467 - [2026-01-16T15:23:08.668Z] STF 10:23:08.467 - Java version [2026-01-16T15:23:08.668Z] STF 10:23:08.467 - Running: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2026-01-16T15:23:08.668Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-16T15:23:09.101Z] openjdk version "21.0.10" 2026-01-20 LTS [2026-01-16T15:23:09.101Z] OpenJDK Runtime Environment Temurin-21.0.10+6 (build 21.0.10+6-LTS) [2026-01-16T15:23:09.101Z] OpenJDK 64-Bit Server VM Temurin-21.0.10+6 (build 21.0.10+6-LTS, mixed mode) [2026-01-16T15:23:09.101Z] STF 10:23:08.886 - [2026-01-16T15:23:09.101Z] STF 10:23:08.886 - +------ Step 1 - Create com.hello jar [2026-01-16T15:23:09.101Z] STF 10:23:08.886 - | Create modular jar [2026-01-16T15:23:09.101Z] STF 10:23:08.886 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2026-01-16T15:23:09.101Z] STF 10:23:08.886 - | ModuleVersion: null [2026-01-16T15:23:09.101Z] STF 10:23:08.886 - | MainClass: null [2026-01-16T15:23:09.101Z] STF 10:23:08.886 - | HashModules: null [2026-01-16T15:23:09.101Z] STF 10:23:08.894 - | [2026-01-16T15:23:09.101Z] STF 10:23:08.895 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17685767197176/PatMod_PlatMod_0/20260116-102304-PatModTest/modules/1.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2026-01-16T15:23:09.101Z] STF 10:23:08.895 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17685767197176/PatMod_PlatMod_0/20260116-102304-PatModTest/results/1.CMJ.stderr [2026-01-16T15:23:09.101Z] STF 10:23:08.895 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17685767197176/PatMod_PlatMod_0/20260116-102304-PatModTest/results/1.CMJ.stdout [2026-01-16T15:23:09.101Z] STF 10:23:08.930 - Monitoring processes: CMJ [2026-01-16T15:23:09.692Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-16T15:23:11.412Z] STF 10:23:10.925 - Monitoring Report Summary: [2026-01-16T15:23:11.412Z] STF 10:23:10.926 - o Process CMJ ended with the expected exit code (0) [2026-01-16T15:23:11.412Z] STF 10:23:10.926 - Created modular jar: 1.com.hello.jar [2026-01-16T15:23:11.412Z] STF 10:23:10.926 - [2026-01-16T15:23:11.412Z] STF 10:23:10.926 - +------ Step 2 - Create com.discreet jar [2026-01-16T15:23:11.412Z] STF 10:23:10.926 - | Create modular jar [2026-01-16T15:23:11.412Z] STF 10:23:10.926 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.discreet [2026-01-16T15:23:11.412Z] STF 10:23:10.926 - | ModuleVersion: null [2026-01-16T15:23:11.412Z] STF 10:23:10.926 - | MainClass: null [2026-01-16T15:23:11.412Z] STF 10:23:10.926 - | HashModules: null [2026-01-16T15:23:11.412Z] STF 10:23:10.926 - | [2026-01-16T15:23:11.412Z] STF 10:23:10.926 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17685767197176/PatMod_PlatMod_0/20260116-102304-PatModTest/modules/2.com.discreet.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.discreet . [2026-01-16T15:23:11.412Z] STF 10:23:10.926 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17685767197176/PatMod_PlatMod_0/20260116-102304-PatModTest/results/2.CMJ.stderr [2026-01-16T15:23:11.412Z] STF 10:23:10.926 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17685767197176/PatMod_PlatMod_0/20260116-102304-PatModTest/results/2.CMJ.stdout [2026-01-16T15:23:11.412Z] STF 10:23:10.929 - Monitoring processes: CMJ [2026-01-16T15:23:11.412Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-16T15:23:12.432Z] STF 10:23:11.818 - Monitoring Report Summary: [2026-01-16T15:23:12.432Z] STF 10:23:11.818 - o Process CMJ ended with the expected exit code (0) [2026-01-16T15:23:12.432Z] STF 10:23:11.819 - Created modular jar: 2.com.discreet.jar [2026-01-16T15:23:12.432Z] STF 10:23:11.819 - [2026-01-16T15:23:12.432Z] STF 10:23:11.819 - +------ Step 3 - create java.xml.jar [2026-01-16T15:23:12.432Z] STF 10:23:11.819 - | Create modular jar [2026-01-16T15:23:12.433Z] STF 10:23:11.819 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2026-01-16T15:23:12.433Z] STF 10:23:11.819 - | ModuleVersion: null [2026-01-16T15:23:12.433Z] STF 10:23:11.819 - | MainClass: null [2026-01-16T15:23:12.433Z] STF 10:23:11.819 - | HashModules: null [2026-01-16T15:23:12.433Z] STF 10:23:11.819 - | [2026-01-16T15:23:12.433Z] STF 10:23:11.819 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17685767197176/PatMod_PlatMod_0/20260116-102304-PatModTest/modules/3.java.xml.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2026-01-16T15:23:12.433Z] STF 10:23:11.819 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17685767197176/PatMod_PlatMod_0/20260116-102304-PatModTest/results/3.CMJ.stderr [2026-01-16T15:23:12.433Z] STF 10:23:11.819 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17685767197176/PatMod_PlatMod_0/20260116-102304-PatModTest/results/3.CMJ.stdout [2026-01-16T15:23:12.433Z] STF 10:23:11.822 - Monitoring processes: CMJ [2026-01-16T15:23:12.433Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-16T15:23:14.177Z] STF 10:23:13.527 - Monitoring Report Summary: [2026-01-16T15:23:14.177Z] STF 10:23:13.527 - o Process CMJ ended with the expected exit code (0) [2026-01-16T15:23:14.177Z] STF 10:23:13.527 - Created modular jar: 3.java.xml.jar [2026-01-16T15:23:14.177Z] STF 10:23:13.527 - [2026-01-16T15:23:14.177Z] STF 10:23:13.527 - +------ Step 4 - Verify if we can Patch an upgradable platform module using exploded directoryy [2026-01-16T15:23:14.177Z] STF 10:23:13.527 - | Run foreground process [2026-01-16T15:23:14.177Z] STF 10:23:13.527 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/java [2026-01-16T15:23:14.177Z] STF 10:23:13.527 - | Mnemonic: OT11 [2026-01-16T15:23:14.177Z] STF 10:23:13.527 - | Echo: ECHO_ON [2026-01-16T15:23:14.177Z] STF 10:23:13.527 - | Expectation: CLEAN_RUN within 1m [2026-01-16T15:23:14.177Z] STF 10:23:13.527 - | [2026-01-16T15:23:14.177Z] STF 10:23:13.527 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/java --add-reads com.test=ALL-UNNAMED --module-path /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --add-modules=com.test --patch-module java.xml=/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/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-01-16T15:23:14.177Z] STF 10:23:13.527 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17685767197176/PatMod_PlatMod_0/20260116-102304-PatModTest/results/4.OT11.stderr [2026-01-16T15:23:14.177Z] STF 10:23:13.528 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17685767197176/PatMod_PlatMod_0/20260116-102304-PatModTest/results/4.OT11.stdout [2026-01-16T15:23:14.177Z] STF 10:23:13.534 - Monitoring processes: OT11 [2026-01-16T15:23:14.177Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-16T15:23:14.689Z] OT11 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml [2026-01-16T15:23:14.689Z] OT11 JUnit version 4.12 [2026-01-16T15:23:15.233Z] OT11 . [2026-01-16T15:23:15.814Z] OT11 Time: 0.059 [2026-01-16T15:23:15.814Z] OT11 [2026-01-16T15:23:15.814Z] OT11 OK (1 test) [2026-01-16T15:23:15.814Z] OT11 [2026-01-16T15:23:16.238Z] STF 10:23:15.682 - Monitoring Report Summary: [2026-01-16T15:23:16.238Z] STF 10:23:15.682 - o Process OT11 ended with the expected exit code (0) [2026-01-16T15:23:16.238Z] STF 10:23:15.682 - [2026-01-16T15:23:16.238Z] STF 10:23:15.682 - +------ Step 5 - Verify if we can Patch an upgradable platform module using modular jar [2026-01-16T15:23:16.238Z] STF 10:23:15.682 - | Run foreground process [2026-01-16T15:23:16.238Z] STF 10:23:15.682 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/java [2026-01-16T15:23:16.238Z] STF 10:23:15.682 - | Mnemonic: OT12 [2026-01-16T15:23:16.238Z] STF 10:23:15.682 - | Echo: ECHO_ON [2026-01-16T15:23:16.238Z] STF 10:23:15.682 - | Expectation: CLEAN_RUN within 1m [2026-01-16T15:23:16.238Z] STF 10:23:15.682 - | [2026-01-16T15:23:16.238Z] STF 10:23:15.682 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/java --add-reads com.test=ALL-UNNAMED --module-path /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --add-modules=com.test --patch-module java.xml=/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17685767197176/PatMod_PlatMod_0/20260116-102304-PatModTest/modules/3.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-01-16T15:23:16.238Z] STF 10:23:15.683 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17685767197176/PatMod_PlatMod_0/20260116-102304-PatModTest/results/5.OT12.stderr [2026-01-16T15:23:16.238Z] STF 10:23:15.683 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17685767197176/PatMod_PlatMod_0/20260116-102304-PatModTest/results/5.OT12.stdout [2026-01-16T15:23:16.238Z] STF 10:23:15.685 - Monitoring processes: OT12 [2026-01-16T15:23:16.238Z] OT12 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-16T15:23:16.238Z] OT12 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17685767197176/PatMod_PlatMod_0/20260116-102304-PatModTest/modules/3.java.xml.jar [2026-01-16T15:23:16.685Z] OT12 JUnit version 4.12 [2026-01-16T15:23:16.685Z] OT12 . [2026-01-16T15:23:16.685Z] OT12 Time: 0.033 [2026-01-16T15:23:16.685Z] OT12 [2026-01-16T15:23:16.685Z] OT12 OK (1 test) [2026-01-16T15:23:16.685Z] OT12 [2026-01-16T15:23:16.685Z] STF 10:23:16.576 - Monitoring Report Summary: [2026-01-16T15:23:16.685Z] STF 10:23:16.576 - o Process OT12 ended with the expected exit code (0) [2026-01-16T15:23:16.685Z] STF 10:23:16.577 - EXECUTE stage completed [2026-01-16T15:23:16.685Z] STF 10:23:16.587 - [2026-01-16T15:23:16.685Z] STF 10:23:16.587 - ==================== T E A R D O W N ==================== [2026-01-16T15:23:16.685Z] STF 10:23:16.587 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17685767197176/PatMod_PlatMod_0/20260116-102304-PatModTest/tearDown.pl [2026-01-16T15:23:17.154Z] STF 10:23:16.774 - TEARDOWN stage completed [2026-01-16T15:23:17.154Z] STF 10:23:16.781 - [2026-01-16T15:23:17.154Z] STF 10:23:16.782 - ===================== R E S U L T S ===================== [2026-01-16T15:23:17.154Z] STF 10:23:16.782 - Stage results: [2026-01-16T15:23:17.154Z] STF 10:23:16.782 - setUp: pass [2026-01-16T15:23:17.154Z] STF 10:23:16.782 - execute: pass [2026-01-16T15:23:17.154Z] STF 10:23:16.782 - teardown: pass [2026-01-16T15:23:17.154Z] STF 10:23:16.782 - [2026-01-16T15:23:17.154Z] STF 10:23:16.782 - Overall result: PASSED [2026-01-16T15:23:17.154Z] ----------------------------------- [2026-01-16T15:23:17.154Z] PatMod_PlatMod_0_PASSED [2026-01-16T15:23:17.154Z] ----------------------------------- [2026-01-16T15:23:17.154Z] [2026-01-16T15:23:17.154Z] TEST TEARDOWN: [2026-01-16T15:23:17.154Z] Nothing to be done for teardown. [2026-01-16T15:23:17.154Z] PatMod_PlatMod_0 Finish Time: Fri Jan 16 10:23:16 2026 Epoch Time (ms): 1768576996920