PatMod_AppMod_2

[2024-08-28T22:25:54.218Z] Running test PatMod_AppMod_2 ... [2024-08-28T22:25:54.218Z] =============================================== [2024-08-28T22:25:54.218Z] PatMod_AppMod_2 Start Time: Wed Aug 28 22:25:53 2024 Epoch Time (ms): 1724883953957 [2024-08-28T22:25:54.218Z] variation: Mode1000 [2024-08-28T22:25:54.218Z] JVM_OPTIONS: [2024-08-28T22:25:54.218Z] { \ [2024-08-28T22:25:54.219Z] echo ""; echo "TEST SETUP:"; \ [2024-08-28T22:25:54.219Z] echo "Nothing to be done for setup."; \ [2024-08-28T22:25:54.219Z] mkdir -p "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/../TKG/output_17248839108844/PatMod_AppMod_2"; \ [2024-08-28T22:25:54.219Z] cd "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/../TKG/output_17248839108844/PatMod_AppMod_2"; \ [2024-08-28T22:25:54.219Z] echo ""; echo "TESTING:"; \ [2024-08-28T22:25:54.219Z] perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/../../testDependency/system_lib/" -java-args=' ' -results-root="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/../TKG/output_17248839108844/PatMod_AppMod_2" -test=PatModTest -test-args="variant=AppMod"; \ [2024-08-28T22:25:54.219Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatMod_AppMod_2""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/../TKG/output_17248839108844/PatMod_AppMod_2"; else echo "-----------------------------------"; echo "PatMod_AppMod_2""_FAILED"; echo "-----------------------------------"; fi; \ [2024-08-28T22:25:54.219Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-08-28T22:25:54.219Z] echo "Nothing to be done for teardown."; \ [2024-08-28T22:25:54.219Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/../TKG/output_17248839108844/TestTargetResult"; [2024-08-28T22:25:54.219Z] [2024-08-28T22:25:54.219Z] TEST SETUP: [2024-08-28T22:25:54.219Z] Nothing to be done for setup. [2024-08-28T22:25:54.219Z] [2024-08-28T22:25:54.219Z] TESTING: [2024-08-28T22:25:54.219Z] STF 22:25:54.015 - ========================= S T F ========================= [2024-08-28T22:25:54.219Z] 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_arm_linux_testList_1/aqa-tests/TKG/../TKG/output_17248839108844/PatMod_AppMod_2 [2024-08-28T22:25:54.219Z] There is 241633 Mb free [2024-08-28T22:25:54.219Z] STF 22:25:54.025 - ================== G E N E R A T I O N ================== [2024-08-28T22:25:54.219Z] STF 22:25:54.026 - Checking JVM: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/jdkbinary/j2sdk-image [2024-08-28T22:25:54.219Z] STF 22:25:54.026 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/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_arm_linux_testList_1/../../testDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/../../testDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/../TKG/output_17248839108844/PatMod_AppMod_2/20240828-222554-PatModTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/../TKG/output_17248839108844/PatMod_AppMod_2/20240828-222554-PatModTest" [2024-08-28T22:25:54.219Z] GEN stderr OpenJDK 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-08-28T22:25:54.976Z] GEN 22:25:54.800 - Found test. Project: 'openjdk.test.modularity' class: 'PatModTest.class' Dir: '/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2024-08-28T22:25:54.977Z] GEN 22:25:54.809 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModTest' [2024-08-28T22:25:55.736Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-08-28T22:25:55.736Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2024-08-28T22:25:55.736Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2024-08-28T22:25:55.736Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2024-08-28T22:25:55.736Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2024-08-28T22:25:55.736Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2024-08-28T22:25:55.736Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2024-08-28T22:25:55.736Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2024-08-28T22:25:55.736Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2024-08-28T22:25:55.736Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2024-08-28T22:25:55.736Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2024-08-28T22:25:55.736Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2024-08-28T22:25:55.736Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2024-08-28T22:25:55.736Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2024-08-28T22:25:55.736Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2024-08-28T22:25:55.736Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2024-08-28T22:25:55.736Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/jvmtest/system/STF/stf.core/bin [2024-08-28T22:25:55.736Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-08-28T22:25:55.736Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-08-28T22:25:55.736Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar [2024-08-28T22:25:55.736Z] GEN 22:25:54.966 - Using Mode NoOptions. Values = '' [2024-08-28T22:25:55.736Z] GEN 22:25:55.044 - [2024-08-28T22:25:55.736Z] GEN 22:25:55.044 - Test command summary: [2024-08-28T22:25:55.736Z] GEN 22:25:55.045 - Step Stage Command Description [2024-08-28T22:25:55.736Z] GEN 22:25:55.045 - -----+--------+-----------------+------------ [2024-08-28T22:25:55.736Z] GEN 22:25:55.045 - 1 execute jar Create com.hello jar [2024-08-28T22:25:55.736Z] GEN 22:25:55.045 - 2 execute jar Create com.discreet jar [2024-08-28T22:25:55.736Z] GEN 22:25:55.045 - 3 execute jar create java.xml.jar [2024-08-28T22:25:55.736Z] GEN 22:25:55.045 - 4 execute Run java Verify if we can patch an Application module using exploded directoryy [2024-08-28T22:25:55.736Z] GEN 22:25:55.045 - 5 execute Run java Verify if we can Patch an Application module using modular jar [2024-08-28T22:25:55.736Z] STF 22:25:55.067 - [2024-08-28T22:25:55.736Z] STF 22:25:55.067 - Script generation completed [2024-08-28T22:25:55.736Z] STF 22:25:55.067 - [2024-08-28T22:25:55.736Z] STF 22:25:55.067 - [2024-08-28T22:25:55.736Z] STF 22:25:55.067 - ======================= S E T U P ======================= [2024-08-28T22:25:55.736Z] STF 22:25:55.067 - Running setup: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/../TKG/output_17248839108844/PatMod_AppMod_2/20240828-222554-PatModTest/setUp.pl [2024-08-28T22:25:55.736Z] STF 22:25:55.114 - SETUP stage completed [2024-08-28T22:25:55.736Z] STF 22:25:55.122 - [2024-08-28T22:25:55.736Z] STF 22:25:55.122 - ==================== E X E C U T E - ==================== [2024-08-28T22:25:55.736Z] STF 22:25:55.122 - Running execute: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/../TKG/output_17248839108844/PatMod_AppMod_2/20240828-222554-PatModTest/execute.pl [2024-08-28T22:25:55.736Z] STF 22:25:55.167 - [2024-08-28T22:25:55.736Z] STF 22:25:55.167 - Java version [2024-08-28T22:25:55.736Z] STF 22:25:55.167 - Running: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-08-28T22:25:55.736Z] openjdk version "17.0.13-beta" 2024-10-15 [2024-08-28T22:25:55.736Z] OpenJDK Runtime Environment Temurin-17.0.13+5-202408281937 (build 17.0.13-beta+5-ea) [2024-08-28T22:25:55.736Z] OpenJDK Server VM Temurin-17.0.13+5-202408281937 (build 17.0.13-beta+5-ea, mixed mode, sharing) [2024-08-28T22:25:55.736Z] STF 22:25:55.231 - [2024-08-28T22:25:55.736Z] STF 22:25:55.231 - +------ Step 1 - Create com.hello jar [2024-08-28T22:25:55.736Z] STF 22:25:55.231 - | Create modular jar [2024-08-28T22:25:55.736Z] STF 22:25:55.231 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-08-28T22:25:55.736Z] STF 22:25:55.231 - | ModuleVersion: null [2024-08-28T22:25:55.736Z] STF 22:25:55.231 - | MainClass: null [2024-08-28T22:25:55.736Z] STF 22:25:55.231 - | HashModules: null [2024-08-28T22:25:55.736Z] STF 22:25:55.231 - | [2024-08-28T22:25:55.736Z] STF 22:25:55.232 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_17248839108844/PatMod_AppMod_2/20240828-222554-PatModTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2024-08-28T22:25:55.736Z] STF 22:25:55.232 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_17248839108844/PatMod_AppMod_2/20240828-222554-PatModTest/results/1.CMJ.stderr [2024-08-28T22:25:55.736Z] STF 22:25:55.232 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_17248839108844/PatMod_AppMod_2/20240828-222554-PatModTest/results/1.CMJ.stdout [2024-08-28T22:25:55.736Z] STF 22:25:55.242 - Monitoring processes: CMJ [2024-08-28T22:25:55.736Z] STF 22:25:55.427 - Monitoring Report Summary: [2024-08-28T22:25:55.736Z] STF 22:25:55.427 - o Process CMJ ended with the expected exit code (0) [2024-08-28T22:25:55.736Z] STF 22:25:55.427 - Created modular jar: 1.com.hello.jar [2024-08-28T22:25:55.736Z] STF 22:25:55.427 - [2024-08-28T22:25:55.736Z] STF 22:25:55.427 - +------ Step 2 - Create com.discreet jar [2024-08-28T22:25:55.736Z] STF 22:25:55.427 - | Create modular jar [2024-08-28T22:25:55.736Z] STF 22:25:55.427 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.discreet [2024-08-28T22:25:55.736Z] STF 22:25:55.427 - | ModuleVersion: null [2024-08-28T22:25:55.736Z] STF 22:25:55.427 - | MainClass: null [2024-08-28T22:25:55.736Z] STF 22:25:55.427 - | HashModules: null [2024-08-28T22:25:55.736Z] STF 22:25:55.427 - | [2024-08-28T22:25:55.736Z] STF 22:25:55.427 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_17248839108844/PatMod_AppMod_2/20240828-222554-PatModTest/modules/2.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.discreet . [2024-08-28T22:25:55.736Z] STF 22:25:55.427 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_17248839108844/PatMod_AppMod_2/20240828-222554-PatModTest/results/2.CMJ.stderr [2024-08-28T22:25:55.736Z] STF 22:25:55.427 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_17248839108844/PatMod_AppMod_2/20240828-222554-PatModTest/results/2.CMJ.stdout [2024-08-28T22:25:55.736Z] STF 22:25:55.428 - Monitoring processes: CMJ [2024-08-28T22:25:55.736Z] STF 22:25:55.624 - Monitoring Report Summary: [2024-08-28T22:25:55.736Z] STF 22:25:55.624 - o Process CMJ ended with the expected exit code (0) [2024-08-28T22:25:55.736Z] STF 22:25:55.624 - Created modular jar: 2.com.discreet.jar [2024-08-28T22:25:55.736Z] STF 22:25:55.624 - [2024-08-28T22:25:55.736Z] STF 22:25:55.624 - +------ Step 3 - create java.xml.jar [2024-08-28T22:25:55.736Z] STF 22:25:55.624 - | Create modular jar [2024-08-28T22:25:55.736Z] STF 22:25:55.625 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2024-08-28T22:25:55.736Z] STF 22:25:55.625 - | ModuleVersion: null [2024-08-28T22:25:55.736Z] STF 22:25:55.625 - | MainClass: null [2024-08-28T22:25:55.736Z] STF 22:25:55.625 - | HashModules: null [2024-08-28T22:25:55.736Z] STF 22:25:55.625 - | [2024-08-28T22:25:55.736Z] STF 22:25:55.625 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_17248839108844/PatMod_AppMod_2/20240828-222554-PatModTest/modules/3.java.xml.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2024-08-28T22:25:55.736Z] STF 22:25:55.625 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_17248839108844/PatMod_AppMod_2/20240828-222554-PatModTest/results/3.CMJ.stderr [2024-08-28T22:25:55.736Z] STF 22:25:55.625 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_17248839108844/PatMod_AppMod_2/20240828-222554-PatModTest/results/3.CMJ.stdout [2024-08-28T22:25:55.736Z] STF 22:25:55.627 - Monitoring processes: CMJ [2024-08-28T22:25:56.493Z] STF 22:25:55.855 - Monitoring Report Summary: [2024-08-28T22:25:56.493Z] STF 22:25:55.855 - o Process CMJ ended with the expected exit code (0) [2024-08-28T22:25:56.493Z] STF 22:25:55.855 - Created modular jar: 3.java.xml.jar [2024-08-28T22:25:56.493Z] STF 22:25:55.855 - [2024-08-28T22:25:56.493Z] STF 22:25:55.855 - +------ Step 4 - Verify if we can patch an Application module using exploded directoryy [2024-08-28T22:25:56.493Z] STF 22:25:55.855 - | Run foreground process [2024-08-28T22:25:56.493Z] STF 22:25:55.855 - | Program: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/jdkbinary/j2sdk-image/bin/java [2024-08-28T22:25:56.493Z] STF 22:25:55.855 - | Mnemonic: OT21 [2024-08-28T22:25:56.493Z] STF 22:25:55.855 - | Echo: ECHO_ON [2024-08-28T22:25:56.493Z] STF 22:25:55.855 - | Expectation: CLEAN_RUN within 1m [2024-08-28T22:25:56.493Z] STF 22:25:55.855 - | [2024-08-28T22:25:56.493Z] STF 22:25:55.856 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/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_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello -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-08-28T22:25:56.493Z] STF 22:25:55.856 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_17248839108844/PatMod_AppMod_2/20240828-222554-PatModTest/results/4.OT21.stderr [2024-08-28T22:25:56.493Z] STF 22:25:55.856 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_17248839108844/PatMod_AppMod_2/20240828-222554-PatModTest/results/4.OT21.stdout [2024-08-28T22:25:56.493Z] STF 22:25:55.858 - Monitoring processes: OT21 [2024-08-28T22:25:56.493Z] OT21 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello [2024-08-28T22:25:56.493Z] OT21 JUnit version 4.12 [2024-08-28T22:25:56.493Z] OT21 . [2024-08-28T22:25:56.493Z] OT21 Time: 0.005 [2024-08-28T22:25:56.493Z] OT21 [2024-08-28T22:25:56.493Z] OT21 OK (1 test) [2024-08-28T22:25:56.493Z] OT21 [2024-08-28T22:25:56.493Z] STF 22:25:56.187 - Monitoring Report Summary: [2024-08-28T22:25:56.493Z] STF 22:25:56.188 - o Process OT21 ended with the expected exit code (0) [2024-08-28T22:25:56.493Z] STF 22:25:56.188 - [2024-08-28T22:25:56.493Z] STF 22:25:56.188 - +------ Step 5 - Verify if we can Patch an Application module using modular jar [2024-08-28T22:25:56.493Z] STF 22:25:56.188 - | Run foreground process [2024-08-28T22:25:56.493Z] STF 22:25:56.188 - | Program: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/jdkbinary/j2sdk-image/bin/java [2024-08-28T22:25:56.493Z] STF 22:25:56.188 - | Mnemonic: OT22 [2024-08-28T22:25:56.493Z] STF 22:25:56.188 - | Echo: ECHO_ON [2024-08-28T22:25:56.493Z] STF 22:25:56.188 - | Expectation: CLEAN_RUN within 1m [2024-08-28T22:25:56.493Z] STF 22:25:56.188 - | [2024-08-28T22:25:56.493Z] STF 22:25:56.188 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/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_arm_linux_testList_1/aqa-tests/TKG/output_17248839108844/PatMod_AppMod_2/20240828-222554-PatModTest/modules/1.com.hello.jar -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-08-28T22:25:56.493Z] STF 22:25:56.189 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_17248839108844/PatMod_AppMod_2/20240828-222554-PatModTest/results/5.OT22.stderr [2024-08-28T22:25:56.493Z] STF 22:25:56.189 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_17248839108844/PatMod_AppMod_2/20240828-222554-PatModTest/results/5.OT22.stdout [2024-08-28T22:25:56.493Z] STF 22:25:56.190 - Monitoring processes: OT22 [2024-08-28T22:25:56.493Z] OT22 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_17248839108844/PatMod_AppMod_2/20240828-222554-PatModTest/modules/1.com.hello.jar [2024-08-28T22:25:56.493Z] OT22 JUnit version 4.12 [2024-08-28T22:25:57.249Z] OT22 . [2024-08-28T22:25:57.249Z] OT22 Time: 0.005 [2024-08-28T22:25:57.249Z] OT22 [2024-08-28T22:25:57.249Z] OT22 OK (1 test) [2024-08-28T22:25:57.249Z] OT22 [2024-08-28T22:25:57.249Z] STF 22:25:56.525 - Monitoring Report Summary: [2024-08-28T22:25:57.249Z] STF 22:25:56.525 - o Process OT22 ended with the expected exit code (0) [2024-08-28T22:25:57.249Z] STF 22:25:56.525 - EXECUTE stage completed [2024-08-28T22:25:57.249Z] STF 22:25:56.531 - [2024-08-28T22:25:57.249Z] STF 22:25:56.531 - ==================== T E A R D O W N ==================== [2024-08-28T22:25:57.249Z] STF 22:25:56.531 - Running teardown: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/../TKG/output_17248839108844/PatMod_AppMod_2/20240828-222554-PatModTest/tearDown.pl [2024-08-28T22:25:57.249Z] STF 22:25:56.577 - TEARDOWN stage completed [2024-08-28T22:25:57.249Z] STF 22:25:56.580 - [2024-08-28T22:25:57.249Z] STF 22:25:56.580 - ===================== R E S U L T S ===================== [2024-08-28T22:25:57.249Z] STF 22:25:56.580 - Stage results: [2024-08-28T22:25:57.249Z] STF 22:25:56.580 - setUp: pass [2024-08-28T22:25:57.249Z] STF 22:25:56.580 - execute: pass [2024-08-28T22:25:57.249Z] STF 22:25:56.580 - teardown: pass [2024-08-28T22:25:57.249Z] STF 22:25:56.580 - [2024-08-28T22:25:57.249Z] STF 22:25:56.580 - Overall result: PASSED [2024-08-28T22:25:57.249Z] ----------------------------------- [2024-08-28T22:25:57.249Z] PatMod_AppMod_2_PASSED [2024-08-28T22:25:57.249Z] ----------------------------------- [2024-08-28T22:25:57.249Z] [2024-08-28T22:25:57.249Z] TEST TEARDOWN: [2024-08-28T22:25:57.249Z] Nothing to be done for teardown. [2024-08-28T22:25:57.249Z] PatMod_AppMod_2 Finish Time: Wed Aug 28 22:25:56 2024 Epoch Time (ms): 1724883956598