PatModImg_PlatMod_0

[2025-07-01T02:43:53.935Z] Running test PatModImg_PlatMod_0 ... [2025-07-01T02:43:53.935Z] =============================================== [2025-07-01T02:43:53.935Z] PatModImg_PlatMod_0 Start Time: Mon Jun 30 22:43:53 2025 Epoch Time (ms): 1751337833608 [2025-07-01T02:43:53.935Z] variation: Mode150 [2025-07-01T02:43:53.935Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-07-01T02:43:53.935Z] { \ [2025-07-01T02:43:53.935Z] echo ""; echo "TEST SETUP:"; \ [2025-07-01T02:43:53.935Z] echo "Nothing to be done for setup."; \ [2025-07-01T02:43:53.935Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17513353682675/PatModImg_PlatMod_0"; \ [2025-07-01T02:43:53.935Z] cd "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17513353682675/PatModImg_PlatMod_0"; \ [2025-07-01T02:43:53.935Z] echo ""; echo "TESTING:"; \ [2025-07-01T02:43:53.935Z] perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_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_aarch64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/../../testDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17513353682675/PatModImg_PlatMod_0" -test=PatModImgTest -test-args="variant=PlatMod"; \ [2025-07-01T02:43:53.935Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_PlatMod_0""_PASSED"; echo "-----------------------------------"; cd /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/..; rm -f -r "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17513353682675/PatModImg_PlatMod_0"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-07-01T02:43:53.935Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-07-01T02:43:53.935Z] echo "Nothing to be done for teardown."; \ [2025-07-01T02:43:53.935Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17513353682675/TestTargetResult"; [2025-07-01T02:43:53.935Z] [2025-07-01T02:43:53.935Z] TEST SETUP: [2025-07-01T02:43:53.935Z] Nothing to be done for setup. [2025-07-01T02:43:53.935Z] [2025-07-01T02:43:53.935Z] TESTING: [2025-07-01T02:43:53.935Z] STF 22:43:53.642 - ========================= S T F ========================= [2025-07-01T02:43:53.935Z] systemtest-prereqs has been processed, and set to: /Users/admin/workspace/testDependency/system_libRetrieving amount of free space on drive containing /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17513353682675/PatModImg_PlatMod_0 [2025-07-01T02:43:53.935Z] There is 31427 Mb free [2025-07-01T02:43:53.935Z] STF 22:43:53.646 - ================== G E N E R A T I O N ================== [2025-07-01T02:43:53.935Z] STF 22:43:53.646 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2025-07-01T02:43:53.935Z] STF 22:43:53.646 - Starting process to generate scripts: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_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_aarch64_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_aarch64_mac_testList_1/../../testDependency/system_lib//asm/asm.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/../../testDependency/system_lib//asm/asm-commons.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/../../testDependency/system_lib//log4j/log4j-api.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/../../testDependency/system_lib//log4j/log4j-core.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_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_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17513353682675/PatModImg_PlatMod_0/20250630-224353-PatModImgTest/stf_parameters.properties, , /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17513353682675/PatModImg_PlatMod_0/20250630-224353-PatModImgTest" [2025-07-01T02:43:53.936Z] GEN [0.003s][warning][cds] Archived non-system classes are disabled because the java.system.class.loader property is specified (value = "net.adoptopenjdk.stf.runner.StfClassLoader"). To use archived non-system classes, this property must not be set [2025-07-01T02:43:53.936Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-01T02:43:54.287Z] GEN 22:43:53.930 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-07-01T02:43:54.287Z] GEN 22:43:53.935 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-07-01T02:43:54.287Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-07-01T02:43:54.287Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-07-01T02:43:54.287Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-07-01T02:43:54.287Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-07-01T02:43:54.287Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-07-01T02:43:54.287Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-07-01T02:43:54.287Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-07-01T02:43:54.287Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-07-01T02:43:54.287Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-07-01T02:43:54.287Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-07-01T02:43:54.287Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-07-01T02:43:54.287Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-07-01T02:43:54.287Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-07-01T02:43:54.287Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-07-01T02:43:54.287Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-07-01T02:43:54.287Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-07-01T02:43:54.287Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/STF/stf.core/bin [2025-07-01T02:43:54.287Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-api.jar [2025-07-01T02:43:54.287Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-core.jar [2025-07-01T02:43:54.287Z] GEN /Users/admin/workspace/testDependency/system_lib/junit/junit.jar [2025-07-01T02:43:54.287Z] GEN 22:43:53.988 - Using Mode NoOptions. Values = '' [2025-07-01T02:43:54.287Z] GEN 22:43:54.013 - [2025-07-01T02:43:54.287Z] GEN 22:43:54.013 - Test command summary: [2025-07-01T02:43:54.287Z] GEN 22:43:54.013 - Step Stage Command Description [2025-07-01T02:43:54.287Z] GEN 22:43:54.013 - -----+--------+-----------------+------------ [2025-07-01T02:43:54.287Z] GEN 22:43:54.013 - 1 execute jar Create com.hello jar [2025-07-01T02:43:54.287Z] GEN 22:43:54.013 - 2 execute jar Create com.hola jar [2025-07-01T02:43:54.287Z] GEN 22:43:54.013 - 3 execute jar Create com.helper jar [2025-07-01T02:43:54.287Z] GEN 22:43:54.013 - 4 execute jar Create com.discreet jar [2025-07-01T02:43:54.287Z] GEN 22:43:54.013 - 5 execute jar Create tests jar [2025-07-01T02:43:54.287Z] GEN 22:43:54.013 - 6 execute jlink Create runtime image for PatchModule test [2025-07-01T02:43:54.287Z] GEN 22:43:54.013 - 7 execute jar Create com.hello jar [2025-07-01T02:43:54.287Z] GEN 22:43:54.013 - 8 execute jar create java.xml.jar [2025-07-01T02:43:54.287Z] GEN 22:43:54.013 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory [2025-07-01T02:43:54.287Z] GEN 22:43:54.013 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar [2025-07-01T02:43:54.287Z] STF 22:43:54.040 - [2025-07-01T02:43:54.287Z] STF 22:43:54.040 - Script generation completed [2025-07-01T02:43:54.287Z] STF 22:43:54.040 - [2025-07-01T02:43:54.287Z] STF 22:43:54.040 - [2025-07-01T02:43:54.287Z] STF 22:43:54.040 - ======================= S E T U P ======================= [2025-07-01T02:43:54.287Z] STF 22:43:54.040 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17513353682675/PatModImg_PlatMod_0/20250630-224353-PatModImgTest/setUp.pl [2025-07-01T02:43:54.287Z] STF 22:43:54.066 - SETUP stage completed [2025-07-01T02:43:54.287Z] STF 22:43:54.067 - [2025-07-01T02:43:54.287Z] STF 22:43:54.067 - ==================== E X E C U T E - ==================== [2025-07-01T02:43:54.287Z] STF 22:43:54.067 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17513353682675/PatModImg_PlatMod_0/20250630-224353-PatModImgTest/execute.pl [2025-07-01T02:43:54.287Z] STF 22:43:54.092 - [2025-07-01T02:43:54.287Z] STF 22:43:54.092 - Java version [2025-07-01T02:43:54.287Z] STF 22:43:54.092 - Running: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2025-07-01T02:43:54.287Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-01T02:43:54.287Z] openjdk version "21.0.8-beta" 2025-07-15 [2025-07-01T02:43:54.287Z] OpenJDK Runtime Environment Temurin-21.0.8+8-202507010040 (build 21.0.8-beta+8-ea) [2025-07-01T02:43:54.287Z] OpenJDK 64-Bit Server VM Temurin-21.0.8+8-202507010040 (build 21.0.8-beta+8-ea, mixed mode, sharing) [2025-07-01T02:43:54.287Z] STF 22:43:54.114 - [2025-07-01T02:43:54.287Z] STF 22:43:54.114 - +------ Step 1 - Create com.hello jar [2025-07-01T02:43:54.288Z] STF 22:43:54.114 - | Create modular jar [2025-07-01T02:43:54.288Z] STF 22:43:54.114 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-07-01T02:43:54.288Z] STF 22:43:54.114 - | ModuleVersion: null [2025-07-01T02:43:54.288Z] STF 22:43:54.114 - | MainClass: null [2025-07-01T02:43:54.288Z] STF 22:43:54.114 - | HashModules: null [2025-07-01T02:43:54.288Z] STF 22:43:54.114 - | [2025-07-01T02:43:54.288Z] STF 22:43:54.115 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17513353682675/PatModImg_PlatMod_0/20250630-224353-PatModImgTest/modules/1.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-07-01T02:43:54.288Z] STF 22:43:54.115 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17513353682675/PatModImg_PlatMod_0/20250630-224353-PatModImgTest/results/1.CMJ.stderr [2025-07-01T02:43:54.288Z] STF 22:43:54.115 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17513353682675/PatModImg_PlatMod_0/20250630-224353-PatModImgTest/results/1.CMJ.stdout [2025-07-01T02:43:54.288Z] STF 22:43:54.118 - Monitoring processes: CMJ [2025-07-01T02:43:54.288Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-01T02:43:54.644Z] STF 22:43:54.218 - Monitoring Report Summary: [2025-07-01T02:43:54.644Z] STF 22:43:54.218 - o Process CMJ ended with the expected exit code (0) [2025-07-01T02:43:54.644Z] STF 22:43:54.218 - Created modular jar: 1.com.hello.jar [2025-07-01T02:43:54.644Z] STF 22:43:54.218 - [2025-07-01T02:43:54.644Z] STF 22:43:54.218 - +------ Step 2 - Create com.hola jar [2025-07-01T02:43:54.644Z] STF 22:43:54.218 - | Create modular jar [2025-07-01T02:43:54.644Z] STF 22:43:54.218 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-07-01T02:43:54.644Z] STF 22:43:54.218 - | ModuleVersion: null [2025-07-01T02:43:54.644Z] STF 22:43:54.218 - | MainClass: null [2025-07-01T02:43:54.644Z] STF 22:43:54.218 - | HashModules: null [2025-07-01T02:43:54.644Z] STF 22:43:54.218 - | [2025-07-01T02:43:54.644Z] STF 22:43:54.218 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17513353682675/PatModImg_PlatMod_0/20250630-224353-PatModImgTest/modules/2.com.hola.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2025-07-01T02:43:54.644Z] STF 22:43:54.218 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17513353682675/PatModImg_PlatMod_0/20250630-224353-PatModImgTest/results/2.CMJ.stderr [2025-07-01T02:43:54.644Z] STF 22:43:54.218 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17513353682675/PatModImg_PlatMod_0/20250630-224353-PatModImgTest/results/2.CMJ.stdout [2025-07-01T02:43:54.644Z] STF 22:43:54.219 - Monitoring processes: CMJ [2025-07-01T02:43:54.644Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-01T02:43:54.644Z] STF 22:43:54.339 - Monitoring Report Summary: [2025-07-01T02:43:54.644Z] STF 22:43:54.339 - o Process CMJ ended with the expected exit code (0) [2025-07-01T02:43:54.644Z] STF 22:43:54.339 - Created modular jar: 2.com.hola.jar [2025-07-01T02:43:54.644Z] STF 22:43:54.339 - [2025-07-01T02:43:54.644Z] STF 22:43:54.339 - +------ Step 3 - Create com.helper jar [2025-07-01T02:43:54.644Z] STF 22:43:54.339 - | Create modular jar [2025-07-01T02:43:54.644Z] STF 22:43:54.339 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-07-01T02:43:54.644Z] STF 22:43:54.339 - | ModuleVersion: null [2025-07-01T02:43:54.644Z] STF 22:43:54.339 - | MainClass: null [2025-07-01T02:43:54.644Z] STF 22:43:54.339 - | HashModules: null [2025-07-01T02:43:54.644Z] STF 22:43:54.339 - | [2025-07-01T02:43:54.644Z] STF 22:43:54.339 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17513353682675/PatModImg_PlatMod_0/20250630-224353-PatModImgTest/modules/3.com.helper.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2025-07-01T02:43:54.644Z] STF 22:43:54.339 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17513353682675/PatModImg_PlatMod_0/20250630-224353-PatModImgTest/results/3.CMJ.stderr [2025-07-01T02:43:54.644Z] STF 22:43:54.339 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17513353682675/PatModImg_PlatMod_0/20250630-224353-PatModImgTest/results/3.CMJ.stdout [2025-07-01T02:43:54.644Z] STF 22:43:54.340 - Monitoring processes: CMJ [2025-07-01T02:43:54.644Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-01T02:43:54.644Z] STF 22:43:54.453 - Monitoring Report Summary: [2025-07-01T02:43:54.644Z] STF 22:43:54.453 - o Process CMJ ended with the expected exit code (0) [2025-07-01T02:43:54.644Z] STF 22:43:54.453 - Created modular jar: 3.com.helper.jar [2025-07-01T02:43:54.644Z] STF 22:43:54.453 - [2025-07-01T02:43:54.644Z] STF 22:43:54.453 - +------ Step 4 - Create com.discreet jar [2025-07-01T02:43:54.644Z] STF 22:43:54.453 - | Create modular jar [2025-07-01T02:43:54.644Z] STF 22:43:54.453 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-07-01T02:43:54.644Z] STF 22:43:54.453 - | ModuleVersion: null [2025-07-01T02:43:54.644Z] STF 22:43:54.453 - | MainClass: null [2025-07-01T02:43:54.644Z] STF 22:43:54.453 - | HashModules: null [2025-07-01T02:43:54.644Z] STF 22:43:54.453 - | [2025-07-01T02:43:54.644Z] STF 22:43:54.454 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17513353682675/PatModImg_PlatMod_0/20250630-224353-PatModImgTest/modules/4.com.discreet.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2025-07-01T02:43:54.644Z] STF 22:43:54.454 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17513353682675/PatModImg_PlatMod_0/20250630-224353-PatModImgTest/results/4.CMJ.stderr [2025-07-01T02:43:54.644Z] STF 22:43:54.454 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17513353682675/PatModImg_PlatMod_0/20250630-224353-PatModImgTest/results/4.CMJ.stdout [2025-07-01T02:43:54.644Z] STF 22:43:54.454 - Monitoring processes: CMJ [2025-07-01T02:43:54.644Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-01T02:43:54.996Z] STF 22:43:54.569 - Monitoring Report Summary: [2025-07-01T02:43:54.996Z] STF 22:43:54.569 - o Process CMJ ended with the expected exit code (0) [2025-07-01T02:43:54.996Z] STF 22:43:54.569 - Created modular jar: 4.com.discreet.jar [2025-07-01T02:43:54.996Z] STF 22:43:54.569 - [2025-07-01T02:43:54.996Z] STF 22:43:54.569 - +------ Step 5 - Create tests jar [2025-07-01T02:43:54.996Z] STF 22:43:54.569 - | Create modular jar [2025-07-01T02:43:54.996Z] STF 22:43:54.569 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-07-01T02:43:54.996Z] STF 22:43:54.569 - | ModuleVersion: null [2025-07-01T02:43:54.996Z] STF 22:43:54.569 - | MainClass: null [2025-07-01T02:43:54.996Z] STF 22:43:54.569 - | HashModules: null [2025-07-01T02:43:54.996Z] STF 22:43:54.569 - | [2025-07-01T02:43:54.996Z] STF 22:43:54.569 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17513353682675/PatModImg_PlatMod_0/20250630-224353-PatModImgTest/modules/5.com.test.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2025-07-01T02:43:54.996Z] STF 22:43:54.569 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17513353682675/PatModImg_PlatMod_0/20250630-224353-PatModImgTest/results/5.CMJ.stderr [2025-07-01T02:43:54.996Z] STF 22:43:54.569 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17513353682675/PatModImg_PlatMod_0/20250630-224353-PatModImgTest/results/5.CMJ.stdout [2025-07-01T02:43:54.996Z] STF 22:43:54.570 - Monitoring processes: CMJ [2025-07-01T02:43:54.996Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-01T02:43:54.996Z] STF 22:43:54.685 - Monitoring Report Summary: [2025-07-01T02:43:54.996Z] STF 22:43:54.685 - o Process CMJ ended with the expected exit code (0) [2025-07-01T02:43:54.997Z] STF 22:43:54.685 - Created modular jar: 5.com.test.jar [2025-07-01T02:43:54.997Z] STF 22:43:54.685 - [2025-07-01T02:43:54.997Z] STF 22:43:54.685 - +------ Step 6 - Create runtime image for PatchModule test [2025-07-01T02:43:54.997Z] STF 22:43:54.685 - | Run jlink to create runtime image [2025-07-01T02:43:54.997Z] STF 22:43:54.685 - | ImageName: XpJVM [2025-07-01T02:43:54.997Z] STF 22:43:54.685 - | [2025-07-01T02:43:54.997Z] STF 22:43:54.685 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17513353682675/PatModImg_PlatMod_0/20250630-224353-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17513353682675/PatModImg_PlatMod_0/20250630-224353-PatModImgTest/tmp/6.XpJVM [2025-07-01T02:43:54.997Z] STF 22:43:54.685 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17513353682675/PatModImg_PlatMod_0/20250630-224353-PatModImgTest/results/6.JLNK.stderr [2025-07-01T02:43:54.997Z] STF 22:43:54.685 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17513353682675/PatModImg_PlatMod_0/20250630-224353-PatModImgTest/results/6.JLNK.stdout [2025-07-01T02:43:54.997Z] STF 22:43:54.686 - Monitoring processes: JLNK [2025-07-01T02:43:55.348Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-01T02:43:56.569Z] STF 22:43:56.037 - Monitoring Report Summary: [2025-07-01T02:43:56.569Z] STF 22:43:56.037 - o Process JLNK ended with the expected exit code (0) [2025-07-01T02:43:56.569Z] STF 22:43:56.037 - [2025-07-01T02:43:56.569Z] STF 22:43:56.037 - +------ Step 7 - Create com.hello jar [2025-07-01T02:43:56.569Z] STF 22:43:56.037 - | Create modular jar [2025-07-01T02:43:56.569Z] STF 22:43:56.037 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-07-01T02:43:56.569Z] STF 22:43:56.037 - | ModuleVersion: null [2025-07-01T02:43:56.569Z] STF 22:43:56.037 - | MainClass: null [2025-07-01T02:43:56.569Z] STF 22:43:56.037 - | HashModules: null [2025-07-01T02:43:56.569Z] STF 22:43:56.037 - | [2025-07-01T02:43:56.569Z] STF 22:43:56.037 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17513353682675/PatModImg_PlatMod_0/20250630-224353-PatModImgTest/modules/7.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2025-07-01T02:43:56.569Z] STF 22:43:56.037 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17513353682675/PatModImg_PlatMod_0/20250630-224353-PatModImgTest/results/7.CMJ.stderr [2025-07-01T02:43:56.569Z] STF 22:43:56.037 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17513353682675/PatModImg_PlatMod_0/20250630-224353-PatModImgTest/results/7.CMJ.stdout [2025-07-01T02:43:56.569Z] STF 22:43:56.039 - Monitoring processes: CMJ [2025-07-01T02:43:56.569Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-01T02:43:56.569Z] STF 22:43:56.170 - Monitoring Report Summary: [2025-07-01T02:43:56.569Z] STF 22:43:56.170 - o Process CMJ ended with the expected exit code (0) [2025-07-01T02:43:56.569Z] STF 22:43:56.170 - Created modular jar: 7.com.hello.jar [2025-07-01T02:43:56.569Z] STF 22:43:56.170 - [2025-07-01T02:43:56.569Z] STF 22:43:56.170 - +------ Step 8 - create java.xml.jar [2025-07-01T02:43:56.569Z] STF 22:43:56.170 - | Create modular jar [2025-07-01T02:43:56.569Z] STF 22:43:56.170 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-07-01T02:43:56.569Z] STF 22:43:56.170 - | ModuleVersion: null [2025-07-01T02:43:56.569Z] STF 22:43:56.170 - | MainClass: null [2025-07-01T02:43:56.569Z] STF 22:43:56.170 - | HashModules: null [2025-07-01T02:43:56.569Z] STF 22:43:56.170 - | [2025-07-01T02:43:56.569Z] STF 22:43:56.170 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17513353682675/PatModImg_PlatMod_0/20250630-224353-PatModImgTest/modules/8.java.xml.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2025-07-01T02:43:56.570Z] STF 22:43:56.170 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17513353682675/PatModImg_PlatMod_0/20250630-224353-PatModImgTest/results/8.CMJ.stderr [2025-07-01T02:43:56.570Z] STF 22:43:56.170 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17513353682675/PatModImg_PlatMod_0/20250630-224353-PatModImgTest/results/8.CMJ.stdout [2025-07-01T02:43:56.570Z] STF 22:43:56.171 - Monitoring processes: CMJ [2025-07-01T02:43:56.570Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-01T02:43:56.570Z] STF 22:43:56.284 - Monitoring Report Summary: [2025-07-01T02:43:56.570Z] STF 22:43:56.284 - o Process CMJ ended with the expected exit code (0) [2025-07-01T02:43:56.570Z] STF 22:43:56.285 - Created modular jar: 8.java.xml.jar [2025-07-01T02:43:56.570Z] STF 22:43:56.285 - [2025-07-01T02:43:56.570Z] STF 22:43:56.285 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory [2025-07-01T02:43:56.570Z] STF 22:43:56.285 - | Run foreground process [2025-07-01T02:43:56.570Z] STF 22:43:56.285 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17513353682675/PatModImg_PlatMod_0/20250630-224353-PatModImgTest/tmp/6.XpJVM/bin/java [2025-07-01T02:43:56.570Z] STF 22:43:56.285 - | Mnemonic: OT11 [2025-07-01T02:43:56.570Z] STF 22:43:56.285 - | Echo: ECHO_ON [2025-07-01T02:43:56.570Z] STF 22:43:56.285 - | Expectation: CLEAN_RUN within 5m [2025-07-01T02:43:56.570Z] STF 22:43:56.285 - | [2025-07-01T02:43:56.570Z] STF 22:43:56.285 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17513353682675/PatModImg_PlatMod_0/20250630-224353-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_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml -XX:+UseCompressedOops -classpath /Users/admin/workspace/testDependency/system_lib/junit/junit.jar:/Users/admin/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUpgradablePlatformModule [2025-07-01T02:43:56.570Z] STF 22:43:56.285 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17513353682675/PatModImg_PlatMod_0/20250630-224353-PatModImgTest/results/9.OT11.stderr [2025-07-01T02:43:56.570Z] STF 22:43:56.285 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17513353682675/PatModImg_PlatMod_0/20250630-224353-PatModImgTest/results/9.OT11.stdout [2025-07-01T02:43:56.570Z] STF 22:43:56.286 - Monitoring processes: OT11 [2025-07-01T02:43:57.320Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-01T02:43:57.670Z] OT11 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml [2025-07-01T02:43:58.021Z] OT11 JUnit version 4.12 [2025-07-01T02:43:58.021Z] OT11 . [2025-07-01T02:43:58.021Z] OT11 Time: 0.002 [2025-07-01T02:43:58.021Z] OT11 [2025-07-01T02:43:58.021Z] OT11 OK (1 test) [2025-07-01T02:43:58.021Z] OT11 [2025-07-01T02:43:58.021Z] STF 22:43:57.777 - Monitoring Report Summary: [2025-07-01T02:43:58.021Z] STF 22:43:57.777 - o Process OT11 ended with the expected exit code (0) [2025-07-01T02:43:58.021Z] STF 22:43:57.777 - [2025-07-01T02:43:58.021Z] STF 22:43:57.777 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar [2025-07-01T02:43:58.021Z] STF 22:43:57.777 - | Run foreground process [2025-07-01T02:43:58.021Z] STF 22:43:57.777 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17513353682675/PatModImg_PlatMod_0/20250630-224353-PatModImgTest/tmp/6.XpJVM/bin/java [2025-07-01T02:43:58.021Z] STF 22:43:57.777 - | Mnemonic: OT12 [2025-07-01T02:43:58.021Z] STF 22:43:57.777 - | Echo: ECHO_ON [2025-07-01T02:43:58.021Z] STF 22:43:57.777 - | Expectation: CLEAN_RUN within 5m [2025-07-01T02:43:58.021Z] STF 22:43:57.777 - | [2025-07-01T02:43:58.021Z] STF 22:43:57.777 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17513353682675/PatModImg_PlatMod_0/20250630-224353-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_aarch64_mac_testList_1/aqa-tests/TKG/output_17513353682675/PatModImg_PlatMod_0/20250630-224353-PatModImgTest/modules/8.java.xml.jar -XX:+UseCompressedOops -classpath /Users/admin/workspace/testDependency/system_lib/junit/junit.jar:/Users/admin/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUpgradablePlatformModule [2025-07-01T02:43:58.021Z] STF 22:43:57.777 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17513353682675/PatModImg_PlatMod_0/20250630-224353-PatModImgTest/results/10.OT12.stderr [2025-07-01T02:43:58.021Z] STF 22:43:57.777 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17513353682675/PatModImg_PlatMod_0/20250630-224353-PatModImgTest/results/10.OT12.stdout [2025-07-01T02:43:58.021Z] STF 22:43:57.778 - Monitoring processes: OT12 [2025-07-01T02:43:58.021Z] OT12 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-01T02:43:58.021Z] OT12 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17513353682675/PatModImg_PlatMod_0/20250630-224353-PatModImgTest/modules/8.java.xml.jar [2025-07-01T02:43:58.021Z] OT12 JUnit version 4.12 [2025-07-01T02:43:58.021Z] OT12 . [2025-07-01T02:43:58.021Z] OT12 Time: 0.002 [2025-07-01T02:43:58.021Z] OT12 [2025-07-01T02:43:58.021Z] OT12 OK (1 test) [2025-07-01T02:43:58.021Z] OT12 [2025-07-01T02:43:58.021Z] STF 22:43:57.887 - Monitoring Report Summary: [2025-07-01T02:43:58.022Z] STF 22:43:57.887 - o Process OT12 ended with the expected exit code (0) [2025-07-01T02:43:58.022Z] STF 22:43:57.887 - EXECUTE stage completed [2025-07-01T02:43:58.022Z] STF 22:43:57.889 - [2025-07-01T02:43:58.022Z] STF 22:43:57.889 - ==================== T E A R D O W N ==================== [2025-07-01T02:43:58.022Z] STF 22:43:57.889 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17513353682675/PatModImg_PlatMod_0/20250630-224353-PatModImgTest/tearDown.pl [2025-07-01T02:43:58.022Z] STF 22:43:57.914 - TEARDOWN stage completed [2025-07-01T02:43:58.022Z] STF 22:43:57.918 - [2025-07-01T02:43:58.022Z] STF 22:43:57.918 - ===================== R E S U L T S ===================== [2025-07-01T02:43:58.022Z] STF 22:43:57.918 - Stage results: [2025-07-01T02:43:58.022Z] STF 22:43:57.918 - setUp: pass [2025-07-01T02:43:58.022Z] STF 22:43:57.918 - execute: pass [2025-07-01T02:43:58.022Z] STF 22:43:57.918 - teardown: pass [2025-07-01T02:43:58.022Z] STF 22:43:57.918 - [2025-07-01T02:43:58.022Z] STF 22:43:57.918 - Overall result: PASSED [2025-07-01T02:43:58.022Z] ----------------------------------- [2025-07-01T02:43:58.022Z] PatModImg_PlatMod_0_PASSED [2025-07-01T02:43:58.022Z] ----------------------------------- [2025-07-01T02:43:58.022Z] [2025-07-01T02:43:58.022Z] TEST TEARDOWN: [2025-07-01T02:43:58.022Z] Nothing to be done for teardown. [2025-07-01T02:43:58.022Z] PatModImg_PlatMod_0 Finish Time: Mon Jun 30 22:43:57 2025 Epoch Time (ms): 1751337837935