PatModImg_PlatMod_0

[2025-06-19T09:04:50.546Z] Running test PatModImg_PlatMod_0 ... [2025-06-19T09:04:50.546Z] =============================================== [2025-06-19T09:04:50.546Z] PatModImg_PlatMod_0 Start Time: Thu Jun 19 10:04:50 2025 Epoch Time (ms): 1750323890418 [2025-06-19T09:04:50.546Z] variation: Mode150 [2025-06-19T09:04:50.546Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-06-19T09:04:50.546Z] { \ [2025-06-19T09:04:50.546Z] echo ""; echo "TEST SETUP:"; \ [2025-06-19T09:04:50.546Z] echo "Nothing to be done for setup."; \ [2025-06-19T09:04:50.546Z] mkdir -p "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17503234712369/PatModImg_PlatMod_0"; \ [2025-06-19T09:04:50.546Z] cd "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17503234712369/PatModImg_PlatMod_0"; \ [2025-06-19T09:04:50.546Z] echo ""; echo "TESTING:"; \ [2025-06-19T09:04:50.546Z] perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17503234712369/PatModImg_PlatMod_0" -test=PatModImgTest -test-args="variant=PlatMod"; \ [2025-06-19T09:04:50.546Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_PlatMod_0""_PASSED"; echo "-----------------------------------"; cd /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/..; rm -f -r "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17503234712369/PatModImg_PlatMod_0"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-06-19T09:04:50.546Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-06-19T09:04:50.546Z] echo "Nothing to be done for teardown."; \ [2025-06-19T09:04:50.546Z] } 2>&1 | tee -a "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17503234712369/TestTargetResult"; [2025-06-19T09:04:50.546Z] [2025-06-19T09:04:50.546Z] TEST SETUP: [2025-06-19T09:04:50.546Z] Nothing to be done for setup. [2025-06-19T09:04:50.546Z] [2025-06-19T09:04:50.546Z] TESTING: [2025-06-19T09:04:50.546Z] STF 10:04:50.519 - ========================= S T F ========================= [2025-06-19T09:04:50.546Z] systemtest-prereqs has been processed, and set to: /Users/jenkins/testDependency/system_libRetrieving amount of free space on drive containing /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17503234712369/PatModImg_PlatMod_0 [2025-06-19T09:04:50.898Z] There is 52315 Mb free [2025-06-19T09:04:50.898Z] STF 10:04:50.529 - ================== G E N E R A T I O N ================== [2025-06-19T09:04:50.898Z] STF 10:04:50.531 - Checking JVM: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2025-06-19T09:04:50.899Z] STF 10:04:50.531 - Starting process to generate scripts: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/..//bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//asm/asm.jar:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//asm/asm-commons.jar:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//log4j/log4j-api.jar:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//log4j/log4j-core.jar:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17503234712369/PatModImg_PlatMod_0/20250619-100450-PatModImgTest/stf_parameters.properties, , /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17503234712369/PatModImg_PlatMod_0/20250619-100450-PatModImgTest" [2025-06-19T09:04:51.652Z] GEN 10:04:51.404 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-06-19T09:04:51.652Z] GEN 10:04:51.426 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-06-19T09:04:51.652Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-06-19T09:04:51.652Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-06-19T09:04:51.652Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-06-19T09:04:51.652Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-06-19T09:04:51.652Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-06-19T09:04:51.652Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-06-19T09:04:51.652Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-06-19T09:04:51.652Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-06-19T09:04:51.652Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-06-19T09:04:51.652Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-06-19T09:04:51.652Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-06-19T09:04:51.652Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-06-19T09:04:51.652Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-06-19T09:04:51.652Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-06-19T09:04:51.652Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-06-19T09:04:51.652Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-06-19T09:04:51.652Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/bin [2025-06-19T09:04:51.652Z] GEN /Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-06-19T09:04:51.652Z] GEN /Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-06-19T09:04:51.652Z] GEN /Users/jenkins/testDependency/system_lib/junit/junit.jar [2025-06-19T09:04:51.652Z] GEN 10:04:51.635 - Using Mode NoOptions. Values = '' [2025-06-19T09:04:52.006Z] GEN 10:04:51.724 - [2025-06-19T09:04:52.006Z] GEN 10:04:51.725 - Test command summary: [2025-06-19T09:04:52.006Z] GEN 10:04:51.725 - Step Stage Command Description [2025-06-19T09:04:52.006Z] GEN 10:04:51.725 - -----+--------+-----------------+------------ [2025-06-19T09:04:52.006Z] GEN 10:04:51.725 - 1 execute jar Create com.hello jar [2025-06-19T09:04:52.006Z] GEN 10:04:51.726 - 2 execute jar Create com.hola jar [2025-06-19T09:04:52.006Z] GEN 10:04:51.726 - 3 execute jar Create com.helper jar [2025-06-19T09:04:52.006Z] GEN 10:04:51.726 - 4 execute jar Create com.discreet jar [2025-06-19T09:04:52.006Z] GEN 10:04:51.726 - 5 execute jar Create tests jar [2025-06-19T09:04:52.006Z] GEN 10:04:51.726 - 6 execute jlink Create runtime image for PatchModule test [2025-06-19T09:04:52.006Z] GEN 10:04:51.726 - 7 execute jar Create com.hello jar [2025-06-19T09:04:52.006Z] GEN 10:04:51.726 - 8 execute jar create java.xml.jar [2025-06-19T09:04:52.006Z] GEN 10:04:51.726 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory [2025-06-19T09:04:52.006Z] GEN 10:04:51.726 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar [2025-06-19T09:04:52.006Z] STF 10:04:51.757 - [2025-06-19T09:04:52.006Z] STF 10:04:51.757 - Script generation completed [2025-06-19T09:04:52.006Z] STF 10:04:51.757 - [2025-06-19T09:04:52.006Z] STF 10:04:51.757 - [2025-06-19T09:04:52.006Z] STF 10:04:51.757 - ======================= S E T U P ======================= [2025-06-19T09:04:52.006Z] STF 10:04:51.757 - Running setup: perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17503234712369/PatModImg_PlatMod_0/20250619-100450-PatModImgTest/setUp.pl [2025-06-19T09:04:52.006Z] STF 10:04:51.832 - SETUP stage completed [2025-06-19T09:04:52.006Z] STF 10:04:51.839 - [2025-06-19T09:04:52.006Z] STF 10:04:51.839 - ==================== E X E C U T E - ==================== [2025-06-19T09:04:52.006Z] STF 10:04:51.839 - Running execute: perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17503234712369/PatModImg_PlatMod_0/20250619-100450-PatModImgTest/execute.pl [2025-06-19T09:04:52.006Z] STF 10:04:51.915 - [2025-06-19T09:04:52.006Z] STF 10:04:51.916 - Java version [2025-06-19T09:04:52.006Z] STF 10:04:51.916 - Running: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2025-06-19T09:04:52.359Z] openjdk version "17.0.16-beta" 2025-07-15 [2025-06-19T09:04:52.359Z] OpenJDK Runtime Environment Temurin-17.0.16+7-202506181933 (build 17.0.16-beta+7-ea) [2025-06-19T09:04:52.359Z] OpenJDK 64-Bit Server VM Temurin-17.0.16+7-202506181933 (build 17.0.16-beta+7-ea, mixed mode) [2025-06-19T09:04:52.359Z] STF 10:04:52.019 - [2025-06-19T09:04:52.359Z] STF 10:04:52.019 - +------ Step 1 - Create com.hello jar [2025-06-19T09:04:52.359Z] STF 10:04:52.019 - | Create modular jar [2025-06-19T09:04:52.359Z] STF 10:04:52.019 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-06-19T09:04:52.359Z] STF 10:04:52.019 - | ModuleVersion: null [2025-06-19T09:04:52.359Z] STF 10:04:52.019 - | MainClass: null [2025-06-19T09:04:52.359Z] STF 10:04:52.019 - | HashModules: null [2025-06-19T09:04:52.359Z] STF 10:04:52.019 - | [2025-06-19T09:04:52.359Z] STF 10:04:52.020 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/PatModImg_PlatMod_0/20250619-100450-PatModImgTest/modules/1.com.hello.jar -C /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-06-19T09:04:52.359Z] STF 10:04:52.020 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/PatModImg_PlatMod_0/20250619-100450-PatModImgTest/results/1.CMJ.stderr [2025-06-19T09:04:52.359Z] STF 10:04:52.020 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/PatModImg_PlatMod_0/20250619-100450-PatModImgTest/results/1.CMJ.stdout [2025-06-19T09:04:52.359Z] STF 10:04:52.031 - Monitoring processes: CMJ [2025-06-19T09:04:52.359Z] STF 10:04:52.312 - Monitoring Report Summary: [2025-06-19T09:04:52.359Z] STF 10:04:52.312 - o Process CMJ ended with the expected exit code (0) [2025-06-19T09:04:52.359Z] STF 10:04:52.313 - Created modular jar: 1.com.hello.jar [2025-06-19T09:04:52.359Z] STF 10:04:52.313 - [2025-06-19T09:04:52.359Z] STF 10:04:52.313 - +------ Step 2 - Create com.hola jar [2025-06-19T09:04:52.359Z] STF 10:04:52.313 - | Create modular jar [2025-06-19T09:04:52.359Z] STF 10:04:52.313 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-06-19T09:04:52.359Z] STF 10:04:52.313 - | ModuleVersion: null [2025-06-19T09:04:52.359Z] STF 10:04:52.313 - | MainClass: null [2025-06-19T09:04:52.359Z] STF 10:04:52.313 - | HashModules: null [2025-06-19T09:04:52.359Z] STF 10:04:52.313 - | [2025-06-19T09:04:52.359Z] STF 10:04:52.313 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/PatModImg_PlatMod_0/20250619-100450-PatModImgTest/modules/2.com.hola.jar -C /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2025-06-19T09:04:52.359Z] STF 10:04:52.313 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/PatModImg_PlatMod_0/20250619-100450-PatModImgTest/results/2.CMJ.stderr [2025-06-19T09:04:52.359Z] STF 10:04:52.313 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/PatModImg_PlatMod_0/20250619-100450-PatModImgTest/results/2.CMJ.stdout [2025-06-19T09:04:52.359Z] STF 10:04:52.315 - Monitoring processes: CMJ [2025-06-19T09:04:52.712Z] STF 10:04:52.602 - Monitoring Report Summary: [2025-06-19T09:04:52.712Z] STF 10:04:52.602 - o Process CMJ ended with the expected exit code (0) [2025-06-19T09:04:52.712Z] STF 10:04:52.603 - Created modular jar: 2.com.hola.jar [2025-06-19T09:04:52.712Z] STF 10:04:52.603 - [2025-06-19T09:04:52.712Z] STF 10:04:52.603 - +------ Step 3 - Create com.helper jar [2025-06-19T09:04:52.712Z] STF 10:04:52.603 - | Create modular jar [2025-06-19T09:04:52.712Z] STF 10:04:52.603 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-06-19T09:04:52.712Z] STF 10:04:52.603 - | ModuleVersion: null [2025-06-19T09:04:52.712Z] STF 10:04:52.603 - | MainClass: null [2025-06-19T09:04:52.712Z] STF 10:04:52.603 - | HashModules: null [2025-06-19T09:04:52.712Z] STF 10:04:52.603 - | [2025-06-19T09:04:52.712Z] STF 10:04:52.603 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/PatModImg_PlatMod_0/20250619-100450-PatModImgTest/modules/3.com.helper.jar -C /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2025-06-19T09:04:52.712Z] STF 10:04:52.603 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/PatModImg_PlatMod_0/20250619-100450-PatModImgTest/results/3.CMJ.stderr [2025-06-19T09:04:52.712Z] STF 10:04:52.603 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/PatModImg_PlatMod_0/20250619-100450-PatModImgTest/results/3.CMJ.stdout [2025-06-19T09:04:52.712Z] STF 10:04:52.605 - Monitoring processes: CMJ [2025-06-19T09:04:53.064Z] STF 10:04:52.895 - Monitoring Report Summary: [2025-06-19T09:04:53.064Z] STF 10:04:52.895 - o Process CMJ ended with the expected exit code (0) [2025-06-19T09:04:53.064Z] STF 10:04:52.896 - Created modular jar: 3.com.helper.jar [2025-06-19T09:04:53.064Z] STF 10:04:52.896 - [2025-06-19T09:04:53.064Z] STF 10:04:52.896 - +------ Step 4 - Create com.discreet jar [2025-06-19T09:04:53.064Z] STF 10:04:52.896 - | Create modular jar [2025-06-19T09:04:53.064Z] STF 10:04:52.896 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-06-19T09:04:53.064Z] STF 10:04:52.896 - | ModuleVersion: null [2025-06-19T09:04:53.064Z] STF 10:04:52.896 - | MainClass: null [2025-06-19T09:04:53.064Z] STF 10:04:52.896 - | HashModules: null [2025-06-19T09:04:53.065Z] STF 10:04:52.896 - | [2025-06-19T09:04:53.065Z] STF 10:04:52.896 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/PatModImg_PlatMod_0/20250619-100450-PatModImgTest/modules/4.com.discreet.jar -C /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2025-06-19T09:04:53.065Z] STF 10:04:52.896 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/PatModImg_PlatMod_0/20250619-100450-PatModImgTest/results/4.CMJ.stderr [2025-06-19T09:04:53.065Z] STF 10:04:52.896 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/PatModImg_PlatMod_0/20250619-100450-PatModImgTest/results/4.CMJ.stdout [2025-06-19T09:04:53.065Z] STF 10:04:52.898 - Monitoring processes: CMJ [2025-06-19T09:04:53.417Z] STF 10:04:53.180 - Monitoring Report Summary: [2025-06-19T09:04:53.417Z] STF 10:04:53.180 - o Process CMJ ended with the expected exit code (0) [2025-06-19T09:04:53.417Z] STF 10:04:53.181 - Created modular jar: 4.com.discreet.jar [2025-06-19T09:04:53.417Z] STF 10:04:53.181 - [2025-06-19T09:04:53.417Z] STF 10:04:53.181 - +------ Step 5 - Create tests jar [2025-06-19T09:04:53.417Z] STF 10:04:53.181 - | Create modular jar [2025-06-19T09:04:53.417Z] STF 10:04:53.181 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-06-19T09:04:53.417Z] STF 10:04:53.181 - | ModuleVersion: null [2025-06-19T09:04:53.417Z] STF 10:04:53.181 - | MainClass: null [2025-06-19T09:04:53.417Z] STF 10:04:53.181 - | HashModules: null [2025-06-19T09:04:53.417Z] STF 10:04:53.181 - | [2025-06-19T09:04:53.417Z] STF 10:04:53.181 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/PatModImg_PlatMod_0/20250619-100450-PatModImgTest/modules/5.com.test.jar -C /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2025-06-19T09:04:53.417Z] STF 10:04:53.181 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/PatModImg_PlatMod_0/20250619-100450-PatModImgTest/results/5.CMJ.stderr [2025-06-19T09:04:53.417Z] STF 10:04:53.182 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/PatModImg_PlatMod_0/20250619-100450-PatModImgTest/results/5.CMJ.stdout [2025-06-19T09:04:53.417Z] STF 10:04:53.184 - Monitoring processes: CMJ [2025-06-19T09:04:53.769Z] STF 10:04:53.485 - Monitoring Report Summary: [2025-06-19T09:04:53.769Z] STF 10:04:53.485 - o Process CMJ ended with the expected exit code (0) [2025-06-19T09:04:53.769Z] STF 10:04:53.486 - Created modular jar: 5.com.test.jar [2025-06-19T09:04:53.769Z] STF 10:04:53.486 - [2025-06-19T09:04:53.769Z] STF 10:04:53.486 - +------ Step 6 - Create runtime image for PatchModule test [2025-06-19T09:04:53.769Z] STF 10:04:53.486 - | Run jlink to create runtime image [2025-06-19T09:04:53.769Z] STF 10:04:53.486 - | ImageName: XpJVM [2025-06-19T09:04:53.769Z] STF 10:04:53.486 - | [2025-06-19T09:04:53.769Z] STF 10:04:53.486 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/PatModImg_PlatMod_0/20250619-100450-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/PatModImg_PlatMod_0/20250619-100450-PatModImgTest/tmp/6.XpJVM [2025-06-19T09:04:53.769Z] STF 10:04:53.486 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/PatModImg_PlatMod_0/20250619-100450-PatModImgTest/results/6.JLNK.stderr [2025-06-19T09:04:53.769Z] STF 10:04:53.486 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/PatModImg_PlatMod_0/20250619-100450-PatModImgTest/results/6.JLNK.stdout [2025-06-19T09:04:53.769Z] STF 10:04:53.488 - Monitoring processes: JLNK [2025-06-19T09:04:56.141Z] STF 10:04:55.812 - Monitoring Report Summary: [2025-06-19T09:04:56.141Z] STF 10:04:55.812 - o Process JLNK ended with the expected exit code (0) [2025-06-19T09:04:56.141Z] STF 10:04:55.813 - [2025-06-19T09:04:56.141Z] STF 10:04:55.813 - +------ Step 7 - Create com.hello jar [2025-06-19T09:04:56.141Z] STF 10:04:55.813 - | Create modular jar [2025-06-19T09:04:56.141Z] STF 10:04:55.813 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-06-19T09:04:56.141Z] STF 10:04:55.813 - | ModuleVersion: null [2025-06-19T09:04:56.141Z] STF 10:04:55.813 - | MainClass: null [2025-06-19T09:04:56.141Z] STF 10:04:55.813 - | HashModules: null [2025-06-19T09:04:56.141Z] STF 10:04:55.813 - | [2025-06-19T09:04:56.141Z] STF 10:04:55.813 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/PatModImg_PlatMod_0/20250619-100450-PatModImgTest/modules/7.com.hello.jar -C /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2025-06-19T09:04:56.141Z] STF 10:04:55.813 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/PatModImg_PlatMod_0/20250619-100450-PatModImgTest/results/7.CMJ.stderr [2025-06-19T09:04:56.141Z] STF 10:04:55.813 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/PatModImg_PlatMod_0/20250619-100450-PatModImgTest/results/7.CMJ.stdout [2025-06-19T09:04:56.141Z] STF 10:04:55.815 - Monitoring processes: CMJ [2025-06-19T09:04:56.142Z] STF 10:04:56.096 - Monitoring Report Summary: [2025-06-19T09:04:56.142Z] STF 10:04:56.096 - o Process CMJ ended with the expected exit code (0) [2025-06-19T09:04:56.142Z] STF 10:04:56.096 - Created modular jar: 7.com.hello.jar [2025-06-19T09:04:56.142Z] STF 10:04:56.096 - [2025-06-19T09:04:56.142Z] STF 10:04:56.096 - +------ Step 8 - create java.xml.jar [2025-06-19T09:04:56.142Z] STF 10:04:56.096 - | Create modular jar [2025-06-19T09:04:56.142Z] STF 10:04:56.096 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-06-19T09:04:56.142Z] STF 10:04:56.096 - | ModuleVersion: null [2025-06-19T09:04:56.142Z] STF 10:04:56.096 - | MainClass: null [2025-06-19T09:04:56.142Z] STF 10:04:56.096 - | HashModules: null [2025-06-19T09:04:56.142Z] STF 10:04:56.096 - | [2025-06-19T09:04:56.142Z] STF 10:04:56.097 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/PatModImg_PlatMod_0/20250619-100450-PatModImgTest/modules/8.java.xml.jar -C /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2025-06-19T09:04:56.142Z] STF 10:04:56.097 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/PatModImg_PlatMod_0/20250619-100450-PatModImgTest/results/8.CMJ.stderr [2025-06-19T09:04:56.142Z] STF 10:04:56.097 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/PatModImg_PlatMod_0/20250619-100450-PatModImgTest/results/8.CMJ.stdout [2025-06-19T09:04:56.142Z] STF 10:04:56.098 - Monitoring processes: CMJ [2025-06-19T09:04:56.494Z] STF 10:04:56.381 - Monitoring Report Summary: [2025-06-19T09:04:56.494Z] STF 10:04:56.381 - o Process CMJ ended with the expected exit code (0) [2025-06-19T09:04:56.494Z] STF 10:04:56.382 - Created modular jar: 8.java.xml.jar [2025-06-19T09:04:56.494Z] STF 10:04:56.382 - [2025-06-19T09:04:56.494Z] STF 10:04:56.382 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory [2025-06-19T09:04:56.494Z] STF 10:04:56.382 - | Run foreground process [2025-06-19T09:04:56.494Z] STF 10:04:56.382 - | Program: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/PatModImg_PlatMod_0/20250619-100450-PatModImgTest/tmp/6.XpJVM/bin/java [2025-06-19T09:04:56.494Z] STF 10:04:56.382 - | Mnemonic: OT11 [2025-06-19T09:04:56.494Z] STF 10:04:56.382 - | Echo: ECHO_ON [2025-06-19T09:04:56.494Z] STF 10:04:56.382 - | Expectation: CLEAN_RUN within 5m [2025-06-19T09:04:56.494Z] STF 10:04:56.382 - | [2025-06-19T09:04:56.494Z] STF 10:04:56.382 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/PatModImg_PlatMod_0/20250619-100450-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml -XX:+UseCompressedOops -classpath /Users/jenkins/testDependency/system_lib/junit/junit.jar:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUpgradablePlatformModule [2025-06-19T09:04:56.494Z] STF 10:04:56.382 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/PatModImg_PlatMod_0/20250619-100450-PatModImgTest/results/9.OT11.stderr [2025-06-19T09:04:56.494Z] STF 10:04:56.382 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/PatModImg_PlatMod_0/20250619-100450-PatModImgTest/results/9.OT11.stdout [2025-06-19T09:04:56.494Z] STF 10:04:56.384 - Monitoring processes: OT11 [2025-06-19T09:04:56.846Z] OT11 stderr WARNING: module-info.class ignored in patch: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml [2025-06-19T09:04:56.847Z] OT11 JUnit version 4.12 [2025-06-19T09:04:56.847Z] OT11 . [2025-06-19T09:04:56.847Z] OT11 Time: 0.004 [2025-06-19T09:04:56.847Z] OT11 [2025-06-19T09:04:56.847Z] OT11 OK (1 test) [2025-06-19T09:04:56.847Z] OT11 [2025-06-19T09:04:56.847Z] STF 10:04:56.830 - Monitoring Report Summary: [2025-06-19T09:04:56.847Z] STF 10:04:56.830 - o Process OT11 ended with the expected exit code (0) [2025-06-19T09:04:56.847Z] STF 10:04:56.830 - [2025-06-19T09:04:56.847Z] STF 10:04:56.831 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar [2025-06-19T09:04:56.847Z] STF 10:04:56.831 - | Run foreground process [2025-06-19T09:04:56.847Z] STF 10:04:56.831 - | Program: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/PatModImg_PlatMod_0/20250619-100450-PatModImgTest/tmp/6.XpJVM/bin/java [2025-06-19T09:04:56.847Z] STF 10:04:56.831 - | Mnemonic: OT12 [2025-06-19T09:04:56.847Z] STF 10:04:56.831 - | Echo: ECHO_ON [2025-06-19T09:04:56.847Z] STF 10:04:56.831 - | Expectation: CLEAN_RUN within 5m [2025-06-19T09:04:56.847Z] STF 10:04:56.831 - | [2025-06-19T09:04:56.847Z] STF 10:04:56.831 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/PatModImg_PlatMod_0/20250619-100450-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/PatModImg_PlatMod_0/20250619-100450-PatModImgTest/modules/8.java.xml.jar -XX:+UseCompressedOops -classpath /Users/jenkins/testDependency/system_lib/junit/junit.jar:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUpgradablePlatformModule [2025-06-19T09:04:56.847Z] STF 10:04:56.831 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/PatModImg_PlatMod_0/20250619-100450-PatModImgTest/results/10.OT12.stderr [2025-06-19T09:04:56.847Z] STF 10:04:56.831 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/PatModImg_PlatMod_0/20250619-100450-PatModImgTest/results/10.OT12.stdout [2025-06-19T09:04:56.847Z] STF 10:04:56.833 - Monitoring processes: OT12 [2025-06-19T09:04:57.199Z] OT12 stderr WARNING: module-info.class ignored in patch: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/PatModImg_PlatMod_0/20250619-100450-PatModImgTest/modules/8.java.xml.jar [2025-06-19T09:04:57.199Z] OT12 JUnit version 4.12 [2025-06-19T09:04:57.199Z] OT12 . [2025-06-19T09:04:57.199Z] OT12 Time: 0.004 [2025-06-19T09:04:57.199Z] OT12 [2025-06-19T09:04:57.199Z] OT12 OK (1 test) [2025-06-19T09:04:57.199Z] OT12 [2025-06-19T09:04:57.199Z] STF 10:04:57.131 - Monitoring Report Summary: [2025-06-19T09:04:57.199Z] STF 10:04:57.131 - o Process OT12 ended with the expected exit code (0) [2025-06-19T09:04:57.199Z] STF 10:04:57.131 - EXECUTE stage completed [2025-06-19T09:04:57.199Z] STF 10:04:57.172 - [2025-06-19T09:04:57.199Z] STF 10:04:57.172 - ==================== T E A R D O W N ==================== [2025-06-19T09:04:57.199Z] STF 10:04:57.172 - Running teardown: perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17503234712369/PatModImg_PlatMod_0/20250619-100450-PatModImgTest/tearDown.pl [2025-06-19T09:04:57.552Z] STF 10:04:57.246 - TEARDOWN stage completed [2025-06-19T09:04:57.552Z] STF 10:04:57.252 - [2025-06-19T09:04:57.552Z] STF 10:04:57.252 - ===================== R E S U L T S ===================== [2025-06-19T09:04:57.552Z] STF 10:04:57.252 - Stage results: [2025-06-19T09:04:57.552Z] STF 10:04:57.252 - setUp: pass [2025-06-19T09:04:57.552Z] STF 10:04:57.253 - execute: pass [2025-06-19T09:04:57.552Z] STF 10:04:57.253 - teardown: pass [2025-06-19T09:04:57.552Z] STF 10:04:57.253 - [2025-06-19T09:04:57.552Z] STF 10:04:57.253 - Overall result: PASSED [2025-06-19T09:04:57.552Z] ----------------------------------- [2025-06-19T09:04:57.552Z] PatModImg_PlatMod_0_PASSED [2025-06-19T09:04:57.552Z] ----------------------------------- [2025-06-19T09:04:57.552Z] [2025-06-19T09:04:57.552Z] TEST TEARDOWN: [2025-06-19T09:04:57.552Z] Nothing to be done for teardown. [2025-06-19T09:04:57.552Z] PatModImg_PlatMod_0 Finish Time: Thu Jun 19 10:04:57 2025 Epoch Time (ms): 1750323897298