PatModImg_AppMod_1

[2026-04-14T13:47:49.071Z] Running test PatModImg_AppMod_1 ... [2026-04-14T13:47:49.071Z] =============================================== [2026-04-14T13:47:49.071Z] PatModImg_AppMod_1 Start Time: Tue Apr 14 13:47:48 2026 Epoch Time (ms): 1776174468785 [2026-04-14T13:47:49.071Z] variation: Mode650 [2026-04-14T13:47:49.071Z] JVM_OPTIONS: -XX:-UseCompressedOops [2026-04-14T13:47:49.071Z] { \ [2026-04-14T13:47:49.071Z] echo ""; echo "TEST SETUP:"; \ [2026-04-14T13:47:49.071Z] echo "Nothing to be done for setup."; \ [2026-04-14T13:47:49.071Z] mkdir -p "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/../TKG/output_17761687138570/PatModImg_AppMod_1"; \ [2026-04-14T13:47:49.071Z] cd "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/../TKG/output_17761687138570/PatModImg_AppMod_1"; \ [2026-04-14T13:47:49.071Z] echo ""; echo "TESTING:"; \ [2026-04-14T13:47:49.072Z] perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/../../externalDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/../TKG/output_17761687138570/PatModImg_AppMod_1" -test=PatModImgTest -test-args="variant=AppMod"; \ [2026-04-14T13:47:49.072Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_1""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/../TKG/output_17761687138570/PatModImg_AppMod_1"; else echo "-----------------------------------"; echo "PatModImg_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2026-04-14T13:47:49.072Z] echo ""; echo "TEST TEARDOWN:"; \ [2026-04-14T13:47:49.072Z] echo "Nothing to be done for teardown."; \ [2026-04-14T13:47:49.072Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/../TKG/output_17761687138570/TestTargetResult"; [2026-04-14T13:47:49.072Z] [2026-04-14T13:47:49.072Z] TEST SETUP: [2026-04-14T13:47:49.072Z] Nothing to be done for setup. [2026-04-14T13:47:49.072Z] [2026-04-14T13:47:49.072Z] TESTING: [2026-04-14T13:47:49.072Z] STF 13:47:48.888 - ========================= S T F ========================= [2026-04-14T13:47:49.072Z] systemtest-prereqs has been processed, and set to: /home/jenkins/externalDependency/system_libRetrieving amount of free space on drive containing /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/../TKG/output_17761687138570/PatModImg_AppMod_1 [2026-04-14T13:47:49.072Z] There is 69690 Mb free [2026-04-14T13:47:49.072Z] STF 13:47:48.896 - ================== G E N E R A T I O N ================== [2026-04-14T13:47:49.072Z] STF 13:47:48.898 - Checking JVM: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/jdkbinary/j2sdk-image [2026-04-14T13:47:49.072Z] STF 13:47:48.898 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/../../externalDependency/system_lib//asm/asm.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/../../externalDependency/system_lib//asm/asm-commons.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/../../externalDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/../../externalDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/../TKG/output_17761687138570/PatModImg_AppMod_1/20260414-134748-PatModImgTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/../TKG/output_17761687138570/PatModImg_AppMod_1/20260414-134748-PatModImgTest" [2026-04-14T13:47:49.072Z] GEN stderr OpenJDK 64-Bit Server VM warning: 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 [2026-04-14T13:47:50.292Z] GEN 13:47:49.944 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2026-04-14T13:47:50.292Z] GEN 13:47:49.952 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2026-04-14T13:47:50.292Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2026-04-14T13:47:50.292Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2026-04-14T13:47:50.292Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2026-04-14T13:47:50.292Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2026-04-14T13:47:50.292Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2026-04-14T13:47:50.292Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2026-04-14T13:47:50.292Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2026-04-14T13:47:50.292Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2026-04-14T13:47:50.292Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2026-04-14T13:47:50.292Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2026-04-14T13:47:50.292Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2026-04-14T13:47:50.292Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2026-04-14T13:47:50.292Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2026-04-14T13:47:50.292Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2026-04-14T13:47:50.292Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2026-04-14T13:47:50.292Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2026-04-14T13:47:50.292Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/STF/stf.core/bin [2026-04-14T13:47:50.292Z] GEN /home/jenkins/externalDependency/system_lib/log4j/log4j-api.jar [2026-04-14T13:47:50.292Z] GEN /home/jenkins/externalDependency/system_lib/log4j/log4j-core.jar [2026-04-14T13:47:50.292Z] GEN /home/jenkins/externalDependency/system_lib/junit/junit.jar [2026-04-14T13:47:50.292Z] GEN 13:47:50.128 - Using Mode NoOptions. Values = '' [2026-04-14T13:47:50.292Z] GEN 13:47:50.249 - [2026-04-14T13:47:50.292Z] GEN 13:47:50.249 - Test command summary: [2026-04-14T13:47:50.292Z] GEN 13:47:50.249 - Step Stage Command Description [2026-04-14T13:47:50.292Z] GEN 13:47:50.250 - -----+--------+-----------------+------------ [2026-04-14T13:47:50.292Z] GEN 13:47:50.250 - 1 execute jar Create com.hello jar [2026-04-14T13:47:50.292Z] GEN 13:47:50.250 - 2 execute jar Create com.hola jar [2026-04-14T13:47:50.292Z] GEN 13:47:50.251 - 3 execute jar Create com.helper jar [2026-04-14T13:47:50.292Z] GEN 13:47:50.251 - 4 execute jar Create com.discreet jar [2026-04-14T13:47:50.292Z] GEN 13:47:50.251 - 5 execute jar Create tests jar [2026-04-14T13:47:50.292Z] GEN 13:47:50.251 - 6 execute jlink Create runtime image for PatchModule test [2026-04-14T13:47:50.292Z] GEN 13:47:50.251 - 7 execute jar Create com.hello jar [2026-04-14T13:47:50.292Z] GEN 13:47:50.251 - 8 execute jar create java.xml.jar [2026-04-14T13:47:50.292Z] GEN 13:47:50.251 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2026-04-14T13:47:50.292Z] GEN 13:47:50.252 - 10 execute Run java Verify if we can patch an Application module using modular jar [2026-04-14T13:47:50.292Z] STF 13:47:50.279 - [2026-04-14T13:47:50.292Z] STF 13:47:50.279 - Script generation completed [2026-04-14T13:47:50.292Z] STF 13:47:50.279 - [2026-04-14T13:47:50.644Z] STF 13:47:50.279 - [2026-04-14T13:47:50.644Z] STF 13:47:50.279 - ======================= S E T U P ======================= [2026-04-14T13:47:50.644Z] STF 13:47:50.279 - Running setup: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/../TKG/output_17761687138570/PatModImg_AppMod_1/20260414-134748-PatModImgTest/setUp.pl [2026-04-14T13:47:50.644Z] STF 13:47:50.365 - SETUP stage completed [2026-04-14T13:47:50.644Z] STF 13:47:50.368 - [2026-04-14T13:47:50.644Z] STF 13:47:50.368 - ==================== E X E C U T E - ==================== [2026-04-14T13:47:50.644Z] STF 13:47:50.368 - Running execute: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/../TKG/output_17761687138570/PatModImg_AppMod_1/20260414-134748-PatModImgTest/execute.pl [2026-04-14T13:47:50.644Z] STF 13:47:50.455 - [2026-04-14T13:47:50.644Z] STF 13:47:50.455 - Java version [2026-04-14T13:47:50.644Z] STF 13:47:50.455 - Running: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/jdkbinary/j2sdk-image/bin/java -version [2026-04-14T13:47:50.644Z] STF 13:47:50.494 - [2026-04-14T13:47:50.644Z] STF 13:47:50.494 - +------ Step 1 - Create com.hello jar [2026-04-14T13:47:50.644Z] STF 13:47:50.494 - | Create modular jar [2026-04-14T13:47:50.644Z] STF 13:47:50.494 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2026-04-14T13:47:50.644Z] STF 13:47:50.494 - | ModuleVersion: null [2026-04-14T13:47:50.644Z] STF 13:47:50.494 - | MainClass: null [2026-04-14T13:47:50.644Z] STF 13:47:50.494 - | HashModules: null [2026-04-14T13:47:50.644Z] STF 13:47:50.495 - | [2026-04-14T13:47:50.644Z] STF 13:47:50.495 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17761687138570/PatModImg_AppMod_1/20260414-134748-PatModImgTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2026-04-14T13:47:50.645Z] STF 13:47:50.495 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17761687138570/PatModImg_AppMod_1/20260414-134748-PatModImgTest/results/1.CMJ.stderr [2026-04-14T13:47:50.645Z] STF 13:47:50.495 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17761687138570/PatModImg_AppMod_1/20260414-134748-PatModImgTest/results/1.CMJ.stdout [2026-04-14T13:47:50.645Z] openjdk version "17.0.19" 2026-04-21 [2026-04-14T13:47:50.645Z] OpenJDK Runtime Environment Temurin-17.0.19+9 (build 17.0.19+9) [2026-04-14T13:47:50.645Z] OpenJDK 64-Bit Server VM Temurin-17.0.19+9 (build 17.0.19+9, mixed mode, sharing) [2026-04-14T13:47:50.645Z] STF 13:47:50.507 - Monitoring processes: CMJ [2026-04-14T13:47:50.996Z] STF 13:47:50.717 - Monitoring Report Summary: [2026-04-14T13:47:50.996Z] STF 13:47:50.717 - o Process CMJ ended with the expected exit code (0) [2026-04-14T13:47:50.996Z] STF 13:47:50.717 - Created modular jar: 1.com.hello.jar [2026-04-14T13:47:50.996Z] STF 13:47:50.717 - [2026-04-14T13:47:50.996Z] STF 13:47:50.717 - +------ Step 2 - Create com.hola jar [2026-04-14T13:47:50.996Z] STF 13:47:50.717 - | Create modular jar [2026-04-14T13:47:50.996Z] STF 13:47:50.718 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2026-04-14T13:47:50.996Z] STF 13:47:50.718 - | ModuleVersion: null [2026-04-14T13:47:50.996Z] STF 13:47:50.718 - | MainClass: null [2026-04-14T13:47:50.996Z] STF 13:47:50.718 - | HashModules: null [2026-04-14T13:47:50.996Z] STF 13:47:50.718 - | [2026-04-14T13:47:50.996Z] STF 13:47:50.718 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17761687138570/PatModImg_AppMod_1/20260414-134748-PatModImgTest/modules/2.com.hola.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2026-04-14T13:47:50.996Z] STF 13:47:50.718 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17761687138570/PatModImg_AppMod_1/20260414-134748-PatModImgTest/results/2.CMJ.stderr [2026-04-14T13:47:50.996Z] STF 13:47:50.718 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17761687138570/PatModImg_AppMod_1/20260414-134748-PatModImgTest/results/2.CMJ.stdout [2026-04-14T13:47:50.996Z] STF 13:47:50.720 - Monitoring processes: CMJ [2026-04-14T13:47:50.996Z] STF 13:47:50.928 - Monitoring Report Summary: [2026-04-14T13:47:50.996Z] STF 13:47:50.928 - o Process CMJ ended with the expected exit code (0) [2026-04-14T13:47:50.996Z] STF 13:47:50.929 - Created modular jar: 2.com.hola.jar [2026-04-14T13:47:50.996Z] STF 13:47:50.929 - [2026-04-14T13:47:50.996Z] STF 13:47:50.929 - +------ Step 3 - Create com.helper jar [2026-04-14T13:47:50.996Z] STF 13:47:50.929 - | Create modular jar [2026-04-14T13:47:50.996Z] STF 13:47:50.929 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2026-04-14T13:47:50.996Z] STF 13:47:50.929 - | ModuleVersion: null [2026-04-14T13:47:50.996Z] STF 13:47:50.929 - | MainClass: null [2026-04-14T13:47:50.996Z] STF 13:47:50.929 - | HashModules: null [2026-04-14T13:47:50.996Z] STF 13:47:50.929 - | [2026-04-14T13:47:50.996Z] STF 13:47:50.929 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17761687138570/PatModImg_AppMod_1/20260414-134748-PatModImgTest/modules/3.com.helper.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2026-04-14T13:47:50.996Z] STF 13:47:50.929 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17761687138570/PatModImg_AppMod_1/20260414-134748-PatModImgTest/results/3.CMJ.stderr [2026-04-14T13:47:50.996Z] STF 13:47:50.929 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17761687138570/PatModImg_AppMod_1/20260414-134748-PatModImgTest/results/3.CMJ.stdout [2026-04-14T13:47:50.996Z] STF 13:47:50.931 - Monitoring processes: CMJ [2026-04-14T13:47:51.348Z] STF 13:47:51.139 - Monitoring Report Summary: [2026-04-14T13:47:51.348Z] STF 13:47:51.140 - o Process CMJ ended with the expected exit code (0) [2026-04-14T13:47:51.348Z] STF 13:47:51.140 - Created modular jar: 3.com.helper.jar [2026-04-14T13:47:51.348Z] STF 13:47:51.140 - [2026-04-14T13:47:51.348Z] STF 13:47:51.140 - +------ Step 4 - Create com.discreet jar [2026-04-14T13:47:51.348Z] STF 13:47:51.140 - | Create modular jar [2026-04-14T13:47:51.348Z] STF 13:47:51.140 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2026-04-14T13:47:51.348Z] STF 13:47:51.140 - | ModuleVersion: null [2026-04-14T13:47:51.348Z] STF 13:47:51.140 - | MainClass: null [2026-04-14T13:47:51.348Z] STF 13:47:51.140 - | HashModules: null [2026-04-14T13:47:51.348Z] STF 13:47:51.140 - | [2026-04-14T13:47:51.348Z] STF 13:47:51.140 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17761687138570/PatModImg_AppMod_1/20260414-134748-PatModImgTest/modules/4.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2026-04-14T13:47:51.348Z] STF 13:47:51.140 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17761687138570/PatModImg_AppMod_1/20260414-134748-PatModImgTest/results/4.CMJ.stderr [2026-04-14T13:47:51.348Z] STF 13:47:51.140 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17761687138570/PatModImg_AppMod_1/20260414-134748-PatModImgTest/results/4.CMJ.stdout [2026-04-14T13:47:51.348Z] STF 13:47:51.142 - Monitoring processes: CMJ [2026-04-14T13:47:51.699Z] STF 13:47:51.352 - Monitoring Report Summary: [2026-04-14T13:47:51.699Z] STF 13:47:51.352 - o Process CMJ ended with the expected exit code (0) [2026-04-14T13:47:51.699Z] STF 13:47:51.352 - Created modular jar: 4.com.discreet.jar [2026-04-14T13:47:51.699Z] STF 13:47:51.352 - [2026-04-14T13:47:51.699Z] STF 13:47:51.352 - +------ Step 5 - Create tests jar [2026-04-14T13:47:51.699Z] STF 13:47:51.352 - | Create modular jar [2026-04-14T13:47:51.699Z] STF 13:47:51.352 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2026-04-14T13:47:51.699Z] STF 13:47:51.352 - | ModuleVersion: null [2026-04-14T13:47:51.699Z] STF 13:47:51.352 - | MainClass: null [2026-04-14T13:47:51.699Z] STF 13:47:51.352 - | HashModules: null [2026-04-14T13:47:51.699Z] STF 13:47:51.352 - | [2026-04-14T13:47:51.700Z] STF 13:47:51.353 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17761687138570/PatModImg_AppMod_1/20260414-134748-PatModImgTest/modules/5.com.test.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2026-04-14T13:47:51.700Z] STF 13:47:51.353 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17761687138570/PatModImg_AppMod_1/20260414-134748-PatModImgTest/results/5.CMJ.stderr [2026-04-14T13:47:51.700Z] STF 13:47:51.353 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17761687138570/PatModImg_AppMod_1/20260414-134748-PatModImgTest/results/5.CMJ.stdout [2026-04-14T13:47:51.700Z] STF 13:47:51.354 - Monitoring processes: CMJ [2026-04-14T13:47:51.700Z] STF 13:47:51.574 - Monitoring Report Summary: [2026-04-14T13:47:51.700Z] STF 13:47:51.574 - o Process CMJ ended with the expected exit code (0) [2026-04-14T13:47:51.700Z] STF 13:47:51.575 - Created modular jar: 5.com.test.jar [2026-04-14T13:47:51.700Z] STF 13:47:51.575 - [2026-04-14T13:47:51.700Z] STF 13:47:51.575 - +------ Step 6 - Create runtime image for PatchModule test [2026-04-14T13:47:51.700Z] STF 13:47:51.575 - | Run jlink to create runtime image [2026-04-14T13:47:51.700Z] STF 13:47:51.575 - | ImageName: XpJVM [2026-04-14T13:47:51.700Z] STF 13:47:51.575 - | [2026-04-14T13:47:51.700Z] STF 13:47:51.575 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17761687138570/PatModImg_AppMod_1/20260414-134748-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17761687138570/PatModImg_AppMod_1/20260414-134748-PatModImgTest/tmp/6.XpJVM [2026-04-14T13:47:51.700Z] STF 13:47:51.575 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17761687138570/PatModImg_AppMod_1/20260414-134748-PatModImgTest/results/6.JLNK.stderr [2026-04-14T13:47:51.700Z] STF 13:47:51.575 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17761687138570/PatModImg_AppMod_1/20260414-134748-PatModImgTest/results/6.JLNK.stdout [2026-04-14T13:47:51.700Z] STF 13:47:51.577 - Monitoring processes: JLNK [2026-04-14T13:47:54.863Z] STF 13:47:54.320 - Monitoring Report Summary: [2026-04-14T13:47:54.863Z] STF 13:47:54.320 - o Process JLNK ended with the expected exit code (0) [2026-04-14T13:47:54.863Z] STF 13:47:54.321 - [2026-04-14T13:47:54.863Z] STF 13:47:54.321 - +------ Step 7 - Create com.hello jar [2026-04-14T13:47:54.863Z] STF 13:47:54.321 - | Create modular jar [2026-04-14T13:47:54.863Z] STF 13:47:54.321 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2026-04-14T13:47:54.863Z] STF 13:47:54.321 - | ModuleVersion: null [2026-04-14T13:47:54.863Z] STF 13:47:54.321 - | MainClass: null [2026-04-14T13:47:54.863Z] STF 13:47:54.321 - | HashModules: null [2026-04-14T13:47:54.863Z] STF 13:47:54.321 - | [2026-04-14T13:47:54.863Z] STF 13:47:54.321 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17761687138570/PatModImg_AppMod_1/20260414-134748-PatModImgTest/modules/7.com.hello.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2026-04-14T13:47:54.863Z] STF 13:47:54.321 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17761687138570/PatModImg_AppMod_1/20260414-134748-PatModImgTest/results/7.CMJ.stderr [2026-04-14T13:47:54.863Z] STF 13:47:54.321 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17761687138570/PatModImg_AppMod_1/20260414-134748-PatModImgTest/results/7.CMJ.stdout [2026-04-14T13:47:54.863Z] STF 13:47:54.324 - Monitoring processes: CMJ [2026-04-14T13:47:54.863Z] STF 13:47:54.527 - Monitoring Report Summary: [2026-04-14T13:47:54.863Z] STF 13:47:54.527 - o Process CMJ ended with the expected exit code (0) [2026-04-14T13:47:54.863Z] STF 13:47:54.528 - Created modular jar: 7.com.hello.jar [2026-04-14T13:47:54.863Z] STF 13:47:54.528 - [2026-04-14T13:47:54.863Z] STF 13:47:54.528 - +------ Step 8 - create java.xml.jar [2026-04-14T13:47:54.863Z] STF 13:47:54.528 - | Create modular jar [2026-04-14T13:47:54.863Z] STF 13:47:54.528 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2026-04-14T13:47:54.863Z] STF 13:47:54.528 - | ModuleVersion: null [2026-04-14T13:47:54.863Z] STF 13:47:54.528 - | MainClass: null [2026-04-14T13:47:54.863Z] STF 13:47:54.528 - | HashModules: null [2026-04-14T13:47:54.863Z] STF 13:47:54.528 - | [2026-04-14T13:47:54.863Z] STF 13:47:54.528 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17761687138570/PatModImg_AppMod_1/20260414-134748-PatModImgTest/modules/8.java.xml.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2026-04-14T13:47:54.863Z] STF 13:47:54.528 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17761687138570/PatModImg_AppMod_1/20260414-134748-PatModImgTest/results/8.CMJ.stderr [2026-04-14T13:47:54.863Z] STF 13:47:54.528 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17761687138570/PatModImg_AppMod_1/20260414-134748-PatModImgTest/results/8.CMJ.stdout [2026-04-14T13:47:54.863Z] STF 13:47:54.530 - Monitoring processes: CMJ [2026-04-14T13:47:54.863Z] STF 13:47:54.734 - Monitoring Report Summary: [2026-04-14T13:47:54.863Z] STF 13:47:54.734 - o Process CMJ ended with the expected exit code (0) [2026-04-14T13:47:54.863Z] STF 13:47:54.734 - Created modular jar: 8.java.xml.jar [2026-04-14T13:47:54.863Z] STF 13:47:54.734 - [2026-04-14T13:47:54.863Z] STF 13:47:54.734 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2026-04-14T13:47:54.863Z] STF 13:47:54.734 - | Run foreground process [2026-04-14T13:47:54.863Z] STF 13:47:54.734 - | Program: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17761687138570/PatModImg_AppMod_1/20260414-134748-PatModImgTest/tmp/6.XpJVM/bin/java [2026-04-14T13:47:54.863Z] STF 13:47:54.734 - | Mnemonic: OT21 [2026-04-14T13:47:54.863Z] STF 13:47:54.734 - | Echo: ECHO_ON [2026-04-14T13:47:54.863Z] STF 13:47:54.734 - | Expectation: CLEAN_RUN within 5m [2026-04-14T13:47:54.863Z] STF 13:47:54.734 - | [2026-04-14T13:47:54.864Z] STF 13:47:54.735 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17761687138570/PatModImg_AppMod_1/20260414-134748-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/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 [2026-04-14T13:47:54.864Z] STF 13:47:54.735 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17761687138570/PatModImg_AppMod_1/20260414-134748-PatModImgTest/results/9.OT21.stderr [2026-04-14T13:47:54.864Z] STF 13:47:54.735 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17761687138570/PatModImg_AppMod_1/20260414-134748-PatModImgTest/results/9.OT21.stdout [2026-04-14T13:47:54.864Z] STF 13:47:54.737 - Monitoring processes: OT21 [2026-04-14T13:47:55.216Z] OT21 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello [2026-04-14T13:47:55.216Z] OT21 JUnit version 4.12 [2026-04-14T13:47:55.216Z] OT21 . [2026-04-14T13:47:55.216Z] OT21 Time: 0.011 [2026-04-14T13:47:55.216Z] OT21 [2026-04-14T13:47:55.216Z] OT21 OK (1 test) [2026-04-14T13:47:55.216Z] OT21 [2026-04-14T13:47:55.216Z] STF 13:47:55.131 - Monitoring Report Summary: [2026-04-14T13:47:55.216Z] STF 13:47:55.131 - o Process OT21 ended with the expected exit code (0) [2026-04-14T13:47:55.216Z] STF 13:47:55.132 - [2026-04-14T13:47:55.216Z] STF 13:47:55.132 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2026-04-14T13:47:55.216Z] STF 13:47:55.132 - | Run foreground process [2026-04-14T13:47:55.216Z] STF 13:47:55.132 - | Program: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17761687138570/PatModImg_AppMod_1/20260414-134748-PatModImgTest/tmp/6.XpJVM/bin/java [2026-04-14T13:47:55.216Z] STF 13:47:55.132 - | Mnemonic: OT22 [2026-04-14T13:47:55.216Z] STF 13:47:55.132 - | Echo: ECHO_ON [2026-04-14T13:47:55.216Z] STF 13:47:55.132 - | Expectation: CLEAN_RUN within 5m [2026-04-14T13:47:55.216Z] STF 13:47:55.132 - | [2026-04-14T13:47:55.216Z] STF 13:47:55.132 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17761687138570/PatModImg_AppMod_1/20260414-134748-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17761687138570/PatModImg_AppMod_1/20260414-134748-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 [2026-04-14T13:47:55.216Z] STF 13:47:55.132 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17761687138570/PatModImg_AppMod_1/20260414-134748-PatModImgTest/results/10.OT22.stderr [2026-04-14T13:47:55.216Z] STF 13:47:55.132 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17761687138570/PatModImg_AppMod_1/20260414-134748-PatModImgTest/results/10.OT22.stdout [2026-04-14T13:47:55.216Z] STF 13:47:55.134 - Monitoring processes: OT22 [2026-04-14T13:47:55.566Z] OT22 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17761687138570/PatModImg_AppMod_1/20260414-134748-PatModImgTest/modules/7.com.hello.jar [2026-04-14T13:47:55.566Z] OT22 JUnit version 4.12 [2026-04-14T13:47:55.566Z] OT22 . [2026-04-14T13:47:55.566Z] OT22 Time: 0.008 [2026-04-14T13:47:55.566Z] OT22 [2026-04-14T13:47:55.566Z] OT22 OK (1 test) [2026-04-14T13:47:55.566Z] OT22 [2026-04-14T13:47:55.566Z] STF 13:47:55.512 - Monitoring Report Summary: [2026-04-14T13:47:55.567Z] STF 13:47:55.512 - o Process OT22 ended with the expected exit code (0) [2026-04-14T13:47:55.567Z] STF 13:47:55.512 - EXECUTE stage completed [2026-04-14T13:47:55.567Z] STF 13:47:55.532 - [2026-04-14T13:47:55.567Z] STF 13:47:55.532 - ==================== T E A R D O W N ==================== [2026-04-14T13:47:55.567Z] STF 13:47:55.532 - Running teardown: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/../TKG/output_17761687138570/PatModImg_AppMod_1/20260414-134748-PatModImgTest/tearDown.pl [2026-04-14T13:47:55.917Z] STF 13:47:55.619 - TEARDOWN stage completed [2026-04-14T13:47:55.917Z] STF 13:47:55.627 - [2026-04-14T13:47:55.917Z] STF 13:47:55.627 - ===================== R E S U L T S ===================== [2026-04-14T13:47:55.917Z] STF 13:47:55.627 - Stage results: [2026-04-14T13:47:55.917Z] STF 13:47:55.627 - setUp: pass [2026-04-14T13:47:55.917Z] STF 13:47:55.627 - execute: pass [2026-04-14T13:47:55.917Z] STF 13:47:55.627 - teardown: pass [2026-04-14T13:47:55.917Z] STF 13:47:55.627 - [2026-04-14T13:47:55.917Z] STF 13:47:55.627 - Overall result: PASSED [2026-04-14T13:47:55.917Z] ----------------------------------- [2026-04-14T13:47:55.917Z] PatModImg_AppMod_1_PASSED [2026-04-14T13:47:55.917Z] ----------------------------------- [2026-04-14T13:47:55.917Z] [2026-04-14T13:47:55.917Z] TEST TEARDOWN: [2026-04-14T13:47:55.917Z] Nothing to be done for teardown. [2026-04-14T13:47:55.917Z] PatModImg_AppMod_1 Finish Time: Tue Apr 14 13:47:55 2026 Epoch Time (ms): 1776174475658