PatModImg_PlatMod_0

[2025-01-10T21:11:51.373Z] Running test PatModImg_PlatMod_0 ... [2025-01-10T21:11:51.373Z] =============================================== [2025-01-10T21:11:51.373Z] PatModImg_PlatMod_0 Start Time: Fri Jan 10 21:11:50 2025 Epoch Time (ms): 1736543510490 [2025-01-10T21:11:51.373Z] variation: Mode150 [2025-01-10T21:11:51.373Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-01-10T21:11:51.373Z] { \ [2025-01-10T21:11:51.373Z] echo ""; echo "TEST SETUP:"; \ [2025-01-10T21:11:51.373Z] echo "Nothing to be done for setup."; \ [2025-01-10T21:11:51.373Z] mkdir -p "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17365388109901/PatModImg_PlatMod_0"; \ [2025-01-10T21:11:51.373Z] cd "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17365388109901/PatModImg_PlatMod_0"; \ [2025-01-10T21:11:51.373Z] echo ""; echo "TESTING:"; \ [2025-01-10T21:11:51.374Z] perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/../../testDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17365388109901/PatModImg_PlatMod_0" -test=PatModImgTest -test-args="variant=PlatMod"; \ [2025-01-10T21:11:51.374Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_PlatMod_0""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17365388109901/PatModImg_PlatMod_0"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-01-10T21:11:51.374Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-01-10T21:11:51.374Z] echo "Nothing to be done for teardown."; \ [2025-01-10T21:11:51.374Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17365388109901/TestTargetResult"; [2025-01-10T21:11:51.374Z] [2025-01-10T21:11:51.374Z] TEST SETUP: [2025-01-10T21:11:51.374Z] Nothing to be done for setup. [2025-01-10T21:11:51.374Z] [2025-01-10T21:11:51.374Z] TESTING: [2025-01-10T21:11:51.374Z] STF 21:11:50.536 - ========================= S T F ========================= [2025-01-10T21:11:51.374Z] systemtest-prereqs has been processed, and set to: /home/jenkins/testDependency/system_libRetrieving amount of free space on drive containing /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17365388109901/PatModImg_PlatMod_0 [2025-01-10T21:11:51.374Z] There is 108797 Mb free [2025-01-10T21:11:51.374Z] STF 21:11:50.539 - ================== G E N E R A T I O N ================== [2025-01-10T21:11:51.374Z] STF 21:11:50.540 - Checking JVM: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image [2025-01-10T21:11:51.374Z] STF 21:11:50.540 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/../../testDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/../../testDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17365388109901/PatModImg_PlatMod_0/20250110-211150-PatModImgTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17365388109901/PatModImg_PlatMod_0/20250110-211150-PatModImgTest" [2025-01-10T21:11:52.006Z] GEN 21:11:51.476 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-01-10T21:11:52.006Z] GEN 21:11:51.491 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-01-10T21:11:52.006Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-01-10T21:11:52.006Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-01-10T21:11:52.006Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-01-10T21:11:52.006Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-01-10T21:11:52.006Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-01-10T21:11:52.006Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-01-10T21:11:52.006Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-01-10T21:11:52.006Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-01-10T21:11:52.006Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-01-10T21:11:52.006Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-01-10T21:11:52.006Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-01-10T21:11:52.006Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-01-10T21:11:52.006Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-01-10T21:11:52.006Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-01-10T21:11:52.006Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-01-10T21:11:52.006Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-01-10T21:11:52.006Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/STF/stf.core/bin [2025-01-10T21:11:52.006Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-01-10T21:11:52.006Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-01-10T21:11:52.006Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar [2025-01-10T21:11:52.006Z] GEN 21:11:51.723 - Using Mode NoOptions. Values = '' [2025-01-10T21:11:52.006Z] GEN 21:11:51.865 - [2025-01-10T21:11:52.006Z] GEN 21:11:51.865 - Test command summary: [2025-01-10T21:11:52.006Z] GEN 21:11:51.866 - Step Stage Command Description [2025-01-10T21:11:52.006Z] GEN 21:11:51.866 - -----+--------+-----------------+------------ [2025-01-10T21:11:52.006Z] GEN 21:11:51.867 - 1 execute jar Create com.hello jar [2025-01-10T21:11:52.006Z] GEN 21:11:51.867 - 2 execute jar Create com.hola jar [2025-01-10T21:11:52.006Z] GEN 21:11:51.867 - 3 execute jar Create com.helper jar [2025-01-10T21:11:52.006Z] GEN 21:11:51.867 - 4 execute jar Create com.discreet jar [2025-01-10T21:11:52.006Z] GEN 21:11:51.867 - 5 execute jar Create tests jar [2025-01-10T21:11:52.006Z] GEN 21:11:51.867 - 6 execute jlink Create runtime image for PatchModule test [2025-01-10T21:11:52.006Z] GEN 21:11:51.867 - 7 execute jar Create com.hello jar [2025-01-10T21:11:52.006Z] GEN 21:11:51.867 - 8 execute jar create java.xml.jar [2025-01-10T21:11:52.006Z] GEN 21:11:51.867 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory [2025-01-10T21:11:52.006Z] GEN 21:11:51.869 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar [2025-01-10T21:11:52.006Z] STF 21:11:51.891 - [2025-01-10T21:11:52.006Z] STF 21:11:51.891 - Script generation completed [2025-01-10T21:11:52.006Z] STF 21:11:51.891 - [2025-01-10T21:11:52.006Z] STF 21:11:51.891 - [2025-01-10T21:11:52.006Z] STF 21:11:51.891 - ======================= S E T U P ======================= [2025-01-10T21:11:52.006Z] STF 21:11:51.891 - Running setup: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17365388109901/PatModImg_PlatMod_0/20250110-211150-PatModImgTest/setUp.pl [2025-01-10T21:11:52.006Z] STF 21:11:51.931 - SETUP stage completed [2025-01-10T21:11:52.006Z] STF 21:11:51.936 - [2025-01-10T21:11:52.006Z] STF 21:11:51.936 - ==================== E X E C U T E - ==================== [2025-01-10T21:11:52.006Z] STF 21:11:51.936 - Running execute: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17365388109901/PatModImg_PlatMod_0/20250110-211150-PatModImgTest/execute.pl [2025-01-10T21:11:52.635Z] STF 21:11:51.976 - [2025-01-10T21:11:52.635Z] STF 21:11:51.976 - Java version [2025-01-10T21:11:52.635Z] STF 21:11:51.976 - Running: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/java -version [2025-01-10T21:11:52.635Z] openjdk version "11.0.26" 2025-01-21 [2025-01-10T21:11:52.635Z] OpenJDK Runtime Environment Temurin-11.0.26+3 (build 11.0.26+3) [2025-01-10T21:11:52.635Z] OpenJDK 64-Bit Server VM Temurin-11.0.26+3 (build 11.0.26+3, mixed mode) [2025-01-10T21:11:52.635Z] STF 21:11:52.044 - [2025-01-10T21:11:52.635Z] STF 21:11:52.044 - +------ Step 1 - Create com.hello jar [2025-01-10T21:11:52.635Z] STF 21:11:52.044 - | Create modular jar [2025-01-10T21:11:52.635Z] STF 21:11:52.044 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-01-10T21:11:52.635Z] STF 21:11:52.044 - | ModuleVersion: null [2025-01-10T21:11:52.635Z] STF 21:11:52.044 - | MainClass: null [2025-01-10T21:11:52.635Z] STF 21:11:52.044 - | HashModules: null [2025-01-10T21:11:52.635Z] STF 21:11:52.044 - | [2025-01-10T21:11:52.635Z] STF 21:11:52.044 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/PatModImg_PlatMod_0/20250110-211150-PatModImgTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-01-10T21:11:52.635Z] STF 21:11:52.044 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/PatModImg_PlatMod_0/20250110-211150-PatModImgTest/results/1.CMJ.stderr [2025-01-10T21:11:52.635Z] STF 21:11:52.044 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/PatModImg_PlatMod_0/20250110-211150-PatModImgTest/results/1.CMJ.stdout [2025-01-10T21:11:52.635Z] STF 21:11:52.051 - Monitoring processes: CMJ [2025-01-10T21:11:52.635Z] STF 21:11:52.231 - Monitoring Report Summary: [2025-01-10T21:11:52.635Z] STF 21:11:52.231 - o Process CMJ ended with the expected exit code (0) [2025-01-10T21:11:52.635Z] STF 21:11:52.231 - Created modular jar: 1.com.hello.jar [2025-01-10T21:11:52.635Z] STF 21:11:52.231 - [2025-01-10T21:11:52.635Z] STF 21:11:52.231 - +------ Step 2 - Create com.hola jar [2025-01-10T21:11:52.635Z] STF 21:11:52.231 - | Create modular jar [2025-01-10T21:11:52.635Z] STF 21:11:52.231 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-01-10T21:11:52.635Z] STF 21:11:52.231 - | ModuleVersion: null [2025-01-10T21:11:52.635Z] STF 21:11:52.231 - | MainClass: null [2025-01-10T21:11:52.635Z] STF 21:11:52.231 - | HashModules: null [2025-01-10T21:11:52.635Z] STF 21:11:52.231 - | [2025-01-10T21:11:52.635Z] STF 21:11:52.231 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/PatModImg_PlatMod_0/20250110-211150-PatModImgTest/modules/2.com.hola.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2025-01-10T21:11:52.635Z] STF 21:11:52.231 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/PatModImg_PlatMod_0/20250110-211150-PatModImgTest/results/2.CMJ.stderr [2025-01-10T21:11:52.635Z] STF 21:11:52.231 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/PatModImg_PlatMod_0/20250110-211150-PatModImgTest/results/2.CMJ.stdout [2025-01-10T21:11:52.636Z] STF 21:11:52.232 - Monitoring processes: CMJ [2025-01-10T21:11:52.636Z] STF 21:11:52.396 - Monitoring Report Summary: [2025-01-10T21:11:52.636Z] STF 21:11:52.396 - o Process CMJ ended with the expected exit code (0) [2025-01-10T21:11:52.636Z] STF 21:11:52.396 - Created modular jar: 2.com.hola.jar [2025-01-10T21:11:52.636Z] STF 21:11:52.396 - [2025-01-10T21:11:52.636Z] STF 21:11:52.396 - +------ Step 3 - Create com.helper jar [2025-01-10T21:11:52.636Z] STF 21:11:52.396 - | Create modular jar [2025-01-10T21:11:52.636Z] STF 21:11:52.396 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-01-10T21:11:52.636Z] STF 21:11:52.396 - | ModuleVersion: null [2025-01-10T21:11:52.636Z] STF 21:11:52.396 - | MainClass: null [2025-01-10T21:11:52.636Z] STF 21:11:52.396 - | HashModules: null [2025-01-10T21:11:52.636Z] STF 21:11:52.396 - | [2025-01-10T21:11:52.636Z] STF 21:11:52.396 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/PatModImg_PlatMod_0/20250110-211150-PatModImgTest/modules/3.com.helper.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2025-01-10T21:11:52.636Z] STF 21:11:52.397 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/PatModImg_PlatMod_0/20250110-211150-PatModImgTest/results/3.CMJ.stderr [2025-01-10T21:11:52.636Z] STF 21:11:52.397 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/PatModImg_PlatMod_0/20250110-211150-PatModImgTest/results/3.CMJ.stdout [2025-01-10T21:11:52.636Z] STF 21:11:52.397 - Monitoring processes: CMJ [2025-01-10T21:11:52.636Z] STF 21:11:52.564 - Monitoring Report Summary: [2025-01-10T21:11:52.636Z] STF 21:11:52.564 - o Process CMJ ended with the expected exit code (0) [2025-01-10T21:11:52.636Z] STF 21:11:52.564 - Created modular jar: 3.com.helper.jar [2025-01-10T21:11:52.636Z] STF 21:11:52.564 - [2025-01-10T21:11:52.636Z] STF 21:11:52.564 - +------ Step 4 - Create com.discreet jar [2025-01-10T21:11:52.636Z] STF 21:11:52.564 - | Create modular jar [2025-01-10T21:11:52.636Z] STF 21:11:52.564 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-01-10T21:11:52.636Z] STF 21:11:52.564 - | ModuleVersion: null [2025-01-10T21:11:52.636Z] STF 21:11:52.564 - | MainClass: null [2025-01-10T21:11:52.636Z] STF 21:11:52.564 - | HashModules: null [2025-01-10T21:11:52.636Z] STF 21:11:52.564 - | [2025-01-10T21:11:52.636Z] STF 21:11:52.564 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/PatModImg_PlatMod_0/20250110-211150-PatModImgTest/modules/4.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2025-01-10T21:11:52.636Z] STF 21:11:52.564 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/PatModImg_PlatMod_0/20250110-211150-PatModImgTest/results/4.CMJ.stderr [2025-01-10T21:11:52.636Z] STF 21:11:52.564 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/PatModImg_PlatMod_0/20250110-211150-PatModImgTest/results/4.CMJ.stdout [2025-01-10T21:11:52.636Z] STF 21:11:52.565 - Monitoring processes: CMJ [2025-01-10T21:11:53.269Z] STF 21:11:52.731 - Monitoring Report Summary: [2025-01-10T21:11:53.269Z] STF 21:11:52.731 - o Process CMJ ended with the expected exit code (0) [2025-01-10T21:11:53.269Z] STF 21:11:52.731 - Created modular jar: 4.com.discreet.jar [2025-01-10T21:11:53.269Z] STF 21:11:52.731 - [2025-01-10T21:11:53.269Z] STF 21:11:52.731 - +------ Step 5 - Create tests jar [2025-01-10T21:11:53.269Z] STF 21:11:52.731 - | Create modular jar [2025-01-10T21:11:53.269Z] STF 21:11:52.731 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-01-10T21:11:53.269Z] STF 21:11:52.731 - | ModuleVersion: null [2025-01-10T21:11:53.269Z] STF 21:11:52.731 - | MainClass: null [2025-01-10T21:11:53.269Z] STF 21:11:52.731 - | HashModules: null [2025-01-10T21:11:53.269Z] STF 21:11:52.731 - | [2025-01-10T21:11:53.269Z] STF 21:11:52.732 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/PatModImg_PlatMod_0/20250110-211150-PatModImgTest/modules/5.com.test.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2025-01-10T21:11:53.270Z] STF 21:11:52.732 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/PatModImg_PlatMod_0/20250110-211150-PatModImgTest/results/5.CMJ.stderr [2025-01-10T21:11:53.270Z] STF 21:11:52.732 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/PatModImg_PlatMod_0/20250110-211150-PatModImgTest/results/5.CMJ.stdout [2025-01-10T21:11:53.270Z] STF 21:11:52.732 - Monitoring processes: CMJ [2025-01-10T21:11:53.270Z] STF 21:11:52.904 - Monitoring Report Summary: [2025-01-10T21:11:53.270Z] STF 21:11:52.904 - o Process CMJ ended with the expected exit code (0) [2025-01-10T21:11:53.270Z] STF 21:11:52.904 - Created modular jar: 5.com.test.jar [2025-01-10T21:11:53.270Z] STF 21:11:52.904 - [2025-01-10T21:11:53.270Z] STF 21:11:52.904 - +------ Step 6 - Create runtime image for PatchModule test [2025-01-10T21:11:53.270Z] STF 21:11:52.904 - | Run jlink to create runtime image [2025-01-10T21:11:53.270Z] STF 21:11:52.904 - | ImageName: XpJVM [2025-01-10T21:11:53.270Z] STF 21:11:52.904 - | [2025-01-10T21:11:53.270Z] STF 21:11:52.904 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/PatModImg_PlatMod_0/20250110-211150-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/PatModImg_PlatMod_0/20250110-211150-PatModImgTest/tmp/6.XpJVM [2025-01-10T21:11:53.270Z] STF 21:11:52.904 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/PatModImg_PlatMod_0/20250110-211150-PatModImgTest/results/6.JLNK.stderr [2025-01-10T21:11:53.270Z] STF 21:11:52.904 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/PatModImg_PlatMod_0/20250110-211150-PatModImgTest/results/6.JLNK.stdout [2025-01-10T21:11:53.270Z] STF 21:11:52.905 - Monitoring processes: JLNK [2025-01-10T21:11:55.330Z] STF 21:11:54.872 - Monitoring Report Summary: [2025-01-10T21:11:55.330Z] STF 21:11:54.873 - o Process JLNK ended with the expected exit code (0) [2025-01-10T21:11:55.330Z] STF 21:11:54.873 - [2025-01-10T21:11:55.330Z] STF 21:11:54.873 - +------ Step 7 - Create com.hello jar [2025-01-10T21:11:55.330Z] STF 21:11:54.873 - | Create modular jar [2025-01-10T21:11:55.330Z] STF 21:11:54.873 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-01-10T21:11:55.330Z] STF 21:11:54.873 - | ModuleVersion: null [2025-01-10T21:11:55.330Z] STF 21:11:54.873 - | MainClass: null [2025-01-10T21:11:55.330Z] STF 21:11:54.873 - | HashModules: null [2025-01-10T21:11:55.330Z] STF 21:11:54.873 - | [2025-01-10T21:11:55.331Z] STF 21:11:54.873 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/PatModImg_PlatMod_0/20250110-211150-PatModImgTest/modules/7.com.hello.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2025-01-10T21:11:55.331Z] STF 21:11:54.873 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/PatModImg_PlatMod_0/20250110-211150-PatModImgTest/results/7.CMJ.stderr [2025-01-10T21:11:55.331Z] STF 21:11:54.873 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/PatModImg_PlatMod_0/20250110-211150-PatModImgTest/results/7.CMJ.stdout [2025-01-10T21:11:55.331Z] STF 21:11:54.874 - Monitoring processes: CMJ [2025-01-10T21:11:55.331Z] STF 21:11:55.036 - Monitoring Report Summary: [2025-01-10T21:11:55.331Z] STF 21:11:55.036 - o Process CMJ ended with the expected exit code (0) [2025-01-10T21:11:55.331Z] STF 21:11:55.036 - Created modular jar: 7.com.hello.jar [2025-01-10T21:11:55.331Z] STF 21:11:55.036 - [2025-01-10T21:11:55.331Z] STF 21:11:55.036 - +------ Step 8 - create java.xml.jar [2025-01-10T21:11:55.331Z] STF 21:11:55.036 - | Create modular jar [2025-01-10T21:11:55.331Z] STF 21:11:55.036 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-01-10T21:11:55.331Z] STF 21:11:55.036 - | ModuleVersion: null [2025-01-10T21:11:55.331Z] STF 21:11:55.036 - | MainClass: null [2025-01-10T21:11:55.331Z] STF 21:11:55.036 - | HashModules: null [2025-01-10T21:11:55.331Z] STF 21:11:55.036 - | [2025-01-10T21:11:55.331Z] STF 21:11:55.036 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/PatModImg_PlatMod_0/20250110-211150-PatModImgTest/modules/8.java.xml.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2025-01-10T21:11:55.331Z] STF 21:11:55.037 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/PatModImg_PlatMod_0/20250110-211150-PatModImgTest/results/8.CMJ.stderr [2025-01-10T21:11:55.331Z] STF 21:11:55.037 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/PatModImg_PlatMod_0/20250110-211150-PatModImgTest/results/8.CMJ.stdout [2025-01-10T21:11:55.331Z] STF 21:11:55.037 - Monitoring processes: CMJ [2025-01-10T21:11:55.331Z] STF 21:11:55.197 - Monitoring Report Summary: [2025-01-10T21:11:55.331Z] STF 21:11:55.197 - o Process CMJ ended with the expected exit code (0) [2025-01-10T21:11:55.331Z] STF 21:11:55.197 - Created modular jar: 8.java.xml.jar [2025-01-10T21:11:55.331Z] STF 21:11:55.197 - [2025-01-10T21:11:55.331Z] STF 21:11:55.197 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory [2025-01-10T21:11:55.331Z] STF 21:11:55.197 - | Run foreground process [2025-01-10T21:11:55.331Z] STF 21:11:55.197 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/PatModImg_PlatMod_0/20250110-211150-PatModImgTest/tmp/6.XpJVM/bin/java [2025-01-10T21:11:55.331Z] STF 21:11:55.197 - | Mnemonic: OT11 [2025-01-10T21:11:55.331Z] STF 21:11:55.197 - | Echo: ECHO_ON [2025-01-10T21:11:55.331Z] STF 21:11:55.197 - | Expectation: CLEAN_RUN within 5m [2025-01-10T21:11:55.331Z] STF 21:11:55.197 - | [2025-01-10T21:11:55.331Z] STF 21:11:55.198 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/PatModImg_PlatMod_0/20250110-211150-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml -XX:+UseCompressedOops -classpath /home/jenkins/testDependency/system_lib/junit/junit.jar:/home/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUpgradablePlatformModule [2025-01-10T21:11:55.331Z] STF 21:11:55.198 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/PatModImg_PlatMod_0/20250110-211150-PatModImgTest/results/9.OT11.stderr [2025-01-10T21:11:55.331Z] STF 21:11:55.198 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/PatModImg_PlatMod_0/20250110-211150-PatModImgTest/results/9.OT11.stdout [2025-01-10T21:11:55.331Z] STF 21:11:55.198 - Monitoring processes: OT11 [2025-01-10T21:11:55.961Z] OT11 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml [2025-01-10T21:11:55.961Z] OT11 JUnit version 4.12 [2025-01-10T21:11:55.961Z] OT11 . [2025-01-10T21:11:55.961Z] OT11 Time: 0.003 [2025-01-10T21:11:55.961Z] OT11 [2025-01-10T21:11:55.961Z] OT11 OK (1 test) [2025-01-10T21:11:55.961Z] OT11 [2025-01-10T21:11:55.961Z] STF 21:11:55.404 - Monitoring Report Summary: [2025-01-10T21:11:55.961Z] STF 21:11:55.404 - o Process OT11 ended with the expected exit code (0) [2025-01-10T21:11:55.961Z] STF 21:11:55.404 - [2025-01-10T21:11:55.961Z] STF 21:11:55.404 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar [2025-01-10T21:11:55.961Z] STF 21:11:55.404 - | Run foreground process [2025-01-10T21:11:55.961Z] STF 21:11:55.404 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/PatModImg_PlatMod_0/20250110-211150-PatModImgTest/tmp/6.XpJVM/bin/java [2025-01-10T21:11:55.961Z] STF 21:11:55.404 - | Mnemonic: OT12 [2025-01-10T21:11:55.961Z] STF 21:11:55.404 - | Echo: ECHO_ON [2025-01-10T21:11:55.961Z] STF 21:11:55.404 - | Expectation: CLEAN_RUN within 5m [2025-01-10T21:11:55.961Z] STF 21:11:55.404 - | [2025-01-10T21:11:55.961Z] STF 21:11:55.404 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/PatModImg_PlatMod_0/20250110-211150-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/PatModImg_PlatMod_0/20250110-211150-PatModImgTest/modules/8.java.xml.jar -XX:+UseCompressedOops -classpath /home/jenkins/testDependency/system_lib/junit/junit.jar:/home/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUpgradablePlatformModule [2025-01-10T21:11:55.961Z] STF 21:11:55.404 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/PatModImg_PlatMod_0/20250110-211150-PatModImgTest/results/10.OT12.stderr [2025-01-10T21:11:55.961Z] STF 21:11:55.404 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/PatModImg_PlatMod_0/20250110-211150-PatModImgTest/results/10.OT12.stdout [2025-01-10T21:11:55.961Z] STF 21:11:55.405 - Monitoring processes: OT12 [2025-01-10T21:11:55.961Z] OT12 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/PatModImg_PlatMod_0/20250110-211150-PatModImgTest/modules/8.java.xml.jar [2025-01-10T21:11:55.961Z] OT12 JUnit version 4.12 [2025-01-10T21:11:55.961Z] OT12 . [2025-01-10T21:11:55.961Z] OT12 Time: 0.003 [2025-01-10T21:11:55.961Z] OT12 [2025-01-10T21:11:55.961Z] OT12 OK (1 test) [2025-01-10T21:11:55.961Z] OT12 [2025-01-10T21:11:55.961Z] STF 21:11:55.595 - Monitoring Report Summary: [2025-01-10T21:11:55.961Z] STF 21:11:55.595 - o Process OT12 ended with the expected exit code (0) [2025-01-10T21:11:55.961Z] STF 21:11:55.595 - EXECUTE stage completed [2025-01-10T21:11:55.961Z] STF 21:11:55.633 - [2025-01-10T21:11:55.961Z] STF 21:11:55.633 - ==================== T E A R D O W N ==================== [2025-01-10T21:11:55.961Z] STF 21:11:55.633 - Running teardown: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17365388109901/PatModImg_PlatMod_0/20250110-211150-PatModImgTest/tearDown.pl [2025-01-10T21:11:55.961Z] STF 21:11:55.672 - TEARDOWN stage completed [2025-01-10T21:11:55.961Z] STF 21:11:55.678 - [2025-01-10T21:11:55.961Z] STF 21:11:55.678 - ===================== R E S U L T S ===================== [2025-01-10T21:11:55.961Z] STF 21:11:55.678 - Stage results: [2025-01-10T21:11:55.961Z] STF 21:11:55.678 - setUp: pass [2025-01-10T21:11:55.961Z] STF 21:11:55.678 - execute: pass [2025-01-10T21:11:55.961Z] STF 21:11:55.678 - teardown: pass [2025-01-10T21:11:55.961Z] STF 21:11:55.678 - [2025-01-10T21:11:55.961Z] STF 21:11:55.678 - Overall result: PASSED [2025-01-10T21:11:55.961Z] ----------------------------------- [2025-01-10T21:11:55.961Z] PatModImg_PlatMod_0_PASSED [2025-01-10T21:11:55.961Z] ----------------------------------- [2025-01-10T21:11:55.961Z] [2025-01-10T21:11:55.961Z] TEST TEARDOWN: [2025-01-10T21:11:55.961Z] Nothing to be done for teardown. [2025-01-10T21:11:55.961Z] PatModImg_PlatMod_0 Finish Time: Fri Jan 10 21:11:55 2025 Epoch Time (ms): 1736543515703