PatMod_AppMod_1

[2025-08-27T22:05:32.807Z] Running test PatMod_AppMod_1 ... [2025-08-27T22:05:32.807Z] =============================================== [2025-08-27T22:05:33.471Z] PatMod_AppMod_1 Start Time: Wed Aug 27 17:05:28 2025 Epoch Time (ms): 1756332328007 [2025-08-27T22:05:33.471Z] variation: Mode650 [2025-08-27T22:05:33.472Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-08-27T22:05:33.472Z] { \ [2025-08-27T22:05:33.472Z] echo ""; echo "TEST SETUP:"; \ [2025-08-27T22:05:33.472Z] echo "Nothing to be done for setup."; \ [2025-08-27T22:05:33.472Z] mkdir -p "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/../TKG/output_17563322646578/PatMod_AppMod_1"; \ [2025-08-27T22:05:33.472Z] cd "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/../TKG/output_17563322646578/PatMod_AppMod_1"; \ [2025-08-27T22:05:33.472Z] echo ""; echo "TESTING:"; \ [2025-08-27T22:05:33.472Z] perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/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_0/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/../../externalDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/../TKG/output_17563322646578/PatMod_AppMod_1" -test=PatModTest -test-args="variant=AppMod"; \ [2025-08-27T22:05:33.472Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatMod_AppMod_1""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/../TKG/output_17563322646578/PatMod_AppMod_1"; else echo "-----------------------------------"; echo "PatMod_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-08-27T22:05:33.472Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-08-27T22:05:33.472Z] echo "Nothing to be done for teardown."; \ [2025-08-27T22:05:33.472Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/../TKG/output_17563322646578/TestTargetResult"; [2025-08-27T22:05:33.472Z] [2025-08-27T22:05:33.472Z] TEST SETUP: [2025-08-27T22:05:33.472Z] Nothing to be done for setup. [2025-08-27T22:05:33.472Z] [2025-08-27T22:05:33.472Z] TESTING: [2025-08-27T22:05:33.472Z] STF 17:05:28.163 - ========================= S T F ========================= [2025-08-27T22:05:33.472Z] 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_0/aqa-tests/TKG/../TKG/output_17563322646578/PatMod_AppMod_1 [2025-08-27T22:05:33.472Z] There is 36432 Mb free [2025-08-27T22:05:33.472Z] STF 17:05:28.182 - ================== G E N E R A T I O N ================== [2025-08-27T22:05:33.472Z] STF 17:05:28.185 - Checking JVM: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/jdkbinary/j2sdk-image [2025-08-27T22:05:33.472Z] STF 17:05:28.186 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/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_0/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_0/../../externalDependency/system_lib//asm/asm.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/../../externalDependency/system_lib//asm/asm-commons.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/../../externalDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/../../externalDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/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_0/aqa-tests/TKG/../TKG/output_17563322646578/PatMod_AppMod_1/20250827-170528-PatModTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/../TKG/output_17563322646578/PatMod_AppMod_1/20250827-170528-PatModTest" [2025-08-27T22:05:34.859Z] GEN 17:05:29.427 - Found test. Project: 'openjdk.test.modularity' class: 'PatModTest.class' Dir: '/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-08-27T22:05:34.859Z] GEN 17:05:29.447 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModTest' [2025-08-27T22:05:34.859Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-08-27T22:05:34.859Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-08-27T22:05:34.859Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-08-27T22:05:34.859Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-08-27T22:05:34.859Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-08-27T22:05:34.859Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-08-27T22:05:34.859Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-08-27T22:05:34.859Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-08-27T22:05:34.859Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-08-27T22:05:34.859Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-08-27T22:05:34.859Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-08-27T22:05:34.859Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-08-27T22:05:34.859Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-08-27T22:05:34.859Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-08-27T22:05:34.859Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-08-27T22:05:34.859Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-08-27T22:05:34.859Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/STF/stf.core/bin [2025-08-27T22:05:34.859Z] GEN /home/jenkins/externalDependency/system_lib/log4j/log4j-api.jar [2025-08-27T22:05:34.859Z] GEN /home/jenkins/externalDependency/system_lib/log4j/log4j-core.jar [2025-08-27T22:05:34.859Z] GEN /home/jenkins/externalDependency/system_lib/junit/junit.jar [2025-08-27T22:05:34.859Z] GEN 17:05:29.739 - Using Mode NoOptions. Values = '' [2025-08-27T22:05:34.859Z] GEN 17:05:29.882 - [2025-08-27T22:05:34.859Z] GEN 17:05:29.882 - Test command summary: [2025-08-27T22:05:34.859Z] GEN 17:05:29.882 - Step Stage Command Description [2025-08-27T22:05:34.859Z] GEN 17:05:29.882 - -----+--------+-----------------+------------ [2025-08-27T22:05:34.859Z] GEN 17:05:29.882 - 1 execute jar Create com.hello jar [2025-08-27T22:05:34.859Z] GEN 17:05:29.882 - 2 execute jar Create com.discreet jar [2025-08-27T22:05:34.859Z] GEN 17:05:29.882 - 3 execute jar create java.xml.jar [2025-08-27T22:05:34.859Z] GEN 17:05:29.882 - 4 execute Run java Verify if we can patch an Application module using exploded directoryy [2025-08-27T22:05:34.859Z] GEN 17:05:29.882 - 5 execute Run java Verify if we can Patch an Application module using modular jar [2025-08-27T22:05:34.859Z] STF 17:05:29.950 - [2025-08-27T22:05:34.859Z] STF 17:05:29.951 - Script generation completed [2025-08-27T22:05:34.859Z] STF 17:05:29.951 - [2025-08-27T22:05:34.859Z] STF 17:05:29.952 - [2025-08-27T22:05:34.859Z] STF 17:05:29.952 - ======================= S E T U P ======================= [2025-08-27T22:05:34.859Z] STF 17:05:29.953 - Running setup: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/../TKG/output_17563322646578/PatMod_AppMod_1/20250827-170528-PatModTest/setUp.pl [2025-08-27T22:05:34.859Z] STF 17:05:30.035 - SETUP stage completed [2025-08-27T22:05:35.531Z] STF 17:05:30.045 - [2025-08-27T22:05:35.531Z] STF 17:05:30.045 - ==================== E X E C U T E - ==================== [2025-08-27T22:05:35.531Z] STF 17:05:30.046 - Running execute: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/../TKG/output_17563322646578/PatMod_AppMod_1/20250827-170528-PatModTest/execute.pl [2025-08-27T22:05:35.531Z] STF 17:05:30.123 - [2025-08-27T22:05:35.531Z] STF 17:05:30.123 - Java version [2025-08-27T22:05:35.531Z] STF 17:05:30.123 - Running: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/jdkbinary/j2sdk-image/bin/java -version [2025-08-27T22:05:35.531Z] openjdk version "11.0.29-beta" 2025-10-21 [2025-08-27T22:05:35.531Z] OpenJDK Runtime Environment Temurin-11.0.29+4-202508272012 (build 11.0.29-beta+4-ea) [2025-08-27T22:05:35.531Z] OpenJDK 64-Bit Server VM Temurin-11.0.29+4-202508272012 (build 11.0.29-beta+4-ea, mixed mode) [2025-08-27T22:05:35.531Z] STF 17:05:30.302 - [2025-08-27T22:05:35.531Z] STF 17:05:30.302 - +------ Step 1 - Create com.hello jar [2025-08-27T22:05:35.531Z] STF 17:05:30.302 - | Create modular jar [2025-08-27T22:05:35.531Z] STF 17:05:30.302 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-08-27T22:05:35.531Z] STF 17:05:30.302 - | ModuleVersion: null [2025-08-27T22:05:35.531Z] STF 17:05:30.302 - | MainClass: null [2025-08-27T22:05:35.531Z] STF 17:05:30.303 - | HashModules: null [2025-08-27T22:05:35.531Z] STF 17:05:30.303 - | [2025-08-27T22:05:35.531Z] STF 17:05:30.305 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17563322646578/PatMod_AppMod_1/20250827-170528-PatModTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2025-08-27T22:05:35.531Z] STF 17:05:30.305 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17563322646578/PatMod_AppMod_1/20250827-170528-PatModTest/results/1.CMJ.stderr [2025-08-27T22:05:35.531Z] STF 17:05:30.305 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17563322646578/PatMod_AppMod_1/20250827-170528-PatModTest/results/1.CMJ.stdout [2025-08-27T22:05:35.531Z] STF 17:05:30.329 - Monitoring processes: CMJ [2025-08-27T22:05:35.531Z] STF 17:05:30.664 - Monitoring Report Summary: [2025-08-27T22:05:35.531Z] STF 17:05:30.664 - o Process CMJ ended with the expected exit code (0) [2025-08-27T22:05:35.531Z] STF 17:05:30.664 - Created modular jar: 1.com.hello.jar [2025-08-27T22:05:35.531Z] STF 17:05:30.664 - [2025-08-27T22:05:35.531Z] STF 17:05:30.664 - +------ Step 2 - Create com.discreet jar [2025-08-27T22:05:35.531Z] STF 17:05:30.664 - | Create modular jar [2025-08-27T22:05:35.531Z] STF 17:05:30.664 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.discreet [2025-08-27T22:05:35.531Z] STF 17:05:30.664 - | ModuleVersion: null [2025-08-27T22:05:35.531Z] STF 17:05:30.664 - | MainClass: null [2025-08-27T22:05:35.531Z] STF 17:05:30.664 - | HashModules: null [2025-08-27T22:05:35.531Z] STF 17:05:30.664 - | [2025-08-27T22:05:35.531Z] STF 17:05:30.664 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17563322646578/PatMod_AppMod_1/20250827-170528-PatModTest/modules/2.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.discreet . [2025-08-27T22:05:35.531Z] STF 17:05:30.665 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17563322646578/PatMod_AppMod_1/20250827-170528-PatModTest/results/2.CMJ.stderr [2025-08-27T22:05:35.531Z] STF 17:05:30.665 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17563322646578/PatMod_AppMod_1/20250827-170528-PatModTest/results/2.CMJ.stdout [2025-08-27T22:05:35.531Z] STF 17:05:30.670 - Monitoring processes: CMJ [2025-08-27T22:05:36.202Z] STF 17:05:31.019 - Monitoring Report Summary: [2025-08-27T22:05:36.202Z] STF 17:05:31.019 - o Process CMJ ended with the expected exit code (0) [2025-08-27T22:05:36.202Z] STF 17:05:31.020 - Created modular jar: 2.com.discreet.jar [2025-08-27T22:05:36.202Z] STF 17:05:31.020 - [2025-08-27T22:05:36.202Z] STF 17:05:31.020 - +------ Step 3 - create java.xml.jar [2025-08-27T22:05:36.202Z] STF 17:05:31.020 - | Create modular jar [2025-08-27T22:05:36.202Z] STF 17:05:31.020 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-08-27T22:05:36.202Z] STF 17:05:31.020 - | ModuleVersion: null [2025-08-27T22:05:36.202Z] STF 17:05:31.020 - | MainClass: null [2025-08-27T22:05:36.202Z] STF 17:05:31.021 - | HashModules: null [2025-08-27T22:05:36.202Z] STF 17:05:31.021 - | [2025-08-27T22:05:36.202Z] STF 17:05:31.022 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17563322646578/PatMod_AppMod_1/20250827-170528-PatModTest/modules/3.java.xml.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2025-08-27T22:05:36.202Z] STF 17:05:31.022 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17563322646578/PatMod_AppMod_1/20250827-170528-PatModTest/results/3.CMJ.stderr [2025-08-27T22:05:36.202Z] STF 17:05:31.022 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17563322646578/PatMod_AppMod_1/20250827-170528-PatModTest/results/3.CMJ.stdout [2025-08-27T22:05:36.202Z] STF 17:05:31.033 - Monitoring processes: CMJ [2025-08-27T22:05:36.202Z] STF 17:05:31.382 - Monitoring Report Summary: [2025-08-27T22:05:36.202Z] STF 17:05:31.383 - o Process CMJ ended with the expected exit code (0) [2025-08-27T22:05:36.202Z] STF 17:05:31.383 - Created modular jar: 3.java.xml.jar [2025-08-27T22:05:36.202Z] STF 17:05:31.383 - [2025-08-27T22:05:36.202Z] STF 17:05:31.383 - +------ Step 4 - Verify if we can patch an Application module using exploded directoryy [2025-08-27T22:05:36.202Z] STF 17:05:31.383 - | Run foreground process [2025-08-27T22:05:36.202Z] STF 17:05:31.383 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/jdkbinary/j2sdk-image/bin/java [2025-08-27T22:05:36.202Z] STF 17:05:31.384 - | Mnemonic: OT21 [2025-08-27T22:05:36.202Z] STF 17:05:31.384 - | Echo: ECHO_ON [2025-08-27T22:05:36.202Z] STF 17:05:31.384 - | Expectation: CLEAN_RUN within 1m [2025-08-27T22:05:36.202Z] STF 17:05:31.384 - | [2025-08-27T22:05:36.202Z] STF 17:05:31.385 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --add-modules=com.test --patch-module com.hello=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/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-08-27T22:05:36.202Z] STF 17:05:31.385 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17563322646578/PatMod_AppMod_1/20250827-170528-PatModTest/results/4.OT21.stderr [2025-08-27T22:05:36.202Z] STF 17:05:31.385 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17563322646578/PatMod_AppMod_1/20250827-170528-PatModTest/results/4.OT21.stdout [2025-08-27T22:05:36.875Z] STF 17:05:31.397 - Monitoring processes: OT21 [2025-08-27T22:05:36.875Z] OT21 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello [2025-08-27T22:05:36.875Z] OT21 JUnit version 4.12 [2025-08-27T22:05:36.875Z] OT21 . [2025-08-27T22:05:36.875Z] OT21 Time: 0.008 [2025-08-27T22:05:36.875Z] OT21 [2025-08-27T22:05:36.875Z] OT21 OK (1 test) [2025-08-27T22:05:36.875Z] OT21 [2025-08-27T22:05:36.875Z] STF 17:05:31.894 - Monitoring Report Summary: [2025-08-27T22:05:36.875Z] STF 17:05:31.894 - o Process OT21 ended with the expected exit code (0) [2025-08-27T22:05:36.875Z] STF 17:05:31.895 - [2025-08-27T22:05:36.875Z] STF 17:05:31.895 - +------ Step 5 - Verify if we can Patch an Application module using modular jar [2025-08-27T22:05:36.875Z] STF 17:05:31.895 - | Run foreground process [2025-08-27T22:05:36.875Z] STF 17:05:31.895 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/jdkbinary/j2sdk-image/bin/java [2025-08-27T22:05:36.875Z] STF 17:05:31.895 - | Mnemonic: OT22 [2025-08-27T22:05:36.875Z] STF 17:05:31.895 - | Echo: ECHO_ON [2025-08-27T22:05:36.875Z] STF 17:05:31.895 - | Expectation: CLEAN_RUN within 1m [2025-08-27T22:05:36.875Z] STF 17:05:31.895 - | [2025-08-27T22:05:36.875Z] STF 17:05:31.896 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --add-modules=com.test --patch-module com.hello=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17563322646578/PatMod_AppMod_1/20250827-170528-PatModTest/modules/1.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-08-27T22:05:36.875Z] STF 17:05:31.896 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17563322646578/PatMod_AppMod_1/20250827-170528-PatModTest/results/5.OT22.stderr [2025-08-27T22:05:36.875Z] STF 17:05:31.896 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17563322646578/PatMod_AppMod_1/20250827-170528-PatModTest/results/5.OT22.stdout [2025-08-27T22:05:36.875Z] STF 17:05:31.904 - Monitoring processes: OT22 [2025-08-27T22:05:37.626Z] OT22 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17563322646578/PatMod_AppMod_1/20250827-170528-PatModTest/modules/1.com.hello.jar [2025-08-27T22:05:37.626Z] OT22 JUnit version 4.12 [2025-08-27T22:05:37.626Z] OT22 . [2025-08-27T22:05:37.626Z] OT22 Time: 0.006 [2025-08-27T22:05:37.626Z] OT22 [2025-08-27T22:05:37.626Z] OT22 OK (1 test) [2025-08-27T22:05:37.626Z] OT22 [2025-08-27T22:05:37.626Z] STF 17:05:32.325 - Monitoring Report Summary: [2025-08-27T22:05:37.626Z] STF 17:05:32.325 - o Process OT22 ended with the expected exit code (0) [2025-08-27T22:05:37.626Z] STF 17:05:32.326 - EXECUTE stage completed [2025-08-27T22:05:37.626Z] STF 17:05:32.352 - [2025-08-27T22:05:37.626Z] STF 17:05:32.352 - ==================== T E A R D O W N ==================== [2025-08-27T22:05:37.626Z] STF 17:05:32.353 - Running teardown: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/../TKG/output_17563322646578/PatMod_AppMod_1/20250827-170528-PatModTest/tearDown.pl [2025-08-27T22:05:37.626Z] STF 17:05:32.439 - TEARDOWN stage completed [2025-08-27T22:05:37.626Z] STF 17:05:32.447 - [2025-08-27T22:05:37.626Z] STF 17:05:32.448 - ===================== R E S U L T S ===================== [2025-08-27T22:05:37.626Z] STF 17:05:32.448 - Stage results: [2025-08-27T22:05:37.626Z] STF 17:05:32.448 - setUp: pass [2025-08-27T22:05:37.626Z] STF 17:05:32.448 - execute: pass [2025-08-27T22:05:37.626Z] STF 17:05:32.448 - teardown: pass [2025-08-27T22:05:37.626Z] STF 17:05:32.449 - [2025-08-27T22:05:37.626Z] STF 17:05:32.449 - Overall result: PASSED [2025-08-27T22:05:37.626Z] ----------------------------------- [2025-08-27T22:05:37.626Z] PatMod_AppMod_1_PASSED [2025-08-27T22:05:37.626Z] ----------------------------------- [2025-08-27T22:05:37.626Z] [2025-08-27T22:05:37.626Z] TEST TEARDOWN: [2025-08-27T22:05:37.626Z] Nothing to be done for teardown. [2025-08-27T22:05:37.626Z] PatMod_AppMod_1 Finish Time: Wed Aug 27 17:05:32 2025 Epoch Time (ms): 1756332332516