PatModImg_AppMod_1

[2025-10-02T02:15:22.015Z] Running test PatModImg_AppMod_1 ... [2025-10-02T02:15:22.015Z] =============================================== [2025-10-02T02:15:22.015Z] PatModImg_AppMod_1 Start Time: Thu Oct 2 02:15:16 2025 Epoch Time (ms): 1759371316858 [2025-10-02T02:15:22.015Z] variation: Mode650 [2025-10-02T02:15:22.015Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-10-02T02:15:22.015Z] { \ [2025-10-02T02:15:22.015Z] echo ""; echo "TEST SETUP:"; \ [2025-10-02T02:15:22.015Z] echo "Nothing to be done for setup."; \ [2025-10-02T02:15:22.015Z] mkdir -p "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17593665309514/PatModImg_AppMod_1"; \ [2025-10-02T02:15:22.015Z] cd "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17593665309514/PatModImg_AppMod_1"; \ [2025-10-02T02:15:22.015Z] echo ""; echo "TESTING:"; \ [2025-10-02T02:15:22.015Z] perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/../../externalDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17593665309514/PatModImg_AppMod_1" -test=PatModImgTest -test-args="variant=AppMod"; \ [2025-10-02T02:15:22.015Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_1""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17593665309514/PatModImg_AppMod_1"; else echo "-----------------------------------"; echo "PatModImg_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-10-02T02:15:22.015Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-10-02T02:15:22.015Z] echo "Nothing to be done for teardown."; \ [2025-10-02T02:15:22.015Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17593665309514/TestTargetResult"; [2025-10-02T02:15:22.015Z] [2025-10-02T02:15:22.015Z] TEST SETUP: [2025-10-02T02:15:22.015Z] Nothing to be done for setup. [2025-10-02T02:15:22.015Z] [2025-10-02T02:15:22.015Z] TESTING: [2025-10-02T02:15:22.015Z] STF 02:15:16.925 - ========================= S T F ========================= [2025-10-02T02:15:22.015Z] systemtest-prereqs has been processed, and set to: /home/jenkins/externalDependency/system_libRetrieving amount of free space on drive containing /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17593665309514/PatModImg_AppMod_1 [2025-10-02T02:15:22.015Z] There is 15896 Mb free [2025-10-02T02:15:22.015Z] STF 02:15:16.931 - ================== G E N E R A T I O N ================== [2025-10-02T02:15:22.015Z] STF 02:15:16.932 - Checking JVM: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image [2025-10-02T02:15:22.016Z] STF 02:15:16.932 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/../../externalDependency/system_lib//asm/asm.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/../../externalDependency/system_lib//asm/asm-commons.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/../../externalDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/../../externalDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17593665309514/PatModImg_AppMod_1/20251002-021516-PatModImgTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17593665309514/PatModImg_AppMod_1/20251002-021516-PatModImgTest" [2025-10-02T02:15:22.686Z] GEN 02:15:17.825 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-10-02T02:15:22.686Z] GEN 02:15:17.832 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-10-02T02:15:23.357Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-10-02T02:15:23.357Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-10-02T02:15:23.357Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-10-02T02:15:23.357Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-10-02T02:15:23.357Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-10-02T02:15:23.357Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-10-02T02:15:23.357Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-10-02T02:15:23.357Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-10-02T02:15:23.357Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-10-02T02:15:23.357Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-10-02T02:15:23.357Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-10-02T02:15:23.357Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-10-02T02:15:23.357Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-10-02T02:15:23.358Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-10-02T02:15:23.358Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-10-02T02:15:23.358Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-10-02T02:15:23.358Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/STF/stf.core/bin [2025-10-02T02:15:23.358Z] GEN /home/jenkins/externalDependency/system_lib/log4j/log4j-api.jar [2025-10-02T02:15:23.358Z] GEN /home/jenkins/externalDependency/system_lib/log4j/log4j-core.jar [2025-10-02T02:15:23.358Z] GEN /home/jenkins/externalDependency/system_lib/junit/junit.jar [2025-10-02T02:15:23.358Z] GEN 02:15:18.107 - Using Mode NoOptions. Values = '' [2025-10-02T02:15:23.358Z] GEN 02:15:18.270 - [2025-10-02T02:15:23.358Z] GEN 02:15:18.270 - Test command summary: [2025-10-02T02:15:23.358Z] GEN 02:15:18.271 - Step Stage Command Description [2025-10-02T02:15:23.358Z] GEN 02:15:18.271 - -----+--------+-----------------+------------ [2025-10-02T02:15:23.358Z] GEN 02:15:18.271 - 1 execute jar Create com.hello jar [2025-10-02T02:15:23.358Z] GEN 02:15:18.271 - 2 execute jar Create com.hola jar [2025-10-02T02:15:23.358Z] GEN 02:15:18.271 - 3 execute jar Create com.helper jar [2025-10-02T02:15:23.358Z] GEN 02:15:18.271 - 4 execute jar Create com.discreet jar [2025-10-02T02:15:23.358Z] GEN 02:15:18.271 - 5 execute jar Create tests jar [2025-10-02T02:15:23.358Z] GEN 02:15:18.271 - 6 execute jlink Create runtime image for PatchModule test [2025-10-02T02:15:23.358Z] GEN 02:15:18.271 - 7 execute jar Create com.hello jar [2025-10-02T02:15:23.358Z] GEN 02:15:18.271 - 8 execute jar create java.xml.jar [2025-10-02T02:15:23.358Z] GEN 02:15:18.271 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2025-10-02T02:15:23.358Z] GEN 02:15:18.271 - 10 execute Run java Verify if we can patch an Application module using modular jar [2025-10-02T02:15:23.358Z] STF 02:15:18.308 - [2025-10-02T02:15:23.358Z] STF 02:15:18.308 - Script generation completed [2025-10-02T02:15:23.358Z] STF 02:15:18.308 - [2025-10-02T02:15:23.358Z] STF 02:15:18.308 - [2025-10-02T02:15:23.358Z] STF 02:15:18.308 - ======================= S E T U P ======================= [2025-10-02T02:15:23.358Z] STF 02:15:18.308 - Running setup: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17593665309514/PatModImg_AppMod_1/20251002-021516-PatModImgTest/setUp.pl [2025-10-02T02:15:23.358Z] STF 02:15:18.362 - SETUP stage completed [2025-10-02T02:15:23.358Z] STF 02:15:18.368 - [2025-10-02T02:15:23.358Z] STF 02:15:18.368 - ==================== E X E C U T E - ==================== [2025-10-02T02:15:23.358Z] STF 02:15:18.368 - Running execute: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17593665309514/PatModImg_AppMod_1/20251002-021516-PatModImgTest/execute.pl [2025-10-02T02:15:23.358Z] STF 02:15:18.412 - [2025-10-02T02:15:23.358Z] STF 02:15:18.412 - Java version [2025-10-02T02:15:23.358Z] STF 02:15:18.412 - Running: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/java -version [2025-10-02T02:15:23.358Z] openjdk version "11.0.29-beta" 2025-10-21 [2025-10-02T02:15:23.358Z] OpenJDK Runtime Environment Temurin-11.0.29+6-202510012010 (build 11.0.29-beta+6-ea) [2025-10-02T02:15:23.358Z] OpenJDK 64-Bit Server VM Temurin-11.0.29+6-202510012010 (build 11.0.29-beta+6-ea, mixed mode) [2025-10-02T02:15:23.358Z] STF 02:15:18.508 - [2025-10-02T02:15:23.358Z] STF 02:15:18.508 - +------ Step 1 - Create com.hello jar [2025-10-02T02:15:23.358Z] STF 02:15:18.508 - | Create modular jar [2025-10-02T02:15:23.358Z] STF 02:15:18.508 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-10-02T02:15:23.358Z] STF 02:15:18.508 - | ModuleVersion: null [2025-10-02T02:15:23.358Z] STF 02:15:18.508 - | MainClass: null [2025-10-02T02:15:23.358Z] STF 02:15:18.508 - | HashModules: null [2025-10-02T02:15:23.358Z] STF 02:15:18.508 - | [2025-10-02T02:15:23.358Z] STF 02:15:18.509 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17593665309514/PatModImg_AppMod_1/20251002-021516-PatModImgTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-10-02T02:15:23.358Z] STF 02:15:18.509 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17593665309514/PatModImg_AppMod_1/20251002-021516-PatModImgTest/results/1.CMJ.stderr [2025-10-02T02:15:23.358Z] STF 02:15:18.509 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17593665309514/PatModImg_AppMod_1/20251002-021516-PatModImgTest/results/1.CMJ.stdout [2025-10-02T02:15:23.358Z] STF 02:15:18.527 - Monitoring processes: CMJ [2025-10-02T02:15:24.029Z] STF 02:15:18.724 - Monitoring Report Summary: [2025-10-02T02:15:24.029Z] STF 02:15:18.725 - o Process CMJ ended with the expected exit code (0) [2025-10-02T02:15:24.029Z] STF 02:15:18.725 - Created modular jar: 1.com.hello.jar [2025-10-02T02:15:24.029Z] STF 02:15:18.725 - [2025-10-02T02:15:24.029Z] STF 02:15:18.725 - +------ Step 2 - Create com.hola jar [2025-10-02T02:15:24.029Z] STF 02:15:18.725 - | Create modular jar [2025-10-02T02:15:24.029Z] STF 02:15:18.725 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-10-02T02:15:24.029Z] STF 02:15:18.725 - | ModuleVersion: null [2025-10-02T02:15:24.029Z] STF 02:15:18.725 - | MainClass: null [2025-10-02T02:15:24.029Z] STF 02:15:18.725 - | HashModules: null [2025-10-02T02:15:24.029Z] STF 02:15:18.725 - | [2025-10-02T02:15:24.029Z] STF 02:15:18.726 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17593665309514/PatModImg_AppMod_1/20251002-021516-PatModImgTest/modules/2.com.hola.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2025-10-02T02:15:24.029Z] STF 02:15:18.726 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17593665309514/PatModImg_AppMod_1/20251002-021516-PatModImgTest/results/2.CMJ.stderr [2025-10-02T02:15:24.029Z] STF 02:15:18.726 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17593665309514/PatModImg_AppMod_1/20251002-021516-PatModImgTest/results/2.CMJ.stdout [2025-10-02T02:15:24.029Z] STF 02:15:18.727 - Monitoring processes: CMJ [2025-10-02T02:15:24.029Z] STF 02:15:18.955 - Monitoring Report Summary: [2025-10-02T02:15:24.029Z] STF 02:15:18.955 - o Process CMJ ended with the expected exit code (0) [2025-10-02T02:15:24.029Z] STF 02:15:18.956 - Created modular jar: 2.com.hola.jar [2025-10-02T02:15:24.029Z] STF 02:15:18.956 - [2025-10-02T02:15:24.029Z] STF 02:15:18.956 - +------ Step 3 - Create com.helper jar [2025-10-02T02:15:24.029Z] STF 02:15:18.956 - | Create modular jar [2025-10-02T02:15:24.029Z] STF 02:15:18.956 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-10-02T02:15:24.029Z] STF 02:15:18.956 - | ModuleVersion: null [2025-10-02T02:15:24.029Z] STF 02:15:18.956 - | MainClass: null [2025-10-02T02:15:24.029Z] STF 02:15:18.956 - | HashModules: null [2025-10-02T02:15:24.029Z] STF 02:15:18.956 - | [2025-10-02T02:15:24.029Z] STF 02:15:18.957 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17593665309514/PatModImg_AppMod_1/20251002-021516-PatModImgTest/modules/3.com.helper.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2025-10-02T02:15:24.029Z] STF 02:15:18.957 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17593665309514/PatModImg_AppMod_1/20251002-021516-PatModImgTest/results/3.CMJ.stderr [2025-10-02T02:15:24.029Z] STF 02:15:18.957 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17593665309514/PatModImg_AppMod_1/20251002-021516-PatModImgTest/results/3.CMJ.stdout [2025-10-02T02:15:24.029Z] STF 02:15:18.959 - Monitoring processes: CMJ [2025-10-02T02:15:24.029Z] STF 02:15:19.167 - Monitoring Report Summary: [2025-10-02T02:15:24.029Z] STF 02:15:19.167 - o Process CMJ ended with the expected exit code (0) [2025-10-02T02:15:24.029Z] STF 02:15:19.167 - Created modular jar: 3.com.helper.jar [2025-10-02T02:15:24.029Z] STF 02:15:19.167 - [2025-10-02T02:15:24.029Z] STF 02:15:19.167 - +------ Step 4 - Create com.discreet jar [2025-10-02T02:15:24.029Z] STF 02:15:19.167 - | Create modular jar [2025-10-02T02:15:24.029Z] STF 02:15:19.167 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-10-02T02:15:24.029Z] STF 02:15:19.167 - | ModuleVersion: null [2025-10-02T02:15:24.029Z] STF 02:15:19.168 - | MainClass: null [2025-10-02T02:15:24.029Z] STF 02:15:19.168 - | HashModules: null [2025-10-02T02:15:24.029Z] STF 02:15:19.168 - | [2025-10-02T02:15:24.029Z] STF 02:15:19.168 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17593665309514/PatModImg_AppMod_1/20251002-021516-PatModImgTest/modules/4.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2025-10-02T02:15:24.030Z] STF 02:15:19.168 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17593665309514/PatModImg_AppMod_1/20251002-021516-PatModImgTest/results/4.CMJ.stderr [2025-10-02T02:15:24.030Z] STF 02:15:19.168 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17593665309514/PatModImg_AppMod_1/20251002-021516-PatModImgTest/results/4.CMJ.stdout [2025-10-02T02:15:24.030Z] STF 02:15:19.170 - Monitoring processes: CMJ [2025-10-02T02:15:24.701Z] STF 02:15:19.380 - Monitoring Report Summary: [2025-10-02T02:15:24.701Z] STF 02:15:19.380 - o Process CMJ ended with the expected exit code (0) [2025-10-02T02:15:24.701Z] STF 02:15:19.381 - Created modular jar: 4.com.discreet.jar [2025-10-02T02:15:24.701Z] STF 02:15:19.381 - [2025-10-02T02:15:24.701Z] STF 02:15:19.381 - +------ Step 5 - Create tests jar [2025-10-02T02:15:24.701Z] STF 02:15:19.381 - | Create modular jar [2025-10-02T02:15:24.701Z] STF 02:15:19.381 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-10-02T02:15:24.701Z] STF 02:15:19.381 - | ModuleVersion: null [2025-10-02T02:15:24.701Z] STF 02:15:19.381 - | MainClass: null [2025-10-02T02:15:24.701Z] STF 02:15:19.381 - | HashModules: null [2025-10-02T02:15:24.701Z] STF 02:15:19.381 - | [2025-10-02T02:15:24.701Z] STF 02:15:19.381 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17593665309514/PatModImg_AppMod_1/20251002-021516-PatModImgTest/modules/5.com.test.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2025-10-02T02:15:24.701Z] STF 02:15:19.381 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17593665309514/PatModImg_AppMod_1/20251002-021516-PatModImgTest/results/5.CMJ.stderr [2025-10-02T02:15:24.701Z] STF 02:15:19.381 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17593665309514/PatModImg_AppMod_1/20251002-021516-PatModImgTest/results/5.CMJ.stdout [2025-10-02T02:15:24.701Z] STF 02:15:19.383 - Monitoring processes: CMJ [2025-10-02T02:15:24.701Z] STF 02:15:19.576 - Monitoring Report Summary: [2025-10-02T02:15:24.701Z] STF 02:15:19.577 - o Process CMJ ended with the expected exit code (0) [2025-10-02T02:15:24.701Z] STF 02:15:19.577 - Created modular jar: 5.com.test.jar [2025-10-02T02:15:24.701Z] STF 02:15:19.577 - [2025-10-02T02:15:24.701Z] STF 02:15:19.577 - +------ Step 6 - Create runtime image for PatchModule test [2025-10-02T02:15:24.701Z] STF 02:15:19.577 - | Run jlink to create runtime image [2025-10-02T02:15:24.701Z] STF 02:15:19.577 - | ImageName: XpJVM [2025-10-02T02:15:24.701Z] STF 02:15:19.577 - | [2025-10-02T02:15:24.701Z] STF 02:15:19.578 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17593665309514/PatModImg_AppMod_1/20251002-021516-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17593665309514/PatModImg_AppMod_1/20251002-021516-PatModImgTest/tmp/6.XpJVM [2025-10-02T02:15:24.701Z] STF 02:15:19.578 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17593665309514/PatModImg_AppMod_1/20251002-021516-PatModImgTest/results/6.JLNK.stderr [2025-10-02T02:15:24.701Z] STF 02:15:19.578 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17593665309514/PatModImg_AppMod_1/20251002-021516-PatModImgTest/results/6.JLNK.stdout [2025-10-02T02:15:24.701Z] STF 02:15:19.579 - Monitoring processes: JLNK [2025-10-02T02:15:26.891Z] STF 02:15:21.937 - Monitoring Report Summary: [2025-10-02T02:15:26.891Z] STF 02:15:21.937 - o Process JLNK ended with the expected exit code (0) [2025-10-02T02:15:26.891Z] STF 02:15:21.938 - [2025-10-02T02:15:26.891Z] STF 02:15:21.938 - +------ Step 7 - Create com.hello jar [2025-10-02T02:15:26.891Z] STF 02:15:21.938 - | Create modular jar [2025-10-02T02:15:26.891Z] STF 02:15:21.938 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-10-02T02:15:26.891Z] STF 02:15:21.938 - | ModuleVersion: null [2025-10-02T02:15:26.891Z] STF 02:15:21.938 - | MainClass: null [2025-10-02T02:15:26.891Z] STF 02:15:21.938 - | HashModules: null [2025-10-02T02:15:26.891Z] STF 02:15:21.938 - | [2025-10-02T02:15:26.891Z] STF 02:15:21.938 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17593665309514/PatModImg_AppMod_1/20251002-021516-PatModImgTest/modules/7.com.hello.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2025-10-02T02:15:26.891Z] STF 02:15:21.938 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17593665309514/PatModImg_AppMod_1/20251002-021516-PatModImgTest/results/7.CMJ.stderr [2025-10-02T02:15:26.891Z] STF 02:15:21.938 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17593665309514/PatModImg_AppMod_1/20251002-021516-PatModImgTest/results/7.CMJ.stdout [2025-10-02T02:15:26.891Z] STF 02:15:21.940 - Monitoring processes: CMJ [2025-10-02T02:15:26.891Z] STF 02:15:22.144 - Monitoring Report Summary: [2025-10-02T02:15:26.891Z] STF 02:15:22.144 - o Process CMJ ended with the expected exit code (0) [2025-10-02T02:15:26.891Z] STF 02:15:22.144 - Created modular jar: 7.com.hello.jar [2025-10-02T02:15:26.891Z] STF 02:15:22.144 - [2025-10-02T02:15:26.891Z] STF 02:15:22.144 - +------ Step 8 - create java.xml.jar [2025-10-02T02:15:26.891Z] STF 02:15:22.144 - | Create modular jar [2025-10-02T02:15:26.891Z] STF 02:15:22.144 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-10-02T02:15:26.891Z] STF 02:15:22.144 - | ModuleVersion: null [2025-10-02T02:15:26.891Z] STF 02:15:22.144 - | MainClass: null [2025-10-02T02:15:26.891Z] STF 02:15:22.144 - | HashModules: null [2025-10-02T02:15:26.891Z] STF 02:15:22.145 - | [2025-10-02T02:15:26.891Z] STF 02:15:22.145 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17593665309514/PatModImg_AppMod_1/20251002-021516-PatModImgTest/modules/8.java.xml.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2025-10-02T02:15:26.891Z] STF 02:15:22.145 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17593665309514/PatModImg_AppMod_1/20251002-021516-PatModImgTest/results/8.CMJ.stderr [2025-10-02T02:15:26.891Z] STF 02:15:22.145 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17593665309514/PatModImg_AppMod_1/20251002-021516-PatModImgTest/results/8.CMJ.stdout [2025-10-02T02:15:26.891Z] STF 02:15:22.147 - Monitoring processes: CMJ [2025-10-02T02:15:27.563Z] STF 02:15:22.348 - Monitoring Report Summary: [2025-10-02T02:15:27.563Z] STF 02:15:22.348 - o Process CMJ ended with the expected exit code (0) [2025-10-02T02:15:27.563Z] STF 02:15:22.349 - Created modular jar: 8.java.xml.jar [2025-10-02T02:15:27.563Z] STF 02:15:22.349 - [2025-10-02T02:15:27.563Z] STF 02:15:22.349 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2025-10-02T02:15:27.563Z] STF 02:15:22.349 - | Run foreground process [2025-10-02T02:15:27.563Z] STF 02:15:22.349 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17593665309514/PatModImg_AppMod_1/20251002-021516-PatModImgTest/tmp/6.XpJVM/bin/java [2025-10-02T02:15:27.563Z] STF 02:15:22.349 - | Mnemonic: OT21 [2025-10-02T02:15:27.563Z] STF 02:15:22.349 - | Echo: ECHO_ON [2025-10-02T02:15:27.563Z] STF 02:15:22.349 - | Expectation: CLEAN_RUN within 5m [2025-10-02T02:15:27.563Z] STF 02:15:22.349 - | [2025-10-02T02:15:27.563Z] STF 02:15:22.349 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17593665309514/PatModImg_AppMod_1/20251002-021516-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello -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-10-02T02:15:27.563Z] STF 02:15:22.349 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17593665309514/PatModImg_AppMod_1/20251002-021516-PatModImgTest/results/9.OT21.stderr [2025-10-02T02:15:27.563Z] STF 02:15:22.349 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17593665309514/PatModImg_AppMod_1/20251002-021516-PatModImgTest/results/9.OT21.stdout [2025-10-02T02:15:27.563Z] STF 02:15:22.351 - Monitoring processes: OT21 [2025-10-02T02:15:27.563Z] OT21 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello [2025-10-02T02:15:27.563Z] OT21 JUnit version 4.12 [2025-10-02T02:15:27.563Z] OT21 . [2025-10-02T02:15:27.563Z] OT21 Time: 0.006 [2025-10-02T02:15:27.563Z] OT21 [2025-10-02T02:15:27.563Z] OT21 OK (1 test) [2025-10-02T02:15:27.563Z] OT21 [2025-10-02T02:15:27.563Z] STF 02:15:22.578 - Monitoring Report Summary: [2025-10-02T02:15:27.563Z] STF 02:15:22.578 - o Process OT21 ended with the expected exit code (0) [2025-10-02T02:15:27.563Z] STF 02:15:22.579 - [2025-10-02T02:15:27.563Z] STF 02:15:22.579 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2025-10-02T02:15:27.563Z] STF 02:15:22.579 - | Run foreground process [2025-10-02T02:15:27.563Z] STF 02:15:22.579 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17593665309514/PatModImg_AppMod_1/20251002-021516-PatModImgTest/tmp/6.XpJVM/bin/java [2025-10-02T02:15:27.563Z] STF 02:15:22.579 - | Mnemonic: OT22 [2025-10-02T02:15:27.563Z] STF 02:15:22.579 - | Echo: ECHO_ON [2025-10-02T02:15:27.563Z] STF 02:15:22.579 - | Expectation: CLEAN_RUN within 5m [2025-10-02T02:15:27.563Z] STF 02:15:22.579 - | [2025-10-02T02:15:27.563Z] STF 02:15:22.579 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17593665309514/PatModImg_AppMod_1/20251002-021516-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17593665309514/PatModImg_AppMod_1/20251002-021516-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-10-02T02:15:27.563Z] STF 02:15:22.580 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17593665309514/PatModImg_AppMod_1/20251002-021516-PatModImgTest/results/10.OT22.stderr [2025-10-02T02:15:27.563Z] STF 02:15:22.580 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17593665309514/PatModImg_AppMod_1/20251002-021516-PatModImgTest/results/10.OT22.stdout [2025-10-02T02:15:27.563Z] STF 02:15:22.581 - Monitoring processes: OT22 [2025-10-02T02:15:27.563Z] OT22 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17593665309514/PatModImg_AppMod_1/20251002-021516-PatModImgTest/modules/7.com.hello.jar [2025-10-02T02:15:27.563Z] OT22 JUnit version 4.12 [2025-10-02T02:15:27.563Z] OT22 . [2025-10-02T02:15:27.563Z] OT22 Time: 0.007 [2025-10-02T02:15:27.563Z] OT22 [2025-10-02T02:15:27.563Z] OT22 OK (1 test) [2025-10-02T02:15:27.563Z] OT22 [2025-10-02T02:15:27.563Z] STF 02:15:22.804 - Monitoring Report Summary: [2025-10-02T02:15:27.563Z] STF 02:15:22.804 - o Process OT22 ended with the expected exit code (0) [2025-10-02T02:15:27.563Z] STF 02:15:22.805 - EXECUTE stage completed [2025-10-02T02:15:27.563Z] STF 02:15:22.844 - [2025-10-02T02:15:27.563Z] STF 02:15:22.844 - ==================== T E A R D O W N ==================== [2025-10-02T02:15:27.564Z] STF 02:15:22.844 - Running teardown: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17593665309514/PatModImg_AppMod_1/20251002-021516-PatModImgTest/tearDown.pl [2025-10-02T02:15:28.233Z] STF 02:15:22.903 - TEARDOWN stage completed [2025-10-02T02:15:28.233Z] STF 02:15:22.910 - [2025-10-02T02:15:28.233Z] STF 02:15:22.910 - ===================== R E S U L T S ===================== [2025-10-02T02:15:28.233Z] STF 02:15:22.910 - Stage results: [2025-10-02T02:15:28.233Z] STF 02:15:22.910 - setUp: pass [2025-10-02T02:15:28.233Z] STF 02:15:22.910 - execute: pass [2025-10-02T02:15:28.233Z] STF 02:15:22.910 - teardown: pass [2025-10-02T02:15:28.233Z] STF 02:15:22.910 - [2025-10-02T02:15:28.233Z] STF 02:15:22.910 - Overall result: PASSED [2025-10-02T02:15:28.233Z] ----------------------------------- [2025-10-02T02:15:28.233Z] PatModImg_AppMod_1_PASSED [2025-10-02T02:15:28.233Z] ----------------------------------- [2025-10-02T02:15:28.233Z] [2025-10-02T02:15:28.233Z] TEST TEARDOWN: [2025-10-02T02:15:28.233Z] Nothing to be done for teardown. [2025-10-02T02:15:28.233Z] PatModImg_AppMod_1 Finish Time: Thu Oct 2 02:15:22 2025 Epoch Time (ms): 1759371322959