PatModImg_AppMod_0

[2025-07-15T12:12:37.633Z] Running test PatModImg_AppMod_0 ... [2025-07-15T12:12:37.633Z] =============================================== [2025-07-15T12:12:37.633Z] PatModImg_AppMod_0 Start Time: Tue Jul 15 12:12:36 2025 Epoch Time (ms): 1752581556954 [2025-07-15T12:12:37.633Z] variation: Mode150 [2025-07-15T12:12:37.633Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-07-15T12:12:37.633Z] { \ [2025-07-15T12:12:37.633Z] echo ""; echo "TEST SETUP:"; \ [2025-07-15T12:12:37.633Z] echo "Nothing to be done for setup."; \ [2025-07-15T12:12:37.633Z] mkdir -p "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/../TKG/output_17525812196403/PatModImg_AppMod_0"; \ [2025-07-15T12:12:37.633Z] cd "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/../TKG/output_17525812196403/PatModImg_AppMod_0"; \ [2025-07-15T12:12:37.633Z] echo ""; echo "TESTING:"; \ [2025-07-15T12:12:37.634Z] perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/../../testDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/../TKG/output_17525812196403/PatModImg_AppMod_0" -test=PatModImgTest -test-args="variant=AppMod"; \ [2025-07-15T12:12:37.634Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_0""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/../TKG/output_17525812196403/PatModImg_AppMod_0"; else echo "-----------------------------------"; echo "PatModImg_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-07-15T12:12:37.634Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-07-15T12:12:37.634Z] echo "Nothing to be done for teardown."; \ [2025-07-15T12:12:37.634Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/../TKG/output_17525812196403/TestTargetResult"; [2025-07-15T12:12:37.634Z] [2025-07-15T12:12:37.634Z] TEST SETUP: [2025-07-15T12:12:37.634Z] Nothing to be done for setup. [2025-07-15T12:12:37.634Z] [2025-07-15T12:12:37.634Z] TESTING: [2025-07-15T12:12:37.634Z] STF 12:12:36.999 - ========================= S T F ========================= [2025-07-15T12:12:37.634Z] 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_s390x_linux_testList_2/aqa-tests/TKG/../TKG/output_17525812196403/PatModImg_AppMod_0 [2025-07-15T12:12:37.634Z] There is 41494 Mb free [2025-07-15T12:12:37.634Z] STF 12:12:37.005 - ================== G E N E R A T I O N ================== [2025-07-15T12:12:37.634Z] STF 12:12:37.006 - Checking JVM: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/jdkbinary/j2sdk-image [2025-07-15T12:12:37.634Z] STF 12:12:37.006 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/../../testDependency/system_lib//asm/asm.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/../../testDependency/system_lib//asm/asm-commons.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/../../testDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/../../testDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/../TKG/output_17525812196403/PatModImg_AppMod_0/20250715-121236-PatModImgTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/../TKG/output_17525812196403/PatModImg_AppMod_0/20250715-121236-PatModImgTest" [2025-07-15T12:12:46.323Z] GEN 12:12:45.081 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-07-15T12:12:46.323Z] GEN 12:12:45.097 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-07-15T12:12:46.323Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-07-15T12:12:46.323Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-07-15T12:12:46.323Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-07-15T12:12:46.323Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-07-15T12:12:46.323Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-07-15T12:12:46.323Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-07-15T12:12:46.323Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-07-15T12:12:46.323Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-07-15T12:12:46.323Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-07-15T12:12:46.323Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-07-15T12:12:46.323Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-07-15T12:12:46.323Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-07-15T12:12:46.323Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-07-15T12:12:46.323Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-07-15T12:12:46.323Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-07-15T12:12:46.323Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-07-15T12:12:46.323Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/STF/stf.core/bin [2025-07-15T12:12:46.323Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-07-15T12:12:46.323Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-07-15T12:12:46.323Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar [2025-07-15T12:12:47.239Z] GEN 12:12:46.250 - Using Mode NoOptions. Values = '' [2025-07-15T12:12:47.239Z] GEN 12:12:47.107 - [2025-07-15T12:12:47.239Z] GEN 12:12:47.108 - Test command summary: [2025-07-15T12:12:47.239Z] GEN 12:12:47.108 - Step Stage Command Description [2025-07-15T12:12:47.239Z] GEN 12:12:47.109 - -----+--------+-----------------+------------ [2025-07-15T12:12:47.239Z] GEN 12:12:47.109 - 1 execute jar Create com.hello jar [2025-07-15T12:12:47.239Z] GEN 12:12:47.129 - 2 execute jar Create com.hola jar [2025-07-15T12:12:47.239Z] GEN 12:12:47.130 - 3 execute jar Create com.helper jar [2025-07-15T12:12:47.239Z] GEN 12:12:47.130 - 4 execute jar Create com.discreet jar [2025-07-15T12:12:47.239Z] GEN 12:12:47.130 - 5 execute jar Create tests jar [2025-07-15T12:12:47.239Z] GEN 12:12:47.130 - 6 execute jlink Create runtime image for PatchModule test [2025-07-15T12:12:47.239Z] GEN 12:12:47.131 - 7 execute jar Create com.hello jar [2025-07-15T12:12:47.239Z] GEN 12:12:47.131 - 8 execute jar create java.xml.jar [2025-07-15T12:12:47.239Z] GEN 12:12:47.131 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2025-07-15T12:12:47.239Z] GEN 12:12:47.131 - 10 execute Run java Verify if we can patch an Application module using modular jar [2025-07-15T12:12:48.056Z] STF 12:12:47.543 - [2025-07-15T12:12:48.056Z] STF 12:12:47.543 - Script generation completed [2025-07-15T12:12:48.056Z] STF 12:12:47.543 - [2025-07-15T12:12:48.056Z] STF 12:12:47.543 - [2025-07-15T12:12:48.056Z] STF 12:12:47.543 - ======================= S E T U P ======================= [2025-07-15T12:12:48.056Z] STF 12:12:47.543 - Running setup: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/../TKG/output_17525812196403/PatModImg_AppMod_0/20250715-121236-PatModImgTest/setUp.pl [2025-07-15T12:12:48.056Z] STF 12:12:47.657 - SETUP stage completed [2025-07-15T12:12:48.056Z] STF 12:12:47.671 - [2025-07-15T12:12:48.056Z] STF 12:12:47.671 - ==================== E X E C U T E - ==================== [2025-07-15T12:12:48.056Z] STF 12:12:47.671 - Running execute: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/../TKG/output_17525812196403/PatModImg_AppMod_0/20250715-121236-PatModImgTest/execute.pl [2025-07-15T12:12:48.056Z] STF 12:12:47.904 - [2025-07-15T12:12:48.056Z] STF 12:12:47.904 - Java version [2025-07-15T12:12:48.056Z] STF 12:12:47.904 - Running: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/jdkbinary/j2sdk-image/bin/java -version [2025-07-15T12:12:48.775Z] openjdk version "11.0.28" 2025-07-15 [2025-07-15T12:12:48.775Z] OpenJDK Runtime Environment Temurin-11.0.28+4 (build 11.0.28+4) [2025-07-15T12:12:48.775Z] OpenJDK 64-Bit Server VM Temurin-11.0.28+4 (build 11.0.28+4, mixed mode) [2025-07-15T12:12:48.775Z] STF 12:12:48.500 - [2025-07-15T12:12:48.775Z] STF 12:12:48.500 - +------ Step 1 - Create com.hello jar [2025-07-15T12:12:48.775Z] STF 12:12:48.500 - | Create modular jar [2025-07-15T12:12:48.775Z] STF 12:12:48.500 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-07-15T12:12:48.775Z] STF 12:12:48.500 - | ModuleVersion: null [2025-07-15T12:12:48.775Z] STF 12:12:48.500 - | MainClass: null [2025-07-15T12:12:48.775Z] STF 12:12:48.500 - | HashModules: null [2025-07-15T12:12:48.775Z] STF 12:12:48.500 - | [2025-07-15T12:12:48.775Z] STF 12:12:48.501 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17525812196403/PatModImg_AppMod_0/20250715-121236-PatModImgTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-07-15T12:12:48.775Z] STF 12:12:48.501 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17525812196403/PatModImg_AppMod_0/20250715-121236-PatModImgTest/results/1.CMJ.stderr [2025-07-15T12:12:48.775Z] STF 12:12:48.501 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17525812196403/PatModImg_AppMod_0/20250715-121236-PatModImgTest/results/1.CMJ.stdout [2025-07-15T12:12:48.775Z] STF 12:12:48.511 - Monitoring processes: CMJ [2025-07-15T12:12:49.461Z] STF 12:12:48.979 - Monitoring Report Summary: [2025-07-15T12:12:49.461Z] STF 12:12:48.979 - o Process CMJ ended with the expected exit code (0) [2025-07-15T12:12:49.461Z] STF 12:12:48.979 - Created modular jar: 1.com.hello.jar [2025-07-15T12:12:49.461Z] STF 12:12:48.979 - [2025-07-15T12:12:49.461Z] STF 12:12:48.979 - +------ Step 2 - Create com.hola jar [2025-07-15T12:12:49.461Z] STF 12:12:48.979 - | Create modular jar [2025-07-15T12:12:49.461Z] STF 12:12:48.979 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-07-15T12:12:49.461Z] STF 12:12:48.979 - | ModuleVersion: null [2025-07-15T12:12:49.461Z] STF 12:12:48.979 - | MainClass: null [2025-07-15T12:12:49.461Z] STF 12:12:48.979 - | HashModules: null [2025-07-15T12:12:49.461Z] STF 12:12:48.979 - | [2025-07-15T12:12:49.461Z] STF 12:12:48.979 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17525812196403/PatModImg_AppMod_0/20250715-121236-PatModImgTest/modules/2.com.hola.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2025-07-15T12:12:49.461Z] STF 12:12:48.979 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17525812196403/PatModImg_AppMod_0/20250715-121236-PatModImgTest/results/2.CMJ.stderr [2025-07-15T12:12:49.461Z] STF 12:12:48.979 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17525812196403/PatModImg_AppMod_0/20250715-121236-PatModImgTest/results/2.CMJ.stdout [2025-07-15T12:12:49.461Z] STF 12:12:48.981 - Monitoring processes: CMJ [2025-07-15T12:12:50.122Z] STF 12:12:49.473 - Monitoring Report Summary: [2025-07-15T12:12:50.122Z] STF 12:12:49.473 - o Process CMJ ended with the expected exit code (0) [2025-07-15T12:12:50.122Z] STF 12:12:49.473 - Created modular jar: 2.com.hola.jar [2025-07-15T12:12:50.122Z] STF 12:12:49.473 - [2025-07-15T12:12:50.122Z] STF 12:12:49.473 - +------ Step 3 - Create com.helper jar [2025-07-15T12:12:50.122Z] STF 12:12:49.473 - | Create modular jar [2025-07-15T12:12:50.122Z] STF 12:12:49.473 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-07-15T12:12:50.122Z] STF 12:12:49.474 - | ModuleVersion: null [2025-07-15T12:12:50.122Z] STF 12:12:49.474 - | MainClass: null [2025-07-15T12:12:50.122Z] STF 12:12:49.474 - | HashModules: null [2025-07-15T12:12:50.122Z] STF 12:12:49.474 - | [2025-07-15T12:12:50.122Z] STF 12:12:49.474 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17525812196403/PatModImg_AppMod_0/20250715-121236-PatModImgTest/modules/3.com.helper.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2025-07-15T12:12:50.122Z] STF 12:12:49.474 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17525812196403/PatModImg_AppMod_0/20250715-121236-PatModImgTest/results/3.CMJ.stderr [2025-07-15T12:12:50.122Z] STF 12:12:49.474 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17525812196403/PatModImg_AppMod_0/20250715-121236-PatModImgTest/results/3.CMJ.stdout [2025-07-15T12:12:50.122Z] STF 12:12:49.475 - Monitoring processes: CMJ [2025-07-15T12:12:50.122Z] STF 12:12:49.914 - Monitoring Report Summary: [2025-07-15T12:12:50.122Z] STF 12:12:49.914 - o Process CMJ ended with the expected exit code (0) [2025-07-15T12:12:50.122Z] STF 12:12:49.914 - Created modular jar: 3.com.helper.jar [2025-07-15T12:12:50.122Z] STF 12:12:49.914 - [2025-07-15T12:12:50.122Z] STF 12:12:49.914 - +------ Step 4 - Create com.discreet jar [2025-07-15T12:12:50.122Z] STF 12:12:49.914 - | Create modular jar [2025-07-15T12:12:50.122Z] STF 12:12:49.914 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-07-15T12:12:50.122Z] STF 12:12:49.914 - | ModuleVersion: null [2025-07-15T12:12:50.122Z] STF 12:12:49.914 - | MainClass: null [2025-07-15T12:12:50.122Z] STF 12:12:49.914 - | HashModules: null [2025-07-15T12:12:50.122Z] STF 12:12:49.914 - | [2025-07-15T12:12:50.122Z] STF 12:12:49.915 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17525812196403/PatModImg_AppMod_0/20250715-121236-PatModImgTest/modules/4.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2025-07-15T12:12:50.122Z] STF 12:12:49.915 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17525812196403/PatModImg_AppMod_0/20250715-121236-PatModImgTest/results/4.CMJ.stderr [2025-07-15T12:12:50.122Z] STF 12:12:49.915 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17525812196403/PatModImg_AppMod_0/20250715-121236-PatModImgTest/results/4.CMJ.stdout [2025-07-15T12:12:50.122Z] STF 12:12:49.916 - Monitoring processes: CMJ [2025-07-15T12:12:50.786Z] STF 12:12:50.370 - Monitoring Report Summary: [2025-07-15T12:12:50.786Z] STF 12:12:50.370 - o Process CMJ ended with the expected exit code (0) [2025-07-15T12:12:50.786Z] STF 12:12:50.370 - Created modular jar: 4.com.discreet.jar [2025-07-15T12:12:50.786Z] STF 12:12:50.370 - [2025-07-15T12:12:50.787Z] STF 12:12:50.370 - +------ Step 5 - Create tests jar [2025-07-15T12:12:50.787Z] STF 12:12:50.370 - | Create modular jar [2025-07-15T12:12:50.787Z] STF 12:12:50.370 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-07-15T12:12:50.787Z] STF 12:12:50.370 - | ModuleVersion: null [2025-07-15T12:12:50.787Z] STF 12:12:50.370 - | MainClass: null [2025-07-15T12:12:50.787Z] STF 12:12:50.370 - | HashModules: null [2025-07-15T12:12:50.787Z] STF 12:12:50.370 - | [2025-07-15T12:12:50.787Z] STF 12:12:50.371 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17525812196403/PatModImg_AppMod_0/20250715-121236-PatModImgTest/modules/5.com.test.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2025-07-15T12:12:50.787Z] STF 12:12:50.371 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17525812196403/PatModImg_AppMod_0/20250715-121236-PatModImgTest/results/5.CMJ.stderr [2025-07-15T12:12:50.787Z] STF 12:12:50.371 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17525812196403/PatModImg_AppMod_0/20250715-121236-PatModImgTest/results/5.CMJ.stdout [2025-07-15T12:12:50.787Z] STF 12:12:50.372 - Monitoring processes: CMJ [2025-07-15T12:12:51.441Z] STF 12:12:50.830 - Monitoring Report Summary: [2025-07-15T12:12:51.441Z] STF 12:12:50.830 - o Process CMJ ended with the expected exit code (0) [2025-07-15T12:12:51.441Z] STF 12:12:50.830 - Created modular jar: 5.com.test.jar [2025-07-15T12:12:51.441Z] STF 12:12:50.830 - [2025-07-15T12:12:51.441Z] STF 12:12:50.830 - +------ Step 6 - Create runtime image for PatchModule test [2025-07-15T12:12:51.441Z] STF 12:12:50.830 - | Run jlink to create runtime image [2025-07-15T12:12:51.441Z] STF 12:12:50.830 - | ImageName: XpJVM [2025-07-15T12:12:51.441Z] STF 12:12:50.830 - | [2025-07-15T12:12:51.441Z] STF 12:12:50.831 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17525812196403/PatModImg_AppMod_0/20250715-121236-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17525812196403/PatModImg_AppMod_0/20250715-121236-PatModImgTest/tmp/6.XpJVM [2025-07-15T12:12:51.441Z] STF 12:12:50.831 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17525812196403/PatModImg_AppMod_0/20250715-121236-PatModImgTest/results/6.JLNK.stderr [2025-07-15T12:12:51.441Z] STF 12:12:50.831 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17525812196403/PatModImg_AppMod_0/20250715-121236-PatModImgTest/results/6.JLNK.stdout [2025-07-15T12:12:51.441Z] STF 12:12:50.832 - Monitoring processes: JLNK [2025-07-15T12:12:56.225Z] STF 12:12:54.961 - Monitoring Report Summary: [2025-07-15T12:12:56.225Z] STF 12:12:54.961 - o Process JLNK ended with the expected exit code (0) [2025-07-15T12:12:56.225Z] STF 12:12:54.961 - [2025-07-15T12:12:56.225Z] STF 12:12:54.961 - +------ Step 7 - Create com.hello jar [2025-07-15T12:12:56.225Z] STF 12:12:54.961 - | Create modular jar [2025-07-15T12:12:56.225Z] STF 12:12:54.961 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-07-15T12:12:56.225Z] STF 12:12:54.961 - | ModuleVersion: null [2025-07-15T12:12:56.225Z] STF 12:12:54.961 - | MainClass: null [2025-07-15T12:12:56.225Z] STF 12:12:54.961 - | HashModules: null [2025-07-15T12:12:56.225Z] STF 12:12:54.961 - | [2025-07-15T12:12:56.225Z] STF 12:12:54.962 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17525812196403/PatModImg_AppMod_0/20250715-121236-PatModImgTest/modules/7.com.hello.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2025-07-15T12:12:56.226Z] STF 12:12:54.962 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17525812196403/PatModImg_AppMod_0/20250715-121236-PatModImgTest/results/7.CMJ.stderr [2025-07-15T12:12:56.226Z] STF 12:12:54.962 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17525812196403/PatModImg_AppMod_0/20250715-121236-PatModImgTest/results/7.CMJ.stdout [2025-07-15T12:12:56.226Z] STF 12:12:54.963 - Monitoring processes: CMJ [2025-07-15T12:12:56.226Z] STF 12:12:55.861 - Monitoring Report Summary: [2025-07-15T12:12:56.226Z] STF 12:12:55.861 - o Process CMJ ended with the expected exit code (0) [2025-07-15T12:12:56.226Z] STF 12:12:55.861 - Created modular jar: 7.com.hello.jar [2025-07-15T12:12:56.226Z] STF 12:12:55.861 - [2025-07-15T12:12:56.226Z] STF 12:12:55.861 - +------ Step 8 - create java.xml.jar [2025-07-15T12:12:56.226Z] STF 12:12:55.861 - | Create modular jar [2025-07-15T12:12:56.226Z] STF 12:12:55.861 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-07-15T12:12:56.226Z] STF 12:12:55.861 - | ModuleVersion: null [2025-07-15T12:12:56.226Z] STF 12:12:55.861 - | MainClass: null [2025-07-15T12:12:56.226Z] STF 12:12:55.861 - | HashModules: null [2025-07-15T12:12:56.226Z] STF 12:12:55.861 - | [2025-07-15T12:12:56.226Z] STF 12:12:55.861 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17525812196403/PatModImg_AppMod_0/20250715-121236-PatModImgTest/modules/8.java.xml.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2025-07-15T12:12:56.226Z] STF 12:12:55.861 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17525812196403/PatModImg_AppMod_0/20250715-121236-PatModImgTest/results/8.CMJ.stderr [2025-07-15T12:12:56.226Z] STF 12:12:55.861 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17525812196403/PatModImg_AppMod_0/20250715-121236-PatModImgTest/results/8.CMJ.stdout [2025-07-15T12:12:56.226Z] STF 12:12:55.863 - Monitoring processes: CMJ [2025-07-15T12:12:56.915Z] STF 12:12:56.274 - Monitoring Report Summary: [2025-07-15T12:12:56.915Z] STF 12:12:56.274 - o Process CMJ ended with the expected exit code (0) [2025-07-15T12:12:56.915Z] STF 12:12:56.274 - Created modular jar: 8.java.xml.jar [2025-07-15T12:12:56.915Z] STF 12:12:56.274 - [2025-07-15T12:12:56.915Z] STF 12:12:56.274 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2025-07-15T12:12:56.915Z] STF 12:12:56.274 - | Run foreground process [2025-07-15T12:12:56.915Z] STF 12:12:56.274 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17525812196403/PatModImg_AppMod_0/20250715-121236-PatModImgTest/tmp/6.XpJVM/bin/java [2025-07-15T12:12:56.915Z] STF 12:12:56.274 - | Mnemonic: OT21 [2025-07-15T12:12:56.915Z] STF 12:12:56.274 - | Echo: ECHO_ON [2025-07-15T12:12:56.915Z] STF 12:12:56.274 - | Expectation: CLEAN_RUN within 5m [2025-07-15T12:12:56.915Z] STF 12:12:56.274 - | [2025-07-15T12:12:56.915Z] STF 12:12:56.275 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17525812196403/PatModImg_AppMod_0/20250715-121236-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello -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.TestOverrideUsingAppModule [2025-07-15T12:12:56.915Z] STF 12:12:56.275 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17525812196403/PatModImg_AppMod_0/20250715-121236-PatModImgTest/results/9.OT21.stderr [2025-07-15T12:12:56.915Z] STF 12:12:56.275 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17525812196403/PatModImg_AppMod_0/20250715-121236-PatModImgTest/results/9.OT21.stdout [2025-07-15T12:12:56.915Z] STF 12:12:56.276 - Monitoring processes: OT21 [2025-07-15T12:12:56.915Z] OT21 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello [2025-07-15T12:12:56.915Z] OT21 JUnit version 4.12 [2025-07-15T12:12:57.601Z] OT21 . [2025-07-15T12:12:57.601Z] OT21 Time: 0.015 [2025-07-15T12:12:57.601Z] OT21 [2025-07-15T12:12:57.601Z] OT21 OK (1 test) [2025-07-15T12:12:57.601Z] OT21 [2025-07-15T12:12:57.601Z] STF 12:12:57.003 - Monitoring Report Summary: [2025-07-15T12:12:57.601Z] STF 12:12:57.003 - o Process OT21 ended with the expected exit code (0) [2025-07-15T12:12:57.601Z] STF 12:12:57.004 - [2025-07-15T12:12:57.601Z] STF 12:12:57.004 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2025-07-15T12:12:57.601Z] STF 12:12:57.004 - | Run foreground process [2025-07-15T12:12:57.601Z] STF 12:12:57.004 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17525812196403/PatModImg_AppMod_0/20250715-121236-PatModImgTest/tmp/6.XpJVM/bin/java [2025-07-15T12:12:57.601Z] STF 12:12:57.004 - | Mnemonic: OT22 [2025-07-15T12:12:57.601Z] STF 12:12:57.004 - | Echo: ECHO_ON [2025-07-15T12:12:57.601Z] STF 12:12:57.004 - | Expectation: CLEAN_RUN within 5m [2025-07-15T12:12:57.601Z] STF 12:12:57.004 - | [2025-07-15T12:12:57.601Z] STF 12:12:57.004 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17525812196403/PatModImg_AppMod_0/20250715-121236-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17525812196403/PatModImg_AppMod_0/20250715-121236-PatModImgTest/modules/7.com.hello.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.TestOverrideUsingAppModule [2025-07-15T12:12:57.601Z] STF 12:12:57.004 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17525812196403/PatModImg_AppMod_0/20250715-121236-PatModImgTest/results/10.OT22.stderr [2025-07-15T12:12:57.601Z] STF 12:12:57.004 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17525812196403/PatModImg_AppMod_0/20250715-121236-PatModImgTest/results/10.OT22.stdout [2025-07-15T12:12:57.601Z] STF 12:12:57.005 - Monitoring processes: OT22 [2025-07-15T12:12:57.601Z] OT22 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17525812196403/PatModImg_AppMod_0/20250715-121236-PatModImgTest/modules/7.com.hello.jar [2025-07-15T12:12:57.601Z] OT22 JUnit version 4.12 [2025-07-15T12:12:58.299Z] OT22 . [2025-07-15T12:12:58.299Z] OT22 Time: 0.011 [2025-07-15T12:12:58.299Z] OT22 [2025-07-15T12:12:58.299Z] OT22 OK (1 test) [2025-07-15T12:12:58.299Z] OT22 [2025-07-15T12:12:58.299Z] STF 12:12:57.587 - Monitoring Report Summary: [2025-07-15T12:12:58.299Z] STF 12:12:57.587 - o Process OT22 ended with the expected exit code (0) [2025-07-15T12:12:58.299Z] STF 12:12:57.587 - EXECUTE stage completed [2025-07-15T12:12:58.299Z] STF 12:12:57.617 - [2025-07-15T12:12:58.299Z] STF 12:12:57.617 - ==================== T E A R D O W N ==================== [2025-07-15T12:12:58.299Z] STF 12:12:57.617 - Running teardown: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/../TKG/output_17525812196403/PatModImg_AppMod_0/20250715-121236-PatModImgTest/tearDown.pl [2025-07-15T12:12:58.299Z] STF 12:12:57.693 - TEARDOWN stage completed [2025-07-15T12:12:58.299Z] STF 12:12:57.698 - [2025-07-15T12:12:58.299Z] STF 12:12:57.698 - ===================== R E S U L T S ===================== [2025-07-15T12:12:58.299Z] STF 12:12:57.698 - Stage results: [2025-07-15T12:12:58.299Z] STF 12:12:57.698 - setUp: pass [2025-07-15T12:12:58.299Z] STF 12:12:57.698 - execute: pass [2025-07-15T12:12:58.299Z] STF 12:12:57.698 - teardown: pass [2025-07-15T12:12:58.299Z] STF 12:12:57.698 - [2025-07-15T12:12:58.299Z] STF 12:12:57.698 - Overall result: PASSED [2025-07-15T12:12:58.299Z] ----------------------------------- [2025-07-15T12:12:58.299Z] PatModImg_AppMod_0_PASSED [2025-07-15T12:12:58.299Z] ----------------------------------- [2025-07-15T12:12:58.299Z] [2025-07-15T12:12:58.299Z] TEST TEARDOWN: [2025-07-15T12:12:58.299Z] Nothing to be done for teardown. [2025-07-15T12:12:58.299Z] PatModImg_AppMod_0 Finish Time: Tue Jul 15 12:12:57 2025 Epoch Time (ms): 1752581577755