PatModImg_PlatMod_0

[2026-01-16T15:23:44.611Z] Running test PatModImg_PlatMod_0 ... [2026-01-16T15:23:44.611Z] =============================================== [2026-01-16T15:23:44.611Z] PatModImg_PlatMod_0 Start Time: Fri Jan 16 10:23:44 2026 Epoch Time (ms): 1768577024312 [2026-01-16T15:23:44.611Z] variation: Mode150 [2026-01-16T15:23:44.611Z] JVM_OPTIONS: -XX:+UseCompressedOops [2026-01-16T15:23:44.611Z] { \ [2026-01-16T15:23:44.611Z] echo ""; echo "TEST SETUP:"; \ [2026-01-16T15:23:44.611Z] echo "Nothing to be done for setup."; \ [2026-01-16T15:23:44.611Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17685767197176/PatModImg_PlatMod_0"; \ [2026-01-16T15:23:44.611Z] cd "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17685767197176/PatModImg_PlatMod_0"; \ [2026-01-16T15:23:44.611Z] echo ""; echo "TESTING:"; \ [2026-01-16T15:23:44.611Z] 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/PatModImg_PlatMod_0" -test=PatModImgTest -test-args="variant=PlatMod"; \ [2026-01-16T15:23:44.611Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_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/PatModImg_PlatMod_0"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2026-01-16T15:23:44.611Z] echo ""; echo "TEST TEARDOWN:"; \ [2026-01-16T15:23:44.611Z] echo "Nothing to be done for teardown."; \ [2026-01-16T15:23:44.611Z] } 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:44.611Z] [2026-01-16T15:23:44.611Z] TEST SETUP: [2026-01-16T15:23:44.611Z] Nothing to be done for setup. [2026-01-16T15:23:44.611Z] [2026-01-16T15:23:44.611Z] TESTING: [2026-01-16T15:23:45.058Z] STF 10:23:44.543 - ========================= S T F ========================= [2026-01-16T15:23:45.058Z] 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/PatModImg_PlatMod_0 [2026-01-16T15:23:45.058Z] There is 14895 Mb free [2026-01-16T15:23:45.058Z] STF 10:23:44.557 - ================== G E N E R A T I O N ================== [2026-01-16T15:23:45.058Z] STF 10:23:44.558 - 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:45.059Z] STF 10:23:44.558 - 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/PatModImg_PlatMod_0/20260116-102344-PatModImgTest/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/PatModImg_PlatMod_0/20260116-102344-PatModImgTest" [2026-01-16T15:23:45.059Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-16T15:23:49.382Z] GEN 10:23:48.717 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.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:49.382Z] GEN 10:23:48.771 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2026-01-16T15:23:49.382Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2026-01-16T15:23:49.382Z] 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:49.382Z] 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:49.382Z] 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:49.382Z] 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:49.382Z] 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:49.382Z] 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:49.382Z] 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:49.382Z] 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:49.382Z] 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:49.382Z] 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:49.382Z] 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:49.382Z] 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:49.382Z] 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:49.382Z] 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:49.382Z] 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:49.382Z] 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:49.382Z] GEN /Users/admin/workspace/externalDependency/system_lib/log4j/log4j-api.jar [2026-01-16T15:23:49.382Z] GEN /Users/admin/workspace/externalDependency/system_lib/log4j/log4j-core.jar [2026-01-16T15:23:49.382Z] GEN /Users/admin/workspace/externalDependency/system_lib/junit/junit.jar [2026-01-16T15:23:49.892Z] GEN 10:23:49.296 - Using Mode NoOptions. Values = '' [2026-01-16T15:23:49.892Z] GEN 10:23:49.570 - [2026-01-16T15:23:49.892Z] GEN 10:23:49.570 - Test command summary: [2026-01-16T15:23:49.892Z] GEN 10:23:49.571 - Step Stage Command Description [2026-01-16T15:23:49.892Z] GEN 10:23:49.571 - -----+--------+-----------------+------------ [2026-01-16T15:23:49.892Z] GEN 10:23:49.571 - 1 execute jar Create com.hello jar [2026-01-16T15:23:49.892Z] GEN 10:23:49.571 - 2 execute jar Create com.hola jar [2026-01-16T15:23:49.892Z] GEN 10:23:49.571 - 3 execute jar Create com.helper jar [2026-01-16T15:23:49.892Z] GEN 10:23:49.571 - 4 execute jar Create com.discreet jar [2026-01-16T15:23:49.892Z] GEN 10:23:49.571 - 5 execute jar Create tests jar [2026-01-16T15:23:49.892Z] GEN 10:23:49.571 - 6 execute jlink Create runtime image for PatchModule test [2026-01-16T15:23:49.892Z] GEN 10:23:49.571 - 7 execute jar Create com.hello jar [2026-01-16T15:23:49.892Z] GEN 10:23:49.571 - 8 execute jar create java.xml.jar [2026-01-16T15:23:49.892Z] GEN 10:23:49.571 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory [2026-01-16T15:23:49.892Z] GEN 10:23:49.572 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar [2026-01-16T15:23:49.892Z] STF 10:23:49.776 - [2026-01-16T15:23:49.892Z] STF 10:23:49.776 - Script generation completed [2026-01-16T15:23:49.892Z] STF 10:23:49.776 - [2026-01-16T15:23:49.892Z] STF 10:23:49.777 - [2026-01-16T15:23:49.892Z] STF 10:23:49.777 - ======================= S E T U P ======================= [2026-01-16T15:23:49.892Z] STF 10:23:49.777 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17685767197176/PatModImg_PlatMod_0/20260116-102344-PatModImgTest/setUp.pl [2026-01-16T15:23:50.325Z] STF 10:23:49.962 - SETUP stage completed [2026-01-16T15:23:50.325Z] STF 10:23:49.970 - [2026-01-16T15:23:50.325Z] STF 10:23:49.970 - ==================== E X E C U T E - ==================== [2026-01-16T15:23:50.325Z] STF 10:23:49.970 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17685767197176/PatModImg_PlatMod_0/20260116-102344-PatModImgTest/execute.pl [2026-01-16T15:23:50.808Z] STF 10:23:50.232 - [2026-01-16T15:23:50.808Z] STF 10:23:50.232 - Java version [2026-01-16T15:23:50.808Z] STF 10:23:50.232 - 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:50.808Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-16T15:23:51.334Z] openjdk version "21.0.10" 2026-01-20 LTS [2026-01-16T15:23:51.934Z] STF 10:23:51.271 - [2026-01-16T15:23:51.934Z] STF 10:23:51.271 - +------ Step 1 - Create com.hello jar [2026-01-16T15:23:51.934Z] STF 10:23:51.271 - | Create modular jar [2026-01-16T15:23:51.934Z] STF 10:23:51.272 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2026-01-16T15:23:51.934Z] STF 10:23:51.272 - | ModuleVersion: null [2026-01-16T15:23:51.934Z] STF 10:23:51.272 - | MainClass: null [2026-01-16T15:23:51.934Z] STF 10:23:51.272 - | HashModules: null [2026-01-16T15:23:51.934Z] STF 10:23:51.272 - | [2026-01-16T15:23:51.934Z] STF 10:23:51.277 - 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/PatModImg_PlatMod_0/20260116-102344-PatModImgTest/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-mods/com.hello . [2026-01-16T15:23:51.934Z] STF 10:23:51.277 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17685767197176/PatModImg_PlatMod_0/20260116-102344-PatModImgTest/results/1.CMJ.stderr [2026-01-16T15:23:51.934Z] STF 10:23:51.277 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17685767197176/PatModImg_PlatMod_0/20260116-102344-PatModImgTest/results/1.CMJ.stdout [2026-01-16T15:23:51.934Z] OpenJDK Runtime Environment Temurin-21.0.10+6 (build 21.0.10+6-LTS) [2026-01-16T15:23:51.934Z] OpenJDK 64-Bit Server VM Temurin-21.0.10+6 (build 21.0.10+6-LTS, mixed mode) [2026-01-16T15:23:52.338Z] STF 10:23:51.709 - Monitoring processes: CMJ [2026-01-16T15:23:52.338Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-16T15:23:52.979Z] STF 10:23:52.729 - Monitoring Report Summary: [2026-01-16T15:23:52.979Z] STF 10:23:52.729 - o Process CMJ ended with the expected exit code (0) [2026-01-16T15:23:52.979Z] STF 10:23:52.729 - Created modular jar: 1.com.hello.jar [2026-01-16T15:23:52.979Z] STF 10:23:52.730 - [2026-01-16T15:23:52.979Z] STF 10:23:52.730 - +------ Step 2 - Create com.hola jar [2026-01-16T15:23:52.979Z] STF 10:23:52.730 - | Create modular jar [2026-01-16T15:23:52.979Z] STF 10:23:52.730 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2026-01-16T15:23:52.979Z] STF 10:23:52.730 - | ModuleVersion: null [2026-01-16T15:23:52.979Z] STF 10:23:52.730 - | MainClass: null [2026-01-16T15:23:52.979Z] STF 10:23:52.730 - | HashModules: null [2026-01-16T15:23:52.979Z] STF 10:23:52.730 - | [2026-01-16T15:23:52.979Z] STF 10:23:52.734 - 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/PatModImg_PlatMod_0/20260116-102344-PatModImgTest/modules/2.com.hola.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-mods/com.hola . [2026-01-16T15:23:52.979Z] STF 10:23:52.734 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17685767197176/PatModImg_PlatMod_0/20260116-102344-PatModImgTest/results/2.CMJ.stderr [2026-01-16T15:23:52.979Z] STF 10:23:52.734 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17685767197176/PatModImg_PlatMod_0/20260116-102344-PatModImgTest/results/2.CMJ.stdout [2026-01-16T15:23:52.979Z] STF 10:23:52.737 - Monitoring processes: CMJ [2026-01-16T15:23:53.448Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-16T15:23:55.182Z] STF 10:23:54.754 - Monitoring Report Summary: [2026-01-16T15:23:55.182Z] STF 10:23:54.755 - o Process CMJ ended with the expected exit code (0) [2026-01-16T15:23:55.182Z] STF 10:23:54.755 - Created modular jar: 2.com.hola.jar [2026-01-16T15:23:55.182Z] STF 10:23:54.755 - [2026-01-16T15:23:55.182Z] STF 10:23:54.755 - +------ Step 3 - Create com.helper jar [2026-01-16T15:23:55.182Z] STF 10:23:54.755 - | Create modular jar [2026-01-16T15:23:55.182Z] STF 10:23:54.755 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2026-01-16T15:23:55.182Z] STF 10:23:54.755 - | ModuleVersion: null [2026-01-16T15:23:55.182Z] STF 10:23:54.755 - | MainClass: null [2026-01-16T15:23:55.182Z] STF 10:23:54.755 - | HashModules: null [2026-01-16T15:23:55.182Z] STF 10:23:54.755 - | [2026-01-16T15:23:55.182Z] STF 10:23:54.755 - 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/PatModImg_PlatMod_0/20260116-102344-PatModImgTest/modules/3.com.helper.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-mods/com.helper . [2026-01-16T15:23:55.182Z] STF 10:23:54.755 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17685767197176/PatModImg_PlatMod_0/20260116-102344-PatModImgTest/results/3.CMJ.stderr [2026-01-16T15:23:55.183Z] STF 10:23:54.755 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17685767197176/PatModImg_PlatMod_0/20260116-102344-PatModImgTest/results/3.CMJ.stdout [2026-01-16T15:23:55.183Z] STF 10:23:54.760 - Monitoring processes: CMJ [2026-01-16T15:23:55.183Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-16T15:23:55.712Z] STF 10:23:55.387 - Monitoring Report Summary: [2026-01-16T15:23:55.712Z] STF 10:23:55.388 - o Process CMJ ended with the expected exit code (0) [2026-01-16T15:23:55.712Z] STF 10:23:55.388 - Created modular jar: 3.com.helper.jar [2026-01-16T15:23:55.712Z] STF 10:23:55.388 - [2026-01-16T15:23:55.712Z] STF 10:23:55.388 - +------ Step 4 - Create com.discreet jar [2026-01-16T15:23:55.712Z] STF 10:23:55.388 - | Create modular jar [2026-01-16T15:23:55.712Z] STF 10:23:55.388 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2026-01-16T15:23:55.712Z] STF 10:23:55.388 - | ModuleVersion: null [2026-01-16T15:23:55.712Z] STF 10:23:55.388 - | MainClass: null [2026-01-16T15:23:55.712Z] STF 10:23:55.388 - | HashModules: null [2026-01-16T15:23:55.712Z] STF 10:23:55.388 - | [2026-01-16T15:23:55.712Z] STF 10:23:55.388 - 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/PatModImg_PlatMod_0/20260116-102344-PatModImgTest/modules/4.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-mods/com.discreet . [2026-01-16T15:23:55.712Z] STF 10:23:55.388 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17685767197176/PatModImg_PlatMod_0/20260116-102344-PatModImgTest/results/4.CMJ.stderr [2026-01-16T15:23:55.712Z] STF 10:23:55.388 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17685767197176/PatModImg_PlatMod_0/20260116-102344-PatModImgTest/results/4.CMJ.stdout [2026-01-16T15:23:55.712Z] STF 10:23:55.393 - Monitoring processes: CMJ [2026-01-16T15:23:55.712Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-16T15:23:56.751Z] STF 10:23:56.142 - Monitoring Report Summary: [2026-01-16T15:23:56.751Z] STF 10:23:56.184 - o Process CMJ ended with the expected exit code (0) [2026-01-16T15:23:56.751Z] STF 10:23:56.185 - Created modular jar: 4.com.discreet.jar [2026-01-16T15:23:56.751Z] STF 10:23:56.185 - [2026-01-16T15:23:56.751Z] STF 10:23:56.185 - +------ Step 5 - Create tests jar [2026-01-16T15:23:56.751Z] STF 10:23:56.185 - | Create modular jar [2026-01-16T15:23:56.751Z] STF 10:23:56.185 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2026-01-16T15:23:56.751Z] STF 10:23:56.185 - | ModuleVersion: null [2026-01-16T15:23:56.751Z] STF 10:23:56.185 - | MainClass: null [2026-01-16T15:23:56.751Z] STF 10:23:56.185 - | HashModules: null [2026-01-16T15:23:56.751Z] STF 10:23:56.185 - | [2026-01-16T15:23:56.751Z] STF 10:23:56.185 - 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/PatModImg_PlatMod_0/20260116-102344-PatModImgTest/modules/5.com.test.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2026-01-16T15:23:56.751Z] STF 10:23:56.185 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17685767197176/PatModImg_PlatMod_0/20260116-102344-PatModImgTest/results/5.CMJ.stderr [2026-01-16T15:23:56.751Z] STF 10:23:56.185 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17685767197176/PatModImg_PlatMod_0/20260116-102344-PatModImgTest/results/5.CMJ.stdout [2026-01-16T15:23:56.751Z] STF 10:23:56.188 - Monitoring processes: CMJ [2026-01-16T15:23:56.751Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-16T15:23:58.271Z] STF 10:23:57.693 - Monitoring Report Summary: [2026-01-16T15:23:58.271Z] STF 10:23:57.693 - o Process CMJ ended with the expected exit code (0) [2026-01-16T15:23:58.271Z] STF 10:23:57.694 - Created modular jar: 5.com.test.jar [2026-01-16T15:23:58.271Z] STF 10:23:57.694 - [2026-01-16T15:23:58.271Z] STF 10:23:57.694 - +------ Step 6 - Create runtime image for PatchModule test [2026-01-16T15:23:58.271Z] STF 10:23:57.694 - | Run jlink to create runtime image [2026-01-16T15:23:58.271Z] STF 10:23:57.694 - | ImageName: XpJVM [2026-01-16T15:23:58.271Z] STF 10:23:57.694 - | [2026-01-16T15:23:58.271Z] STF 10:23:57.694 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17685767197176/PatModImg_PlatMod_0/20260116-102344-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_0/aqa-tests/TKG/output_17685767197176/PatModImg_PlatMod_0/20260116-102344-PatModImgTest/tmp/6.XpJVM [2026-01-16T15:23:58.271Z] STF 10:23:57.694 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17685767197176/PatModImg_PlatMod_0/20260116-102344-PatModImgTest/results/6.JLNK.stderr [2026-01-16T15:23:58.271Z] STF 10:23:57.694 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17685767197176/PatModImg_PlatMod_0/20260116-102344-PatModImgTest/results/6.JLNK.stdout [2026-01-16T15:23:58.271Z] STF 10:23:57.715 - Monitoring processes: JLNK [2026-01-16T15:23:59.469Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-16T15:24:12.558Z] STF 10:24:10.931 - Monitoring Report Summary: [2026-01-16T15:24:12.558Z] STF 10:24:10.931 - o Process JLNK ended with the expected exit code (0) [2026-01-16T15:24:12.558Z] STF 10:24:10.931 - [2026-01-16T15:24:12.558Z] STF 10:24:10.931 - +------ Step 7 - Create com.hello jar [2026-01-16T15:24:12.558Z] STF 10:24:10.931 - | Create modular jar [2026-01-16T15:24:12.558Z] STF 10:24:10.931 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2026-01-16T15:24:12.558Z] STF 10:24:10.931 - | ModuleVersion: null [2026-01-16T15:24:12.558Z] STF 10:24:10.931 - | MainClass: null [2026-01-16T15:24:12.558Z] STF 10:24:10.931 - | HashModules: null [2026-01-16T15:24:12.558Z] STF 10:24:10.931 - | [2026-01-16T15:24:12.558Z] STF 10:24:10.932 - 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/PatModImg_PlatMod_0/20260116-102344-PatModImgTest/modules/7.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:24:12.558Z] STF 10:24:10.932 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17685767197176/PatModImg_PlatMod_0/20260116-102344-PatModImgTest/results/7.CMJ.stderr [2026-01-16T15:24:12.558Z] STF 10:24:10.932 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17685767197176/PatModImg_PlatMod_0/20260116-102344-PatModImgTest/results/7.CMJ.stdout [2026-01-16T15:24:12.558Z] STF 10:24:10.948 - Monitoring processes: CMJ [2026-01-16T15:24:12.558Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-16T15:24:13.753Z] STF 10:24:13.387 - Monitoring Report Summary: [2026-01-16T15:24:13.753Z] STF 10:24:13.387 - o Process CMJ ended with the expected exit code (0) [2026-01-16T15:24:13.753Z] STF 10:24:13.388 - Created modular jar: 7.com.hello.jar [2026-01-16T15:24:13.753Z] STF 10:24:13.388 - [2026-01-16T15:24:13.753Z] STF 10:24:13.388 - +------ Step 8 - create java.xml.jar [2026-01-16T15:24:13.753Z] STF 10:24:13.389 - | Create modular jar [2026-01-16T15:24:13.753Z] STF 10:24:13.389 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2026-01-16T15:24:13.753Z] STF 10:24:13.389 - | ModuleVersion: null [2026-01-16T15:24:13.753Z] STF 10:24:13.389 - | MainClass: null [2026-01-16T15:24:13.753Z] STF 10:24:13.389 - | HashModules: null [2026-01-16T15:24:13.753Z] STF 10:24:13.389 - | [2026-01-16T15:24:13.753Z] STF 10:24:13.409 - 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/PatModImg_PlatMod_0/20260116-102344-PatModImgTest/modules/8.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:24:13.753Z] STF 10:24:13.409 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17685767197176/PatModImg_PlatMod_0/20260116-102344-PatModImgTest/results/8.CMJ.stderr [2026-01-16T15:24:13.753Z] STF 10:24:13.409 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17685767197176/PatModImg_PlatMod_0/20260116-102344-PatModImgTest/results/8.CMJ.stdout [2026-01-16T15:24:13.753Z] STF 10:24:13.423 - Monitoring processes: CMJ [2026-01-16T15:24:14.204Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-16T15:24:14.621Z] STF 10:24:14.374 - Monitoring Report Summary: [2026-01-16T15:24:14.621Z] STF 10:24:14.374 - o Process CMJ ended with the expected exit code (0) [2026-01-16T15:24:14.621Z] STF 10:24:14.375 - Created modular jar: 8.java.xml.jar [2026-01-16T15:24:14.621Z] STF 10:24:14.375 - [2026-01-16T15:24:14.621Z] STF 10:24:14.375 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory [2026-01-16T15:24:14.621Z] STF 10:24:14.375 - | Run foreground process [2026-01-16T15:24:14.621Z] STF 10:24:14.375 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17685767197176/PatModImg_PlatMod_0/20260116-102344-PatModImgTest/tmp/6.XpJVM/bin/java [2026-01-16T15:24:14.621Z] STF 10:24:14.375 - | Mnemonic: OT11 [2026-01-16T15:24:14.621Z] STF 10:24:14.375 - | Echo: ECHO_ON [2026-01-16T15:24:14.621Z] STF 10:24:14.375 - | Expectation: CLEAN_RUN within 5m [2026-01-16T15:24:14.621Z] STF 10:24:14.375 - | [2026-01-16T15:24:14.621Z] STF 10:24:14.375 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17685767197176/PatModImg_PlatMod_0/20260116-102344-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_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:24:14.621Z] STF 10:24:14.375 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17685767197176/PatModImg_PlatMod_0/20260116-102344-PatModImgTest/results/9.OT11.stderr [2026-01-16T15:24:14.621Z] STF 10:24:14.375 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17685767197176/PatModImg_PlatMod_0/20260116-102344-PatModImgTest/results/9.OT11.stdout [2026-01-16T15:24:14.621Z] STF 10:24:14.378 - Monitoring processes: OT11 [2026-01-16T15:24:30.712Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-16T15:24:35.343Z] 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:24:37.920Z] OT11 JUnit version 4.12 [2026-01-16T15:24:38.422Z] OT11 . [2026-01-16T15:24:38.422Z] OT11 Time: 0.009 [2026-01-16T15:24:38.422Z] OT11 [2026-01-16T15:24:38.422Z] OT11 OK (1 test) [2026-01-16T15:24:38.422Z] OT11 [2026-01-16T15:24:38.861Z] STF 10:24:38.268 - Monitoring Report Summary: [2026-01-16T15:24:38.861Z] STF 10:24:38.268 - o Process OT11 ended with the expected exit code (0) [2026-01-16T15:24:38.861Z] STF 10:24:38.269 - [2026-01-16T15:24:38.861Z] STF 10:24:38.269 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar [2026-01-16T15:24:38.861Z] STF 10:24:38.269 - | Run foreground process [2026-01-16T15:24:38.861Z] STF 10:24:38.269 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17685767197176/PatModImg_PlatMod_0/20260116-102344-PatModImgTest/tmp/6.XpJVM/bin/java [2026-01-16T15:24:38.861Z] STF 10:24:38.269 - | Mnemonic: OT12 [2026-01-16T15:24:38.861Z] STF 10:24:38.269 - | Echo: ECHO_ON [2026-01-16T15:24:38.861Z] STF 10:24:38.269 - | Expectation: CLEAN_RUN within 5m [2026-01-16T15:24:38.861Z] STF 10:24:38.269 - | [2026-01-16T15:24:38.861Z] STF 10:24:38.269 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17685767197176/PatModImg_PlatMod_0/20260116-102344-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_0/aqa-tests/TKG/output_17685767197176/PatModImg_PlatMod_0/20260116-102344-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-01-16T15:24:38.861Z] STF 10:24:38.269 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17685767197176/PatModImg_PlatMod_0/20260116-102344-PatModImgTest/results/10.OT12.stderr [2026-01-16T15:24:38.861Z] STF 10:24:38.269 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17685767197176/PatModImg_PlatMod_0/20260116-102344-PatModImgTest/results/10.OT12.stdout [2026-01-16T15:24:38.861Z] STF 10:24:38.272 - Monitoring processes: OT12 [2026-01-16T15:24:38.861Z] OT12 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-16T15:24:39.318Z] 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/PatModImg_PlatMod_0/20260116-102344-PatModImgTest/modules/8.java.xml.jar [2026-01-16T15:24:39.318Z] OT12 JUnit version 4.12 [2026-01-16T15:24:39.318Z] OT12 . [2026-01-16T15:24:39.318Z] OT12 Time: 0.024 [2026-01-16T15:24:39.318Z] OT12 [2026-01-16T15:24:39.318Z] OT12 OK (1 test) [2026-01-16T15:24:39.318Z] OT12 [2026-01-16T15:24:39.789Z] STF 10:24:39.370 - Monitoring Report Summary: [2026-01-16T15:24:39.789Z] STF 10:24:39.370 - o Process OT12 ended with the expected exit code (0) [2026-01-16T15:24:39.789Z] STF 10:24:39.372 - EXECUTE stage completed [2026-01-16T15:24:39.789Z] STF 10:24:39.640 - [2026-01-16T15:24:39.789Z] STF 10:24:39.640 - ==================== T E A R D O W N ==================== [2026-01-16T15:24:39.789Z] STF 10:24:39.640 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17685767197176/PatModImg_PlatMod_0/20260116-102344-PatModImgTest/tearDown.pl [2026-01-16T15:24:40.219Z] STF 10:24:40.031 - TEARDOWN stage completed [2026-01-16T15:24:40.219Z] STF 10:24:40.040 - [2026-01-16T15:24:40.219Z] STF 10:24:40.040 - ===================== R E S U L T S ===================== [2026-01-16T15:24:40.219Z] STF 10:24:40.040 - Stage results: [2026-01-16T15:24:40.219Z] STF 10:24:40.040 - setUp: pass [2026-01-16T15:24:40.219Z] STF 10:24:40.040 - execute: pass [2026-01-16T15:24:40.219Z] STF 10:24:40.040 - teardown: pass [2026-01-16T15:24:40.219Z] STF 10:24:40.040 - [2026-01-16T15:24:40.219Z] STF 10:24:40.040 - Overall result: PASSED [2026-01-16T15:24:40.219Z] ----------------------------------- [2026-01-16T15:24:40.219Z] PatModImg_PlatMod_0_PASSED [2026-01-16T15:24:40.219Z] ----------------------------------- [2026-01-16T15:24:40.634Z] [2026-01-16T15:24:40.634Z] TEST TEARDOWN: [2026-01-16T15:24:40.634Z] Nothing to be done for teardown. [2026-01-16T15:24:40.634Z] PatModImg_PlatMod_0 Finish Time: Fri Jan 16 10:24:40 2026 Epoch Time (ms): 1768577080276