PatModImg_AppMod_1

[2024-08-14T22:43:08.767Z] Running test PatModImg_AppMod_1 ... [2024-08-14T22:43:08.767Z] =============================================== [2024-08-14T22:43:08.767Z] PatModImg_AppMod_1 Start Time: Wed Aug 14 22:43:08 2024 Epoch Time (ms): 1723675388586 [2024-08-14T22:43:08.767Z] variation: Mode650 [2024-08-14T22:43:08.767Z] JVM_OPTIONS: -XX:-UseCompressedOops [2024-08-14T22:43:08.767Z] { \ [2024-08-14T22:43:08.767Z] echo ""; echo "TEST SETUP:"; \ [2024-08-14T22:43:08.767Z] echo "Nothing to be done for setup."; \ [2024-08-14T22:43:08.767Z] mkdir -p "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/../TKG/output_17236690207348/PatModImg_AppMod_1"; \ [2024-08-14T22:43:08.767Z] cd "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/../TKG/output_17236690207348/PatModImg_AppMod_1"; \ [2024-08-14T22:43:08.767Z] echo ""; echo "TESTING:"; \ [2024-08-14T22:43:08.767Z] perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/../../testDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/../TKG/output_17236690207348/PatModImg_AppMod_1" -test=PatModImgTest -test-args="variant=AppMod"; \ [2024-08-14T22:43:08.767Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_1""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/../TKG/output_17236690207348/PatModImg_AppMod_1"; else echo "-----------------------------------"; echo "PatModImg_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2024-08-14T22:43:08.767Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-08-14T22:43:08.767Z] echo "Nothing to be done for teardown."; \ [2024-08-14T22:43:08.767Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/../TKG/output_17236690207348/TestTargetResult"; [2024-08-14T22:43:08.767Z] [2024-08-14T22:43:08.767Z] TEST SETUP: [2024-08-14T22:43:08.767Z] Nothing to be done for setup. [2024-08-14T22:43:08.767Z] [2024-08-14T22:43:08.767Z] TESTING: [2024-08-14T22:43:09.113Z] STF 22:43:08.920 - ========================= S T F ========================= [2024-08-14T22:43:09.113Z] systemtest-prereqs has been processed, and set to: /home/jenkins/testDependency/system_libRetrieving amount of free space on drive containing /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/../TKG/output_17236690207348/PatModImg_AppMod_1 [2024-08-14T22:43:09.113Z] There is 110311 Mb free [2024-08-14T22:43:09.113Z] STF 22:43:08.930 - ================== G E N E R A T I O N ================== [2024-08-14T22:43:09.113Z] STF 22:43:08.931 - Checking JVM: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/jdkbinary/j2sdk-image [2024-08-14T22:43:09.113Z] STF 22:43:08.932 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_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_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/../../testDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/../../testDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/../TKG/output_17236690207348/PatModImg_AppMod_1/20240814-224308-PatModImgTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/../TKG/output_17236690207348/PatModImg_AppMod_1/20240814-224308-PatModImgTest" [2024-08-14T22:43:15.127Z] GEN 22:43:14.581 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2024-08-14T22:43:15.127Z] GEN 22:43:14.626 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2024-08-14T22:43:15.483Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-08-14T22:43:15.483Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2024-08-14T22:43:15.483Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2024-08-14T22:43:15.483Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2024-08-14T22:43:15.483Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2024-08-14T22:43:15.483Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2024-08-14T22:43:15.483Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2024-08-14T22:43:15.483Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2024-08-14T22:43:15.483Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2024-08-14T22:43:15.483Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2024-08-14T22:43:15.483Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2024-08-14T22:43:15.483Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2024-08-14T22:43:15.483Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2024-08-14T22:43:15.483Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2024-08-14T22:43:15.483Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2024-08-14T22:43:15.483Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2024-08-14T22:43:15.483Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/jvmtest/system/STF/stf.core/bin [2024-08-14T22:43:15.483Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-08-14T22:43:15.483Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-08-14T22:43:15.483Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar [2024-08-14T22:43:16.218Z] GEN 22:43:15.974 - Using Mode NoOptions. Values = '' [2024-08-14T22:43:16.941Z] GEN 22:43:16.859 - [2024-08-14T22:43:16.941Z] GEN 22:43:16.859 - Test command summary: [2024-08-14T22:43:16.941Z] GEN 22:43:16.860 - Step Stage Command Description [2024-08-14T22:43:16.941Z] GEN 22:43:16.876 - -----+--------+-----------------+------------ [2024-08-14T22:43:16.941Z] GEN 22:43:16.877 - 1 execute jar Create com.hello jar [2024-08-14T22:43:16.941Z] GEN 22:43:16.877 - 2 execute jar Create com.hola jar [2024-08-14T22:43:16.941Z] GEN 22:43:16.877 - 3 execute jar Create com.helper jar [2024-08-14T22:43:16.941Z] GEN 22:43:16.877 - 4 execute jar Create com.discreet jar [2024-08-14T22:43:16.941Z] GEN 22:43:16.877 - 5 execute jar Create tests jar [2024-08-14T22:43:16.941Z] GEN 22:43:16.877 - 6 execute jlink Create runtime image for PatchModule test [2024-08-14T22:43:16.941Z] GEN 22:43:16.877 - 7 execute jar Create com.hello jar [2024-08-14T22:43:16.941Z] GEN 22:43:16.877 - 8 execute jar create java.xml.jar [2024-08-14T22:43:16.941Z] GEN 22:43:16.877 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2024-08-14T22:43:16.941Z] GEN 22:43:16.877 - 10 execute Run java Verify if we can patch an Application module using modular jar [2024-08-14T22:43:17.276Z] STF 22:43:16.963 - [2024-08-14T22:43:17.276Z] STF 22:43:16.964 - Script generation completed [2024-08-14T22:43:17.276Z] STF 22:43:16.964 - [2024-08-14T22:43:17.276Z] STF 22:43:16.964 - [2024-08-14T22:43:17.276Z] STF 22:43:16.964 - ======================= S E T U P ======================= [2024-08-14T22:43:17.276Z] STF 22:43:16.964 - Running setup: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/../TKG/output_17236690207348/PatModImg_AppMod_1/20240814-224308-PatModImgTest/setUp.pl [2024-08-14T22:43:17.276Z] STF 22:43:17.184 - SETUP stage completed [2024-08-14T22:43:17.276Z] STF 22:43:17.191 - [2024-08-14T22:43:17.276Z] STF 22:43:17.191 - ==================== E X E C U T E - ==================== [2024-08-14T22:43:17.276Z] STF 22:43:17.191 - Running execute: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/../TKG/output_17236690207348/PatModImg_AppMod_1/20240814-224308-PatModImgTest/execute.pl [2024-08-14T22:43:17.626Z] STF 22:43:17.456 - [2024-08-14T22:43:17.626Z] STF 22:43:17.456 - Java version [2024-08-14T22:43:17.626Z] STF 22:43:17.456 - Running: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-08-14T22:43:18.349Z] openjdk version "11.0.25-beta" 2024-10-15 [2024-08-14T22:43:18.349Z] OpenJDK Runtime Environment Temurin-11.0.25+3-202408142005 (build 11.0.25-beta+3-ea) [2024-08-14T22:43:18.349Z] OpenJDK 64-Bit Server VM Temurin-11.0.25+3-202408142005 (build 11.0.25-beta+3-ea, mixed mode) [2024-08-14T22:43:18.349Z] STF 22:43:18.073 - [2024-08-14T22:43:18.349Z] STF 22:43:18.073 - +------ Step 1 - Create com.hello jar [2024-08-14T22:43:18.349Z] STF 22:43:18.073 - | Create modular jar [2024-08-14T22:43:18.349Z] STF 22:43:18.073 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-08-14T22:43:18.349Z] STF 22:43:18.073 - | ModuleVersion: null [2024-08-14T22:43:18.349Z] STF 22:43:18.073 - | MainClass: null [2024-08-14T22:43:18.349Z] STF 22:43:18.073 - | HashModules: null [2024-08-14T22:43:18.349Z] STF 22:43:18.073 - | [2024-08-14T22:43:18.349Z] STF 22:43:18.074 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/output_17236690207348/PatModImg_AppMod_1/20240814-224308-PatModImgTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2024-08-14T22:43:18.350Z] STF 22:43:18.074 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/output_17236690207348/PatModImg_AppMod_1/20240814-224308-PatModImgTest/results/1.CMJ.stderr [2024-08-14T22:43:18.350Z] STF 22:43:18.074 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/output_17236690207348/PatModImg_AppMod_1/20240814-224308-PatModImgTest/results/1.CMJ.stdout [2024-08-14T22:43:18.350Z] STF 22:43:18.113 - Monitoring processes: CMJ [2024-08-14T22:43:19.478Z] STF 22:43:19.179 - Monitoring Report Summary: [2024-08-14T22:43:19.478Z] STF 22:43:19.179 - o Process CMJ ended with the expected exit code (0) [2024-08-14T22:43:19.478Z] STF 22:43:19.179 - Created modular jar: 1.com.hello.jar [2024-08-14T22:43:19.478Z] STF 22:43:19.179 - [2024-08-14T22:43:19.478Z] STF 22:43:19.179 - +------ Step 2 - Create com.hola jar [2024-08-14T22:43:19.478Z] STF 22:43:19.179 - | Create modular jar [2024-08-14T22:43:19.478Z] STF 22:43:19.179 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-08-14T22:43:19.478Z] STF 22:43:19.179 - | ModuleVersion: null [2024-08-14T22:43:19.478Z] STF 22:43:19.179 - | MainClass: null [2024-08-14T22:43:19.478Z] STF 22:43:19.179 - | HashModules: null [2024-08-14T22:43:19.478Z] STF 22:43:19.179 - | [2024-08-14T22:43:19.478Z] STF 22:43:19.180 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/output_17236690207348/PatModImg_AppMod_1/20240814-224308-PatModImgTest/modules/2.com.hola.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2024-08-14T22:43:19.478Z] STF 22:43:19.180 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/output_17236690207348/PatModImg_AppMod_1/20240814-224308-PatModImgTest/results/2.CMJ.stderr [2024-08-14T22:43:19.478Z] STF 22:43:19.180 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/output_17236690207348/PatModImg_AppMod_1/20240814-224308-PatModImgTest/results/2.CMJ.stdout [2024-08-14T22:43:19.478Z] STF 22:43:19.181 - Monitoring processes: CMJ [2024-08-14T22:43:20.635Z] STF 22:43:20.245 - Monitoring Report Summary: [2024-08-14T22:43:20.635Z] STF 22:43:20.245 - o Process CMJ ended with the expected exit code (0) [2024-08-14T22:43:20.635Z] STF 22:43:20.245 - Created modular jar: 2.com.hola.jar [2024-08-14T22:43:20.635Z] STF 22:43:20.245 - [2024-08-14T22:43:20.635Z] STF 22:43:20.245 - +------ Step 3 - Create com.helper jar [2024-08-14T22:43:20.635Z] STF 22:43:20.245 - | Create modular jar [2024-08-14T22:43:20.635Z] STF 22:43:20.245 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-08-14T22:43:20.635Z] STF 22:43:20.245 - | ModuleVersion: null [2024-08-14T22:43:20.635Z] STF 22:43:20.245 - | MainClass: null [2024-08-14T22:43:20.635Z] STF 22:43:20.245 - | HashModules: null [2024-08-14T22:43:20.635Z] STF 22:43:20.245 - | [2024-08-14T22:43:20.635Z] STF 22:43:20.246 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/output_17236690207348/PatModImg_AppMod_1/20240814-224308-PatModImgTest/modules/3.com.helper.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2024-08-14T22:43:20.635Z] STF 22:43:20.246 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/output_17236690207348/PatModImg_AppMod_1/20240814-224308-PatModImgTest/results/3.CMJ.stderr [2024-08-14T22:43:20.635Z] STF 22:43:20.246 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/output_17236690207348/PatModImg_AppMod_1/20240814-224308-PatModImgTest/results/3.CMJ.stdout [2024-08-14T22:43:20.635Z] STF 22:43:20.247 - Monitoring processes: CMJ [2024-08-14T22:43:21.843Z] STF 22:43:21.366 - Monitoring Report Summary: [2024-08-14T22:43:21.843Z] STF 22:43:21.366 - o Process CMJ ended with the expected exit code (0) [2024-08-14T22:43:21.843Z] STF 22:43:21.367 - Created modular jar: 3.com.helper.jar [2024-08-14T22:43:21.843Z] STF 22:43:21.367 - [2024-08-14T22:43:21.843Z] STF 22:43:21.367 - +------ Step 4 - Create com.discreet jar [2024-08-14T22:43:21.843Z] STF 22:43:21.367 - | Create modular jar [2024-08-14T22:43:21.843Z] STF 22:43:21.367 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-08-14T22:43:21.843Z] STF 22:43:21.367 - | ModuleVersion: null [2024-08-14T22:43:21.843Z] STF 22:43:21.367 - | MainClass: null [2024-08-14T22:43:21.843Z] STF 22:43:21.367 - | HashModules: null [2024-08-14T22:43:21.843Z] STF 22:43:21.367 - | [2024-08-14T22:43:21.843Z] STF 22:43:21.367 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/output_17236690207348/PatModImg_AppMod_1/20240814-224308-PatModImgTest/modules/4.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2024-08-14T22:43:21.843Z] STF 22:43:21.367 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/output_17236690207348/PatModImg_AppMod_1/20240814-224308-PatModImgTest/results/4.CMJ.stderr [2024-08-14T22:43:21.843Z] STF 22:43:21.367 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/output_17236690207348/PatModImg_AppMod_1/20240814-224308-PatModImgTest/results/4.CMJ.stdout [2024-08-14T22:43:21.843Z] STF 22:43:21.376 - Monitoring processes: CMJ [2024-08-14T22:43:22.583Z] STF 22:43:22.413 - Monitoring Report Summary: [2024-08-14T22:43:22.583Z] STF 22:43:22.413 - o Process CMJ ended with the expected exit code (0) [2024-08-14T22:43:22.583Z] STF 22:43:22.413 - Created modular jar: 4.com.discreet.jar [2024-08-14T22:43:22.583Z] STF 22:43:22.413 - [2024-08-14T22:43:22.583Z] STF 22:43:22.413 - +------ Step 5 - Create tests jar [2024-08-14T22:43:22.583Z] STF 22:43:22.413 - | Create modular jar [2024-08-14T22:43:22.583Z] STF 22:43:22.413 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-08-14T22:43:22.583Z] STF 22:43:22.413 - | ModuleVersion: null [2024-08-14T22:43:22.583Z] STF 22:43:22.414 - | MainClass: null [2024-08-14T22:43:22.583Z] STF 22:43:22.414 - | HashModules: null [2024-08-14T22:43:22.583Z] STF 22:43:22.414 - | [2024-08-14T22:43:22.583Z] STF 22:43:22.414 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/output_17236690207348/PatModImg_AppMod_1/20240814-224308-PatModImgTest/modules/5.com.test.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2024-08-14T22:43:22.583Z] STF 22:43:22.414 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/output_17236690207348/PatModImg_AppMod_1/20240814-224308-PatModImgTest/results/5.CMJ.stderr [2024-08-14T22:43:22.583Z] STF 22:43:22.414 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/output_17236690207348/PatModImg_AppMod_1/20240814-224308-PatModImgTest/results/5.CMJ.stdout [2024-08-14T22:43:22.583Z] STF 22:43:22.415 - Monitoring processes: CMJ [2024-08-14T22:43:23.748Z] STF 22:43:23.380 - Monitoring Report Summary: [2024-08-14T22:43:23.748Z] STF 22:43:23.380 - o Process CMJ ended with the expected exit code (0) [2024-08-14T22:43:23.748Z] STF 22:43:23.380 - Created modular jar: 5.com.test.jar [2024-08-14T22:43:23.748Z] STF 22:43:23.380 - [2024-08-14T22:43:23.748Z] STF 22:43:23.380 - +------ Step 6 - Create runtime image for PatchModule test [2024-08-14T22:43:23.748Z] STF 22:43:23.380 - | Run jlink to create runtime image [2024-08-14T22:43:23.748Z] STF 22:43:23.380 - | ImageName: XpJVM [2024-08-14T22:43:23.748Z] STF 22:43:23.380 - | [2024-08-14T22:43:23.748Z] STF 22:43:23.381 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/output_17236690207348/PatModImg_AppMod_1/20240814-224308-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/output_17236690207348/PatModImg_AppMod_1/20240814-224308-PatModImgTest/tmp/6.XpJVM [2024-08-14T22:43:23.748Z] STF 22:43:23.381 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/output_17236690207348/PatModImg_AppMod_1/20240814-224308-PatModImgTest/results/6.JLNK.stderr [2024-08-14T22:43:23.748Z] STF 22:43:23.381 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/output_17236690207348/PatModImg_AppMod_1/20240814-224308-PatModImgTest/results/6.JLNK.stdout [2024-08-14T22:43:23.748Z] STF 22:43:23.382 - Monitoring processes: JLNK [2024-08-14T22:43:43.040Z] STF 22:43:40.783 - Monitoring Report Summary: [2024-08-14T22:43:43.040Z] STF 22:43:40.784 - o Process JLNK ended with the expected exit code (0) [2024-08-14T22:43:43.040Z] STF 22:43:40.784 - [2024-08-14T22:43:43.040Z] STF 22:43:40.784 - +------ Step 7 - Create com.hello jar [2024-08-14T22:43:43.040Z] STF 22:43:40.784 - | Create modular jar [2024-08-14T22:43:43.040Z] STF 22:43:40.784 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-08-14T22:43:43.040Z] STF 22:43:40.784 - | ModuleVersion: null [2024-08-14T22:43:43.040Z] STF 22:43:40.784 - | MainClass: null [2024-08-14T22:43:43.040Z] STF 22:43:40.784 - | HashModules: null [2024-08-14T22:43:43.040Z] STF 22:43:40.784 - | [2024-08-14T22:43:43.040Z] STF 22:43:40.784 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/output_17236690207348/PatModImg_AppMod_1/20240814-224308-PatModImgTest/modules/7.com.hello.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2024-08-14T22:43:43.040Z] STF 22:43:40.785 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/output_17236690207348/PatModImg_AppMod_1/20240814-224308-PatModImgTest/results/7.CMJ.stderr [2024-08-14T22:43:43.040Z] STF 22:43:40.785 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/output_17236690207348/PatModImg_AppMod_1/20240814-224308-PatModImgTest/results/7.CMJ.stdout [2024-08-14T22:43:43.040Z] STF 22:43:40.786 - Monitoring processes: CMJ [2024-08-14T22:43:43.040Z] STF 22:43:42.122 - Monitoring Report Summary: [2024-08-14T22:43:43.040Z] STF 22:43:42.123 - o Process CMJ ended with the expected exit code (0) [2024-08-14T22:43:43.040Z] STF 22:43:42.123 - Created modular jar: 7.com.hello.jar [2024-08-14T22:43:43.040Z] STF 22:43:42.123 - [2024-08-14T22:43:43.040Z] STF 22:43:42.123 - +------ Step 8 - create java.xml.jar [2024-08-14T22:43:43.040Z] STF 22:43:42.123 - | Create modular jar [2024-08-14T22:43:43.040Z] STF 22:43:42.123 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2024-08-14T22:43:43.040Z] STF 22:43:42.123 - | ModuleVersion: null [2024-08-14T22:43:43.040Z] STF 22:43:42.123 - | MainClass: null [2024-08-14T22:43:43.040Z] STF 22:43:42.123 - | HashModules: null [2024-08-14T22:43:43.040Z] STF 22:43:42.123 - | [2024-08-14T22:43:43.040Z] STF 22:43:42.123 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/output_17236690207348/PatModImg_AppMod_1/20240814-224308-PatModImgTest/modules/8.java.xml.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2024-08-14T22:43:43.040Z] STF 22:43:42.124 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/output_17236690207348/PatModImg_AppMod_1/20240814-224308-PatModImgTest/results/8.CMJ.stderr [2024-08-14T22:43:43.040Z] STF 22:43:42.124 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/output_17236690207348/PatModImg_AppMod_1/20240814-224308-PatModImgTest/results/8.CMJ.stdout [2024-08-14T22:43:43.040Z] STF 22:43:42.125 - Monitoring processes: CMJ [2024-08-14T22:43:43.790Z] STF 22:43:43.168 - Monitoring Report Summary: [2024-08-14T22:43:43.790Z] STF 22:43:43.168 - o Process CMJ ended with the expected exit code (0) [2024-08-14T22:43:43.790Z] STF 22:43:43.168 - Created modular jar: 8.java.xml.jar [2024-08-14T22:43:43.790Z] STF 22:43:43.168 - [2024-08-14T22:43:43.790Z] STF 22:43:43.168 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2024-08-14T22:43:43.790Z] STF 22:43:43.168 - | Run foreground process [2024-08-14T22:43:43.790Z] STF 22:43:43.168 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/output_17236690207348/PatModImg_AppMod_1/20240814-224308-PatModImgTest/tmp/6.XpJVM/bin/java [2024-08-14T22:43:43.790Z] STF 22:43:43.169 - | Mnemonic: OT21 [2024-08-14T22:43:43.790Z] STF 22:43:43.169 - | Echo: ECHO_ON [2024-08-14T22:43:43.790Z] STF 22:43:43.169 - | Expectation: CLEAN_RUN within 5m [2024-08-14T22:43:43.790Z] STF 22:43:43.169 - | [2024-08-14T22:43:43.790Z] STF 22:43:43.169 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/output_17236690207348/PatModImg_AppMod_1/20240814-224308-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/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-08-14T22:43:43.790Z] STF 22:43:43.169 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/output_17236690207348/PatModImg_AppMod_1/20240814-224308-PatModImgTest/results/9.OT21.stderr [2024-08-14T22:43:43.790Z] STF 22:43:43.169 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/output_17236690207348/PatModImg_AppMod_1/20240814-224308-PatModImgTest/results/9.OT21.stdout [2024-08-14T22:43:43.790Z] STF 22:43:43.171 - Monitoring processes: OT21 [2024-08-14T22:43:43.790Z] OT21 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello [2024-08-14T22:43:44.118Z] OT21 JUnit version 4.12 [2024-08-14T22:43:44.823Z] OT21 . [2024-08-14T22:43:44.823Z] OT21 Time: 0.085 [2024-08-14T22:43:44.823Z] OT21 [2024-08-14T22:43:44.823Z] OT21 OK (1 test) [2024-08-14T22:43:44.823Z] OT21 [2024-08-14T22:43:44.823Z] STF 22:43:44.535 - Monitoring Report Summary: [2024-08-14T22:43:44.823Z] STF 22:43:44.536 - o Process OT21 ended with the expected exit code (0) [2024-08-14T22:43:44.823Z] STF 22:43:44.536 - [2024-08-14T22:43:44.823Z] STF 22:43:44.536 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2024-08-14T22:43:44.823Z] STF 22:43:44.536 - | Run foreground process [2024-08-14T22:43:44.823Z] STF 22:43:44.536 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/output_17236690207348/PatModImg_AppMod_1/20240814-224308-PatModImgTest/tmp/6.XpJVM/bin/java [2024-08-14T22:43:44.823Z] STF 22:43:44.536 - | Mnemonic: OT22 [2024-08-14T22:43:44.823Z] STF 22:43:44.536 - | Echo: ECHO_ON [2024-08-14T22:43:44.823Z] STF 22:43:44.536 - | Expectation: CLEAN_RUN within 5m [2024-08-14T22:43:44.823Z] STF 22:43:44.536 - | [2024-08-14T22:43:44.823Z] STF 22:43:44.537 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/output_17236690207348/PatModImg_AppMod_1/20240814-224308-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/output_17236690207348/PatModImg_AppMod_1/20240814-224308-PatModImgTest/modules/7.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-08-14T22:43:44.823Z] STF 22:43:44.537 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/output_17236690207348/PatModImg_AppMod_1/20240814-224308-PatModImgTest/results/10.OT22.stderr [2024-08-14T22:43:44.823Z] STF 22:43:44.537 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/output_17236690207348/PatModImg_AppMod_1/20240814-224308-PatModImgTest/results/10.OT22.stdout [2024-08-14T22:43:44.823Z] STF 22:43:44.538 - Monitoring processes: OT22 [2024-08-14T22:43:45.155Z] OT22 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/output_17236690207348/PatModImg_AppMod_1/20240814-224308-PatModImgTest/modules/7.com.hello.jar [2024-08-14T22:43:45.487Z] OT22 JUnit version 4.12 [2024-08-14T22:43:46.297Z] OT22 . [2024-08-14T22:43:46.297Z] OT22 Time: 0.034 [2024-08-14T22:43:46.297Z] OT22 [2024-08-14T22:43:46.297Z] OT22 OK (1 test) [2024-08-14T22:43:46.297Z] OT22 [2024-08-14T22:43:46.297Z] STF 22:43:45.660 - Monitoring Report Summary: [2024-08-14T22:43:46.297Z] STF 22:43:45.660 - o Process OT22 ended with the expected exit code (0) [2024-08-14T22:43:46.297Z] STF 22:43:45.660 - EXECUTE stage completed [2024-08-14T22:43:46.297Z] STF 22:43:45.870 - [2024-08-14T22:43:46.297Z] STF 22:43:45.870 - ==================== T E A R D O W N ==================== [2024-08-14T22:43:46.297Z] STF 22:43:45.870 - Running teardown: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64le_linux_testList_1/aqa-tests/TKG/../TKG/output_17236690207348/PatModImg_AppMod_1/20240814-224308-PatModImgTest/tearDown.pl [2024-08-14T22:43:46.631Z] STF 22:43:46.311 - TEARDOWN stage completed [2024-08-14T22:43:46.632Z] STF 22:43:46.333 - [2024-08-14T22:43:46.632Z] STF 22:43:46.333 - ===================== R E S U L T S ===================== [2024-08-14T22:43:46.632Z] STF 22:43:46.333 - Stage results: [2024-08-14T22:43:46.632Z] STF 22:43:46.333 - setUp: pass [2024-08-14T22:43:46.632Z] STF 22:43:46.333 - execute: pass [2024-08-14T22:43:46.632Z] STF 22:43:46.333 - teardown: pass [2024-08-14T22:43:46.632Z] STF 22:43:46.333 - [2024-08-14T22:43:46.632Z] STF 22:43:46.333 - Overall result: PASSED [2024-08-14T22:43:46.632Z] ----------------------------------- [2024-08-14T22:43:46.632Z] PatModImg_AppMod_1_PASSED [2024-08-14T22:43:46.632Z] ----------------------------------- [2024-08-14T22:43:46.632Z] [2024-08-14T22:43:46.632Z] TEST TEARDOWN: [2024-08-14T22:43:46.632Z] Nothing to be done for teardown. [2024-08-14T22:43:46.632Z] PatModImg_AppMod_1 Finish Time: Wed Aug 14 22:43:46 2024 Epoch Time (ms): 1723675426457