PatModImg_AppMod_1

[2024-10-03T09:11:07.044Z] Running test PatModImg_AppMod_1 ... [2024-10-03T09:11:07.356Z] =============================================== [2024-10-03T09:11:07.356Z] PatModImg_AppMod_1 Start Time: Thu Oct 3 09:11:07 2024 Epoch Time (ms): 1727946667191 [2024-10-03T09:11:07.667Z] variation: Mode650 [2024-10-03T09:11:08.017Z] JVM_OPTIONS: -XX:-UseCompressedOops [2024-10-03T09:11:08.017Z] { \ [2024-10-03T09:11:08.017Z] echo ""; echo "TEST SETUP:"; \ [2024-10-03T09:11:08.017Z] echo "Nothing to be done for setup."; \ [2024-10-03T09:11:08.017Z] mkdir -p "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17279447837285\\PatModImg_AppMod_1"; \ [2024-10-03T09:11:08.017Z] cd "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17279447837285\\PatModImg_AppMod_1"; \ [2024-10-03T09:11:08.017Z] echo ""; echo "TESTING:"; \ [2024-10-03T09:11:08.017Z] perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\\" -java-args=' -XX:-UseCompressedOops ' -results-root="C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17279447837285\\PatModImg_AppMod_1" -test=PatModImgTest -test-args="variant=AppMod"; \ [2024-10-03T09:11:08.017Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_1""_PASSED"; echo "-----------------------------------"; cd C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/; rm -f -r "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17279447837285\\PatModImg_AppMod_1"; else echo "-----------------------------------"; echo "PatModImg_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2024-10-03T09:11:08.017Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-10-03T09:11:08.017Z] echo "Nothing to be done for teardown."; \ [2024-10-03T09:11:08.017Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17279447837285\\TestTargetResult"; [2024-10-03T09:11:08.017Z] [2024-10-03T09:11:08.017Z] TEST SETUP: [2024-10-03T09:11:08.017Z] Nothing to be done for setup. [2024-10-03T09:11:08.017Z] [2024-10-03T09:11:08.017Z] TESTING: [2024-10-03T09:11:08.341Z] STF 09:11:08.023 - ========================= S T F ========================= [2024-10-03T09:11:08.341Z] systemtest-prereqs has been processed, and set to: c:/jenkins/testDependency/system_libRetrieving amount of free space on drive containing C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17279447837285\PatModImg_AppMod_1 [2024-10-03T09:11:08.341Z] There is 97078 Mb free [2024-10-03T09:11:08.341Z] STF 09:11:08.072 - ================== G E N E R A T I O N ================== [2024-10-03T09:11:08.341Z] STF 09:11:08.074 - Checking JVM: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image [2024-10-03T09:11:08.342Z] STF 09:11:08.075 - Starting process to generate scripts: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-api.jar;c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17279447837285\PatModImg_AppMod_1/20241003-091108-PatModImgTest/stf_parameters.properties, , C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17279447837285\PatModImg_AppMod_1/20241003-091108-PatModImgTest" [2024-10-03T09:11:09.453Z] GEN 09:11:09.091 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: 'C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2024-10-03T09:11:09.453Z] GEN 09:11:09.109 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2024-10-03T09:11:09.453Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-10-03T09:11:09.453Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2024-10-03T09:11:09.453Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2024-10-03T09:11:09.453Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2024-10-03T09:11:09.453Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2024-10-03T09:11:09.453Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2024-10-03T09:11:09.453Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2024-10-03T09:11:09.453Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2024-10-03T09:11:09.454Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2024-10-03T09:11:09.454Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2024-10-03T09:11:09.454Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2024-10-03T09:11:09.454Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2024-10-03T09:11:09.454Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2024-10-03T09:11:09.454Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-10-03T09:11:09.454Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-10-03T09:11:09.454Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-10-03T09:11:09.454Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2024-10-03T09:11:09.454Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-10-03T09:11:09.454Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-10-03T09:11:09.454Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar [2024-10-03T09:11:09.454Z] GEN 09:11:09.384 - Using Mode NoOptions. Values = '' [2024-10-03T09:11:09.780Z] GEN 09:11:09.523 - [2024-10-03T09:11:09.780Z] GEN 09:11:09.524 - Test command summary: [2024-10-03T09:11:09.780Z] GEN 09:11:09.524 - Step Stage Command Description [2024-10-03T09:11:09.780Z] GEN 09:11:09.524 - -----+--------+-----------------+------------ [2024-10-03T09:11:09.780Z] GEN 09:11:09.524 - 1 execute jar Create com.hello jar [2024-10-03T09:11:09.780Z] GEN 09:11:09.524 - 2 execute jar Create com.hola jar [2024-10-03T09:11:09.780Z] GEN 09:11:09.524 - 3 execute jar Create com.helper jar [2024-10-03T09:11:09.780Z] GEN 09:11:09.524 - 4 execute jar Create com.discreet jar [2024-10-03T09:11:09.780Z] GEN 09:11:09.524 - 5 execute jar Create tests jar [2024-10-03T09:11:09.780Z] GEN 09:11:09.525 - 6 execute jlink Create runtime image for PatchModule test [2024-10-03T09:11:09.780Z] GEN 09:11:09.525 - 7 execute jar Create com.hello jar [2024-10-03T09:11:09.780Z] GEN 09:11:09.525 - 8 execute jar create java.xml.jar [2024-10-03T09:11:09.780Z] GEN 09:11:09.525 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2024-10-03T09:11:09.780Z] GEN 09:11:09.525 - 10 execute Run java Verify if we can patch an Application module using modular jar [2024-10-03T09:11:09.780Z] STF 09:11:09.566 - [2024-10-03T09:11:09.780Z] STF 09:11:09.566 - Script generation completed [2024-10-03T09:11:09.780Z] STF 09:11:09.566 - [2024-10-03T09:11:09.780Z] STF 09:11:09.567 - [2024-10-03T09:11:09.780Z] STF 09:11:09.567 - ======================= S E T U P ======================= [2024-10-03T09:11:09.780Z] STF 09:11:09.567 - Running setup: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17279447837285\PatModImg_AppMod_1/20241003-091108-PatModImgTest/setUp.pl [2024-10-03T09:11:09.780Z] STF 09:11:09.690 - SETUP stage completed [2024-10-03T09:11:09.781Z] STF 09:11:09.700 - [2024-10-03T09:11:09.781Z] STF 09:11:09.700 - ==================== E X E C U T E - ==================== [2024-10-03T09:11:09.781Z] STF 09:11:09.700 - Running execute: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17279447837285\PatModImg_AppMod_1/20241003-091108-PatModImgTest/execute.pl [2024-10-03T09:11:10.101Z] STF 09:11:09.826 - [2024-10-03T09:11:10.101Z] STF 09:11:09.826 - Java version [2024-10-03T09:11:10.101Z] STF 09:11:09.826 - Running: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-10-03T09:11:10.101Z] openjdk version "11.0.25-beta" 2024-10-15 [2024-10-03T09:11:10.101Z] OpenJDK Runtime Environment Temurin-11.0.25+8-202410022214 (build 11.0.25-beta+8-ea) [2024-10-03T09:11:10.101Z] OpenJDK 64-Bit Server VM Temurin-11.0.25+8-202410022214 (build 11.0.25-beta+8-ea, mixed mode) [2024-10-03T09:11:10.101Z] STF 09:11:09.937 - [2024-10-03T09:11:10.101Z] STF 09:11:09.937 - +------ Step 1 - Create com.hello jar [2024-10-03T09:11:10.101Z] STF 09:11:09.937 - | Create modular jar [2024-10-03T09:11:10.101Z] STF 09:11:09.937 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-10-03T09:11:10.101Z] STF 09:11:09.937 - | ModuleVersion: null [2024-10-03T09:11:10.101Z] STF 09:11:09.937 - | MainClass: null [2024-10-03T09:11:10.101Z] STF 09:11:09.937 - | HashModules: null [2024-10-03T09:11:10.101Z] STF 09:11:09.937 - | [2024-10-03T09:11:10.101Z] STF 09:11:09.937 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/PatModImg_AppMod_1/20241003-091108-PatModImgTest/modules/1.com.hello.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2024-10-03T09:11:10.101Z] STF 09:11:09.938 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/PatModImg_AppMod_1/20241003-091108-PatModImgTest/results/1.CMJ.stderr [2024-10-03T09:11:10.101Z] STF 09:11:09.938 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/PatModImg_AppMod_1/20241003-091108-PatModImgTest/results/1.CMJ.stdout [2024-10-03T09:11:10.101Z] STF 09:11:09.962 - Monitoring processes: CMJ [2024-10-03T09:11:10.425Z] STF 09:11:10.237 - Monitoring Report Summary: [2024-10-03T09:11:10.425Z] STF 09:11:10.237 - o Process CMJ ended with the expected exit code (0) [2024-10-03T09:11:10.425Z] STF 09:11:10.237 - Created modular jar: 1.com.hello.jar [2024-10-03T09:11:10.425Z] STF 09:11:10.237 - [2024-10-03T09:11:10.425Z] STF 09:11:10.237 - +------ Step 2 - Create com.hola jar [2024-10-03T09:11:10.425Z] STF 09:11:10.237 - | Create modular jar [2024-10-03T09:11:10.425Z] STF 09:11:10.237 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-10-03T09:11:10.425Z] STF 09:11:10.237 - | ModuleVersion: null [2024-10-03T09:11:10.425Z] STF 09:11:10.237 - | MainClass: null [2024-10-03T09:11:10.425Z] STF 09:11:10.237 - | HashModules: null [2024-10-03T09:11:10.425Z] STF 09:11:10.237 - | [2024-10-03T09:11:10.425Z] STF 09:11:10.237 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/PatModImg_AppMod_1/20241003-091108-PatModImgTest/modules/2.com.hola.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2024-10-03T09:11:10.425Z] STF 09:11:10.238 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/PatModImg_AppMod_1/20241003-091108-PatModImgTest/results/2.CMJ.stderr [2024-10-03T09:11:10.425Z] STF 09:11:10.238 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/PatModImg_AppMod_1/20241003-091108-PatModImgTest/results/2.CMJ.stdout [2024-10-03T09:11:10.425Z] STF 09:11:10.245 - Monitoring processes: CMJ [2024-10-03T09:11:10.746Z] STF 09:11:10.530 - Monitoring Report Summary: [2024-10-03T09:11:10.746Z] STF 09:11:10.530 - o Process CMJ ended with the expected exit code (0) [2024-10-03T09:11:10.746Z] STF 09:11:10.530 - Created modular jar: 2.com.hola.jar [2024-10-03T09:11:10.746Z] STF 09:11:10.530 - [2024-10-03T09:11:10.746Z] STF 09:11:10.530 - +------ Step 3 - Create com.helper jar [2024-10-03T09:11:10.746Z] STF 09:11:10.530 - | Create modular jar [2024-10-03T09:11:10.746Z] STF 09:11:10.530 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-10-03T09:11:10.746Z] STF 09:11:10.530 - | ModuleVersion: null [2024-10-03T09:11:10.746Z] STF 09:11:10.530 - | MainClass: null [2024-10-03T09:11:10.746Z] STF 09:11:10.530 - | HashModules: null [2024-10-03T09:11:10.746Z] STF 09:11:10.530 - | [2024-10-03T09:11:10.746Z] STF 09:11:10.531 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/PatModImg_AppMod_1/20241003-091108-PatModImgTest/modules/3.com.helper.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2024-10-03T09:11:10.746Z] STF 09:11:10.531 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/PatModImg_AppMod_1/20241003-091108-PatModImgTest/results/3.CMJ.stderr [2024-10-03T09:11:10.746Z] STF 09:11:10.531 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/PatModImg_AppMod_1/20241003-091108-PatModImgTest/results/3.CMJ.stdout [2024-10-03T09:11:10.746Z] STF 09:11:10.536 - Monitoring processes: CMJ [2024-10-03T09:11:11.070Z] STF 09:11:10.816 - Monitoring Report Summary: [2024-10-03T09:11:11.070Z] STF 09:11:10.816 - o Process CMJ ended with the expected exit code (0) [2024-10-03T09:11:11.070Z] STF 09:11:10.816 - Created modular jar: 3.com.helper.jar [2024-10-03T09:11:11.070Z] STF 09:11:10.816 - [2024-10-03T09:11:11.070Z] STF 09:11:10.816 - +------ Step 4 - Create com.discreet jar [2024-10-03T09:11:11.070Z] STF 09:11:10.816 - | Create modular jar [2024-10-03T09:11:11.070Z] STF 09:11:10.816 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-10-03T09:11:11.070Z] STF 09:11:10.816 - | ModuleVersion: null [2024-10-03T09:11:11.070Z] STF 09:11:10.816 - | MainClass: null [2024-10-03T09:11:11.070Z] STF 09:11:10.816 - | HashModules: null [2024-10-03T09:11:11.070Z] STF 09:11:10.816 - | [2024-10-03T09:11:11.070Z] STF 09:11:10.817 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/PatModImg_AppMod_1/20241003-091108-PatModImgTest/modules/4.com.discreet.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2024-10-03T09:11:11.070Z] STF 09:11:10.817 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/PatModImg_AppMod_1/20241003-091108-PatModImgTest/results/4.CMJ.stderr [2024-10-03T09:11:11.070Z] STF 09:11:10.817 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/PatModImg_AppMod_1/20241003-091108-PatModImgTest/results/4.CMJ.stdout [2024-10-03T09:11:11.070Z] STF 09:11:10.823 - Monitoring processes: CMJ [2024-10-03T09:11:11.390Z] STF 09:11:11.104 - Monitoring Report Summary: [2024-10-03T09:11:11.390Z] STF 09:11:11.104 - o Process CMJ ended with the expected exit code (0) [2024-10-03T09:11:11.390Z] STF 09:11:11.104 - Created modular jar: 4.com.discreet.jar [2024-10-03T09:11:11.390Z] STF 09:11:11.104 - [2024-10-03T09:11:11.390Z] STF 09:11:11.104 - +------ Step 5 - Create tests jar [2024-10-03T09:11:11.390Z] STF 09:11:11.104 - | Create modular jar [2024-10-03T09:11:11.390Z] STF 09:11:11.104 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-10-03T09:11:11.390Z] STF 09:11:11.104 - | ModuleVersion: null [2024-10-03T09:11:11.390Z] STF 09:11:11.104 - | MainClass: null [2024-10-03T09:11:11.390Z] STF 09:11:11.104 - | HashModules: null [2024-10-03T09:11:11.390Z] STF 09:11:11.104 - | [2024-10-03T09:11:11.390Z] STF 09:11:11.104 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/PatModImg_AppMod_1/20241003-091108-PatModImgTest/modules/5.com.test.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2024-10-03T09:11:11.390Z] STF 09:11:11.104 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/PatModImg_AppMod_1/20241003-091108-PatModImgTest/results/5.CMJ.stderr [2024-10-03T09:11:11.391Z] STF 09:11:11.104 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/PatModImg_AppMod_1/20241003-091108-PatModImgTest/results/5.CMJ.stdout [2024-10-03T09:11:11.391Z] STF 09:11:11.111 - Monitoring processes: CMJ [2024-10-03T09:11:11.733Z] STF 09:11:11.376 - Monitoring Report Summary: [2024-10-03T09:11:11.733Z] STF 09:11:11.376 - o Process CMJ ended with the expected exit code (0) [2024-10-03T09:11:11.733Z] STF 09:11:11.376 - Created modular jar: 5.com.test.jar [2024-10-03T09:11:11.733Z] STF 09:11:11.376 - [2024-10-03T09:11:11.733Z] STF 09:11:11.376 - +------ Step 6 - Create runtime image for PatchModule test [2024-10-03T09:11:11.733Z] STF 09:11:11.376 - | Run jlink to create runtime image [2024-10-03T09:11:11.733Z] STF 09:11:11.376 - | ImageName: XpJVM [2024-10-03T09:11:11.733Z] STF 09:11:11.376 - | [2024-10-03T09:11:11.733Z] STF 09:11:11.377 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path c:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jdkbinary\j2sdk-image\jmods;C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17279447837285\PatModImg_AppMod_1\20241003-091108-PatModImgTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17279447837285\PatModImg_AppMod_1\20241003-091108-PatModImgTest\tmp\6.XpJVM [2024-10-03T09:11:11.733Z] STF 09:11:11.377 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/PatModImg_AppMod_1/20241003-091108-PatModImgTest/results/6.JLNK.stderr [2024-10-03T09:11:11.733Z] STF 09:11:11.377 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/PatModImg_AppMod_1/20241003-091108-PatModImgTest/results/6.JLNK.stdout [2024-10-03T09:11:11.733Z] STF 09:11:11.384 - Monitoring processes: JLNK [2024-10-03T09:11:13.924Z] STF 09:11:13.643 - Monitoring Report Summary: [2024-10-03T09:11:13.924Z] STF 09:11:13.644 - o Process JLNK ended with the expected exit code (0) [2024-10-03T09:11:13.924Z] STF 09:11:13.644 - [2024-10-03T09:11:13.924Z] STF 09:11:13.644 - +------ Step 7 - Create com.hello jar [2024-10-03T09:11:13.924Z] STF 09:11:13.644 - | Create modular jar [2024-10-03T09:11:13.924Z] STF 09:11:13.644 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-10-03T09:11:13.924Z] STF 09:11:13.644 - | ModuleVersion: null [2024-10-03T09:11:13.924Z] STF 09:11:13.644 - | MainClass: null [2024-10-03T09:11:13.924Z] STF 09:11:13.644 - | HashModules: null [2024-10-03T09:11:13.924Z] STF 09:11:13.644 - | [2024-10-03T09:11:13.924Z] STF 09:11:13.644 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/PatModImg_AppMod_1/20241003-091108-PatModImgTest/modules/7.com.hello.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2024-10-03T09:11:13.924Z] STF 09:11:13.644 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/PatModImg_AppMod_1/20241003-091108-PatModImgTest/results/7.CMJ.stderr [2024-10-03T09:11:13.924Z] STF 09:11:13.644 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/PatModImg_AppMod_1/20241003-091108-PatModImgTest/results/7.CMJ.stdout [2024-10-03T09:11:13.924Z] STF 09:11:13.652 - Monitoring processes: CMJ [2024-10-03T09:11:14.236Z] STF 09:11:14.034 - Monitoring Report Summary: [2024-10-03T09:11:14.236Z] STF 09:11:14.034 - o Process CMJ ended with the expected exit code (0) [2024-10-03T09:11:14.236Z] STF 09:11:14.034 - Created modular jar: 7.com.hello.jar [2024-10-03T09:11:14.236Z] STF 09:11:14.034 - [2024-10-03T09:11:14.236Z] STF 09:11:14.034 - +------ Step 8 - create java.xml.jar [2024-10-03T09:11:14.236Z] STF 09:11:14.034 - | Create modular jar [2024-10-03T09:11:14.236Z] STF 09:11:14.034 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2024-10-03T09:11:14.236Z] STF 09:11:14.034 - | ModuleVersion: null [2024-10-03T09:11:14.236Z] STF 09:11:14.034 - | MainClass: null [2024-10-03T09:11:14.236Z] STF 09:11:14.034 - | HashModules: null [2024-10-03T09:11:14.236Z] STF 09:11:14.034 - | [2024-10-03T09:11:14.236Z] STF 09:11:14.034 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/PatModImg_AppMod_1/20241003-091108-PatModImgTest/modules/8.java.xml.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml . [2024-10-03T09:11:14.236Z] STF 09:11:14.034 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/PatModImg_AppMod_1/20241003-091108-PatModImgTest/results/8.CMJ.stderr [2024-10-03T09:11:14.236Z] STF 09:11:14.034 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/PatModImg_AppMod_1/20241003-091108-PatModImgTest/results/8.CMJ.stdout [2024-10-03T09:11:14.236Z] STF 09:11:14.040 - Monitoring processes: CMJ [2024-10-03T09:11:14.555Z] STF 09:11:14.324 - Monitoring Report Summary: [2024-10-03T09:11:14.555Z] STF 09:11:14.324 - o Process CMJ ended with the expected exit code (0) [2024-10-03T09:11:14.555Z] STF 09:11:14.324 - Created modular jar: 8.java.xml.jar [2024-10-03T09:11:14.555Z] STF 09:11:14.324 - [2024-10-03T09:11:14.555Z] STF 09:11:14.324 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2024-10-03T09:11:14.555Z] STF 09:11:14.324 - | Run foreground process [2024-10-03T09:11:14.555Z] STF 09:11:14.324 - | Program: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/PatModImg_AppMod_1/20241003-091108-PatModImgTest/tmp/6.XpJVM/bin/java [2024-10-03T09:11:14.555Z] STF 09:11:14.324 - | Mnemonic: OT21 [2024-10-03T09:11:14.555Z] STF 09:11:14.324 - | Echo: ECHO_ON [2024-10-03T09:11:14.555Z] STF 09:11:14.324 - | Expectation: CLEAN_RUN within 5m [2024-10-03T09:11:14.555Z] STF 09:11:14.324 - | [2024-10-03T09:11:14.555Z] STF 09:11:14.325 - Running command: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/PatModImg_AppMod_1/20241003-091108-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello -XX:-UseCompressedOops -classpath c:/jenkins/testDependency/system_lib/junit/junit.jar;c:/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2024-10-03T09:11:14.555Z] STF 09:11:14.325 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/PatModImg_AppMod_1/20241003-091108-PatModImgTest/results/9.OT21.stderr [2024-10-03T09:11:14.555Z] STF 09:11:14.325 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/PatModImg_AppMod_1/20241003-091108-PatModImgTest/results/9.OT21.stdout [2024-10-03T09:11:14.555Z] STF 09:11:14.362 - Monitoring processes: OT21 [2024-10-03T09:11:14.877Z] OT21 stderr WARNING: module-info.class ignored in patch: C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello [2024-10-03T09:11:14.877Z] OT21 JUnit version 4.12 [2024-10-03T09:11:14.877Z] OT21 . [2024-10-03T09:11:14.877Z] OT21 Time: 0.009 [2024-10-03T09:11:14.877Z] OT21 [2024-10-03T09:11:14.877Z] OT21 OK (1 test) [2024-10-03T09:11:14.877Z] OT21 [2024-10-03T09:11:14.877Z] STF 09:11:14.646 - Monitoring Report Summary: [2024-10-03T09:11:14.877Z] STF 09:11:14.646 - o Process OT21 ended with the expected exit code (0) [2024-10-03T09:11:14.877Z] STF 09:11:14.646 - [2024-10-03T09:11:14.877Z] STF 09:11:14.646 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2024-10-03T09:11:14.877Z] STF 09:11:14.646 - | Run foreground process [2024-10-03T09:11:14.877Z] STF 09:11:14.646 - | Program: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/PatModImg_AppMod_1/20241003-091108-PatModImgTest/tmp/6.XpJVM/bin/java [2024-10-03T09:11:14.877Z] STF 09:11:14.646 - | Mnemonic: OT22 [2024-10-03T09:11:14.877Z] STF 09:11:14.646 - | Echo: ECHO_ON [2024-10-03T09:11:14.877Z] STF 09:11:14.646 - | Expectation: CLEAN_RUN within 5m [2024-10-03T09:11:14.877Z] STF 09:11:14.646 - | [2024-10-03T09:11:14.877Z] STF 09:11:14.646 - Running command: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/PatModImg_AppMod_1/20241003-091108-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/PatModImg_AppMod_1/20241003-091108-PatModImgTest/modules/7.com.hello.jar -XX:-UseCompressedOops -classpath c:/jenkins/testDependency/system_lib/junit/junit.jar;c:/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2024-10-03T09:11:14.877Z] STF 09:11:14.646 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/PatModImg_AppMod_1/20241003-091108-PatModImgTest/results/10.OT22.stderr [2024-10-03T09:11:14.877Z] STF 09:11:14.646 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/PatModImg_AppMod_1/20241003-091108-PatModImgTest/results/10.OT22.stdout [2024-10-03T09:11:14.877Z] STF 09:11:14.652 - Monitoring processes: OT22 [2024-10-03T09:11:14.877Z] OT22 stderr WARNING: module-info.class ignored in patch: C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17279447837285\PatModImg_AppMod_1\20241003-091108-PatModImgTest\modules\7.com.hello.jar [2024-10-03T09:11:15.240Z] OT22 JUnit version 4.12 [2024-10-03T09:11:15.240Z] OT22 . [2024-10-03T09:11:15.240Z] OT22 Time: 0.007 [2024-10-03T09:11:15.240Z] OT22 [2024-10-03T09:11:15.240Z] OT22 OK (1 test) [2024-10-03T09:11:15.240Z] OT22 [2024-10-03T09:11:15.240Z] STF 09:11:14.917 - Monitoring Report Summary: [2024-10-03T09:11:15.240Z] STF 09:11:14.917 - o Process OT22 ended with the expected exit code (0) [2024-10-03T09:11:15.240Z] STF 09:11:14.917 - EXECUTE stage completed [2024-10-03T09:11:15.240Z] STF 09:11:14.930 - [2024-10-03T09:11:15.240Z] STF 09:11:14.930 - ==================== T E A R D O W N ==================== [2024-10-03T09:11:15.240Z] STF 09:11:14.930 - Running teardown: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17279447837285\PatModImg_AppMod_1/20241003-091108-PatModImgTest/tearDown.pl [2024-10-03T09:11:15.240Z] STF 09:11:15.053 - TEARDOWN stage completed [2024-10-03T09:11:15.240Z] STF 09:11:15.069 - [2024-10-03T09:11:15.240Z] STF 09:11:15.069 - ===================== R E S U L T S ===================== [2024-10-03T09:11:15.240Z] STF 09:11:15.069 - Stage results: [2024-10-03T09:11:15.240Z] STF 09:11:15.069 - setUp: pass [2024-10-03T09:11:15.240Z] STF 09:11:15.069 - execute: pass [2024-10-03T09:11:15.240Z] STF 09:11:15.069 - teardown: pass [2024-10-03T09:11:15.240Z] STF 09:11:15.069 - [2024-10-03T09:11:15.240Z] STF 09:11:15.069 - Overall result: PASSED [2024-10-03T09:11:15.240Z] ----------------------------------- [2024-10-03T09:11:15.240Z] PatModImg_AppMod_1_PASSED [2024-10-03T09:11:15.240Z] ----------------------------------- [2024-10-03T09:11:15.552Z] [2024-10-03T09:11:15.552Z] TEST TEARDOWN: [2024-10-03T09:11:15.552Z] Nothing to be done for teardown. [2024-10-03T09:11:15.552Z] PatModImg_AppMod_1 Finish Time: Thu Oct 3 09:11:15 2024 Epoch Time (ms): 1727946675464