PatMod_AppMod_0

[2025-05-16T15:54:35.704Z] Running test PatMod_AppMod_0 ... [2025-05-16T15:54:35.704Z] =============================================== [2025-05-16T15:54:35.704Z] PatMod_AppMod_0 Start Time: Fri May 16 15:54:34 2025 Epoch Time (ms): 1747410875005 [2025-05-16T15:54:35.704Z] variation: Mode150 [2025-05-16T15:54:35.704Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-05-16T15:54:35.704Z] { \ [2025-05-16T15:54:35.704Z] echo ""; echo "TEST SETUP:"; \ [2025-05-16T15:54:35.704Z] echo "Nothing to be done for setup."; \ [2025-05-16T15:54:35.704Z] mkdir -p "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/../TKG/output_17474041337354/PatMod_AppMod_0"; \ [2025-05-16T15:54:35.704Z] cd "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/../TKG/output_17474041337354/PatMod_AppMod_0"; \ [2025-05-16T15:54:35.704Z] echo ""; echo "TESTING:"; \ [2025-05-16T15:54:35.704Z] perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/../../testDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/../TKG/output_17474041337354/PatMod_AppMod_0" -test=PatModTest -test-args="variant=AppMod"; \ [2025-05-16T15:54:35.704Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatMod_AppMod_0""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/../TKG/output_17474041337354/PatMod_AppMod_0"; else echo "-----------------------------------"; echo "PatMod_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-05-16T15:54:35.704Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-05-16T15:54:35.704Z] echo "Nothing to be done for teardown."; \ [2025-05-16T15:54:35.704Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/../TKG/output_17474041337354/TestTargetResult"; [2025-05-16T15:54:35.704Z] [2025-05-16T15:54:35.704Z] TEST SETUP: [2025-05-16T15:54:35.704Z] Nothing to be done for setup. [2025-05-16T15:54:35.704Z] [2025-05-16T15:54:35.704Z] TESTING: [2025-05-16T15:54:35.704Z] STF 15:54:35.117 - ========================= S T F ========================= [2025-05-16T15:54:35.704Z] systemtest-prereqs has been processed, and set to: /home/jenkins/testDependency/system_libRetrieving amount of free space on drive containing /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/../TKG/output_17474041337354/PatMod_AppMod_0 [2025-05-16T15:54:35.704Z] There is 29294 Mb free [2025-05-16T15:54:35.704Z] STF 15:54:35.134 - ================== G E N E R A T I O N ================== [2025-05-16T15:54:35.704Z] STF 15:54:35.136 - Checking JVM: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jdkbinary/j2sdk-image [2025-05-16T15:54:35.704Z] STF 15:54:35.136 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_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_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/../../testDependency/system_lib//asm/asm.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/../../testDependency/system_lib//asm/asm-commons.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/../../testDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/../../testDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/../TKG/output_17474041337354/PatMod_AppMod_0/20250516-155435-PatModTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/../TKG/output_17474041337354/PatMod_AppMod_0/20250516-155435-PatModTest" [2025-05-16T15:54:35.704Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T15:54:36.482Z] GEN 15:54:36.261 - Found test. Project: 'openjdk.test.modularity' class: 'PatModTest.class' Dir: '/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-05-16T15:54:36.482Z] GEN 15:54:36.271 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModTest' [2025-05-16T15:54:37.434Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-05-16T15:54:37.434Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-05-16T15:54:37.434Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-05-16T15:54:37.434Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-05-16T15:54:37.434Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-05-16T15:54:37.434Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-05-16T15:54:37.434Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-05-16T15:54:37.434Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-05-16T15:54:37.434Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-05-16T15:54:37.434Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-05-16T15:54:37.434Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-05-16T15:54:37.434Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-05-16T15:54:37.434Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-05-16T15:54:37.434Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-05-16T15:54:37.434Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-05-16T15:54:37.434Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-05-16T15:54:37.434Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/STF/stf.core/bin [2025-05-16T15:54:37.434Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-05-16T15:54:37.434Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-05-16T15:54:37.434Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar [2025-05-16T15:54:37.434Z] GEN 15:54:36.531 - Using Mode NoOptions. Values = '' [2025-05-16T15:54:37.434Z] GEN 15:54:36.622 - [2025-05-16T15:54:37.434Z] GEN 15:54:36.622 - Test command summary: [2025-05-16T15:54:37.434Z] GEN 15:54:36.622 - Step Stage Command Description [2025-05-16T15:54:37.434Z] GEN 15:54:36.623 - -----+--------+-----------------+------------ [2025-05-16T15:54:37.434Z] GEN 15:54:36.623 - 1 execute jar Create com.hello jar [2025-05-16T15:54:37.434Z] GEN 15:54:36.623 - 2 execute jar Create com.discreet jar [2025-05-16T15:54:37.434Z] GEN 15:54:36.623 - 3 execute jar create java.xml.jar [2025-05-16T15:54:37.434Z] GEN 15:54:36.623 - 4 execute Run java Verify if we can patch an Application module using exploded directoryy [2025-05-16T15:54:37.434Z] GEN 15:54:36.623 - 5 execute Run java Verify if we can Patch an Application module using modular jar [2025-05-16T15:54:37.434Z] STF 15:54:36.640 - [2025-05-16T15:54:37.434Z] STF 15:54:36.640 - Script generation completed [2025-05-16T15:54:37.434Z] STF 15:54:36.640 - [2025-05-16T15:54:37.434Z] STF 15:54:36.640 - [2025-05-16T15:54:37.434Z] STF 15:54:36.640 - ======================= S E T U P ======================= [2025-05-16T15:54:37.434Z] STF 15:54:36.640 - Running setup: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/../TKG/output_17474041337354/PatMod_AppMod_0/20250516-155435-PatModTest/setUp.pl [2025-05-16T15:54:37.434Z] STF 15:54:36.728 - SETUP stage completed [2025-05-16T15:54:37.434Z] STF 15:54:36.738 - [2025-05-16T15:54:37.434Z] STF 15:54:36.738 - ==================== E X E C U T E - ==================== [2025-05-16T15:54:37.434Z] STF 15:54:36.738 - Running execute: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/../TKG/output_17474041337354/PatMod_AppMod_0/20250516-155435-PatModTest/execute.pl [2025-05-16T15:54:37.434Z] STF 15:54:36.826 - [2025-05-16T15:54:37.434Z] STF 15:54:36.826 - Java version [2025-05-16T15:54:37.434Z] STF 15:54:36.826 - Running: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jdkbinary/j2sdk-image/bin/java -version [2025-05-16T15:54:37.434Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T15:54:37.434Z] openjdk version "21.0.8-beta" 2025-07-15 [2025-05-16T15:54:37.434Z] OpenJDK Runtime Environment Temurin-21.0.8+3-202505160834 (build 21.0.8-beta+3-ea) [2025-05-16T15:54:37.434Z] OpenJDK 64-Bit Server VM Temurin-21.0.8+3-202505160834 (build 21.0.8-beta+3-ea, mixed mode) [2025-05-16T15:54:37.434Z] STF 15:54:36.959 - [2025-05-16T15:54:37.434Z] STF 15:54:36.959 - +------ Step 1 - Create com.hello jar [2025-05-16T15:54:37.434Z] STF 15:54:36.959 - | Create modular jar [2025-05-16T15:54:37.434Z] STF 15:54:36.959 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-05-16T15:54:37.434Z] STF 15:54:36.959 - | ModuleVersion: null [2025-05-16T15:54:37.434Z] STF 15:54:36.959 - | MainClass: null [2025-05-16T15:54:37.434Z] STF 15:54:36.959 - | HashModules: null [2025-05-16T15:54:37.434Z] STF 15:54:36.959 - | [2025-05-16T15:54:37.434Z] STF 15:54:36.960 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17474041337354/PatMod_AppMod_0/20250516-155435-PatModTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2025-05-16T15:54:37.434Z] STF 15:54:36.960 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17474041337354/PatMod_AppMod_0/20250516-155435-PatModTest/results/1.CMJ.stderr [2025-05-16T15:54:37.434Z] STF 15:54:36.960 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17474041337354/PatMod_AppMod_0/20250516-155435-PatModTest/results/1.CMJ.stdout [2025-05-16T15:54:37.434Z] STF 15:54:36.980 - Monitoring processes: CMJ [2025-05-16T15:54:37.434Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T15:54:38.210Z] STF 15:54:37.383 - Monitoring Report Summary: [2025-05-16T15:54:38.210Z] STF 15:54:37.383 - o Process CMJ ended with the expected exit code (0) [2025-05-16T15:54:38.210Z] STF 15:54:37.384 - Created modular jar: 1.com.hello.jar [2025-05-16T15:54:38.210Z] STF 15:54:37.384 - [2025-05-16T15:54:38.210Z] STF 15:54:37.384 - +------ Step 2 - Create com.discreet jar [2025-05-16T15:54:38.210Z] STF 15:54:37.384 - | Create modular jar [2025-05-16T15:54:38.210Z] STF 15:54:37.384 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.discreet [2025-05-16T15:54:38.210Z] STF 15:54:37.384 - | ModuleVersion: null [2025-05-16T15:54:38.210Z] STF 15:54:37.384 - | MainClass: null [2025-05-16T15:54:38.210Z] STF 15:54:37.384 - | HashModules: null [2025-05-16T15:54:38.210Z] STF 15:54:37.384 - | [2025-05-16T15:54:38.210Z] STF 15:54:37.384 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17474041337354/PatMod_AppMod_0/20250516-155435-PatModTest/modules/2.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.discreet . [2025-05-16T15:54:38.210Z] STF 15:54:37.384 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17474041337354/PatMod_AppMod_0/20250516-155435-PatModTest/results/2.CMJ.stderr [2025-05-16T15:54:38.210Z] STF 15:54:37.384 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17474041337354/PatMod_AppMod_0/20250516-155435-PatModTest/results/2.CMJ.stdout [2025-05-16T15:54:38.210Z] STF 15:54:37.390 - Monitoring processes: CMJ [2025-05-16T15:54:38.210Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T15:54:38.210Z] STF 15:54:37.788 - Monitoring Report Summary: [2025-05-16T15:54:38.210Z] STF 15:54:37.788 - o Process CMJ ended with the expected exit code (0) [2025-05-16T15:54:38.210Z] STF 15:54:37.788 - Created modular jar: 2.com.discreet.jar [2025-05-16T15:54:38.210Z] STF 15:54:37.788 - [2025-05-16T15:54:38.210Z] STF 15:54:37.788 - +------ Step 3 - create java.xml.jar [2025-05-16T15:54:38.210Z] STF 15:54:37.788 - | Create modular jar [2025-05-16T15:54:38.210Z] STF 15:54:37.788 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-05-16T15:54:38.210Z] STF 15:54:37.788 - | ModuleVersion: null [2025-05-16T15:54:38.210Z] STF 15:54:37.788 - | MainClass: null [2025-05-16T15:54:38.210Z] STF 15:54:37.788 - | HashModules: null [2025-05-16T15:54:38.210Z] STF 15:54:37.788 - | [2025-05-16T15:54:38.210Z] STF 15:54:37.789 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17474041337354/PatMod_AppMod_0/20250516-155435-PatModTest/modules/3.java.xml.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2025-05-16T15:54:38.210Z] STF 15:54:37.789 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17474041337354/PatMod_AppMod_0/20250516-155435-PatModTest/results/3.CMJ.stderr [2025-05-16T15:54:38.210Z] STF 15:54:37.789 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17474041337354/PatMod_AppMod_0/20250516-155435-PatModTest/results/3.CMJ.stdout [2025-05-16T15:54:38.210Z] STF 15:54:37.795 - Monitoring processes: CMJ [2025-05-16T15:54:38.210Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T15:54:38.988Z] STF 15:54:38.197 - Monitoring Report Summary: [2025-05-16T15:54:38.988Z] STF 15:54:38.197 - o Process CMJ ended with the expected exit code (0) [2025-05-16T15:54:38.988Z] STF 15:54:38.197 - Created modular jar: 3.java.xml.jar [2025-05-16T15:54:38.988Z] STF 15:54:38.197 - [2025-05-16T15:54:38.988Z] STF 15:54:38.197 - +------ Step 4 - Verify if we can patch an Application module using exploded directoryy [2025-05-16T15:54:38.988Z] STF 15:54:38.197 - | Run foreground process [2025-05-16T15:54:38.988Z] STF 15:54:38.197 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jdkbinary/j2sdk-image/bin/java [2025-05-16T15:54:38.988Z] STF 15:54:38.197 - | Mnemonic: OT21 [2025-05-16T15:54:38.988Z] STF 15:54:38.197 - | Echo: ECHO_ON [2025-05-16T15:54:38.988Z] STF 15:54:38.197 - | Expectation: CLEAN_RUN within 1m [2025-05-16T15:54:38.988Z] STF 15:54:38.197 - | [2025-05-16T15:54:38.988Z] STF 15:54:38.198 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --add-modules=com.test --patch-module com.hello=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/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 [2025-05-16T15:54:38.988Z] STF 15:54:38.198 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17474041337354/PatMod_AppMod_0/20250516-155435-PatModTest/results/4.OT21.stderr [2025-05-16T15:54:38.988Z] STF 15:54:38.198 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17474041337354/PatMod_AppMod_0/20250516-155435-PatModTest/results/4.OT21.stdout [2025-05-16T15:54:38.988Z] STF 15:54:38.204 - Monitoring processes: OT21 [2025-05-16T15:54:38.988Z] OT21 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T15:54:38.988Z] OT21 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello [2025-05-16T15:54:38.988Z] OT21 JUnit version 4.12 [2025-05-16T15:54:38.988Z] OT21 . [2025-05-16T15:54:38.988Z] OT21 Time: 0.006 [2025-05-16T15:54:38.988Z] OT21 [2025-05-16T15:54:38.988Z] OT21 OK (1 test) [2025-05-16T15:54:38.988Z] OT21 [2025-05-16T15:54:38.988Z] STF 15:54:38.648 - Monitoring Report Summary: [2025-05-16T15:54:38.988Z] STF 15:54:38.648 - o Process OT21 ended with the expected exit code (0) [2025-05-16T15:54:38.988Z] STF 15:54:38.648 - [2025-05-16T15:54:38.988Z] STF 15:54:38.648 - +------ Step 5 - Verify if we can Patch an Application module using modular jar [2025-05-16T15:54:38.988Z] STF 15:54:38.648 - | Run foreground process [2025-05-16T15:54:38.988Z] STF 15:54:38.648 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jdkbinary/j2sdk-image/bin/java [2025-05-16T15:54:38.988Z] STF 15:54:38.648 - | Mnemonic: OT22 [2025-05-16T15:54:38.988Z] STF 15:54:38.648 - | Echo: ECHO_ON [2025-05-16T15:54:38.988Z] STF 15:54:38.648 - | Expectation: CLEAN_RUN within 1m [2025-05-16T15:54:38.988Z] STF 15:54:38.648 - | [2025-05-16T15:54:38.988Z] STF 15:54:38.649 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --add-modules=com.test --patch-module com.hello=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17474041337354/PatMod_AppMod_0/20250516-155435-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 [2025-05-16T15:54:38.988Z] STF 15:54:38.649 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17474041337354/PatMod_AppMod_0/20250516-155435-PatModTest/results/5.OT22.stderr [2025-05-16T15:54:38.988Z] STF 15:54:38.649 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17474041337354/PatMod_AppMod_0/20250516-155435-PatModTest/results/5.OT22.stdout [2025-05-16T15:54:38.988Z] STF 15:54:38.655 - Monitoring processes: OT22 [2025-05-16T15:54:38.988Z] OT22 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T15:54:38.988Z] OT22 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17474041337354/PatMod_AppMod_0/20250516-155435-PatModTest/modules/1.com.hello.jar [2025-05-16T15:54:39.766Z] OT22 JUnit version 4.12 [2025-05-16T15:54:39.766Z] OT22 . [2025-05-16T15:54:39.766Z] OT22 Time: 0.006 [2025-05-16T15:54:39.766Z] OT22 [2025-05-16T15:54:39.766Z] OT22 OK (1 test) [2025-05-16T15:54:39.766Z] OT22 [2025-05-16T15:54:39.766Z] STF 15:54:39.089 - Monitoring Report Summary: [2025-05-16T15:54:39.766Z] STF 15:54:39.089 - o Process OT22 ended with the expected exit code (0) [2025-05-16T15:54:39.766Z] STF 15:54:39.089 - EXECUTE stage completed [2025-05-16T15:54:39.766Z] STF 15:54:39.100 - [2025-05-16T15:54:39.766Z] STF 15:54:39.100 - ==================== T E A R D O W N ==================== [2025-05-16T15:54:39.766Z] STF 15:54:39.100 - Running teardown: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/../TKG/output_17474041337354/PatMod_AppMod_0/20250516-155435-PatModTest/tearDown.pl [2025-05-16T15:54:39.766Z] STF 15:54:39.188 - TEARDOWN stage completed [2025-05-16T15:54:39.766Z] STF 15:54:39.197 - [2025-05-16T15:54:39.766Z] STF 15:54:39.197 - ===================== R E S U L T S ===================== [2025-05-16T15:54:39.766Z] STF 15:54:39.197 - Stage results: [2025-05-16T15:54:39.766Z] STF 15:54:39.197 - setUp: pass [2025-05-16T15:54:39.766Z] STF 15:54:39.197 - execute: pass [2025-05-16T15:54:39.766Z] STF 15:54:39.197 - teardown: pass [2025-05-16T15:54:39.766Z] STF 15:54:39.197 - [2025-05-16T15:54:39.766Z] STF 15:54:39.197 - Overall result: PASSED [2025-05-16T15:54:39.766Z] ----------------------------------- [2025-05-16T15:54:39.766Z] PatMod_AppMod_0_PASSED [2025-05-16T15:54:39.766Z] ----------------------------------- [2025-05-16T15:54:39.766Z] [2025-05-16T15:54:39.766Z] TEST TEARDOWN: [2025-05-16T15:54:39.766Z] Nothing to be done for teardown. [2025-05-16T15:54:39.766Z] PatMod_AppMod_0 Finish Time: Fri May 16 15:54:39 2025 Epoch Time (ms): 1747410879235