PatModImg_PlatMod_1

[2025-06-12T10:12:49.425Z] Running test PatModImg_PlatMod_1 ... [2025-06-12T10:12:49.425Z] =============================================== [2025-06-12T10:12:49.425Z] PatModImg_PlatMod_1 Start Time: Thu Jun 12 11:12:49 2025 Epoch Time (ms): 1749723169373 [2025-06-12T10:12:49.425Z] variation: Mode650 [2025-06-12T10:12:49.425Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-06-12T10:12:49.425Z] { \ [2025-06-12T10:12:49.425Z] echo ""; echo "TEST SETUP:"; \ [2025-06-12T10:12:49.425Z] echo "Nothing to be done for setup."; \ [2025-06-12T10:12:49.425Z] mkdir -p "/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17497212029915/PatModImg_PlatMod_1"; \ [2025-06-12T10:12:49.425Z] cd "/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17497212029915/PatModImg_PlatMod_1"; \ [2025-06-12T10:12:49.425Z] echo ""; echo "TESTING:"; \ [2025-06-12T10:12:49.425Z] perl /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/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_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17497212029915/PatModImg_PlatMod_1" -test=PatModImgTest -test-args="variant=PlatMod"; \ [2025-06-12T10:12:49.425Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_PlatMod_1""_PASSED"; echo "-----------------------------------"; cd /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/..; rm -f -r "/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17497212029915/PatModImg_PlatMod_1"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-06-12T10:12:49.425Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-06-12T10:12:49.425Z] echo "Nothing to be done for teardown."; \ [2025-06-12T10:12:49.425Z] } 2>&1 | tee -a "/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17497212029915/TestTargetResult"; [2025-06-12T10:12:49.425Z] [2025-06-12T10:12:49.425Z] TEST SETUP: [2025-06-12T10:12:49.425Z] Nothing to be done for setup. [2025-06-12T10:12:49.425Z] [2025-06-12T10:12:49.425Z] TESTING: [2025-06-12T10:12:49.779Z] STF 11:12:49.473 - ========================= S T F ========================= [2025-06-12T10:12:49.779Z] systemtest-prereqs has been processed, and set to: /Users/jenkins/testDependency/system_libRetrieving amount of free space on drive containing /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17497212029915/PatModImg_PlatMod_1 [2025-06-12T10:12:49.779Z] There is 51973 Mb free [2025-06-12T10:12:49.779Z] STF 11:12:49.481 - ================== G E N E R A T I O N ================== [2025-06-12T10:12:49.779Z] STF 11:12:49.483 - Checking JVM: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2025-06-12T10:12:49.779Z] STF 11:12:49.483 - Starting process to generate scripts: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_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/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/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_1/../../testDependency/system_lib//asm/asm.jar:/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib//asm/asm-commons.jar:/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib//log4j/log4j-api.jar:/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib//log4j/log4j-core.jar:/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/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_1/aqa-tests/TKG/../TKG/output_17497212029915/PatModImg_PlatMod_1/20250612-111249-PatModImgTest/stf_parameters.properties, , /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17497212029915/PatModImg_PlatMod_1/20250612-111249-PatModImgTest" [2025-06-12T10:12:51.001Z] GEN 11:12:50.629 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-06-12T10:12:51.001Z] GEN 11:12:50.654 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-06-12T10:12:51.001Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-06-12T10:12:51.001Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-06-12T10:12:51.001Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-06-12T10:12:51.001Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-06-12T10:12:51.001Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-06-12T10:12:51.001Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-06-12T10:12:51.001Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-06-12T10:12:51.001Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-06-12T10:12:51.001Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-06-12T10:12:51.001Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-06-12T10:12:51.001Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-06-12T10:12:51.001Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-06-12T10:12:51.001Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-06-12T10:12:51.001Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-06-12T10:12:51.001Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-06-12T10:12:51.001Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-06-12T10:12:51.001Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/bin [2025-06-12T10:12:51.001Z] GEN /Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-06-12T10:12:51.001Z] GEN /Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-06-12T10:12:51.001Z] GEN /Users/jenkins/testDependency/system_lib/junit/junit.jar [2025-06-12T10:12:51.001Z] GEN 11:12:50.907 - Using Mode NoOptions. Values = '' [2025-06-12T10:12:51.355Z] GEN 11:12:51.046 - [2025-06-12T10:12:51.355Z] GEN 11:12:51.046 - Test command summary: [2025-06-12T10:12:51.355Z] GEN 11:12:51.047 - Step Stage Command Description [2025-06-12T10:12:51.355Z] GEN 11:12:51.047 - -----+--------+-----------------+------------ [2025-06-12T10:12:51.355Z] GEN 11:12:51.047 - 1 execute jar Create com.hello jar [2025-06-12T10:12:51.355Z] GEN 11:12:51.047 - 2 execute jar Create com.hola jar [2025-06-12T10:12:51.355Z] GEN 11:12:51.047 - 3 execute jar Create com.helper jar [2025-06-12T10:12:51.355Z] GEN 11:12:51.047 - 4 execute jar Create com.discreet jar [2025-06-12T10:12:51.355Z] GEN 11:12:51.047 - 5 execute jar Create tests jar [2025-06-12T10:12:51.355Z] GEN 11:12:51.047 - 6 execute jlink Create runtime image for PatchModule test [2025-06-12T10:12:51.355Z] GEN 11:12:51.047 - 7 execute jar Create com.hello jar [2025-06-12T10:12:51.355Z] GEN 11:12:51.047 - 8 execute jar create java.xml.jar [2025-06-12T10:12:51.355Z] GEN 11:12:51.048 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory [2025-06-12T10:12:51.355Z] GEN 11:12:51.048 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar [2025-06-12T10:12:51.355Z] STF 11:12:51.102 - [2025-06-12T10:12:51.355Z] STF 11:12:51.102 - Script generation completed [2025-06-12T10:12:51.355Z] STF 11:12:51.102 - [2025-06-12T10:12:51.355Z] STF 11:12:51.102 - [2025-06-12T10:12:51.355Z] STF 11:12:51.102 - ======================= S E T U P ======================= [2025-06-12T10:12:51.355Z] STF 11:12:51.102 - Running setup: perl /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17497212029915/PatModImg_PlatMod_1/20250612-111249-PatModImgTest/setUp.pl [2025-06-12T10:12:51.355Z] STF 11:12:51.178 - SETUP stage completed [2025-06-12T10:12:51.355Z] STF 11:12:51.187 - [2025-06-12T10:12:51.355Z] STF 11:12:51.187 - ==================== E X E C U T E - ==================== [2025-06-12T10:12:51.355Z] STF 11:12:51.187 - Running execute: perl /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17497212029915/PatModImg_PlatMod_1/20250612-111249-PatModImgTest/execute.pl [2025-06-12T10:12:51.355Z] STF 11:12:51.264 - [2025-06-12T10:12:51.355Z] STF 11:12:51.264 - Java version [2025-06-12T10:12:51.355Z] STF 11:12:51.264 - Running: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2025-06-12T10:12:51.708Z] openjdk version "11.0.28-beta" 2025-07-15 [2025-06-12T10:12:51.709Z] OpenJDK Runtime Environment Temurin-11.0.28+4-202506112041 (build 11.0.28-beta+4-ea) [2025-06-12T10:12:51.709Z] OpenJDK 64-Bit Server VM Temurin-11.0.28+4-202506112041 (build 11.0.28-beta+4-ea, mixed mode) [2025-06-12T10:12:51.709Z] STF 11:12:51.375 - [2025-06-12T10:12:51.709Z] STF 11:12:51.375 - +------ Step 1 - Create com.hello jar [2025-06-12T10:12:51.709Z] STF 11:12:51.375 - | Create modular jar [2025-06-12T10:12:51.709Z] STF 11:12:51.375 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-06-12T10:12:51.709Z] STF 11:12:51.375 - | ModuleVersion: null [2025-06-12T10:12:51.709Z] STF 11:12:51.375 - | MainClass: null [2025-06-12T10:12:51.709Z] STF 11:12:51.375 - | HashModules: null [2025-06-12T10:12:51.709Z] STF 11:12:51.376 - | [2025-06-12T10:12:51.709Z] STF 11:12:51.376 - Running command: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_1/20250612-111249-PatModImgTest/modules/1.com.hello.jar -C /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-06-12T10:12:51.709Z] STF 11:12:51.376 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_1/20250612-111249-PatModImgTest/results/1.CMJ.stderr [2025-06-12T10:12:51.709Z] STF 11:12:51.376 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_1/20250612-111249-PatModImgTest/results/1.CMJ.stdout [2025-06-12T10:12:51.709Z] STF 11:12:51.388 - Monitoring processes: CMJ [2025-06-12T10:12:51.709Z] STF 11:12:51.668 - Monitoring Report Summary: [2025-06-12T10:12:51.709Z] STF 11:12:51.669 - o Process CMJ ended with the expected exit code (0) [2025-06-12T10:12:51.709Z] STF 11:12:51.669 - Created modular jar: 1.com.hello.jar [2025-06-12T10:12:51.709Z] STF 11:12:51.669 - [2025-06-12T10:12:51.709Z] STF 11:12:51.669 - +------ Step 2 - Create com.hola jar [2025-06-12T10:12:51.709Z] STF 11:12:51.669 - | Create modular jar [2025-06-12T10:12:51.709Z] STF 11:12:51.669 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-06-12T10:12:51.709Z] STF 11:12:51.669 - | ModuleVersion: null [2025-06-12T10:12:51.709Z] STF 11:12:51.669 - | MainClass: null [2025-06-12T10:12:51.709Z] STF 11:12:51.669 - | HashModules: null [2025-06-12T10:12:51.709Z] STF 11:12:51.669 - | [2025-06-12T10:12:51.709Z] STF 11:12:51.670 - Running command: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_1/20250612-111249-PatModImgTest/modules/2.com.hola.jar -C /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2025-06-12T10:12:51.709Z] STF 11:12:51.670 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_1/20250612-111249-PatModImgTest/results/2.CMJ.stderr [2025-06-12T10:12:51.709Z] STF 11:12:51.670 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_1/20250612-111249-PatModImgTest/results/2.CMJ.stdout [2025-06-12T10:12:51.709Z] STF 11:12:51.672 - Monitoring processes: CMJ [2025-06-12T10:12:52.062Z] STF 11:12:51.951 - Monitoring Report Summary: [2025-06-12T10:12:52.062Z] STF 11:12:51.951 - o Process CMJ ended with the expected exit code (0) [2025-06-12T10:12:52.062Z] STF 11:12:51.952 - Created modular jar: 2.com.hola.jar [2025-06-12T10:12:52.062Z] STF 11:12:51.952 - [2025-06-12T10:12:52.062Z] STF 11:12:51.952 - +------ Step 3 - Create com.helper jar [2025-06-12T10:12:52.062Z] STF 11:12:51.952 - | Create modular jar [2025-06-12T10:12:52.062Z] STF 11:12:51.952 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-06-12T10:12:52.062Z] STF 11:12:51.952 - | ModuleVersion: null [2025-06-12T10:12:52.062Z] STF 11:12:51.952 - | MainClass: null [2025-06-12T10:12:52.062Z] STF 11:12:51.952 - | HashModules: null [2025-06-12T10:12:52.062Z] STF 11:12:51.952 - | [2025-06-12T10:12:52.062Z] STF 11:12:51.952 - Running command: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_1/20250612-111249-PatModImgTest/modules/3.com.helper.jar -C /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2025-06-12T10:12:52.062Z] STF 11:12:51.953 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_1/20250612-111249-PatModImgTest/results/3.CMJ.stderr [2025-06-12T10:12:52.062Z] STF 11:12:51.953 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_1/20250612-111249-PatModImgTest/results/3.CMJ.stdout [2025-06-12T10:12:52.062Z] STF 11:12:51.954 - Monitoring processes: CMJ [2025-06-12T10:12:52.414Z] STF 11:12:52.223 - Monitoring Report Summary: [2025-06-12T10:12:52.414Z] STF 11:12:52.224 - o Process CMJ ended with the expected exit code (0) [2025-06-12T10:12:52.414Z] STF 11:12:52.224 - Created modular jar: 3.com.helper.jar [2025-06-12T10:12:52.414Z] STF 11:12:52.224 - [2025-06-12T10:12:52.414Z] STF 11:12:52.224 - +------ Step 4 - Create com.discreet jar [2025-06-12T10:12:52.414Z] STF 11:12:52.224 - | Create modular jar [2025-06-12T10:12:52.414Z] STF 11:12:52.224 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-06-12T10:12:52.414Z] STF 11:12:52.224 - | ModuleVersion: null [2025-06-12T10:12:52.414Z] STF 11:12:52.224 - | MainClass: null [2025-06-12T10:12:52.414Z] STF 11:12:52.224 - | HashModules: null [2025-06-12T10:12:52.414Z] STF 11:12:52.224 - | [2025-06-12T10:12:52.414Z] STF 11:12:52.225 - Running command: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_1/20250612-111249-PatModImgTest/modules/4.com.discreet.jar -C /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2025-06-12T10:12:52.414Z] STF 11:12:52.225 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_1/20250612-111249-PatModImgTest/results/4.CMJ.stderr [2025-06-12T10:12:52.414Z] STF 11:12:52.225 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_1/20250612-111249-PatModImgTest/results/4.CMJ.stdout [2025-06-12T10:12:52.414Z] STF 11:12:52.227 - Monitoring processes: CMJ [2025-06-12T10:12:52.766Z] STF 11:12:52.493 - Monitoring Report Summary: [2025-06-12T10:12:52.766Z] STF 11:12:52.493 - o Process CMJ ended with the expected exit code (0) [2025-06-12T10:12:52.766Z] STF 11:12:52.494 - Created modular jar: 4.com.discreet.jar [2025-06-12T10:12:52.766Z] STF 11:12:52.494 - [2025-06-12T10:12:52.766Z] STF 11:12:52.494 - +------ Step 5 - Create tests jar [2025-06-12T10:12:52.766Z] STF 11:12:52.494 - | Create modular jar [2025-06-12T10:12:52.766Z] STF 11:12:52.494 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-06-12T10:12:52.766Z] STF 11:12:52.494 - | ModuleVersion: null [2025-06-12T10:12:52.766Z] STF 11:12:52.494 - | MainClass: null [2025-06-12T10:12:52.766Z] STF 11:12:52.494 - | HashModules: null [2025-06-12T10:12:52.766Z] STF 11:12:52.494 - | [2025-06-12T10:12:52.766Z] STF 11:12:52.494 - Running command: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_1/20250612-111249-PatModImgTest/modules/5.com.test.jar -C /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2025-06-12T10:12:52.766Z] STF 11:12:52.495 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_1/20250612-111249-PatModImgTest/results/5.CMJ.stderr [2025-06-12T10:12:52.766Z] STF 11:12:52.495 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_1/20250612-111249-PatModImgTest/results/5.CMJ.stdout [2025-06-12T10:12:52.766Z] STF 11:12:52.497 - Monitoring processes: CMJ [2025-06-12T10:12:53.119Z] STF 11:12:52.793 - Monitoring Report Summary: [2025-06-12T10:12:53.119Z] STF 11:12:52.794 - o Process CMJ ended with the expected exit code (0) [2025-06-12T10:12:53.119Z] STF 11:12:52.794 - Created modular jar: 5.com.test.jar [2025-06-12T10:12:53.119Z] STF 11:12:52.794 - [2025-06-12T10:12:53.119Z] STF 11:12:52.794 - +------ Step 6 - Create runtime image for PatchModule test [2025-06-12T10:12:53.119Z] STF 11:12:52.794 - | Run jlink to create runtime image [2025-06-12T10:12:53.119Z] STF 11:12:52.794 - | ImageName: XpJVM [2025-06-12T10:12:53.119Z] STF 11:12:52.794 - | [2025-06-12T10:12:53.119Z] STF 11:12:52.794 - Running command: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_1/20250612-111249-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_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_1/20250612-111249-PatModImgTest/tmp/6.XpJVM [2025-06-12T10:12:53.119Z] STF 11:12:52.794 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_1/20250612-111249-PatModImgTest/results/6.JLNK.stderr [2025-06-12T10:12:53.119Z] STF 11:12:52.794 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_1/20250612-111249-PatModImgTest/results/6.JLNK.stdout [2025-06-12T10:12:53.119Z] STF 11:12:52.796 - Monitoring processes: JLNK [2025-06-12T10:12:55.494Z] STF 11:12:55.453 - Monitoring Report Summary: [2025-06-12T10:12:55.494Z] STF 11:12:55.453 - o Process JLNK ended with the expected exit code (0) [2025-06-12T10:12:55.494Z] STF 11:12:55.454 - [2025-06-12T10:12:55.494Z] STF 11:12:55.454 - +------ Step 7 - Create com.hello jar [2025-06-12T10:12:55.494Z] STF 11:12:55.454 - | Create modular jar [2025-06-12T10:12:55.494Z] STF 11:12:55.454 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-06-12T10:12:55.494Z] STF 11:12:55.454 - | ModuleVersion: null [2025-06-12T10:12:55.494Z] STF 11:12:55.454 - | MainClass: null [2025-06-12T10:12:55.494Z] STF 11:12:55.454 - | HashModules: null [2025-06-12T10:12:55.494Z] STF 11:12:55.454 - | [2025-06-12T10:12:55.494Z] STF 11:12:55.454 - Running command: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_1/20250612-111249-PatModImgTest/modules/7.com.hello.jar -C /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2025-06-12T10:12:55.494Z] STF 11:12:55.454 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_1/20250612-111249-PatModImgTest/results/7.CMJ.stderr [2025-06-12T10:12:55.494Z] STF 11:12:55.454 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_1/20250612-111249-PatModImgTest/results/7.CMJ.stdout [2025-06-12T10:12:55.494Z] STF 11:12:55.456 - Monitoring processes: CMJ [2025-06-12T10:12:55.848Z] STF 11:12:55.735 - Monitoring Report Summary: [2025-06-12T10:12:55.848Z] STF 11:12:55.735 - o Process CMJ ended with the expected exit code (0) [2025-06-12T10:12:55.848Z] STF 11:12:55.736 - Created modular jar: 7.com.hello.jar [2025-06-12T10:12:55.848Z] STF 11:12:55.736 - [2025-06-12T10:12:55.848Z] STF 11:12:55.736 - +------ Step 8 - create java.xml.jar [2025-06-12T10:12:55.848Z] STF 11:12:55.736 - | Create modular jar [2025-06-12T10:12:55.848Z] STF 11:12:55.736 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-06-12T10:12:55.848Z] STF 11:12:55.736 - | ModuleVersion: null [2025-06-12T10:12:55.848Z] STF 11:12:55.736 - | MainClass: null [2025-06-12T10:12:55.848Z] STF 11:12:55.736 - | HashModules: null [2025-06-12T10:12:55.848Z] STF 11:12:55.736 - | [2025-06-12T10:12:55.848Z] STF 11:12:55.736 - Running command: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_1/20250612-111249-PatModImgTest/modules/8.java.xml.jar -C /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2025-06-12T10:12:55.848Z] STF 11:12:55.736 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_1/20250612-111249-PatModImgTest/results/8.CMJ.stderr [2025-06-12T10:12:55.848Z] STF 11:12:55.736 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_1/20250612-111249-PatModImgTest/results/8.CMJ.stdout [2025-06-12T10:12:55.848Z] STF 11:12:55.738 - Monitoring processes: CMJ [2025-06-12T10:12:56.202Z] STF 11:12:56.004 - Monitoring Report Summary: [2025-06-12T10:12:56.202Z] STF 11:12:56.004 - o Process CMJ ended with the expected exit code (0) [2025-06-12T10:12:56.202Z] STF 11:12:56.004 - Created modular jar: 8.java.xml.jar [2025-06-12T10:12:56.202Z] STF 11:12:56.004 - [2025-06-12T10:12:56.202Z] STF 11:12:56.004 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory [2025-06-12T10:12:56.202Z] STF 11:12:56.004 - | Run foreground process [2025-06-12T10:12:56.202Z] STF 11:12:56.004 - | Program: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_1/20250612-111249-PatModImgTest/tmp/6.XpJVM/bin/java [2025-06-12T10:12:56.202Z] STF 11:12:56.004 - | Mnemonic: OT11 [2025-06-12T10:12:56.202Z] STF 11:12:56.004 - | Echo: ECHO_ON [2025-06-12T10:12:56.202Z] STF 11:12:56.004 - | Expectation: CLEAN_RUN within 5m [2025-06-12T10:12:56.202Z] STF 11:12:56.004 - | [2025-06-12T10:12:56.202Z] STF 11:12:56.005 - Running command: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_1/20250612-111249-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_1/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-12T10:12:56.202Z] STF 11:12:56.005 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_1/20250612-111249-PatModImgTest/results/9.OT11.stderr [2025-06-12T10:12:56.203Z] STF 11:12:56.005 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_1/20250612-111249-PatModImgTest/results/9.OT11.stdout [2025-06-12T10:12:56.203Z] STF 11:12:56.006 - Monitoring processes: OT11 [2025-06-12T10:12:56.578Z] OT11 stderr WARNING: module-info.class ignored in patch: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml [2025-06-12T10:12:56.578Z] OT11 JUnit version 4.12 [2025-06-12T10:12:56.578Z] OT11 . [2025-06-12T10:12:56.578Z] OT11 Time: 0.005 [2025-06-12T10:12:56.578Z] OT11 [2025-06-12T10:12:56.578Z] OT11 OK (1 test) [2025-06-12T10:12:56.578Z] OT11 [2025-06-12T10:12:56.578Z] STF 11:12:56.447 - Monitoring Report Summary: [2025-06-12T10:12:56.578Z] STF 11:12:56.447 - o Process OT11 ended with the expected exit code (0) [2025-06-12T10:12:56.578Z] STF 11:12:56.447 - [2025-06-12T10:12:56.578Z] STF 11:12:56.447 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar [2025-06-12T10:12:56.578Z] STF 11:12:56.447 - | Run foreground process [2025-06-12T10:12:56.578Z] STF 11:12:56.447 - | Program: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_1/20250612-111249-PatModImgTest/tmp/6.XpJVM/bin/java [2025-06-12T10:12:56.578Z] STF 11:12:56.447 - | Mnemonic: OT12 [2025-06-12T10:12:56.578Z] STF 11:12:56.447 - | Echo: ECHO_ON [2025-06-12T10:12:56.578Z] STF 11:12:56.447 - | Expectation: CLEAN_RUN within 5m [2025-06-12T10:12:56.578Z] STF 11:12:56.447 - | [2025-06-12T10:12:56.578Z] STF 11:12:56.448 - Running command: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_1/20250612-111249-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_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_1/20250612-111249-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-12T10:12:56.578Z] STF 11:12:56.448 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_1/20250612-111249-PatModImgTest/results/10.OT12.stderr [2025-06-12T10:12:56.578Z] STF 11:12:56.448 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_1/20250612-111249-PatModImgTest/results/10.OT12.stdout [2025-06-12T10:12:56.578Z] STF 11:12:56.449 - Monitoring processes: OT12 [2025-06-12T10:12:56.932Z] OT12 stderr WARNING: module-info.class ignored in patch: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_1/20250612-111249-PatModImgTest/modules/8.java.xml.jar [2025-06-12T10:12:56.932Z] OT12 JUnit version 4.12 [2025-06-12T10:12:56.932Z] OT12 . [2025-06-12T10:12:56.932Z] OT12 Time: 0.005 [2025-06-12T10:12:56.932Z] OT12 [2025-06-12T10:12:56.932Z] OT12 OK (1 test) [2025-06-12T10:12:56.932Z] OT12 [2025-06-12T10:12:56.932Z] STF 11:12:56.740 - Monitoring Report Summary: [2025-06-12T10:12:56.932Z] STF 11:12:56.740 - o Process OT12 ended with the expected exit code (0) [2025-06-12T10:12:56.932Z] STF 11:12:56.740 - EXECUTE stage completed [2025-06-12T10:12:56.932Z] STF 11:12:56.786 - [2025-06-12T10:12:56.932Z] STF 11:12:56.786 - ==================== T E A R D O W N ==================== [2025-06-12T10:12:56.932Z] STF 11:12:56.786 - Running teardown: perl /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17497212029915/PatModImg_PlatMod_1/20250612-111249-PatModImgTest/tearDown.pl [2025-06-12T10:12:56.932Z] STF 11:12:56.868 - TEARDOWN stage completed [2025-06-12T10:12:56.932Z] STF 11:12:56.876 - [2025-06-12T10:12:56.932Z] STF 11:12:56.876 - ===================== R E S U L T S ===================== [2025-06-12T10:12:56.932Z] STF 11:12:56.876 - Stage results: [2025-06-12T10:12:56.932Z] STF 11:12:56.876 - setUp: pass [2025-06-12T10:12:56.932Z] STF 11:12:56.876 - execute: pass [2025-06-12T10:12:56.932Z] STF 11:12:56.876 - teardown: pass [2025-06-12T10:12:56.932Z] STF 11:12:56.876 - [2025-06-12T10:12:56.932Z] STF 11:12:56.876 - Overall result: PASSED [2025-06-12T10:12:56.932Z] ----------------------------------- [2025-06-12T10:12:56.932Z] PatModImg_PlatMod_1_PASSED [2025-06-12T10:12:56.932Z] ----------------------------------- [2025-06-12T10:12:56.932Z] [2025-06-12T10:12:56.932Z] TEST TEARDOWN: [2025-06-12T10:12:56.932Z] Nothing to be done for teardown. [2025-06-12T10:12:57.283Z] PatModImg_PlatMod_1 Finish Time: Thu Jun 12 11:12:56 2025 Epoch Time (ms): 1749723176921