PatModImg_AppMod_1

[2025-09-25T00:39:56.651Z] Running test PatModImg_AppMod_1 ... [2025-09-25T00:39:56.651Z] =============================================== [2025-09-25T00:39:56.651Z] PatModImg_AppMod_1 Start Time: Wed Sep 24 19:39:56 2025 Epoch Time (ms): 1758760796546 [2025-09-25T00:39:56.651Z] variation: Mode650 [2025-09-25T00:39:56.651Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-09-25T00:39:56.651Z] { \ [2025-09-25T00:39:56.651Z] echo ""; echo "TEST SETUP:"; \ [2025-09-25T00:39:56.651Z] echo "Nothing to be done for setup."; \ [2025-09-25T00:39:56.651Z] mkdir -p "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/../TKG/output_17587606152054/PatModImg_AppMod_1"; \ [2025-09-25T00:39:56.651Z] cd "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/../TKG/output_17587606152054/PatModImg_AppMod_1"; \ [2025-09-25T00:39:56.651Z] echo ""; echo "TESTING:"; \ [2025-09-25T00:39:56.652Z] perl /home/jenkins/workspace/Test_openjdk21_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_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/../../externalDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/../TKG/output_17587606152054/PatModImg_AppMod_1" -test=PatModImgTest -test-args="variant=AppMod"; \ [2025-09-25T00:39:56.652Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_1""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/../TKG/output_17587606152054/PatModImg_AppMod_1"; else echo "-----------------------------------"; echo "PatModImg_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-09-25T00:39:56.652Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-09-25T00:39:56.652Z] echo "Nothing to be done for teardown."; \ [2025-09-25T00:39:56.652Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/../TKG/output_17587606152054/TestTargetResult"; [2025-09-25T00:39:56.652Z] [2025-09-25T00:39:56.652Z] TEST SETUP: [2025-09-25T00:39:56.652Z] Nothing to be done for setup. [2025-09-25T00:39:56.652Z] [2025-09-25T00:39:56.652Z] TESTING: [2025-09-25T00:39:56.652Z] STF 19:39:56.598 - ========================= S T F ========================= [2025-09-25T00:39:56.652Z] systemtest-prereqs has been processed, and set to: /home/jenkins/externalDependency/system_libRetrieving amount of free space on drive containing /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/../TKG/output_17587606152054/PatModImg_AppMod_1 [2025-09-25T00:39:57.243Z] There is 74550 Mb free [2025-09-25T00:39:57.244Z] STF 19:39:56.603 - ================== G E N E R A T I O N ================== [2025-09-25T00:39:57.244Z] STF 19:39:56.604 - Checking JVM: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/jdkbinary/j2sdk-image [2025-09-25T00:39:57.244Z] STF 19:39:56.604 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk21_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_openjdk21_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/../../externalDependency/system_lib//asm/asm.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/../../externalDependency/system_lib//asm/asm-commons.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/../../externalDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/../../externalDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/../TKG/output_17587606152054/PatModImg_AppMod_1/20250924-193956-PatModImgTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/../TKG/output_17587606152054/PatModImg_AppMod_1/20250924-193956-PatModImgTest" [2025-09-25T00:39:57.244Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-09-25T00:39:57.244Z] GEN [0.004s][warning][cds] Archived non-system classes are disabled because the java.system.class.loader property is specified (value = "net.adoptopenjdk.stf.runner.StfClassLoader"). To use archived non-system classes, this property must not be set [2025-09-25T00:39:57.244Z] GEN 19:39:57.192 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-09-25T00:39:57.244Z] GEN 19:39:57.194 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-09-25T00:39:57.836Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-09-25T00:39:57.836Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-09-25T00:39:57.836Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-09-25T00:39:57.836Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-09-25T00:39:57.836Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-09-25T00:39:57.836Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-09-25T00:39:57.836Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-09-25T00:39:57.836Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-09-25T00:39:57.836Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-09-25T00:39:57.836Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-09-25T00:39:57.836Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-09-25T00:39:57.836Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-09-25T00:39:57.836Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-09-25T00:39:57.836Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-09-25T00:39:57.836Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-09-25T00:39:57.836Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-09-25T00:39:57.836Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/STF/stf.core/bin [2025-09-25T00:39:57.836Z] GEN /home/jenkins/externalDependency/system_lib/log4j/log4j-api.jar [2025-09-25T00:39:57.836Z] GEN /home/jenkins/externalDependency/system_lib/log4j/log4j-core.jar [2025-09-25T00:39:57.836Z] GEN /home/jenkins/externalDependency/system_lib/junit/junit.jar [2025-09-25T00:39:57.836Z] GEN 19:39:57.309 - Using Mode NoOptions. Values = '' [2025-09-25T00:39:57.836Z] GEN 19:39:57.345 - [2025-09-25T00:39:57.836Z] GEN 19:39:57.345 - Test command summary: [2025-09-25T00:39:57.836Z] GEN 19:39:57.345 - Step Stage Command Description [2025-09-25T00:39:57.836Z] GEN 19:39:57.346 - -----+--------+-----------------+------------ [2025-09-25T00:39:57.836Z] GEN 19:39:57.346 - 1 execute jar Create com.hello jar [2025-09-25T00:39:57.836Z] GEN 19:39:57.346 - 2 execute jar Create com.hola jar [2025-09-25T00:39:57.836Z] GEN 19:39:57.346 - 3 execute jar Create com.helper jar [2025-09-25T00:39:57.836Z] GEN 19:39:57.346 - 4 execute jar Create com.discreet jar [2025-09-25T00:39:57.836Z] GEN 19:39:57.346 - 5 execute jar Create tests jar [2025-09-25T00:39:57.836Z] GEN 19:39:57.346 - 6 execute jlink Create runtime image for PatchModule test [2025-09-25T00:39:57.836Z] GEN 19:39:57.346 - 7 execute jar Create com.hello jar [2025-09-25T00:39:57.836Z] GEN 19:39:57.346 - 8 execute jar create java.xml.jar [2025-09-25T00:39:57.836Z] GEN 19:39:57.346 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2025-09-25T00:39:57.836Z] GEN 19:39:57.346 - 10 execute Run java Verify if we can patch an Application module using modular jar [2025-09-25T00:39:57.836Z] STF 19:39:57.376 - [2025-09-25T00:39:57.836Z] STF 19:39:57.376 - Script generation completed [2025-09-25T00:39:57.836Z] STF 19:39:57.376 - [2025-09-25T00:39:57.836Z] STF 19:39:57.376 - [2025-09-25T00:39:57.836Z] STF 19:39:57.376 - ======================= S E T U P ======================= [2025-09-25T00:39:57.836Z] STF 19:39:57.376 - Running setup: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/../TKG/output_17587606152054/PatModImg_AppMod_1/20250924-193956-PatModImgTest/setUp.pl [2025-09-25T00:39:57.836Z] STF 19:39:57.419 - SETUP stage completed [2025-09-25T00:39:57.836Z] STF 19:39:57.426 - [2025-09-25T00:39:57.836Z] STF 19:39:57.426 - ==================== E X E C U T E - ==================== [2025-09-25T00:39:57.836Z] STF 19:39:57.426 - Running execute: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/../TKG/output_17587606152054/PatModImg_AppMod_1/20250924-193956-PatModImgTest/execute.pl [2025-09-25T00:39:57.836Z] STF 19:39:57.470 - [2025-09-25T00:39:57.836Z] STF 19:39:57.470 - Java version [2025-09-25T00:39:57.836Z] STF 19:39:57.470 - Running: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/jdkbinary/j2sdk-image/bin/java -version [2025-09-25T00:39:57.836Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-09-25T00:39:57.836Z] openjdk version "21.0.9-beta" 2025-10-21 [2025-09-25T00:39:57.836Z] OpenJDK Runtime Environment Temurin-21.0.9+8-202509241903 (build 21.0.9-beta+8-ea) [2025-09-25T00:39:57.836Z] OpenJDK 64-Bit Server VM Temurin-21.0.9+8-202509241903 (build 21.0.9-beta+8-ea, mixed mode, sharing) [2025-09-25T00:39:57.836Z] STF 19:39:57.522 - [2025-09-25T00:39:57.836Z] STF 19:39:57.522 - +------ Step 1 - Create com.hello jar [2025-09-25T00:39:57.836Z] STF 19:39:57.522 - | Create modular jar [2025-09-25T00:39:57.836Z] STF 19:39:57.522 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-09-25T00:39:57.836Z] STF 19:39:57.522 - | ModuleVersion: null [2025-09-25T00:39:57.836Z] STF 19:39:57.522 - | MainClass: null [2025-09-25T00:39:57.837Z] STF 19:39:57.522 - | HashModules: null [2025-09-25T00:39:57.837Z] STF 19:39:57.522 - | [2025-09-25T00:39:57.837Z] STF 19:39:57.523 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17587606152054/PatModImg_AppMod_1/20250924-193956-PatModImgTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-09-25T00:39:57.837Z] STF 19:39:57.523 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17587606152054/PatModImg_AppMod_1/20250924-193956-PatModImgTest/results/1.CMJ.stderr [2025-09-25T00:39:57.837Z] STF 19:39:57.523 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17587606152054/PatModImg_AppMod_1/20250924-193956-PatModImgTest/results/1.CMJ.stdout [2025-09-25T00:39:57.837Z] STF 19:39:57.531 - Monitoring processes: CMJ [2025-09-25T00:39:57.837Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-09-25T00:39:57.837Z] STF 19:39:57.779 - Monitoring Report Summary: [2025-09-25T00:39:57.837Z] STF 19:39:57.779 - o Process CMJ ended with the expected exit code (0) [2025-09-25T00:39:57.837Z] STF 19:39:57.779 - Created modular jar: 1.com.hello.jar [2025-09-25T00:39:57.837Z] STF 19:39:57.779 - [2025-09-25T00:39:57.837Z] STF 19:39:57.779 - +------ Step 2 - Create com.hola jar [2025-09-25T00:39:57.837Z] STF 19:39:57.779 - | Create modular jar [2025-09-25T00:39:57.837Z] STF 19:39:57.779 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-09-25T00:39:57.837Z] STF 19:39:57.779 - | ModuleVersion: null [2025-09-25T00:39:57.837Z] STF 19:39:57.779 - | MainClass: null [2025-09-25T00:39:57.837Z] STF 19:39:57.779 - | HashModules: null [2025-09-25T00:39:57.837Z] STF 19:39:57.779 - | [2025-09-25T00:39:57.837Z] STF 19:39:57.780 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17587606152054/PatModImg_AppMod_1/20250924-193956-PatModImgTest/modules/2.com.hola.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2025-09-25T00:39:57.837Z] STF 19:39:57.780 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17587606152054/PatModImg_AppMod_1/20250924-193956-PatModImgTest/results/2.CMJ.stderr [2025-09-25T00:39:57.837Z] STF 19:39:57.780 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17587606152054/PatModImg_AppMod_1/20250924-193956-PatModImgTest/results/2.CMJ.stdout [2025-09-25T00:39:57.837Z] STF 19:39:57.781 - Monitoring processes: CMJ [2025-09-25T00:39:57.837Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-09-25T00:39:58.428Z] STF 19:39:58.326 - Monitoring Report Summary: [2025-09-25T00:39:58.428Z] STF 19:39:58.326 - o Process CMJ ended with the expected exit code (0) [2025-09-25T00:39:58.428Z] STF 19:39:58.327 - Created modular jar: 2.com.hola.jar [2025-09-25T00:39:58.428Z] STF 19:39:58.327 - [2025-09-25T00:39:58.428Z] STF 19:39:58.327 - +------ Step 3 - Create com.helper jar [2025-09-25T00:39:58.428Z] STF 19:39:58.327 - | Create modular jar [2025-09-25T00:39:58.428Z] STF 19:39:58.327 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-09-25T00:39:58.428Z] STF 19:39:58.327 - | ModuleVersion: null [2025-09-25T00:39:58.428Z] STF 19:39:58.327 - | MainClass: null [2025-09-25T00:39:58.428Z] STF 19:39:58.327 - | HashModules: null [2025-09-25T00:39:58.428Z] STF 19:39:58.327 - | [2025-09-25T00:39:58.428Z] STF 19:39:58.327 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17587606152054/PatModImg_AppMod_1/20250924-193956-PatModImgTest/modules/3.com.helper.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2025-09-25T00:39:58.428Z] STF 19:39:58.327 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17587606152054/PatModImg_AppMod_1/20250924-193956-PatModImgTest/results/3.CMJ.stderr [2025-09-25T00:39:58.428Z] STF 19:39:58.327 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17587606152054/PatModImg_AppMod_1/20250924-193956-PatModImgTest/results/3.CMJ.stdout [2025-09-25T00:39:58.428Z] STF 19:39:58.328 - Monitoring processes: CMJ [2025-09-25T00:39:58.428Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-09-25T00:39:59.023Z] STF 19:39:58.776 - Monitoring Report Summary: [2025-09-25T00:39:59.023Z] STF 19:39:58.776 - o Process CMJ ended with the expected exit code (0) [2025-09-25T00:39:59.023Z] STF 19:39:58.776 - Created modular jar: 3.com.helper.jar [2025-09-25T00:39:59.023Z] STF 19:39:58.776 - [2025-09-25T00:39:59.023Z] STF 19:39:58.776 - +------ Step 4 - Create com.discreet jar [2025-09-25T00:39:59.023Z] STF 19:39:58.776 - | Create modular jar [2025-09-25T00:39:59.023Z] STF 19:39:58.776 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-09-25T00:39:59.023Z] STF 19:39:58.776 - | ModuleVersion: null [2025-09-25T00:39:59.023Z] STF 19:39:58.776 - | MainClass: null [2025-09-25T00:39:59.023Z] STF 19:39:58.776 - | HashModules: null [2025-09-25T00:39:59.023Z] STF 19:39:58.776 - | [2025-09-25T00:39:59.023Z] STF 19:39:58.776 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17587606152054/PatModImg_AppMod_1/20250924-193956-PatModImgTest/modules/4.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2025-09-25T00:39:59.023Z] STF 19:39:58.776 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17587606152054/PatModImg_AppMod_1/20250924-193956-PatModImgTest/results/4.CMJ.stderr [2025-09-25T00:39:59.023Z] STF 19:39:58.776 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17587606152054/PatModImg_AppMod_1/20250924-193956-PatModImgTest/results/4.CMJ.stdout [2025-09-25T00:39:59.023Z] STF 19:39:58.777 - Monitoring processes: CMJ [2025-09-25T00:39:59.023Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-09-25T00:39:59.023Z] STF 19:39:58.963 - Monitoring Report Summary: [2025-09-25T00:39:59.023Z] STF 19:39:58.963 - o Process CMJ ended with the expected exit code (0) [2025-09-25T00:39:59.023Z] STF 19:39:58.964 - Created modular jar: 4.com.discreet.jar [2025-09-25T00:39:59.023Z] STF 19:39:58.964 - [2025-09-25T00:39:59.023Z] STF 19:39:58.964 - +------ Step 5 - Create tests jar [2025-09-25T00:39:59.023Z] STF 19:39:58.964 - | Create modular jar [2025-09-25T00:39:59.023Z] STF 19:39:58.964 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-09-25T00:39:59.023Z] STF 19:39:58.964 - | ModuleVersion: null [2025-09-25T00:39:59.023Z] STF 19:39:58.964 - | MainClass: null [2025-09-25T00:39:59.023Z] STF 19:39:58.964 - | HashModules: null [2025-09-25T00:39:59.023Z] STF 19:39:58.964 - | [2025-09-25T00:39:59.023Z] STF 19:39:58.964 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17587606152054/PatModImg_AppMod_1/20250924-193956-PatModImgTest/modules/5.com.test.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2025-09-25T00:39:59.023Z] STF 19:39:58.964 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17587606152054/PatModImg_AppMod_1/20250924-193956-PatModImgTest/results/5.CMJ.stderr [2025-09-25T00:39:59.023Z] STF 19:39:58.964 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17587606152054/PatModImg_AppMod_1/20250924-193956-PatModImgTest/results/5.CMJ.stdout [2025-09-25T00:39:59.023Z] STF 19:39:58.965 - Monitoring processes: CMJ [2025-09-25T00:39:59.023Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-09-25T00:39:59.620Z] STF 19:39:59.415 - Monitoring Report Summary: [2025-09-25T00:39:59.620Z] STF 19:39:59.415 - o Process CMJ ended with the expected exit code (0) [2025-09-25T00:39:59.620Z] STF 19:39:59.415 - Created modular jar: 5.com.test.jar [2025-09-25T00:39:59.620Z] STF 19:39:59.415 - [2025-09-25T00:39:59.620Z] STF 19:39:59.415 - +------ Step 6 - Create runtime image for PatchModule test [2025-09-25T00:39:59.620Z] STF 19:39:59.415 - | Run jlink to create runtime image [2025-09-25T00:39:59.620Z] STF 19:39:59.415 - | ImageName: XpJVM [2025-09-25T00:39:59.620Z] STF 19:39:59.415 - | [2025-09-25T00:39:59.620Z] STF 19:39:59.416 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17587606152054/PatModImg_AppMod_1/20250924-193956-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17587606152054/PatModImg_AppMod_1/20250924-193956-PatModImgTest/tmp/6.XpJVM [2025-09-25T00:39:59.620Z] STF 19:39:59.416 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17587606152054/PatModImg_AppMod_1/20250924-193956-PatModImgTest/results/6.JLNK.stderr [2025-09-25T00:39:59.620Z] STF 19:39:59.416 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17587606152054/PatModImg_AppMod_1/20250924-193956-PatModImgTest/results/6.JLNK.stdout [2025-09-25T00:39:59.620Z] STF 19:39:59.417 - Monitoring processes: JLNK [2025-09-25T00:39:59.620Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-09-25T00:40:01.561Z] STF 19:40:01.250 - Monitoring Report Summary: [2025-09-25T00:40:01.561Z] STF 19:40:01.250 - o Process JLNK ended with the expected exit code (0) [2025-09-25T00:40:01.561Z] STF 19:40:01.250 - [2025-09-25T00:40:01.561Z] STF 19:40:01.250 - +------ Step 7 - Create com.hello jar [2025-09-25T00:40:01.561Z] STF 19:40:01.250 - | Create modular jar [2025-09-25T00:40:01.561Z] STF 19:40:01.250 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-09-25T00:40:01.561Z] STF 19:40:01.250 - | ModuleVersion: null [2025-09-25T00:40:01.561Z] STF 19:40:01.250 - | MainClass: null [2025-09-25T00:40:01.561Z] STF 19:40:01.250 - | HashModules: null [2025-09-25T00:40:01.561Z] STF 19:40:01.250 - | [2025-09-25T00:40:01.561Z] STF 19:40:01.250 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17587606152054/PatModImg_AppMod_1/20250924-193956-PatModImgTest/modules/7.com.hello.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2025-09-25T00:40:01.561Z] STF 19:40:01.250 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17587606152054/PatModImg_AppMod_1/20250924-193956-PatModImgTest/results/7.CMJ.stderr [2025-09-25T00:40:01.561Z] STF 19:40:01.250 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17587606152054/PatModImg_AppMod_1/20250924-193956-PatModImgTest/results/7.CMJ.stdout [2025-09-25T00:40:01.561Z] STF 19:40:01.251 - Monitoring processes: CMJ [2025-09-25T00:40:01.561Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-09-25T00:40:02.160Z] STF 19:40:01.732 - Monitoring Report Summary: [2025-09-25T00:40:02.160Z] STF 19:40:01.732 - o Process CMJ ended with the expected exit code (0) [2025-09-25T00:40:02.160Z] STF 19:40:01.732 - Created modular jar: 7.com.hello.jar [2025-09-25T00:40:02.160Z] STF 19:40:01.732 - [2025-09-25T00:40:02.160Z] STF 19:40:01.732 - +------ Step 8 - create java.xml.jar [2025-09-25T00:40:02.160Z] STF 19:40:01.732 - | Create modular jar [2025-09-25T00:40:02.160Z] STF 19:40:01.732 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-09-25T00:40:02.160Z] STF 19:40:01.732 - | ModuleVersion: null [2025-09-25T00:40:02.160Z] STF 19:40:01.732 - | MainClass: null [2025-09-25T00:40:02.160Z] STF 19:40:01.732 - | HashModules: null [2025-09-25T00:40:02.160Z] STF 19:40:01.732 - | [2025-09-25T00:40:02.160Z] STF 19:40:01.733 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17587606152054/PatModImg_AppMod_1/20250924-193956-PatModImgTest/modules/8.java.xml.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2025-09-25T00:40:02.160Z] STF 19:40:01.733 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17587606152054/PatModImg_AppMod_1/20250924-193956-PatModImgTest/results/8.CMJ.stderr [2025-09-25T00:40:02.160Z] STF 19:40:01.733 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17587606152054/PatModImg_AppMod_1/20250924-193956-PatModImgTest/results/8.CMJ.stdout [2025-09-25T00:40:02.160Z] STF 19:40:01.733 - Monitoring processes: CMJ [2025-09-25T00:40:02.160Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-09-25T00:40:02.160Z] STF 19:40:01.901 - Monitoring Report Summary: [2025-09-25T00:40:02.160Z] STF 19:40:01.901 - o Process CMJ ended with the expected exit code (0) [2025-09-25T00:40:02.160Z] STF 19:40:01.902 - Created modular jar: 8.java.xml.jar [2025-09-25T00:40:02.160Z] STF 19:40:01.902 - [2025-09-25T00:40:02.160Z] STF 19:40:01.902 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2025-09-25T00:40:02.160Z] STF 19:40:01.902 - | Run foreground process [2025-09-25T00:40:02.160Z] STF 19:40:01.902 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17587606152054/PatModImg_AppMod_1/20250924-193956-PatModImgTest/tmp/6.XpJVM/bin/java [2025-09-25T00:40:02.160Z] STF 19:40:01.902 - | Mnemonic: OT21 [2025-09-25T00:40:02.160Z] STF 19:40:01.902 - | Echo: ECHO_ON [2025-09-25T00:40:02.160Z] STF 19:40:01.902 - | Expectation: CLEAN_RUN within 5m [2025-09-25T00:40:02.160Z] STF 19:40:01.902 - | [2025-09-25T00:40:02.160Z] STF 19:40:01.902 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17587606152054/PatModImg_AppMod_1/20250924-193956-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello -XX:-UseCompressedOops -classpath /home/jenkins/externalDependency/system_lib/junit/junit.jar:/home/jenkins/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2025-09-25T00:40:02.160Z] STF 19:40:01.902 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17587606152054/PatModImg_AppMod_1/20250924-193956-PatModImgTest/results/9.OT21.stderr [2025-09-25T00:40:02.160Z] STF 19:40:01.902 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17587606152054/PatModImg_AppMod_1/20250924-193956-PatModImgTest/results/9.OT21.stdout [2025-09-25T00:40:02.160Z] STF 19:40:01.903 - Monitoring processes: OT21 [2025-09-25T00:40:02.160Z] OT21 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-09-25T00:40:02.160Z] OT21 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello [2025-09-25T00:40:02.160Z] OT21 JUnit version 4.12 [2025-09-25T00:40:02.752Z] OT21 . [2025-09-25T00:40:02.752Z] OT21 Time: 0.007 [2025-09-25T00:40:02.752Z] OT21 [2025-09-25T00:40:02.752Z] OT21 OK (1 test) [2025-09-25T00:40:02.752Z] OT21 [2025-09-25T00:40:02.752Z] STF 19:40:02.147 - Monitoring Report Summary: [2025-09-25T00:40:02.752Z] STF 19:40:02.147 - o Process OT21 ended with the expected exit code (0) [2025-09-25T00:40:02.752Z] STF 19:40:02.147 - [2025-09-25T00:40:02.752Z] STF 19:40:02.147 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2025-09-25T00:40:02.752Z] STF 19:40:02.147 - | Run foreground process [2025-09-25T00:40:02.752Z] STF 19:40:02.147 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17587606152054/PatModImg_AppMod_1/20250924-193956-PatModImgTest/tmp/6.XpJVM/bin/java [2025-09-25T00:40:02.752Z] STF 19:40:02.147 - | Mnemonic: OT22 [2025-09-25T00:40:02.752Z] STF 19:40:02.147 - | Echo: ECHO_ON [2025-09-25T00:40:02.752Z] STF 19:40:02.147 - | Expectation: CLEAN_RUN within 5m [2025-09-25T00:40:02.752Z] STF 19:40:02.147 - | [2025-09-25T00:40:02.752Z] STF 19:40:02.147 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17587606152054/PatModImg_AppMod_1/20250924-193956-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17587606152054/PatModImg_AppMod_1/20250924-193956-PatModImgTest/modules/7.com.hello.jar -XX:-UseCompressedOops -classpath /home/jenkins/externalDependency/system_lib/junit/junit.jar:/home/jenkins/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2025-09-25T00:40:02.752Z] STF 19:40:02.147 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17587606152054/PatModImg_AppMod_1/20250924-193956-PatModImgTest/results/10.OT22.stderr [2025-09-25T00:40:02.752Z] STF 19:40:02.147 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17587606152054/PatModImg_AppMod_1/20250924-193956-PatModImgTest/results/10.OT22.stdout [2025-09-25T00:40:02.752Z] STF 19:40:02.148 - Monitoring processes: OT22 [2025-09-25T00:40:02.752Z] OT22 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-09-25T00:40:02.752Z] OT22 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17587606152054/PatModImg_AppMod_1/20250924-193956-PatModImgTest/modules/7.com.hello.jar [2025-09-25T00:40:02.752Z] OT22 JUnit version 4.12 [2025-09-25T00:40:02.752Z] OT22 . [2025-09-25T00:40:02.752Z] OT22 Time: 0.012 [2025-09-25T00:40:02.752Z] OT22 [2025-09-25T00:40:02.752Z] OT22 OK (1 test) [2025-09-25T00:40:02.752Z] OT22 [2025-09-25T00:40:02.752Z] STF 19:40:02.349 - Monitoring Report Summary: [2025-09-25T00:40:02.752Z] STF 19:40:02.349 - o Process OT22 ended with the expected exit code (0) [2025-09-25T00:40:02.752Z] STF 19:40:02.349 - EXECUTE stage completed [2025-09-25T00:40:02.752Z] STF 19:40:02.378 - [2025-09-25T00:40:02.752Z] STF 19:40:02.378 - ==================== T E A R D O W N ==================== [2025-09-25T00:40:02.752Z] STF 19:40:02.378 - Running teardown: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/../TKG/output_17587606152054/PatModImg_AppMod_1/20250924-193956-PatModImgTest/tearDown.pl [2025-09-25T00:40:02.752Z] STF 19:40:02.419 - TEARDOWN stage completed [2025-09-25T00:40:02.752Z] STF 19:40:02.424 - [2025-09-25T00:40:02.752Z] STF 19:40:02.424 - ===================== R E S U L T S ===================== [2025-09-25T00:40:02.752Z] STF 19:40:02.424 - Stage results: [2025-09-25T00:40:02.752Z] STF 19:40:02.424 - setUp: pass [2025-09-25T00:40:02.752Z] STF 19:40:02.424 - execute: pass [2025-09-25T00:40:02.752Z] STF 19:40:02.424 - teardown: pass [2025-09-25T00:40:02.752Z] STF 19:40:02.424 - [2025-09-25T00:40:02.752Z] STF 19:40:02.424 - Overall result: PASSED [2025-09-25T00:40:02.752Z] ----------------------------------- [2025-09-25T00:40:02.752Z] PatModImg_AppMod_1_PASSED [2025-09-25T00:40:02.752Z] ----------------------------------- [2025-09-25T00:40:02.752Z] [2025-09-25T00:40:02.752Z] TEST TEARDOWN: [2025-09-25T00:40:02.752Z] Nothing to be done for teardown. [2025-09-25T00:40:02.752Z] PatModImg_AppMod_1 Finish Time: Wed Sep 24 19:40:02 2025 Epoch Time (ms): 1758760802449