PatModImg_PlatMod_0

[2025-08-25T21:20:41.861Z] Running test PatModImg_PlatMod_0 ... [2025-08-25T21:20:41.861Z] =============================================== [2025-08-25T21:20:41.861Z] PatModImg_PlatMod_0 Start Time: Mon Aug 25 22:20:41 2025 Epoch Time (ms): 1756156841540 [2025-08-25T21:20:41.861Z] variation: Mode150 [2025-08-25T21:20:41.861Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-08-25T21:20:41.861Z] { \ [2025-08-25T21:20:41.861Z] echo ""; echo "TEST SETUP:"; \ [2025-08-25T21:20:41.861Z] echo "Nothing to be done for setup."; \ [2025-08-25T21:20:41.861Z] mkdir -p "/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17561564125395/PatModImg_PlatMod_0"; \ [2025-08-25T21:20:41.861Z] cd "/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17561564125395/PatModImg_PlatMod_0"; \ [2025-08-25T21:20:41.861Z] echo ""; echo "TESTING:"; \ [2025-08-25T21:20:41.861Z] perl /Users/jenkins/workspace/Test_openjdk11_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_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/../../externalDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17561564125395/PatModImg_PlatMod_0" -test=PatModImgTest -test-args="variant=PlatMod"; \ [2025-08-25T21:20:41.861Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_PlatMod_0""_PASSED"; echo "-----------------------------------"; cd /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/..; rm -f -r "/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17561564125395/PatModImg_PlatMod_0"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-08-25T21:20:41.861Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-08-25T21:20:41.861Z] echo "Nothing to be done for teardown."; \ [2025-08-25T21:20:41.861Z] } 2>&1 | tee -a "/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17561564125395/TestTargetResult"; [2025-08-25T21:20:41.861Z] [2025-08-25T21:20:41.861Z] TEST SETUP: [2025-08-25T21:20:41.861Z] Nothing to be done for setup. [2025-08-25T21:20:41.861Z] [2025-08-25T21:20:41.861Z] TESTING: [2025-08-25T21:20:41.861Z] STF 22:20:41.639 - ========================= S T F ========================= [2025-08-25T21:20:41.861Z] systemtest-prereqs has been processed, and set to: /Users/jenkins/externalDependency/system_libRetrieving amount of free space on drive containing /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17561564125395/PatModImg_PlatMod_0 [2025-08-25T21:20:41.861Z] There is 54133 Mb free [2025-08-25T21:20:41.862Z] STF 22:20:41.647 - ================== G E N E R A T I O N ================== [2025-08-25T21:20:41.862Z] STF 22:20:41.649 - Checking JVM: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2025-08-25T21:20:41.862Z] STF 22:20:41.649 - Starting process to generate scripts: /Users/jenkins/workspace/Test_openjdk11_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_openjdk11_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_openjdk11_hs_sanity.system_x86-64_mac_testList_2/../../externalDependency/system_lib//asm/asm.jar:/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/../../externalDependency/system_lib//asm/asm-commons.jar:/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/../../externalDependency/system_lib//log4j/log4j-api.jar:/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/../../externalDependency/system_lib//log4j/log4j-core.jar:/Users/jenkins/workspace/Test_openjdk11_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_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17561564125395/PatModImg_PlatMod_0/20250825-222041-PatModImgTest/stf_parameters.properties, , /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17561564125395/PatModImg_PlatMod_0/20250825-222041-PatModImgTest" [2025-08-25T21:20:43.121Z] GEN 22:20:42.705 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-08-25T21:20:43.121Z] GEN 22:20:42.728 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-08-25T21:20:43.121Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-08-25T21:20:43.121Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-08-25T21:20:43.121Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-08-25T21:20:43.121Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-08-25T21:20:43.121Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-08-25T21:20:43.121Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-08-25T21:20:43.121Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-08-25T21:20:43.121Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-08-25T21:20:43.121Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-08-25T21:20:43.121Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-08-25T21:20:43.121Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-08-25T21:20:43.121Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-08-25T21:20:43.121Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-08-25T21:20:43.121Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-08-25T21:20:43.121Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-08-25T21:20:43.121Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-08-25T21:20:43.121Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/bin [2025-08-25T21:20:43.121Z] GEN /Users/jenkins/externalDependency/system_lib/log4j/log4j-api.jar [2025-08-25T21:20:43.121Z] GEN /Users/jenkins/externalDependency/system_lib/log4j/log4j-core.jar [2025-08-25T21:20:43.121Z] GEN /Users/jenkins/externalDependency/system_lib/junit/junit.jar [2025-08-25T21:20:43.121Z] GEN 22:20:42.979 - Using Mode NoOptions. Values = '' [2025-08-25T21:20:43.473Z] GEN 22:20:43.136 - [2025-08-25T21:20:43.473Z] GEN 22:20:43.136 - Test command summary: [2025-08-25T21:20:43.473Z] GEN 22:20:43.136 - Step Stage Command Description [2025-08-25T21:20:43.473Z] GEN 22:20:43.137 - -----+--------+-----------------+------------ [2025-08-25T21:20:43.473Z] GEN 22:20:43.137 - 1 execute jar Create com.hello jar [2025-08-25T21:20:43.473Z] GEN 22:20:43.137 - 2 execute jar Create com.hola jar [2025-08-25T21:20:43.473Z] GEN 22:20:43.137 - 3 execute jar Create com.helper jar [2025-08-25T21:20:43.473Z] GEN 22:20:43.137 - 4 execute jar Create com.discreet jar [2025-08-25T21:20:43.473Z] GEN 22:20:43.137 - 5 execute jar Create tests jar [2025-08-25T21:20:43.473Z] GEN 22:20:43.137 - 6 execute jlink Create runtime image for PatchModule test [2025-08-25T21:20:43.473Z] GEN 22:20:43.137 - 7 execute jar Create com.hello jar [2025-08-25T21:20:43.473Z] GEN 22:20:43.137 - 8 execute jar create java.xml.jar [2025-08-25T21:20:43.473Z] GEN 22:20:43.138 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory [2025-08-25T21:20:43.473Z] GEN 22:20:43.138 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar [2025-08-25T21:20:43.473Z] STF 22:20:43.190 - [2025-08-25T21:20:43.473Z] STF 22:20:43.190 - Script generation completed [2025-08-25T21:20:43.473Z] STF 22:20:43.190 - [2025-08-25T21:20:43.473Z] STF 22:20:43.191 - [2025-08-25T21:20:43.473Z] STF 22:20:43.191 - ======================= S E T U P ======================= [2025-08-25T21:20:43.474Z] STF 22:20:43.191 - Running setup: perl /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17561564125395/PatModImg_PlatMod_0/20250825-222041-PatModImgTest/setUp.pl [2025-08-25T21:20:43.474Z] STF 22:20:43.268 - SETUP stage completed [2025-08-25T21:20:43.474Z] STF 22:20:43.274 - [2025-08-25T21:20:43.474Z] STF 22:20:43.274 - ==================== E X E C U T E - ==================== [2025-08-25T21:20:43.474Z] STF 22:20:43.274 - Running execute: perl /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17561564125395/PatModImg_PlatMod_0/20250825-222041-PatModImgTest/execute.pl [2025-08-25T21:20:43.474Z] STF 22:20:43.350 - [2025-08-25T21:20:43.474Z] STF 22:20:43.350 - Java version [2025-08-25T21:20:43.474Z] STF 22:20:43.350 - Running: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2025-08-25T21:20:43.474Z] openjdk version "11.0.29-beta" 2025-10-21 [2025-08-25T21:20:43.474Z] OpenJDK Runtime Environment Temurin-11.0.29+3-202508252005 (build 11.0.29-beta+3-ea) [2025-08-25T21:20:43.474Z] OpenJDK 64-Bit Server VM Temurin-11.0.29+3-202508252005 (build 11.0.29-beta+3-ea, mixed mode) [2025-08-25T21:20:43.826Z] STF 22:20:43.460 - [2025-08-25T21:20:43.826Z] STF 22:20:43.460 - +------ Step 1 - Create com.hello jar [2025-08-25T21:20:43.826Z] STF 22:20:43.460 - | Create modular jar [2025-08-25T21:20:43.826Z] STF 22:20:43.460 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-08-25T21:20:43.826Z] STF 22:20:43.460 - | ModuleVersion: null [2025-08-25T21:20:43.826Z] STF 22:20:43.460 - | MainClass: null [2025-08-25T21:20:43.826Z] STF 22:20:43.460 - | HashModules: null [2025-08-25T21:20:43.826Z] STF 22:20:43.460 - | [2025-08-25T21:20:43.826Z] STF 22:20:43.461 - Running command: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17561564125395/PatModImg_PlatMod_0/20250825-222041-PatModImgTest/modules/1.com.hello.jar -C /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-08-25T21:20:43.826Z] STF 22:20:43.461 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17561564125395/PatModImg_PlatMod_0/20250825-222041-PatModImgTest/results/1.CMJ.stderr [2025-08-25T21:20:43.826Z] STF 22:20:43.461 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17561564125395/PatModImg_PlatMod_0/20250825-222041-PatModImgTest/results/1.CMJ.stdout [2025-08-25T21:20:43.826Z] STF 22:20:43.472 - Monitoring processes: CMJ [2025-08-25T21:20:43.826Z] STF 22:20:43.740 - Monitoring Report Summary: [2025-08-25T21:20:43.826Z] STF 22:20:43.740 - o Process CMJ ended with the expected exit code (0) [2025-08-25T21:20:43.826Z] STF 22:20:43.741 - Created modular jar: 1.com.hello.jar [2025-08-25T21:20:43.826Z] STF 22:20:43.741 - [2025-08-25T21:20:43.826Z] STF 22:20:43.741 - +------ Step 2 - Create com.hola jar [2025-08-25T21:20:43.826Z] STF 22:20:43.741 - | Create modular jar [2025-08-25T21:20:43.826Z] STF 22:20:43.741 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-08-25T21:20:43.826Z] STF 22:20:43.741 - | ModuleVersion: null [2025-08-25T21:20:43.826Z] STF 22:20:43.741 - | MainClass: null [2025-08-25T21:20:43.826Z] STF 22:20:43.741 - | HashModules: null [2025-08-25T21:20:43.826Z] STF 22:20:43.741 - | [2025-08-25T21:20:43.826Z] STF 22:20:43.741 - Running command: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17561564125395/PatModImg_PlatMod_0/20250825-222041-PatModImgTest/modules/2.com.hola.jar -C /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2025-08-25T21:20:43.826Z] STF 22:20:43.741 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17561564125395/PatModImg_PlatMod_0/20250825-222041-PatModImgTest/results/2.CMJ.stderr [2025-08-25T21:20:43.826Z] STF 22:20:43.741 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17561564125395/PatModImg_PlatMod_0/20250825-222041-PatModImgTest/results/2.CMJ.stdout [2025-08-25T21:20:43.826Z] STF 22:20:43.744 - Monitoring processes: CMJ [2025-08-25T21:20:44.179Z] STF 22:20:44.011 - Monitoring Report Summary: [2025-08-25T21:20:44.179Z] STF 22:20:44.011 - o Process CMJ ended with the expected exit code (0) [2025-08-25T21:20:44.179Z] STF 22:20:44.012 - Created modular jar: 2.com.hola.jar [2025-08-25T21:20:44.179Z] STF 22:20:44.012 - [2025-08-25T21:20:44.179Z] STF 22:20:44.012 - +------ Step 3 - Create com.helper jar [2025-08-25T21:20:44.179Z] STF 22:20:44.012 - | Create modular jar [2025-08-25T21:20:44.179Z] STF 22:20:44.012 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-08-25T21:20:44.179Z] STF 22:20:44.012 - | ModuleVersion: null [2025-08-25T21:20:44.179Z] STF 22:20:44.012 - | MainClass: null [2025-08-25T21:20:44.179Z] STF 22:20:44.012 - | HashModules: null [2025-08-25T21:20:44.179Z] STF 22:20:44.012 - | [2025-08-25T21:20:44.179Z] STF 22:20:44.012 - Running command: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17561564125395/PatModImg_PlatMod_0/20250825-222041-PatModImgTest/modules/3.com.helper.jar -C /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2025-08-25T21:20:44.179Z] STF 22:20:44.012 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17561564125395/PatModImg_PlatMod_0/20250825-222041-PatModImgTest/results/3.CMJ.stderr [2025-08-25T21:20:44.179Z] STF 22:20:44.012 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17561564125395/PatModImg_PlatMod_0/20250825-222041-PatModImgTest/results/3.CMJ.stdout [2025-08-25T21:20:44.179Z] STF 22:20:44.014 - Monitoring processes: CMJ [2025-08-25T21:20:44.531Z] STF 22:20:44.281 - Monitoring Report Summary: [2025-08-25T21:20:44.531Z] STF 22:20:44.281 - o Process CMJ ended with the expected exit code (0) [2025-08-25T21:20:44.531Z] STF 22:20:44.281 - Created modular jar: 3.com.helper.jar [2025-08-25T21:20:44.531Z] STF 22:20:44.281 - [2025-08-25T21:20:44.531Z] STF 22:20:44.281 - +------ Step 4 - Create com.discreet jar [2025-08-25T21:20:44.531Z] STF 22:20:44.281 - | Create modular jar [2025-08-25T21:20:44.531Z] STF 22:20:44.281 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-08-25T21:20:44.531Z] STF 22:20:44.281 - | ModuleVersion: null [2025-08-25T21:20:44.531Z] STF 22:20:44.281 - | MainClass: null [2025-08-25T21:20:44.531Z] STF 22:20:44.281 - | HashModules: null [2025-08-25T21:20:44.531Z] STF 22:20:44.281 - | [2025-08-25T21:20:44.531Z] STF 22:20:44.282 - Running command: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17561564125395/PatModImg_PlatMod_0/20250825-222041-PatModImgTest/modules/4.com.discreet.jar -C /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2025-08-25T21:20:44.531Z] STF 22:20:44.282 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17561564125395/PatModImg_PlatMod_0/20250825-222041-PatModImgTest/results/4.CMJ.stderr [2025-08-25T21:20:44.531Z] STF 22:20:44.282 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17561564125395/PatModImg_PlatMod_0/20250825-222041-PatModImgTest/results/4.CMJ.stdout [2025-08-25T21:20:44.531Z] STF 22:20:44.283 - Monitoring processes: CMJ [2025-08-25T21:20:44.885Z] STF 22:20:44.543 - Monitoring Report Summary: [2025-08-25T21:20:44.885Z] STF 22:20:44.543 - o Process CMJ ended with the expected exit code (0) [2025-08-25T21:20:44.885Z] STF 22:20:44.543 - Created modular jar: 4.com.discreet.jar [2025-08-25T21:20:44.885Z] STF 22:20:44.543 - [2025-08-25T21:20:44.885Z] STF 22:20:44.543 - +------ Step 5 - Create tests jar [2025-08-25T21:20:44.885Z] STF 22:20:44.543 - | Create modular jar [2025-08-25T21:20:44.885Z] STF 22:20:44.543 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-08-25T21:20:44.885Z] STF 22:20:44.543 - | ModuleVersion: null [2025-08-25T21:20:44.886Z] STF 22:20:44.543 - | MainClass: null [2025-08-25T21:20:44.886Z] STF 22:20:44.543 - | HashModules: null [2025-08-25T21:20:44.886Z] STF 22:20:44.543 - | [2025-08-25T21:20:44.886Z] STF 22:20:44.544 - Running command: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17561564125395/PatModImg_PlatMod_0/20250825-222041-PatModImgTest/modules/5.com.test.jar -C /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2025-08-25T21:20:44.886Z] STF 22:20:44.544 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17561564125395/PatModImg_PlatMod_0/20250825-222041-PatModImgTest/results/5.CMJ.stderr [2025-08-25T21:20:44.886Z] STF 22:20:44.544 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17561564125395/PatModImg_PlatMod_0/20250825-222041-PatModImgTest/results/5.CMJ.stdout [2025-08-25T21:20:44.886Z] STF 22:20:44.546 - Monitoring processes: CMJ [2025-08-25T21:20:44.886Z] STF 22:20:44.827 - Monitoring Report Summary: [2025-08-25T21:20:44.886Z] STF 22:20:44.827 - o Process CMJ ended with the expected exit code (0) [2025-08-25T21:20:44.886Z] STF 22:20:44.827 - Created modular jar: 5.com.test.jar [2025-08-25T21:20:44.886Z] STF 22:20:44.827 - [2025-08-25T21:20:44.886Z] STF 22:20:44.827 - +------ Step 6 - Create runtime image for PatchModule test [2025-08-25T21:20:44.886Z] STF 22:20:44.827 - | Run jlink to create runtime image [2025-08-25T21:20:44.886Z] STF 22:20:44.827 - | ImageName: XpJVM [2025-08-25T21:20:44.886Z] STF 22:20:44.827 - | [2025-08-25T21:20:44.886Z] STF 22:20:44.828 - Running command: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17561564125395/PatModImg_PlatMod_0/20250825-222041-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17561564125395/PatModImg_PlatMod_0/20250825-222041-PatModImgTest/tmp/6.XpJVM [2025-08-25T21:20:44.886Z] STF 22:20:44.828 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17561564125395/PatModImg_PlatMod_0/20250825-222041-PatModImgTest/results/6.JLNK.stderr [2025-08-25T21:20:44.886Z] STF 22:20:44.828 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17561564125395/PatModImg_PlatMod_0/20250825-222041-PatModImgTest/results/6.JLNK.stdout [2025-08-25T21:20:44.886Z] STF 22:20:44.829 - Monitoring processes: JLNK [2025-08-25T21:20:47.983Z] STF 22:20:47.449 - Monitoring Report Summary: [2025-08-25T21:20:47.983Z] STF 22:20:47.449 - o Process JLNK ended with the expected exit code (0) [2025-08-25T21:20:47.983Z] STF 22:20:47.449 - [2025-08-25T21:20:47.983Z] STF 22:20:47.449 - +------ Step 7 - Create com.hello jar [2025-08-25T21:20:47.983Z] STF 22:20:47.449 - | Create modular jar [2025-08-25T21:20:47.983Z] STF 22:20:47.449 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-08-25T21:20:47.983Z] STF 22:20:47.449 - | ModuleVersion: null [2025-08-25T21:20:47.983Z] STF 22:20:47.449 - | MainClass: null [2025-08-25T21:20:47.983Z] STF 22:20:47.449 - | HashModules: null [2025-08-25T21:20:47.983Z] STF 22:20:47.450 - | [2025-08-25T21:20:47.983Z] STF 22:20:47.450 - Running command: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17561564125395/PatModImg_PlatMod_0/20250825-222041-PatModImgTest/modules/7.com.hello.jar -C /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2025-08-25T21:20:47.983Z] STF 22:20:47.450 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17561564125395/PatModImg_PlatMod_0/20250825-222041-PatModImgTest/results/7.CMJ.stderr [2025-08-25T21:20:47.983Z] STF 22:20:47.450 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17561564125395/PatModImg_PlatMod_0/20250825-222041-PatModImgTest/results/7.CMJ.stdout [2025-08-25T21:20:47.983Z] STF 22:20:47.452 - Monitoring processes: CMJ [2025-08-25T21:20:47.983Z] STF 22:20:47.710 - Monitoring Report Summary: [2025-08-25T21:20:47.983Z] STF 22:20:47.710 - o Process CMJ ended with the expected exit code (0) [2025-08-25T21:20:47.983Z] STF 22:20:47.710 - Created modular jar: 7.com.hello.jar [2025-08-25T21:20:47.983Z] STF 22:20:47.710 - [2025-08-25T21:20:47.983Z] STF 22:20:47.710 - +------ Step 8 - create java.xml.jar [2025-08-25T21:20:47.983Z] STF 22:20:47.711 - | Create modular jar [2025-08-25T21:20:47.983Z] STF 22:20:47.711 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-08-25T21:20:47.983Z] STF 22:20:47.711 - | ModuleVersion: null [2025-08-25T21:20:47.983Z] STF 22:20:47.711 - | MainClass: null [2025-08-25T21:20:47.983Z] STF 22:20:47.711 - | HashModules: null [2025-08-25T21:20:47.983Z] STF 22:20:47.711 - | [2025-08-25T21:20:47.983Z] STF 22:20:47.711 - Running command: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17561564125395/PatModImg_PlatMod_0/20250825-222041-PatModImgTest/modules/8.java.xml.jar -C /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2025-08-25T21:20:47.983Z] STF 22:20:47.711 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17561564125395/PatModImg_PlatMod_0/20250825-222041-PatModImgTest/results/8.CMJ.stderr [2025-08-25T21:20:47.983Z] STF 22:20:47.711 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17561564125395/PatModImg_PlatMod_0/20250825-222041-PatModImgTest/results/8.CMJ.stdout [2025-08-25T21:20:47.983Z] STF 22:20:47.713 - Monitoring processes: CMJ [2025-08-25T21:20:48.338Z] STF 22:20:47.984 - Monitoring Report Summary: [2025-08-25T21:20:48.338Z] STF 22:20:47.984 - o Process CMJ ended with the expected exit code (0) [2025-08-25T21:20:48.338Z] STF 22:20:47.985 - Created modular jar: 8.java.xml.jar [2025-08-25T21:20:48.338Z] STF 22:20:47.985 - [2025-08-25T21:20:48.338Z] STF 22:20:47.985 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory [2025-08-25T21:20:48.338Z] STF 22:20:47.985 - | Run foreground process [2025-08-25T21:20:48.338Z] STF 22:20:47.985 - | Program: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17561564125395/PatModImg_PlatMod_0/20250825-222041-PatModImgTest/tmp/6.XpJVM/bin/java [2025-08-25T21:20:48.338Z] STF 22:20:47.985 - | Mnemonic: OT11 [2025-08-25T21:20:48.338Z] STF 22:20:47.985 - | Echo: ECHO_ON [2025-08-25T21:20:48.338Z] STF 22:20:47.985 - | Expectation: CLEAN_RUN within 5m [2025-08-25T21:20:48.338Z] STF 22:20:47.985 - | [2025-08-25T21:20:48.338Z] STF 22:20:47.985 - Running command: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17561564125395/PatModImg_PlatMod_0/20250825-222041-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=/Users/jenkins/workspace/Test_openjdk11_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/externalDependency/system_lib/junit/junit.jar:/Users/jenkins/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUpgradablePlatformModule [2025-08-25T21:20:48.338Z] STF 22:20:47.986 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17561564125395/PatModImg_PlatMod_0/20250825-222041-PatModImgTest/results/9.OT11.stderr [2025-08-25T21:20:48.338Z] STF 22:20:47.986 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17561564125395/PatModImg_PlatMod_0/20250825-222041-PatModImgTest/results/9.OT11.stdout [2025-08-25T21:20:48.338Z] STF 22:20:47.987 - Monitoring processes: OT11 [2025-08-25T21:20:48.338Z] OT11 stderr WARNING: module-info.class ignored in patch: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml [2025-08-25T21:20:48.690Z] OT11 JUnit version 4.12 [2025-08-25T21:20:48.690Z] OT11 . [2025-08-25T21:20:48.690Z] OT11 Time: 0.004 [2025-08-25T21:20:48.690Z] OT11 [2025-08-25T21:20:48.690Z] OT11 OK (1 test) [2025-08-25T21:20:48.690Z] OT11 [2025-08-25T21:20:48.690Z] STF 22:20:48.428 - Monitoring Report Summary: [2025-08-25T21:20:48.690Z] STF 22:20:48.428 - o Process OT11 ended with the expected exit code (0) [2025-08-25T21:20:48.690Z] STF 22:20:48.429 - [2025-08-25T21:20:48.690Z] STF 22:20:48.429 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar [2025-08-25T21:20:48.690Z] STF 22:20:48.429 - | Run foreground process [2025-08-25T21:20:48.690Z] STF 22:20:48.429 - | Program: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17561564125395/PatModImg_PlatMod_0/20250825-222041-PatModImgTest/tmp/6.XpJVM/bin/java [2025-08-25T21:20:48.690Z] STF 22:20:48.429 - | Mnemonic: OT12 [2025-08-25T21:20:48.690Z] STF 22:20:48.429 - | Echo: ECHO_ON [2025-08-25T21:20:48.690Z] STF 22:20:48.429 - | Expectation: CLEAN_RUN within 5m [2025-08-25T21:20:48.690Z] STF 22:20:48.429 - | [2025-08-25T21:20:48.691Z] STF 22:20:48.429 - Running command: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17561564125395/PatModImg_PlatMod_0/20250825-222041-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17561564125395/PatModImg_PlatMod_0/20250825-222041-PatModImgTest/modules/8.java.xml.jar -XX:+UseCompressedOops -classpath /Users/jenkins/externalDependency/system_lib/junit/junit.jar:/Users/jenkins/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUpgradablePlatformModule [2025-08-25T21:20:48.691Z] STF 22:20:48.429 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17561564125395/PatModImg_PlatMod_0/20250825-222041-PatModImgTest/results/10.OT12.stderr [2025-08-25T21:20:48.691Z] STF 22:20:48.429 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17561564125395/PatModImg_PlatMod_0/20250825-222041-PatModImgTest/results/10.OT12.stdout [2025-08-25T21:20:48.691Z] STF 22:20:48.431 - Monitoring processes: OT12 [2025-08-25T21:20:48.691Z] OT12 stderr WARNING: module-info.class ignored in patch: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17561564125395/PatModImg_PlatMod_0/20250825-222041-PatModImgTest/modules/8.java.xml.jar [2025-08-25T21:20:48.691Z] OT12 JUnit version 4.12 [2025-08-25T21:20:49.042Z] OT12 . [2025-08-25T21:20:49.042Z] OT12 Time: 0.005 [2025-08-25T21:20:49.042Z] OT12 [2025-08-25T21:20:49.042Z] OT12 OK (1 test) [2025-08-25T21:20:49.042Z] OT12 [2025-08-25T21:20:49.042Z] STF 22:20:48.735 - Monitoring Report Summary: [2025-08-25T21:20:49.042Z] STF 22:20:48.736 - o Process OT12 ended with the expected exit code (0) [2025-08-25T21:20:49.042Z] STF 22:20:48.736 - EXECUTE stage completed [2025-08-25T21:20:49.042Z] STF 22:20:48.788 - [2025-08-25T21:20:49.042Z] STF 22:20:48.788 - ==================== T E A R D O W N ==================== [2025-08-25T21:20:49.042Z] STF 22:20:48.788 - Running teardown: perl /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17561564125395/PatModImg_PlatMod_0/20250825-222041-PatModImgTest/tearDown.pl [2025-08-25T21:20:49.042Z] STF 22:20:48.865 - TEARDOWN stage completed [2025-08-25T21:20:49.042Z] STF 22:20:48.867 - [2025-08-25T21:20:49.042Z] STF 22:20:48.868 - ===================== R E S U L T S ===================== [2025-08-25T21:20:49.042Z] STF 22:20:48.868 - Stage results: [2025-08-25T21:20:49.042Z] STF 22:20:48.868 - setUp: pass [2025-08-25T21:20:49.042Z] STF 22:20:48.868 - execute: pass [2025-08-25T21:20:49.042Z] STF 22:20:48.868 - teardown: pass [2025-08-25T21:20:49.042Z] STF 22:20:48.868 - [2025-08-25T21:20:49.042Z] STF 22:20:48.868 - Overall result: PASSED [2025-08-25T21:20:49.042Z] ----------------------------------- [2025-08-25T21:20:49.042Z] PatModImg_PlatMod_0_PASSED [2025-08-25T21:20:49.042Z] ----------------------------------- [2025-08-25T21:20:49.042Z] [2025-08-25T21:20:49.042Z] TEST TEARDOWN: [2025-08-25T21:20:49.042Z] Nothing to be done for teardown. [2025-08-25T21:20:49.042Z] PatModImg_PlatMod_0 Finish Time: Mon Aug 25 22:20:48 2025 Epoch Time (ms): 1756156848916