PatMod_AppMod_1

[2024-12-05T17:03:36.547Z] Running test PatMod_AppMod_1 ... [2024-12-05T17:03:36.547Z] =============================================== [2024-12-05T17:03:36.547Z] PatMod_AppMod_1 Start Time: Thu Dec 5 17:03:36 2024 Epoch Time (ms): 1733418216264 [2024-12-05T17:03:36.547Z] variation: Mode650 [2024-12-05T17:03:36.547Z] JVM_OPTIONS: -XX:-UseCompressedOops [2024-12-05T17:03:36.547Z] { \ [2024-12-05T17:03:36.547Z] echo ""; echo "TEST SETUP:"; \ [2024-12-05T17:03:36.547Z] echo "Nothing to be done for setup."; \ [2024-12-05T17:03:36.547Z] mkdir -p "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/../TKG/output_17334158063920/PatMod_AppMod_1"; \ [2024-12-05T17:03:36.547Z] cd "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/../TKG/output_17334158063920/PatMod_AppMod_1"; \ [2024-12-05T17:03:36.547Z] echo ""; echo "TESTING:"; \ [2024-12-05T17:03:36.547Z] perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/../../testDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/../TKG/output_17334158063920/PatMod_AppMod_1" -test=PatModTest -test-args="variant=AppMod"; \ [2024-12-05T17:03:36.547Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatMod_AppMod_1""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/../TKG/output_17334158063920/PatMod_AppMod_1"; else echo "-----------------------------------"; echo "PatMod_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2024-12-05T17:03:36.547Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-12-05T17:03:36.547Z] echo "Nothing to be done for teardown."; \ [2024-12-05T17:03:36.547Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/../TKG/output_17334158063920/TestTargetResult"; [2024-12-05T17:03:36.547Z] [2024-12-05T17:03:36.547Z] TEST SETUP: [2024-12-05T17:03:36.547Z] Nothing to be done for setup. [2024-12-05T17:03:36.547Z] [2024-12-05T17:03:36.547Z] TESTING: [2024-12-05T17:03:37.257Z] STF 17:03:36.518 - ========================= S T F ========================= [2024-12-05T17:03:37.257Z] systemtest-prereqs has been processed, and set to: /home/jenkins/testDependency/system_libRetrieving amount of free space on drive containing /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/../TKG/output_17334158063920/PatMod_AppMod_1 [2024-12-05T17:03:37.257Z] There is 166566 Mb free [2024-12-05T17:03:37.257Z] STF 17:03:36.534 - ================== G E N E R A T I O N ================== [2024-12-05T17:03:37.257Z] STF 17:03:36.534 - Checking JVM: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/jdkbinary/j2sdk-image [2024-12-05T17:03:37.257Z] STF 17:03:36.534 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/../../testDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/../../testDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/../TKG/output_17334158063920/PatMod_AppMod_1/20241205-170336-PatModTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/../TKG/output_17334158063920/PatMod_AppMod_1/20241205-170336-PatModTest" [2024-12-05T17:03:37.257Z] 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 [2024-12-05T17:03:41.853Z] GEN 17:03:41.519 - Found test. Project: 'openjdk.test.modularity' class: 'PatModTest.class' Dir: '/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2024-12-05T17:03:41.853Z] GEN 17:03:41.563 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModTest' [2024-12-05T17:03:42.701Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-12-05T17:03:42.701Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2024-12-05T17:03:42.701Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2024-12-05T17:03:42.701Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2024-12-05T17:03:42.701Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2024-12-05T17:03:42.701Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2024-12-05T17:03:42.701Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2024-12-05T17:03:42.701Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2024-12-05T17:03:42.701Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2024-12-05T17:03:42.702Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2024-12-05T17:03:42.702Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2024-12-05T17:03:42.702Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2024-12-05T17:03:42.702Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2024-12-05T17:03:42.702Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2024-12-05T17:03:42.702Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2024-12-05T17:03:42.702Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2024-12-05T17:03:42.702Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/STF/stf.core/bin [2024-12-05T17:03:42.702Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-12-05T17:03:42.702Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-12-05T17:03:42.702Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar [2024-12-05T17:03:43.431Z] GEN 17:03:42.832 - Using Mode NoOptions. Values = '' [2024-12-05T17:03:43.431Z] GEN 17:03:43.284 - [2024-12-05T17:03:43.431Z] GEN 17:03:43.284 - Test command summary: [2024-12-05T17:03:43.431Z] GEN 17:03:43.285 - Step Stage Command Description [2024-12-05T17:03:43.431Z] GEN 17:03:43.285 - -----+--------+-----------------+------------ [2024-12-05T17:03:43.431Z] GEN 17:03:43.285 - 1 execute jar Create com.hello jar [2024-12-05T17:03:43.431Z] GEN 17:03:43.286 - 2 execute jar Create com.discreet jar [2024-12-05T17:03:43.431Z] GEN 17:03:43.286 - 3 execute jar create java.xml.jar [2024-12-05T17:03:43.431Z] GEN 17:03:43.286 - 4 execute Run java Verify if we can patch an Application module using exploded directoryy [2024-12-05T17:03:43.431Z] GEN 17:03:43.286 - 5 execute Run java Verify if we can Patch an Application module using modular jar [2024-12-05T17:03:44.417Z] STF 17:03:43.577 - [2024-12-05T17:03:44.417Z] STF 17:03:43.578 - Script generation completed [2024-12-05T17:03:44.417Z] STF 17:03:43.578 - [2024-12-05T17:03:44.417Z] STF 17:03:43.578 - [2024-12-05T17:03:44.417Z] STF 17:03:43.578 - ======================= S E T U P ======================= [2024-12-05T17:03:44.417Z] STF 17:03:43.578 - Running setup: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/../TKG/output_17334158063920/PatMod_AppMod_1/20241205-170336-PatModTest/setUp.pl [2024-12-05T17:03:44.417Z] STF 17:03:43.692 - SETUP stage completed [2024-12-05T17:03:44.417Z] STF 17:03:43.699 - [2024-12-05T17:03:44.417Z] STF 17:03:43.699 - ==================== E X E C U T E - ==================== [2024-12-05T17:03:44.417Z] STF 17:03:43.699 - Running execute: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/../TKG/output_17334158063920/PatMod_AppMod_1/20241205-170336-PatModTest/execute.pl [2024-12-05T17:03:44.417Z] STF 17:03:43.817 - [2024-12-05T17:03:44.417Z] STF 17:03:43.825 - Java version [2024-12-05T17:03:44.417Z] STF 17:03:43.825 - Running: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/jdkbinary/j2sdk-image/bin/java -version [2024-12-05T17:03:44.417Z] openjdk version "17.0.14-beta" 2025-01-21 [2024-12-05T17:03:44.417Z] OpenJDK Runtime Environment Temurin-17.0.14+6-202412042248 (build 17.0.14-beta+6-ea) [2024-12-05T17:03:44.417Z] OpenJDK 64-Bit Server VM Temurin-17.0.14+6-202412042248 (build 17.0.14-beta+6-ea, mixed mode, sharing) [2024-12-05T17:03:44.417Z] STF 17:03:43.997 - [2024-12-05T17:03:44.417Z] STF 17:03:43.997 - +------ Step 1 - Create com.hello jar [2024-12-05T17:03:44.417Z] STF 17:03:43.997 - | Create modular jar [2024-12-05T17:03:44.417Z] STF 17:03:43.997 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-12-05T17:03:44.417Z] STF 17:03:43.997 - | ModuleVersion: null [2024-12-05T17:03:44.417Z] STF 17:03:43.997 - | MainClass: null [2024-12-05T17:03:44.417Z] STF 17:03:43.997 - | HashModules: null [2024-12-05T17:03:44.417Z] STF 17:03:43.997 - | [2024-12-05T17:03:44.417Z] STF 17:03:43.997 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17334158063920/PatMod_AppMod_1/20241205-170336-PatModTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2024-12-05T17:03:44.417Z] STF 17:03:43.997 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17334158063920/PatMod_AppMod_1/20241205-170336-PatModTest/results/1.CMJ.stderr [2024-12-05T17:03:44.417Z] STF 17:03:43.997 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17334158063920/PatMod_AppMod_1/20241205-170336-PatModTest/results/1.CMJ.stdout [2024-12-05T17:03:44.417Z] STF 17:03:44.009 - Monitoring processes: CMJ [2024-12-05T17:03:45.939Z] STF 17:03:45.367 - Monitoring Report Summary: [2024-12-05T17:03:45.939Z] STF 17:03:45.367 - o Process CMJ ended with the expected exit code (0) [2024-12-05T17:03:45.939Z] STF 17:03:45.368 - Created modular jar: 1.com.hello.jar [2024-12-05T17:03:45.939Z] STF 17:03:45.368 - [2024-12-05T17:03:45.939Z] STF 17:03:45.368 - +------ Step 2 - Create com.discreet jar [2024-12-05T17:03:45.939Z] STF 17:03:45.368 - | Create modular jar [2024-12-05T17:03:45.939Z] STF 17:03:45.368 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.discreet [2024-12-05T17:03:45.939Z] STF 17:03:45.368 - | ModuleVersion: null [2024-12-05T17:03:45.939Z] STF 17:03:45.368 - | MainClass: null [2024-12-05T17:03:45.939Z] STF 17:03:45.368 - | HashModules: null [2024-12-05T17:03:45.939Z] STF 17:03:45.368 - | [2024-12-05T17:03:45.939Z] STF 17:03:45.368 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17334158063920/PatMod_AppMod_1/20241205-170336-PatModTest/modules/2.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.discreet . [2024-12-05T17:03:45.939Z] STF 17:03:45.368 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17334158063920/PatMod_AppMod_1/20241205-170336-PatModTest/results/2.CMJ.stderr [2024-12-05T17:03:45.939Z] STF 17:03:45.368 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17334158063920/PatMod_AppMod_1/20241205-170336-PatModTest/results/2.CMJ.stdout [2024-12-05T17:03:45.939Z] STF 17:03:45.370 - Monitoring processes: CMJ [2024-12-05T17:03:47.510Z] STF 17:03:47.358 - Monitoring Report Summary: [2024-12-05T17:03:47.510Z] STF 17:03:47.358 - o Process CMJ ended with the expected exit code (0) [2024-12-05T17:03:47.510Z] STF 17:03:47.358 - Created modular jar: 2.com.discreet.jar [2024-12-05T17:03:47.510Z] STF 17:03:47.358 - [2024-12-05T17:03:47.510Z] STF 17:03:47.358 - +------ Step 3 - create java.xml.jar [2024-12-05T17:03:47.510Z] STF 17:03:47.358 - | Create modular jar [2024-12-05T17:03:47.510Z] STF 17:03:47.358 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2024-12-05T17:03:47.510Z] STF 17:03:47.359 - | ModuleVersion: null [2024-12-05T17:03:47.510Z] STF 17:03:47.359 - | MainClass: null [2024-12-05T17:03:47.510Z] STF 17:03:47.359 - | HashModules: null [2024-12-05T17:03:47.510Z] STF 17:03:47.359 - | [2024-12-05T17:03:47.510Z] STF 17:03:47.359 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17334158063920/PatMod_AppMod_1/20241205-170336-PatModTest/modules/3.java.xml.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2024-12-05T17:03:47.510Z] STF 17:03:47.359 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17334158063920/PatMod_AppMod_1/20241205-170336-PatModTest/results/3.CMJ.stderr [2024-12-05T17:03:47.510Z] STF 17:03:47.359 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17334158063920/PatMod_AppMod_1/20241205-170336-PatModTest/results/3.CMJ.stdout [2024-12-05T17:03:47.510Z] STF 17:03:47.361 - Monitoring processes: CMJ [2024-12-05T17:03:49.064Z] STF 17:03:48.639 - Monitoring Report Summary: [2024-12-05T17:03:49.064Z] STF 17:03:48.639 - o Process CMJ ended with the expected exit code (0) [2024-12-05T17:03:49.064Z] STF 17:03:48.640 - Created modular jar: 3.java.xml.jar [2024-12-05T17:03:49.064Z] STF 17:03:48.640 - [2024-12-05T17:03:49.064Z] STF 17:03:48.640 - +------ Step 4 - Verify if we can patch an Application module using exploded directoryy [2024-12-05T17:03:49.064Z] STF 17:03:48.640 - | Run foreground process [2024-12-05T17:03:49.064Z] STF 17:03:48.640 - | Program: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/jdkbinary/j2sdk-image/bin/java [2024-12-05T17:03:49.064Z] STF 17:03:48.640 - | Mnemonic: OT21 [2024-12-05T17:03:49.064Z] STF 17:03:48.640 - | Echo: ECHO_ON [2024-12-05T17:03:49.064Z] STF 17:03:48.640 - | Expectation: CLEAN_RUN within 1m [2024-12-05T17:03:49.064Z] STF 17:03:48.640 - | [2024-12-05T17:03:49.064Z] STF 17:03:48.641 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --add-modules=com.test --patch-module com.hello=/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello -XX:-UseCompressedOops -classpath /home/jenkins/testDependency/system_lib/junit/junit.jar:/home/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2024-12-05T17:03:49.064Z] STF 17:03:48.641 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17334158063920/PatMod_AppMod_1/20241205-170336-PatModTest/results/4.OT21.stderr [2024-12-05T17:03:49.064Z] STF 17:03:48.641 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17334158063920/PatMod_AppMod_1/20241205-170336-PatModTest/results/4.OT21.stdout [2024-12-05T17:03:49.064Z] STF 17:03:48.644 - Monitoring processes: OT21 [2024-12-05T17:03:50.547Z] OT21 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello [2024-12-05T17:03:50.547Z] OT21 JUnit version 4.12 [2024-12-05T17:03:51.234Z] OT21 . [2024-12-05T17:03:51.234Z] OT21 Time: 0.018 [2024-12-05T17:03:51.234Z] OT21 [2024-12-05T17:03:51.234Z] OT21 OK (1 test) [2024-12-05T17:03:51.234Z] OT21 [2024-12-05T17:03:51.941Z] STF 17:03:51.297 - Monitoring Report Summary: [2024-12-05T17:03:51.941Z] STF 17:03:51.297 - o Process OT21 ended with the expected exit code (0) [2024-12-05T17:03:51.941Z] STF 17:03:51.298 - [2024-12-05T17:03:51.941Z] STF 17:03:51.298 - +------ Step 5 - Verify if we can Patch an Application module using modular jar [2024-12-05T17:03:51.941Z] STF 17:03:51.298 - | Run foreground process [2024-12-05T17:03:51.941Z] STF 17:03:51.298 - | Program: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/jdkbinary/j2sdk-image/bin/java [2024-12-05T17:03:51.941Z] STF 17:03:51.298 - | Mnemonic: OT22 [2024-12-05T17:03:51.941Z] STF 17:03:51.298 - | Echo: ECHO_ON [2024-12-05T17:03:51.941Z] STF 17:03:51.298 - | Expectation: CLEAN_RUN within 1m [2024-12-05T17:03:51.941Z] STF 17:03:51.298 - | [2024-12-05T17:03:51.941Z] STF 17:03:51.298 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --add-modules=com.test --patch-module com.hello=/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17334158063920/PatMod_AppMod_1/20241205-170336-PatModTest/modules/1.com.hello.jar -XX:-UseCompressedOops -classpath /home/jenkins/testDependency/system_lib/junit/junit.jar:/home/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2024-12-05T17:03:51.941Z] STF 17:03:51.298 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17334158063920/PatMod_AppMod_1/20241205-170336-PatModTest/results/5.OT22.stderr [2024-12-05T17:03:51.941Z] STF 17:03:51.298 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17334158063920/PatMod_AppMod_1/20241205-170336-PatModTest/results/5.OT22.stdout [2024-12-05T17:03:51.941Z] STF 17:03:51.301 - Monitoring processes: OT22 [2024-12-05T17:03:53.380Z] OT22 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/output_17334158063920/PatMod_AppMod_1/20241205-170336-PatModTest/modules/1.com.hello.jar [2024-12-05T17:03:54.094Z] OT22 JUnit version 4.12 [2024-12-05T17:03:54.762Z] OT22 . [2024-12-05T17:03:54.762Z] OT22 Time: 0.008 [2024-12-05T17:03:54.762Z] OT22 [2024-12-05T17:03:54.762Z] OT22 OK (1 test) [2024-12-05T17:03:54.762Z] OT22 [2024-12-05T17:03:54.762Z] STF 17:03:54.097 - Monitoring Report Summary: [2024-12-05T17:03:54.762Z] STF 17:03:54.097 - o Process OT22 ended with the expected exit code (0) [2024-12-05T17:03:54.762Z] STF 17:03:54.097 - EXECUTE stage completed [2024-12-05T17:03:54.762Z] STF 17:03:54.147 - [2024-12-05T17:03:54.762Z] STF 17:03:54.147 - ==================== T E A R D O W N ==================== [2024-12-05T17:03:54.762Z] STF 17:03:54.147 - Running teardown: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux_testList_2/aqa-tests/TKG/../TKG/output_17334158063920/PatMod_AppMod_1/20241205-170336-PatModTest/tearDown.pl [2024-12-05T17:03:54.762Z] STF 17:03:54.321 - TEARDOWN stage completed [2024-12-05T17:03:54.762Z] STF 17:03:54.341 - [2024-12-05T17:03:54.762Z] STF 17:03:54.341 - ===================== R E S U L T S ===================== [2024-12-05T17:03:54.762Z] STF 17:03:54.341 - Stage results: [2024-12-05T17:03:54.762Z] STF 17:03:54.341 - setUp: pass [2024-12-05T17:03:54.762Z] STF 17:03:54.341 - execute: pass [2024-12-05T17:03:54.762Z] STF 17:03:54.341 - teardown: pass [2024-12-05T17:03:54.762Z] STF 17:03:54.341 - [2024-12-05T17:03:54.762Z] STF 17:03:54.341 - Overall result: PASSED [2024-12-05T17:03:54.762Z] ----------------------------------- [2024-12-05T17:03:54.762Z] PatMod_AppMod_1_PASSED [2024-12-05T17:03:54.762Z] ----------------------------------- [2024-12-05T17:03:54.762Z] [2024-12-05T17:03:54.762Z] TEST TEARDOWN: [2024-12-05T17:03:54.762Z] Nothing to be done for teardown. [2024-12-05T17:03:54.762Z] PatMod_AppMod_1 Finish Time: Thu Dec 5 17:03:54 2024 Epoch Time (ms): 1733418234411