PatModImg_PlatMod_0

[2025-06-11T22:27:42.678Z] Running test PatModImg_PlatMod_0 ... [2025-06-11T22:27:42.678Z] =============================================== [2025-06-11T22:27:42.678Z] PatModImg_PlatMod_0 Start Time: Wed Jun 11 18:27:40 2025 Epoch Time (ms): 1749680860502 [2025-06-11T22:27:42.678Z] variation: Mode150 [2025-06-11T22:27:42.678Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-06-11T22:27:42.678Z] { \ [2025-06-11T22:27:42.678Z] echo ""; echo "TEST SETUP:"; \ [2025-06-11T22:27:42.678Z] echo "Nothing to be done for setup."; \ [2025-06-11T22:27:42.678Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17496783809508/PatModImg_PlatMod_0"; \ [2025-06-11T22:27:42.678Z] cd "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17496783809508/PatModImg_PlatMod_0"; \ [2025-06-11T22:27:42.678Z] echo ""; echo "TESTING:"; \ [2025-06-11T22:27:42.678Z] perl /Users/admin/workspace/workspace/Test_openjdk17_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_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/../../testDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17496783809508/PatModImg_PlatMod_0" -test=PatModImgTest -test-args="variant=PlatMod"; \ [2025-06-11T22:27:42.678Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_PlatMod_0""_PASSED"; echo "-----------------------------------"; cd /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/..; rm -f -r "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17496783809508/PatModImg_PlatMod_0"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-06-11T22:27:42.678Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-06-11T22:27:42.678Z] echo "Nothing to be done for teardown."; \ [2025-06-11T22:27:42.678Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17496783809508/TestTargetResult"; [2025-06-11T22:27:42.678Z] [2025-06-11T22:27:42.678Z] TEST SETUP: [2025-06-11T22:27:42.678Z] Nothing to be done for setup. [2025-06-11T22:27:42.678Z] [2025-06-11T22:27:42.678Z] TESTING: [2025-06-11T22:27:42.678Z] STF 18:27:40.550 - ========================= S T F ========================= [2025-06-11T22:27:42.678Z] 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_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17496783809508/PatModImg_PlatMod_0 [2025-06-11T22:27:43.040Z] There is 28673 Mb free [2025-06-11T22:27:43.040Z] STF 18:27:40.554 - ================== G E N E R A T I O N ================== [2025-06-11T22:27:43.040Z] STF 18:27:40.555 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2025-06-11T22:27:43.040Z] STF 18:27:40.555 - Starting process to generate scripts: /Users/admin/workspace/workspace/Test_openjdk17_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_openjdk17_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_openjdk17_hs_sanity.system_aarch64_mac_testList_1/../../testDependency/system_lib//asm/asm.jar:/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/../../testDependency/system_lib//asm/asm-commons.jar:/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/../../testDependency/system_lib//log4j/log4j-api.jar:/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/../../testDependency/system_lib//log4j/log4j-core.jar:/Users/admin/workspace/workspace/Test_openjdk17_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_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17496783809508/PatModImg_PlatMod_0/20250611-182740-PatModImgTest/stf_parameters.properties, , /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17496783809508/PatModImg_PlatMod_0/20250611-182740-PatModImgTest" [2025-06-11T22:27:43.040Z] GEN stderr OpenJDK 64-Bit Server VM warning: 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-06-11T22:27:43.398Z] GEN 18:27:40.924 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-06-11T22:27:43.398Z] GEN 18:27:40.930 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-06-11T22:27:43.398Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-06-11T22:27:43.398Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-06-11T22:27:43.398Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-06-11T22:27:43.398Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-06-11T22:27:43.398Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-06-11T22:27:43.398Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-06-11T22:27:43.398Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-06-11T22:27:43.398Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-06-11T22:27:43.398Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-06-11T22:27:43.398Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-06-11T22:27:43.398Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-06-11T22:27:43.398Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-06-11T22:27:43.398Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-06-11T22:27:43.398Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-06-11T22:27:43.398Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-06-11T22:27:43.398Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-06-11T22:27:43.398Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/STF/stf.core/bin [2025-06-11T22:27:43.398Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-api.jar [2025-06-11T22:27:43.398Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-core.jar [2025-06-11T22:27:43.398Z] GEN /Users/admin/workspace/testDependency/system_lib/junit/junit.jar [2025-06-11T22:27:43.398Z] GEN 18:27:41.018 - Using Mode NoOptions. Values = '' [2025-06-11T22:27:43.398Z] GEN 18:27:41.058 - [2025-06-11T22:27:43.398Z] GEN 18:27:41.058 - Test command summary: [2025-06-11T22:27:43.398Z] GEN 18:27:41.058 - Step Stage Command Description [2025-06-11T22:27:43.398Z] GEN 18:27:41.058 - -----+--------+-----------------+------------ [2025-06-11T22:27:43.398Z] GEN 18:27:41.058 - 1 execute jar Create com.hello jar [2025-06-11T22:27:43.398Z] GEN 18:27:41.058 - 2 execute jar Create com.hola jar [2025-06-11T22:27:43.398Z] GEN 18:27:41.058 - 3 execute jar Create com.helper jar [2025-06-11T22:27:43.398Z] GEN 18:27:41.058 - 4 execute jar Create com.discreet jar [2025-06-11T22:27:43.398Z] GEN 18:27:41.058 - 5 execute jar Create tests jar [2025-06-11T22:27:43.398Z] GEN 18:27:41.058 - 6 execute jlink Create runtime image for PatchModule test [2025-06-11T22:27:43.398Z] GEN 18:27:41.058 - 7 execute jar Create com.hello jar [2025-06-11T22:27:43.398Z] GEN 18:27:41.058 - 8 execute jar create java.xml.jar [2025-06-11T22:27:43.398Z] GEN 18:27:41.058 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory [2025-06-11T22:27:43.398Z] GEN 18:27:41.058 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar [2025-06-11T22:27:43.398Z] STF 18:27:41.086 - [2025-06-11T22:27:43.398Z] STF 18:27:41.086 - Script generation completed [2025-06-11T22:27:43.398Z] STF 18:27:41.086 - [2025-06-11T22:27:43.398Z] STF 18:27:41.087 - [2025-06-11T22:27:43.398Z] STF 18:27:41.087 - ======================= S E T U P ======================= [2025-06-11T22:27:43.398Z] STF 18:27:41.087 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17496783809508/PatModImg_PlatMod_0/20250611-182740-PatModImgTest/setUp.pl [2025-06-11T22:27:43.398Z] STF 18:27:41.119 - SETUP stage completed [2025-06-11T22:27:43.398Z] STF 18:27:41.122 - [2025-06-11T22:27:43.398Z] STF 18:27:41.122 - ==================== E X E C U T E - ==================== [2025-06-11T22:27:43.398Z] STF 18:27:41.122 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17496783809508/PatModImg_PlatMod_0/20250611-182740-PatModImgTest/execute.pl [2025-06-11T22:27:43.398Z] STF 18:27:41.156 - [2025-06-11T22:27:43.398Z] STF 18:27:41.156 - Java version [2025-06-11T22:27:43.398Z] STF 18:27:41.156 - Running: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2025-06-11T22:27:43.398Z] STF 18:27:41.189 - [2025-06-11T22:27:43.398Z] STF 18:27:41.189 - +------ Step 1 - Create com.hello jar [2025-06-11T22:27:43.398Z] STF 18:27:41.189 - | Create modular jar [2025-06-11T22:27:43.398Z] STF 18:27:41.189 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-06-11T22:27:43.398Z] STF 18:27:41.189 - | ModuleVersion: null [2025-06-11T22:27:43.398Z] STF 18:27:41.189 - | MainClass: null [2025-06-11T22:27:43.398Z] STF 18:27:41.189 - | HashModules: null [2025-06-11T22:27:43.398Z] STF 18:27:41.189 - | [2025-06-11T22:27:43.398Z] STF 18:27:41.189 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17496783809508/PatModImg_PlatMod_0/20250611-182740-PatModImgTest/modules/1.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-06-11T22:27:43.398Z] STF 18:27:41.189 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17496783809508/PatModImg_PlatMod_0/20250611-182740-PatModImgTest/results/1.CMJ.stderr [2025-06-11T22:27:43.398Z] STF 18:27:41.189 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17496783809508/PatModImg_PlatMod_0/20250611-182740-PatModImgTest/results/1.CMJ.stdout [2025-06-11T22:27:43.398Z] openjdk version "17.0.16-beta" 2025-07-15 [2025-06-11T22:27:43.398Z] OpenJDK Runtime Environment Temurin-17.0.16+6-202506111932 (build 17.0.16-beta+6-ea) [2025-06-11T22:27:43.399Z] OpenJDK 64-Bit Server VM Temurin-17.0.16+6-202506111932 (build 17.0.16-beta+6-ea, mixed mode, sharing) [2025-06-11T22:27:43.399Z] STF 18:27:41.195 - Monitoring processes: CMJ [2025-06-11T22:27:43.755Z] STF 18:27:41.299 - Monitoring Report Summary: [2025-06-11T22:27:43.755Z] STF 18:27:41.299 - o Process CMJ ended with the expected exit code (0) [2025-06-11T22:27:43.755Z] STF 18:27:41.299 - Created modular jar: 1.com.hello.jar [2025-06-11T22:27:43.755Z] STF 18:27:41.299 - [2025-06-11T22:27:43.755Z] STF 18:27:41.299 - +------ Step 2 - Create com.hola jar [2025-06-11T22:27:43.755Z] STF 18:27:41.299 - | Create modular jar [2025-06-11T22:27:43.755Z] STF 18:27:41.299 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-06-11T22:27:43.755Z] STF 18:27:41.299 - | ModuleVersion: null [2025-06-11T22:27:43.755Z] STF 18:27:41.299 - | MainClass: null [2025-06-11T22:27:43.755Z] STF 18:27:41.299 - | HashModules: null [2025-06-11T22:27:43.755Z] STF 18:27:41.299 - | [2025-06-11T22:27:43.755Z] STF 18:27:41.299 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17496783809508/PatModImg_PlatMod_0/20250611-182740-PatModImgTest/modules/2.com.hola.jar -C /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2025-06-11T22:27:43.755Z] STF 18:27:41.299 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17496783809508/PatModImg_PlatMod_0/20250611-182740-PatModImgTest/results/2.CMJ.stderr [2025-06-11T22:27:43.755Z] STF 18:27:41.299 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17496783809508/PatModImg_PlatMod_0/20250611-182740-PatModImgTest/results/2.CMJ.stdout [2025-06-11T22:27:43.755Z] STF 18:27:41.301 - Monitoring processes: CMJ [2025-06-11T22:27:43.755Z] STF 18:27:41.393 - Monitoring Report Summary: [2025-06-11T22:27:43.755Z] STF 18:27:41.393 - o Process CMJ ended with the expected exit code (0) [2025-06-11T22:27:43.755Z] STF 18:27:41.393 - Created modular jar: 2.com.hola.jar [2025-06-11T22:27:43.755Z] STF 18:27:41.393 - [2025-06-11T22:27:43.755Z] STF 18:27:41.393 - +------ Step 3 - Create com.helper jar [2025-06-11T22:27:43.755Z] STF 18:27:41.393 - | Create modular jar [2025-06-11T22:27:43.755Z] STF 18:27:41.393 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-06-11T22:27:43.755Z] STF 18:27:41.393 - | ModuleVersion: null [2025-06-11T22:27:43.755Z] STF 18:27:41.393 - | MainClass: null [2025-06-11T22:27:43.755Z] STF 18:27:41.393 - | HashModules: null [2025-06-11T22:27:43.755Z] STF 18:27:41.393 - | [2025-06-11T22:27:43.755Z] STF 18:27:41.393 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17496783809508/PatModImg_PlatMod_0/20250611-182740-PatModImgTest/modules/3.com.helper.jar -C /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2025-06-11T22:27:43.755Z] STF 18:27:41.393 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17496783809508/PatModImg_PlatMod_0/20250611-182740-PatModImgTest/results/3.CMJ.stderr [2025-06-11T22:27:43.755Z] STF 18:27:41.393 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17496783809508/PatModImg_PlatMod_0/20250611-182740-PatModImgTest/results/3.CMJ.stdout [2025-06-11T22:27:43.755Z] STF 18:27:41.395 - Monitoring processes: CMJ [2025-06-11T22:27:43.755Z] STF 18:27:41.513 - Monitoring Report Summary: [2025-06-11T22:27:43.755Z] STF 18:27:41.513 - o Process CMJ ended with the expected exit code (0) [2025-06-11T22:27:43.755Z] STF 18:27:41.513 - Created modular jar: 3.com.helper.jar [2025-06-11T22:27:43.755Z] STF 18:27:41.513 - [2025-06-11T22:27:43.755Z] STF 18:27:41.513 - +------ Step 4 - Create com.discreet jar [2025-06-11T22:27:43.755Z] STF 18:27:41.513 - | Create modular jar [2025-06-11T22:27:43.755Z] STF 18:27:41.513 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-06-11T22:27:43.756Z] STF 18:27:41.513 - | ModuleVersion: null [2025-06-11T22:27:43.756Z] STF 18:27:41.513 - | MainClass: null [2025-06-11T22:27:43.756Z] STF 18:27:41.513 - | HashModules: null [2025-06-11T22:27:43.756Z] STF 18:27:41.513 - | [2025-06-11T22:27:43.756Z] STF 18:27:41.513 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17496783809508/PatModImg_PlatMod_0/20250611-182740-PatModImgTest/modules/4.com.discreet.jar -C /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2025-06-11T22:27:43.756Z] STF 18:27:41.513 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17496783809508/PatModImg_PlatMod_0/20250611-182740-PatModImgTest/results/4.CMJ.stderr [2025-06-11T22:27:43.756Z] STF 18:27:41.513 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17496783809508/PatModImg_PlatMod_0/20250611-182740-PatModImgTest/results/4.CMJ.stdout [2025-06-11T22:27:43.756Z] STF 18:27:41.514 - Monitoring processes: CMJ [2025-06-11T22:27:43.756Z] STF 18:27:41.614 - Monitoring Report Summary: [2025-06-11T22:27:43.756Z] STF 18:27:41.614 - o Process CMJ ended with the expected exit code (0) [2025-06-11T22:27:43.756Z] STF 18:27:41.614 - Created modular jar: 4.com.discreet.jar [2025-06-11T22:27:43.756Z] STF 18:27:41.614 - [2025-06-11T22:27:43.756Z] STF 18:27:41.614 - +------ Step 5 - Create tests jar [2025-06-11T22:27:43.756Z] STF 18:27:41.614 - | Create modular jar [2025-06-11T22:27:43.756Z] STF 18:27:41.614 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-06-11T22:27:43.756Z] STF 18:27:41.614 - | ModuleVersion: null [2025-06-11T22:27:43.756Z] STF 18:27:41.614 - | MainClass: null [2025-06-11T22:27:43.756Z] STF 18:27:41.614 - | HashModules: null [2025-06-11T22:27:43.756Z] STF 18:27:41.614 - | [2025-06-11T22:27:43.756Z] STF 18:27:41.614 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17496783809508/PatModImg_PlatMod_0/20250611-182740-PatModImgTest/modules/5.com.test.jar -C /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2025-06-11T22:27:43.756Z] STF 18:27:41.614 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17496783809508/PatModImg_PlatMod_0/20250611-182740-PatModImgTest/results/5.CMJ.stderr [2025-06-11T22:27:43.756Z] STF 18:27:41.614 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17496783809508/PatModImg_PlatMod_0/20250611-182740-PatModImgTest/results/5.CMJ.stdout [2025-06-11T22:27:43.756Z] STF 18:27:41.615 - Monitoring processes: CMJ [2025-06-11T22:27:44.111Z] STF 18:27:41.723 - Monitoring Report Summary: [2025-06-11T22:27:44.111Z] STF 18:27:41.723 - o Process CMJ ended with the expected exit code (0) [2025-06-11T22:27:44.111Z] STF 18:27:41.723 - Created modular jar: 5.com.test.jar [2025-06-11T22:27:44.111Z] STF 18:27:41.723 - [2025-06-11T22:27:44.111Z] STF 18:27:41.723 - +------ Step 6 - Create runtime image for PatchModule test [2025-06-11T22:27:44.111Z] STF 18:27:41.723 - | Run jlink to create runtime image [2025-06-11T22:27:44.111Z] STF 18:27:41.723 - | ImageName: XpJVM [2025-06-11T22:27:44.111Z] STF 18:27:41.723 - | [2025-06-11T22:27:44.111Z] STF 18:27:41.723 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17496783809508/PatModImg_PlatMod_0/20250611-182740-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17496783809508/PatModImg_PlatMod_0/20250611-182740-PatModImgTest/tmp/6.XpJVM [2025-06-11T22:27:44.111Z] STF 18:27:41.723 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17496783809508/PatModImg_PlatMod_0/20250611-182740-PatModImgTest/results/6.JLNK.stderr [2025-06-11T22:27:44.111Z] STF 18:27:41.723 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17496783809508/PatModImg_PlatMod_0/20250611-182740-PatModImgTest/results/6.JLNK.stdout [2025-06-11T22:27:44.111Z] STF 18:27:41.725 - Monitoring processes: JLNK [2025-06-11T22:27:45.877Z] STF 18:27:43.304 - Monitoring Report Summary: [2025-06-11T22:27:45.877Z] STF 18:27:43.304 - o Process JLNK ended with the expected exit code (0) [2025-06-11T22:27:45.877Z] STF 18:27:43.305 - [2025-06-11T22:27:45.877Z] STF 18:27:43.305 - +------ Step 7 - Create com.hello jar [2025-06-11T22:27:45.877Z] STF 18:27:43.305 - | Create modular jar [2025-06-11T22:27:45.877Z] STF 18:27:43.305 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-06-11T22:27:45.877Z] STF 18:27:43.305 - | ModuleVersion: null [2025-06-11T22:27:45.877Z] STF 18:27:43.305 - | MainClass: null [2025-06-11T22:27:45.877Z] STF 18:27:43.305 - | HashModules: null [2025-06-11T22:27:45.877Z] STF 18:27:43.305 - | [2025-06-11T22:27:45.877Z] STF 18:27:43.305 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17496783809508/PatModImg_PlatMod_0/20250611-182740-PatModImgTest/modules/7.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2025-06-11T22:27:45.877Z] STF 18:27:43.305 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17496783809508/PatModImg_PlatMod_0/20250611-182740-PatModImgTest/results/7.CMJ.stderr [2025-06-11T22:27:45.877Z] STF 18:27:43.305 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17496783809508/PatModImg_PlatMod_0/20250611-182740-PatModImgTest/results/7.CMJ.stdout [2025-06-11T22:27:45.877Z] STF 18:27:43.306 - Monitoring processes: CMJ [2025-06-11T22:27:45.877Z] STF 18:27:43.409 - Monitoring Report Summary: [2025-06-11T22:27:45.877Z] STF 18:27:43.409 - o Process CMJ ended with the expected exit code (0) [2025-06-11T22:27:45.877Z] STF 18:27:43.409 - Created modular jar: 7.com.hello.jar [2025-06-11T22:27:45.877Z] STF 18:27:43.409 - [2025-06-11T22:27:45.877Z] STF 18:27:43.409 - +------ Step 8 - create java.xml.jar [2025-06-11T22:27:45.877Z] STF 18:27:43.409 - | Create modular jar [2025-06-11T22:27:45.877Z] STF 18:27:43.409 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-06-11T22:27:45.877Z] STF 18:27:43.409 - | ModuleVersion: null [2025-06-11T22:27:45.877Z] STF 18:27:43.409 - | MainClass: null [2025-06-11T22:27:45.877Z] STF 18:27:43.409 - | HashModules: null [2025-06-11T22:27:45.877Z] STF 18:27:43.409 - | [2025-06-11T22:27:45.877Z] STF 18:27:43.409 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17496783809508/PatModImg_PlatMod_0/20250611-182740-PatModImgTest/modules/8.java.xml.jar -C /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2025-06-11T22:27:45.877Z] STF 18:27:43.409 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17496783809508/PatModImg_PlatMod_0/20250611-182740-PatModImgTest/results/8.CMJ.stderr [2025-06-11T22:27:45.877Z] STF 18:27:43.409 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17496783809508/PatModImg_PlatMod_0/20250611-182740-PatModImgTest/results/8.CMJ.stdout [2025-06-11T22:27:45.877Z] STF 18:27:43.410 - Monitoring processes: CMJ [2025-06-11T22:27:45.877Z] STF 18:27:43.501 - Monitoring Report Summary: [2025-06-11T22:27:45.877Z] STF 18:27:43.501 - o Process CMJ ended with the expected exit code (0) [2025-06-11T22:27:45.877Z] STF 18:27:43.501 - Created modular jar: 8.java.xml.jar [2025-06-11T22:27:45.877Z] STF 18:27:43.501 - [2025-06-11T22:27:45.877Z] STF 18:27:43.501 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory [2025-06-11T22:27:45.877Z] STF 18:27:43.501 - | Run foreground process [2025-06-11T22:27:45.877Z] STF 18:27:43.501 - | Program: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17496783809508/PatModImg_PlatMod_0/20250611-182740-PatModImgTest/tmp/6.XpJVM/bin/java [2025-06-11T22:27:45.877Z] STF 18:27:43.501 - | Mnemonic: OT11 [2025-06-11T22:27:45.877Z] STF 18:27:43.501 - | Echo: ECHO_ON [2025-06-11T22:27:45.877Z] STF 18:27:43.501 - | Expectation: CLEAN_RUN within 5m [2025-06-11T22:27:45.877Z] STF 18:27:43.501 - | [2025-06-11T22:27:45.877Z] STF 18:27:43.501 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17496783809508/PatModImg_PlatMod_0/20250611-182740-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=/Users/admin/workspace/workspace/Test_openjdk17_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-06-11T22:27:45.877Z] STF 18:27:43.501 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17496783809508/PatModImg_PlatMod_0/20250611-182740-PatModImgTest/results/9.OT11.stderr [2025-06-11T22:27:45.877Z] STF 18:27:43.501 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17496783809508/PatModImg_PlatMod_0/20250611-182740-PatModImgTest/results/9.OT11.stdout [2025-06-11T22:27:45.877Z] STF 18:27:43.502 - Monitoring processes: OT11 [2025-06-11T22:27:47.116Z] OT11 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml [2025-06-11T22:27:47.471Z] OT11 JUnit version 4.12 [2025-06-11T22:27:47.471Z] OT11 . [2025-06-11T22:27:47.471Z] OT11 Time: 0.001 [2025-06-11T22:27:47.471Z] OT11 [2025-06-11T22:27:47.471Z] OT11 OK (1 test) [2025-06-11T22:27:47.471Z] OT11 [2025-06-11T22:27:47.471Z] STF 18:27:45.317 - Monitoring Report Summary: [2025-06-11T22:27:47.471Z] STF 18:27:45.317 - o Process OT11 ended with the expected exit code (0) [2025-06-11T22:27:47.471Z] STF 18:27:45.317 - [2025-06-11T22:27:47.471Z] STF 18:27:45.317 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar [2025-06-11T22:27:47.471Z] STF 18:27:45.317 - | Run foreground process [2025-06-11T22:27:47.471Z] STF 18:27:45.317 - | Program: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17496783809508/PatModImg_PlatMod_0/20250611-182740-PatModImgTest/tmp/6.XpJVM/bin/java [2025-06-11T22:27:47.471Z] STF 18:27:45.317 - | Mnemonic: OT12 [2025-06-11T22:27:47.471Z] STF 18:27:45.317 - | Echo: ECHO_ON [2025-06-11T22:27:47.471Z] STF 18:27:45.317 - | Expectation: CLEAN_RUN within 5m [2025-06-11T22:27:47.471Z] STF 18:27:45.317 - | [2025-06-11T22:27:47.471Z] STF 18:27:45.317 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17496783809508/PatModImg_PlatMod_0/20250611-182740-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17496783809508/PatModImg_PlatMod_0/20250611-182740-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-06-11T22:27:47.471Z] STF 18:27:45.317 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17496783809508/PatModImg_PlatMod_0/20250611-182740-PatModImgTest/results/10.OT12.stderr [2025-06-11T22:27:47.471Z] STF 18:27:45.317 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17496783809508/PatModImg_PlatMod_0/20250611-182740-PatModImgTest/results/10.OT12.stdout [2025-06-11T22:27:47.471Z] STF 18:27:45.318 - Monitoring processes: OT12 [2025-06-11T22:27:47.900Z] OT12 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17496783809508/PatModImg_PlatMod_0/20250611-182740-PatModImgTest/modules/8.java.xml.jar [2025-06-11T22:27:47.900Z] OT12 JUnit version 4.12 [2025-06-11T22:27:47.900Z] OT12 . [2025-06-11T22:27:47.900Z] OT12 Time: 0.001 [2025-06-11T22:27:47.900Z] OT12 [2025-06-11T22:27:47.900Z] OT12 OK (1 test) [2025-06-11T22:27:47.900Z] OT12 [2025-06-11T22:27:47.900Z] STF 18:27:45.464 - Monitoring Report Summary: [2025-06-11T22:27:47.900Z] STF 18:27:45.464 - o Process OT12 ended with the expected exit code (0) [2025-06-11T22:27:47.900Z] STF 18:27:45.464 - EXECUTE stage completed [2025-06-11T22:27:47.900Z] STF 18:27:45.491 - [2025-06-11T22:27:47.900Z] STF 18:27:45.491 - ==================== T E A R D O W N ==================== [2025-06-11T22:27:47.900Z] STF 18:27:45.491 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17496783809508/PatModImg_PlatMod_0/20250611-182740-PatModImgTest/tearDown.pl [2025-06-11T22:27:47.900Z] STF 18:27:45.522 - TEARDOWN stage completed [2025-06-11T22:27:47.900Z] STF 18:27:45.529 - [2025-06-11T22:27:47.900Z] STF 18:27:45.529 - ===================== R E S U L T S ===================== [2025-06-11T22:27:47.901Z] STF 18:27:45.529 - Stage results: [2025-06-11T22:27:47.901Z] STF 18:27:45.529 - setUp: pass [2025-06-11T22:27:47.901Z] STF 18:27:45.529 - execute: pass [2025-06-11T22:27:47.901Z] STF 18:27:45.529 - teardown: pass [2025-06-11T22:27:47.901Z] STF 18:27:45.529 - [2025-06-11T22:27:47.901Z] STF 18:27:45.529 - Overall result: PASSED [2025-06-11T22:27:47.901Z] ----------------------------------- [2025-06-11T22:27:47.901Z] PatModImg_PlatMod_0_PASSED [2025-06-11T22:27:47.901Z] ----------------------------------- [2025-06-11T22:27:47.901Z] [2025-06-11T22:27:47.901Z] TEST TEARDOWN: [2025-06-11T22:27:47.901Z] Nothing to be done for teardown. [2025-06-11T22:27:47.901Z] PatModImg_PlatMod_0 Finish Time: Wed Jun 11 18:27:45 2025 Epoch Time (ms): 1749680865551