PatModImg_PlatMod_0

[2025-06-12T10:12:41.942Z] Running test PatModImg_PlatMod_0 ... [2025-06-12T10:12:41.942Z] =============================================== [2025-06-12T10:12:41.942Z] PatModImg_PlatMod_0 Start Time: Thu Jun 12 11:12:41 2025 Epoch Time (ms): 1749723161883 [2025-06-12T10:12:41.942Z] variation: Mode150 [2025-06-12T10:12:41.942Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-06-12T10:12:41.942Z] { \ [2025-06-12T10:12:41.942Z] echo ""; echo "TEST SETUP:"; \ [2025-06-12T10:12:41.942Z] echo "Nothing to be done for setup."; \ [2025-06-12T10:12:41.942Z] mkdir -p "/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17497212029915/PatModImg_PlatMod_0"; \ [2025-06-12T10:12:41.942Z] cd "/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17497212029915/PatModImg_PlatMod_0"; \ [2025-06-12T10:12:41.942Z] echo ""; echo "TESTING:"; \ [2025-06-12T10:12:41.942Z] 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_0" -test=PatModImgTest -test-args="variant=PlatMod"; \ [2025-06-12T10:12:41.942Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_PlatMod_0""_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_0"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-06-12T10:12:41.942Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-06-12T10:12:41.942Z] echo "Nothing to be done for teardown."; \ [2025-06-12T10:12:41.942Z] } 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:41.942Z] [2025-06-12T10:12:41.942Z] TEST SETUP: [2025-06-12T10:12:41.942Z] Nothing to be done for setup. [2025-06-12T10:12:41.942Z] [2025-06-12T10:12:41.942Z] TESTING: [2025-06-12T10:12:42.295Z] STF 11:12:41.987 - ========================= S T F ========================= [2025-06-12T10:12:42.296Z] 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_0 [2025-06-12T10:12:42.296Z] There is 51973 Mb free [2025-06-12T10:12:42.296Z] STF 11:12:41.997 - ================== G E N E R A T I O N ================== [2025-06-12T10:12:42.296Z] STF 11:12:41.998 - 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:42.296Z] STF 11:12:41.998 - 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_0/20250612-111241-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_0/20250612-111241-PatModImgTest" [2025-06-12T10:12:43.519Z] GEN 11:12:43.132 - 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:43.519Z] GEN 11:12:43.155 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-06-12T10:12:43.519Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-06-12T10:12:43.519Z] 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:43.519Z] 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:43.519Z] 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:43.519Z] 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:43.519Z] 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:43.519Z] 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:43.519Z] 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:43.519Z] 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:43.519Z] 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:43.519Z] 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:43.519Z] 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:43.519Z] 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:43.519Z] 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:43.519Z] 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:43.519Z] 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:43.519Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/bin [2025-06-12T10:12:43.519Z] GEN /Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-06-12T10:12:43.519Z] GEN /Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-06-12T10:12:43.519Z] GEN /Users/jenkins/testDependency/system_lib/junit/junit.jar [2025-06-12T10:12:43.519Z] GEN 11:12:43.410 - Using Mode NoOptions. Values = '' [2025-06-12T10:12:43.871Z] GEN 11:12:43.565 - [2025-06-12T10:12:43.871Z] GEN 11:12:43.565 - Test command summary: [2025-06-12T10:12:43.872Z] GEN 11:12:43.565 - Step Stage Command Description [2025-06-12T10:12:43.872Z] GEN 11:12:43.566 - -----+--------+-----------------+------------ [2025-06-12T10:12:43.872Z] GEN 11:12:43.566 - 1 execute jar Create com.hello jar [2025-06-12T10:12:43.872Z] GEN 11:12:43.566 - 2 execute jar Create com.hola jar [2025-06-12T10:12:43.872Z] GEN 11:12:43.566 - 3 execute jar Create com.helper jar [2025-06-12T10:12:43.872Z] GEN 11:12:43.566 - 4 execute jar Create com.discreet jar [2025-06-12T10:12:43.872Z] GEN 11:12:43.566 - 5 execute jar Create tests jar [2025-06-12T10:12:43.872Z] GEN 11:12:43.566 - 6 execute jlink Create runtime image for PatchModule test [2025-06-12T10:12:43.872Z] GEN 11:12:43.566 - 7 execute jar Create com.hello jar [2025-06-12T10:12:43.872Z] GEN 11:12:43.566 - 8 execute jar create java.xml.jar [2025-06-12T10:12:43.872Z] GEN 11:12:43.567 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory [2025-06-12T10:12:43.872Z] GEN 11:12:43.567 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar [2025-06-12T10:12:43.872Z] STF 11:12:43.600 - [2025-06-12T10:12:43.872Z] STF 11:12:43.600 - Script generation completed [2025-06-12T10:12:43.872Z] STF 11:12:43.600 - [2025-06-12T10:12:43.872Z] STF 11:12:43.600 - [2025-06-12T10:12:43.872Z] STF 11:12:43.600 - ======================= S E T U P ======================= [2025-06-12T10:12:43.872Z] STF 11:12:43.600 - Running setup: perl /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17497212029915/PatModImg_PlatMod_0/20250612-111241-PatModImgTest/setUp.pl [2025-06-12T10:12:43.872Z] STF 11:12:43.677 - SETUP stage completed [2025-06-12T10:12:43.872Z] STF 11:12:43.684 - [2025-06-12T10:12:43.872Z] STF 11:12:43.684 - ==================== E X E C U T E - ==================== [2025-06-12T10:12:43.872Z] STF 11:12:43.684 - Running execute: perl /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17497212029915/PatModImg_PlatMod_0/20250612-111241-PatModImgTest/execute.pl [2025-06-12T10:12:43.872Z] STF 11:12:43.759 - [2025-06-12T10:12:43.872Z] STF 11:12:43.759 - Java version [2025-06-12T10:12:43.872Z] STF 11:12:43.759 - 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:44.225Z] STF 11:12:43.869 - [2025-06-12T10:12:44.225Z] STF 11:12:43.869 - +------ Step 1 - Create com.hello jar [2025-06-12T10:12:44.225Z] STF 11:12:43.869 - | Create modular jar [2025-06-12T10:12:44.225Z] STF 11:12:43.869 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-06-12T10:12:44.225Z] STF 11:12:43.869 - | ModuleVersion: null [2025-06-12T10:12:44.225Z] STF 11:12:43.869 - | MainClass: null [2025-06-12T10:12:44.225Z] STF 11:12:43.869 - | HashModules: null [2025-06-12T10:12:44.225Z] STF 11:12:43.869 - | [2025-06-12T10:12:44.226Z] STF 11:12:43.870 - 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_0/20250612-111241-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:44.226Z] STF 11:12:43.870 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_0/20250612-111241-PatModImgTest/results/1.CMJ.stderr [2025-06-12T10:12:44.226Z] STF 11:12:43.870 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_0/20250612-111241-PatModImgTest/results/1.CMJ.stdout [2025-06-12T10:12:44.226Z] openjdk version "11.0.28-beta" 2025-07-15 [2025-06-12T10:12:44.226Z] OpenJDK Runtime Environment Temurin-11.0.28+4-202506112041 (build 11.0.28-beta+4-ea) [2025-06-12T10:12:44.226Z] OpenJDK 64-Bit Server VM Temurin-11.0.28+4-202506112041 (build 11.0.28-beta+4-ea, mixed mode) [2025-06-12T10:12:44.226Z] STF 11:12:43.881 - Monitoring processes: CMJ [2025-06-12T10:12:44.226Z] STF 11:12:44.161 - Monitoring Report Summary: [2025-06-12T10:12:44.226Z] STF 11:12:44.161 - o Process CMJ ended with the expected exit code (0) [2025-06-12T10:12:44.226Z] STF 11:12:44.161 - Created modular jar: 1.com.hello.jar [2025-06-12T10:12:44.226Z] STF 11:12:44.161 - [2025-06-12T10:12:44.226Z] STF 11:12:44.161 - +------ Step 2 - Create com.hola jar [2025-06-12T10:12:44.226Z] STF 11:12:44.162 - | Create modular jar [2025-06-12T10:12:44.226Z] STF 11:12:44.162 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-06-12T10:12:44.226Z] STF 11:12:44.162 - | ModuleVersion: null [2025-06-12T10:12:44.226Z] STF 11:12:44.162 - | MainClass: null [2025-06-12T10:12:44.226Z] STF 11:12:44.162 - | HashModules: null [2025-06-12T10:12:44.226Z] STF 11:12:44.162 - | [2025-06-12T10:12:44.226Z] STF 11:12:44.162 - 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_0/20250612-111241-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:44.226Z] STF 11:12:44.162 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_0/20250612-111241-PatModImgTest/results/2.CMJ.stderr [2025-06-12T10:12:44.226Z] STF 11:12:44.162 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_0/20250612-111241-PatModImgTest/results/2.CMJ.stdout [2025-06-12T10:12:44.226Z] STF 11:12:44.163 - Monitoring processes: CMJ [2025-06-12T10:12:44.579Z] STF 11:12:44.436 - Monitoring Report Summary: [2025-06-12T10:12:44.579Z] STF 11:12:44.436 - o Process CMJ ended with the expected exit code (0) [2025-06-12T10:12:44.579Z] STF 11:12:44.436 - Created modular jar: 2.com.hola.jar [2025-06-12T10:12:44.579Z] STF 11:12:44.436 - [2025-06-12T10:12:44.579Z] STF 11:12:44.436 - +------ Step 3 - Create com.helper jar [2025-06-12T10:12:44.579Z] STF 11:12:44.436 - | Create modular jar [2025-06-12T10:12:44.579Z] STF 11:12:44.436 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-06-12T10:12:44.579Z] STF 11:12:44.436 - | ModuleVersion: null [2025-06-12T10:12:44.579Z] STF 11:12:44.436 - | MainClass: null [2025-06-12T10:12:44.579Z] STF 11:12:44.436 - | HashModules: null [2025-06-12T10:12:44.579Z] STF 11:12:44.436 - | [2025-06-12T10:12:44.579Z] STF 11:12:44.437 - 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_0/20250612-111241-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:44.579Z] STF 11:12:44.437 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_0/20250612-111241-PatModImgTest/results/3.CMJ.stderr [2025-06-12T10:12:44.579Z] STF 11:12:44.437 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_0/20250612-111241-PatModImgTest/results/3.CMJ.stdout [2025-06-12T10:12:44.579Z] STF 11:12:44.438 - Monitoring processes: CMJ [2025-06-12T10:12:44.930Z] STF 11:12:44.715 - Monitoring Report Summary: [2025-06-12T10:12:44.931Z] STF 11:12:44.715 - o Process CMJ ended with the expected exit code (0) [2025-06-12T10:12:44.931Z] STF 11:12:44.715 - Created modular jar: 3.com.helper.jar [2025-06-12T10:12:44.931Z] STF 11:12:44.715 - [2025-06-12T10:12:44.931Z] STF 11:12:44.715 - +------ Step 4 - Create com.discreet jar [2025-06-12T10:12:44.931Z] STF 11:12:44.715 - | Create modular jar [2025-06-12T10:12:44.931Z] STF 11:12:44.715 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-06-12T10:12:44.931Z] STF 11:12:44.715 - | ModuleVersion: null [2025-06-12T10:12:44.931Z] STF 11:12:44.715 - | MainClass: null [2025-06-12T10:12:44.931Z] STF 11:12:44.715 - | HashModules: null [2025-06-12T10:12:44.931Z] STF 11:12:44.715 - | [2025-06-12T10:12:44.931Z] STF 11:12:44.716 - 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_0/20250612-111241-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:44.931Z] STF 11:12:44.716 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_0/20250612-111241-PatModImgTest/results/4.CMJ.stderr [2025-06-12T10:12:44.931Z] STF 11:12:44.716 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_0/20250612-111241-PatModImgTest/results/4.CMJ.stdout [2025-06-12T10:12:44.931Z] STF 11:12:44.717 - Monitoring processes: CMJ [2025-06-12T10:12:45.283Z] STF 11:12:44.989 - Monitoring Report Summary: [2025-06-12T10:12:45.283Z] STF 11:12:44.989 - o Process CMJ ended with the expected exit code (0) [2025-06-12T10:12:45.283Z] STF 11:12:44.990 - Created modular jar: 4.com.discreet.jar [2025-06-12T10:12:45.283Z] STF 11:12:44.990 - [2025-06-12T10:12:45.283Z] STF 11:12:44.990 - +------ Step 5 - Create tests jar [2025-06-12T10:12:45.283Z] STF 11:12:44.990 - | Create modular jar [2025-06-12T10:12:45.283Z] STF 11:12:44.990 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-06-12T10:12:45.283Z] STF 11:12:44.990 - | ModuleVersion: null [2025-06-12T10:12:45.283Z] STF 11:12:44.990 - | MainClass: null [2025-06-12T10:12:45.283Z] STF 11:12:44.990 - | HashModules: null [2025-06-12T10:12:45.283Z] STF 11:12:44.990 - | [2025-06-12T10:12:45.283Z] STF 11:12:44.990 - 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_0/20250612-111241-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:45.283Z] STF 11:12:44.990 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_0/20250612-111241-PatModImgTest/results/5.CMJ.stderr [2025-06-12T10:12:45.283Z] STF 11:12:44.990 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_0/20250612-111241-PatModImgTest/results/5.CMJ.stdout [2025-06-12T10:12:45.283Z] STF 11:12:44.992 - Monitoring processes: CMJ [2025-06-12T10:12:45.637Z] STF 11:12:45.294 - Monitoring Report Summary: [2025-06-12T10:12:45.637Z] STF 11:12:45.294 - o Process CMJ ended with the expected exit code (0) [2025-06-12T10:12:45.637Z] STF 11:12:45.295 - Created modular jar: 5.com.test.jar [2025-06-12T10:12:45.637Z] STF 11:12:45.295 - [2025-06-12T10:12:45.637Z] STF 11:12:45.295 - +------ Step 6 - Create runtime image for PatchModule test [2025-06-12T10:12:45.637Z] STF 11:12:45.295 - | Run jlink to create runtime image [2025-06-12T10:12:45.637Z] STF 11:12:45.295 - | ImageName: XpJVM [2025-06-12T10:12:45.637Z] STF 11:12:45.295 - | [2025-06-12T10:12:45.637Z] STF 11:12:45.295 - 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_0/20250612-111241-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_0/20250612-111241-PatModImgTest/tmp/6.XpJVM [2025-06-12T10:12:45.637Z] STF 11:12:45.295 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_0/20250612-111241-PatModImgTest/results/6.JLNK.stderr [2025-06-12T10:12:45.637Z] STF 11:12:45.295 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_0/20250612-111241-PatModImgTest/results/6.JLNK.stdout [2025-06-12T10:12:45.637Z] STF 11:12:45.297 - Monitoring processes: JLNK [2025-06-12T10:12:48.012Z] STF 11:12:47.859 - Monitoring Report Summary: [2025-06-12T10:12:48.013Z] STF 11:12:47.859 - o Process JLNK ended with the expected exit code (0) [2025-06-12T10:12:48.013Z] STF 11:12:47.859 - [2025-06-12T10:12:48.013Z] STF 11:12:47.859 - +------ Step 7 - Create com.hello jar [2025-06-12T10:12:48.013Z] STF 11:12:47.859 - | Create modular jar [2025-06-12T10:12:48.013Z] STF 11:12:47.859 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-06-12T10:12:48.013Z] STF 11:12:47.859 - | ModuleVersion: null [2025-06-12T10:12:48.013Z] STF 11:12:47.859 - | MainClass: null [2025-06-12T10:12:48.013Z] STF 11:12:47.860 - | HashModules: null [2025-06-12T10:12:48.013Z] STF 11:12:47.860 - | [2025-06-12T10:12:48.013Z] STF 11:12:47.860 - 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_0/20250612-111241-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:48.013Z] STF 11:12:47.860 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_0/20250612-111241-PatModImgTest/results/7.CMJ.stderr [2025-06-12T10:12:48.013Z] STF 11:12:47.860 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_0/20250612-111241-PatModImgTest/results/7.CMJ.stdout [2025-06-12T10:12:48.013Z] STF 11:12:47.861 - Monitoring processes: CMJ [2025-06-12T10:12:48.365Z] STF 11:12:48.136 - Monitoring Report Summary: [2025-06-12T10:12:48.365Z] STF 11:12:48.136 - o Process CMJ ended with the expected exit code (0) [2025-06-12T10:12:48.365Z] STF 11:12:48.137 - Created modular jar: 7.com.hello.jar [2025-06-12T10:12:48.365Z] STF 11:12:48.137 - [2025-06-12T10:12:48.365Z] STF 11:12:48.137 - +------ Step 8 - create java.xml.jar [2025-06-12T10:12:48.365Z] STF 11:12:48.137 - | Create modular jar [2025-06-12T10:12:48.365Z] STF 11:12:48.137 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-06-12T10:12:48.365Z] STF 11:12:48.137 - | ModuleVersion: null [2025-06-12T10:12:48.365Z] STF 11:12:48.137 - | MainClass: null [2025-06-12T10:12:48.365Z] STF 11:12:48.137 - | HashModules: null [2025-06-12T10:12:48.365Z] STF 11:12:48.137 - | [2025-06-12T10:12:48.365Z] STF 11:12:48.137 - 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_0/20250612-111241-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:48.366Z] STF 11:12:48.137 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_0/20250612-111241-PatModImgTest/results/8.CMJ.stderr [2025-06-12T10:12:48.366Z] STF 11:12:48.137 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_0/20250612-111241-PatModImgTest/results/8.CMJ.stdout [2025-06-12T10:12:48.366Z] STF 11:12:48.139 - Monitoring processes: CMJ [2025-06-12T10:12:48.719Z] STF 11:12:48.402 - Monitoring Report Summary: [2025-06-12T10:12:48.719Z] STF 11:12:48.402 - o Process CMJ ended with the expected exit code (0) [2025-06-12T10:12:48.719Z] STF 11:12:48.403 - Created modular jar: 8.java.xml.jar [2025-06-12T10:12:48.719Z] STF 11:12:48.403 - [2025-06-12T10:12:48.719Z] STF 11:12:48.403 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory [2025-06-12T10:12:48.719Z] STF 11:12:48.403 - | Run foreground process [2025-06-12T10:12:48.719Z] STF 11:12:48.403 - | Program: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_0/20250612-111241-PatModImgTest/tmp/6.XpJVM/bin/java [2025-06-12T10:12:48.719Z] STF 11:12:48.403 - | Mnemonic: OT11 [2025-06-12T10:12:48.719Z] STF 11:12:48.403 - | Echo: ECHO_ON [2025-06-12T10:12:48.719Z] STF 11:12:48.403 - | Expectation: CLEAN_RUN within 5m [2025-06-12T10:12:48.719Z] STF 11:12:48.403 - | [2025-06-12T10:12:48.719Z] STF 11:12:48.403 - Running command: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_0/20250612-111241-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:48.719Z] STF 11:12:48.403 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_0/20250612-111241-PatModImgTest/results/9.OT11.stderr [2025-06-12T10:12:48.719Z] STF 11:12:48.403 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_0/20250612-111241-PatModImgTest/results/9.OT11.stdout [2025-06-12T10:12:48.719Z] STF 11:12:48.405 - Monitoring processes: OT11 [2025-06-12T10:12:49.071Z] 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:49.071Z] OT11 JUnit version 4.12 [2025-06-12T10:12:49.071Z] OT11 . [2025-06-12T10:12:49.071Z] OT11 Time: 0.004 [2025-06-12T10:12:49.071Z] OT11 [2025-06-12T10:12:49.071Z] OT11 OK (1 test) [2025-06-12T10:12:49.071Z] OT11 [2025-06-12T10:12:49.071Z] STF 11:12:48.853 - Monitoring Report Summary: [2025-06-12T10:12:49.071Z] STF 11:12:48.853 - o Process OT11 ended with the expected exit code (0) [2025-06-12T10:12:49.071Z] STF 11:12:48.853 - [2025-06-12T10:12:49.071Z] STF 11:12:48.853 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar [2025-06-12T10:12:49.071Z] STF 11:12:48.853 - | Run foreground process [2025-06-12T10:12:49.071Z] STF 11:12:48.853 - | Program: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_0/20250612-111241-PatModImgTest/tmp/6.XpJVM/bin/java [2025-06-12T10:12:49.071Z] STF 11:12:48.853 - | Mnemonic: OT12 [2025-06-12T10:12:49.071Z] STF 11:12:48.853 - | Echo: ECHO_ON [2025-06-12T10:12:49.071Z] STF 11:12:48.853 - | Expectation: CLEAN_RUN within 5m [2025-06-12T10:12:49.071Z] STF 11:12:48.853 - | [2025-06-12T10:12:49.072Z] STF 11:12:48.854 - Running command: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_0/20250612-111241-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_0/20250612-111241-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:49.072Z] STF 11:12:48.854 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_0/20250612-111241-PatModImgTest/results/10.OT12.stderr [2025-06-12T10:12:49.072Z] STF 11:12:48.854 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17497212029915/PatModImg_PlatMod_0/20250612-111241-PatModImgTest/results/10.OT12.stdout [2025-06-12T10:12:49.072Z] STF 11:12:48.855 - Monitoring processes: OT12 [2025-06-12T10:12:49.072Z] 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_0/20250612-111241-PatModImgTest/modules/8.java.xml.jar [2025-06-12T10:12:49.424Z] OT12 JUnit version 4.12 [2025-06-12T10:12:49.424Z] OT12 . [2025-06-12T10:12:49.424Z] OT12 Time: 0.004 [2025-06-12T10:12:49.424Z] OT12 [2025-06-12T10:12:49.424Z] OT12 OK (1 test) [2025-06-12T10:12:49.424Z] OT12 [2025-06-12T10:12:49.424Z] STF 11:12:49.154 - Monitoring Report Summary: [2025-06-12T10:12:49.424Z] STF 11:12:49.154 - o Process OT12 ended with the expected exit code (0) [2025-06-12T10:12:49.424Z] STF 11:12:49.155 - EXECUTE stage completed [2025-06-12T10:12:49.425Z] STF 11:12:49.208 - [2025-06-12T10:12:49.425Z] STF 11:12:49.208 - ==================== T E A R D O W N ==================== [2025-06-12T10:12:49.425Z] STF 11:12:49.208 - Running teardown: perl /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17497212029915/PatModImg_PlatMod_0/20250612-111241-PatModImgTest/tearDown.pl [2025-06-12T10:12:49.425Z] STF 11:12:49.284 - TEARDOWN stage completed [2025-06-12T10:12:49.425Z] STF 11:12:49.287 - [2025-06-12T10:12:49.425Z] STF 11:12:49.287 - ===================== R E S U L T S ===================== [2025-06-12T10:12:49.425Z] STF 11:12:49.287 - Stage results: [2025-06-12T10:12:49.425Z] STF 11:12:49.287 - setUp: pass [2025-06-12T10:12:49.425Z] STF 11:12:49.287 - execute: pass [2025-06-12T10:12:49.425Z] STF 11:12:49.287 - teardown: pass [2025-06-12T10:12:49.425Z] STF 11:12:49.287 - [2025-06-12T10:12:49.425Z] STF 11:12:49.287 - Overall result: PASSED [2025-06-12T10:12:49.425Z] ----------------------------------- [2025-06-12T10:12:49.425Z] PatModImg_PlatMod_0_PASSED [2025-06-12T10:12:49.425Z] ----------------------------------- [2025-06-12T10:12:49.425Z] [2025-06-12T10:12:49.425Z] TEST TEARDOWN: [2025-06-12T10:12:49.425Z] Nothing to be done for teardown. [2025-06-12T10:12:49.425Z] PatModImg_PlatMod_0 Finish Time: Thu Jun 12 11:12:49 2025 Epoch Time (ms): 1749723169330