PatModImg_AppMod_1

[2024-06-08T04:45:56.309Z] Running test PatModImg_AppMod_1 ... [2024-06-08T04:45:56.309Z] =============================================== [2024-06-08T04:45:56.625Z] PatModImg_AppMod_1 Start Time: Sat Jun 8 04:45:56 2024 Epoch Time (ms): 1717821956356 [2024-06-08T04:45:56.625Z] variation: Mode650 [2024-06-08T04:45:56.625Z] JVM_OPTIONS: -XX:-UseCompressedOops [2024-06-08T04:45:56.625Z] { \ [2024-06-08T04:45:56.625Z] echo ""; echo "TEST SETUP:"; \ [2024-06-08T04:45:56.625Z] echo "Nothing to be done for setup."; \ [2024-06-08T04:45:56.625Z] mkdir -p "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17178197589102\\PatModImg_AppMod_1"; \ [2024-06-08T04:45:56.625Z] cd "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17178197589102\\PatModImg_AppMod_1"; \ [2024-06-08T04:45:56.625Z] echo ""; echo "TESTING:"; \ [2024-06-08T04:45:56.625Z] 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/aqa-tests///..//jvmtest\\system\\modularity/../\\systemtest_prereqs" -java-args=' -XX:-UseCompressedOops ' -results-root="C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17178197589102\\PatModImg_AppMod_1" -test=PatModImgTest -test-args="variant=AppMod"; \ [2024-06-08T04:45:56.626Z] 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_17178197589102\\PatModImg_AppMod_1"; else echo "-----------------------------------"; echo "PatModImg_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2024-06-08T04:45:56.626Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-06-08T04:45:56.626Z] echo "Nothing to be done for teardown."; \ [2024-06-08T04:45:56.626Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17178197589102\\TestTargetResult"; [2024-06-08T04:45:56.946Z] [2024-06-08T04:45:56.946Z] TEST SETUP: [2024-06-08T04:45:56.946Z] Nothing to be done for setup. [2024-06-08T04:45:56.946Z] [2024-06-08T04:45:56.946Z] TESTING: [2024-06-08T04:45:56.946Z] STF 04:45:56.785 - ========================= S T F ========================= [2024-06-08T04:45:56.946Z] systemtest-prereqs has been processed, and set to: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/systemtest_prereqsRetrieving amount of free space on drive containing C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17178197589102\PatModImg_AppMod_1 [2024-06-08T04:45:56.946Z] There is 124483 Mb free [2024-06-08T04:45:56.946Z] STF 04:45:56.823 - ================== G E N E R A T I O N ================== [2024-06-08T04:45:56.946Z] STF 04:45:56.825 - Checking JVM: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image [2024-06-08T04:45:56.947Z] STF 04:45:56.826 - 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/aqa-tests///..//jvmtest\system\modularity/../\systemtest_prereqs/log4j/log4j-api.jar;C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\system\modularity/../\systemtest_prereqs/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_17178197589102\PatModImg_AppMod_1/20240608-044556-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_17178197589102\PatModImg_AppMod_1/20240608-044556-PatModImgTest" [2024-06-08T04:45:58.049Z] GEN 04:45:57.905 - 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-06-08T04:45:58.049Z] GEN 04:45:57.926 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2024-06-08T04:45:58.371Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-06-08T04:45:58.371Z] 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-06-08T04:45:58.371Z] 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-06-08T04:45:58.371Z] 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-06-08T04:45:58.371Z] 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-06-08T04:45:58.371Z] 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-06-08T04:45:58.371Z] 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-06-08T04:45:58.371Z] 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-06-08T04:45:58.371Z] 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-06-08T04:45:58.371Z] 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-06-08T04:45:58.371Z] 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-06-08T04:45:58.371Z] 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-06-08T04:45:58.372Z] 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-06-08T04:45:58.372Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-06-08T04:45:58.372Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-06-08T04:45:58.372Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-06-08T04:45:58.372Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2024-06-08T04:45:58.372Z] GEN C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/systemtest_prereqs/log4j/log4j-api.jar [2024-06-08T04:45:58.372Z] GEN C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/systemtest_prereqs/log4j/log4j-core.jar [2024-06-08T04:45:58.372Z] GEN C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/systemtest_prereqs/junit/junit.jar [2024-06-08T04:45:58.372Z] GEN 04:45:58.193 - Using Mode NoOptions. Values = '' [2024-06-08T04:45:58.372Z] GEN 04:45:58.328 - [2024-06-08T04:45:58.372Z] GEN 04:45:58.328 - Test command summary: [2024-06-08T04:45:58.372Z] GEN 04:45:58.329 - Step Stage Command Description [2024-06-08T04:45:58.372Z] GEN 04:45:58.329 - -----+--------+-----------------+------------ [2024-06-08T04:45:58.372Z] GEN 04:45:58.329 - 1 execute jar Create com.hello jar [2024-06-08T04:45:58.372Z] GEN 04:45:58.329 - 2 execute jar Create com.hola jar [2024-06-08T04:45:58.372Z] GEN 04:45:58.329 - 3 execute jar Create com.helper jar [2024-06-08T04:45:58.372Z] GEN 04:45:58.329 - 4 execute jar Create com.discreet jar [2024-06-08T04:45:58.372Z] GEN 04:45:58.329 - 5 execute jar Create tests jar [2024-06-08T04:45:58.372Z] GEN 04:45:58.329 - 6 execute jlink Create runtime image for PatchModule test [2024-06-08T04:45:58.372Z] GEN 04:45:58.330 - 7 execute jar Create com.hello jar [2024-06-08T04:45:58.372Z] GEN 04:45:58.330 - 8 execute jar create java.xml.jar [2024-06-08T04:45:58.372Z] GEN 04:45:58.330 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2024-06-08T04:45:58.372Z] GEN 04:45:58.330 - 10 execute Run java Verify if we can patch an Application module using modular jar [2024-06-08T04:45:58.726Z] STF 04:45:58.391 - [2024-06-08T04:45:58.726Z] STF 04:45:58.391 - Script generation completed [2024-06-08T04:45:58.726Z] STF 04:45:58.391 - [2024-06-08T04:45:58.726Z] STF 04:45:58.392 - [2024-06-08T04:45:58.726Z] STF 04:45:58.392 - ======================= S E T U P ======================= [2024-06-08T04:45:58.726Z] STF 04:45:58.392 - Running setup: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17178197589102\PatModImg_AppMod_1/20240608-044556-PatModImgTest/setUp.pl [2024-06-08T04:45:58.726Z] STF 04:45:58.513 - SETUP stage completed [2024-06-08T04:45:58.726Z] STF 04:45:58.526 - [2024-06-08T04:45:58.726Z] STF 04:45:58.526 - ==================== E X E C U T E - ==================== [2024-06-08T04:45:58.726Z] STF 04:45:58.526 - Running execute: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17178197589102\PatModImg_AppMod_1/20240608-044556-PatModImgTest/execute.pl [2024-06-08T04:45:58.726Z] STF 04:45:58.648 - [2024-06-08T04:45:58.727Z] STF 04:45:58.648 - Java version [2024-06-08T04:45:58.727Z] STF 04:45:58.648 - Running: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-06-08T04:45:59.047Z] openjdk version "11.0.24-beta" 2024-07-16 [2024-06-08T04:45:59.048Z] OpenJDK Runtime Environment Temurin-11.0.24+6-202406072132 (build 11.0.24-beta+6-ea) [2024-06-08T04:45:59.048Z] OpenJDK 64-Bit Server VM Temurin-11.0.24+6-202406072132 (build 11.0.24-beta+6-ea, mixed mode) [2024-06-08T04:45:59.048Z] STF 04:45:58.785 - [2024-06-08T04:45:59.048Z] STF 04:45:58.785 - +------ Step 1 - Create com.hello jar [2024-06-08T04:45:59.048Z] STF 04:45:58.785 - | Create modular jar [2024-06-08T04:45:59.048Z] STF 04:45:58.785 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-06-08T04:45:59.048Z] STF 04:45:58.785 - | ModuleVersion: null [2024-06-08T04:45:59.048Z] STF 04:45:58.785 - | MainClass: null [2024-06-08T04:45:59.048Z] STF 04:45:58.785 - | HashModules: null [2024-06-08T04:45:59.048Z] STF 04:45:58.785 - | [2024-06-08T04:45:59.048Z] STF 04:45:58.785 - 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_17178197589102/PatModImg_AppMod_1/20240608-044556-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-06-08T04:45:59.048Z] STF 04:45:58.786 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_AppMod_1/20240608-044556-PatModImgTest/results/1.CMJ.stderr [2024-06-08T04:45:59.048Z] STF 04:45:58.786 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_AppMod_1/20240608-044556-PatModImgTest/results/1.CMJ.stdout [2024-06-08T04:45:59.048Z] STF 04:45:58.810 - Monitoring processes: CMJ [2024-06-08T04:45:59.367Z] STF 04:45:59.115 - Monitoring Report Summary: [2024-06-08T04:45:59.367Z] STF 04:45:59.115 - o Process CMJ ended with the expected exit code (0) [2024-06-08T04:45:59.367Z] STF 04:45:59.115 - Created modular jar: 1.com.hello.jar [2024-06-08T04:45:59.367Z] STF 04:45:59.115 - [2024-06-08T04:45:59.367Z] STF 04:45:59.115 - +------ Step 2 - Create com.hola jar [2024-06-08T04:45:59.367Z] STF 04:45:59.115 - | Create modular jar [2024-06-08T04:45:59.367Z] STF 04:45:59.115 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-06-08T04:45:59.367Z] STF 04:45:59.115 - | ModuleVersion: null [2024-06-08T04:45:59.367Z] STF 04:45:59.115 - | MainClass: null [2024-06-08T04:45:59.367Z] STF 04:45:59.115 - | HashModules: null [2024-06-08T04:45:59.367Z] STF 04:45:59.115 - | [2024-06-08T04:45:59.367Z] STF 04:45:59.115 - 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_17178197589102/PatModImg_AppMod_1/20240608-044556-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-06-08T04:45:59.368Z] STF 04:45:59.115 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_AppMod_1/20240608-044556-PatModImgTest/results/2.CMJ.stderr [2024-06-08T04:45:59.368Z] STF 04:45:59.115 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_AppMod_1/20240608-044556-PatModImgTest/results/2.CMJ.stdout [2024-06-08T04:45:59.368Z] STF 04:45:59.122 - Monitoring processes: CMJ [2024-06-08T04:45:59.685Z] STF 04:45:59.411 - Monitoring Report Summary: [2024-06-08T04:45:59.686Z] STF 04:45:59.411 - o Process CMJ ended with the expected exit code (0) [2024-06-08T04:45:59.686Z] STF 04:45:59.411 - Created modular jar: 2.com.hola.jar [2024-06-08T04:45:59.686Z] STF 04:45:59.411 - [2024-06-08T04:45:59.686Z] STF 04:45:59.411 - +------ Step 3 - Create com.helper jar [2024-06-08T04:45:59.686Z] STF 04:45:59.411 - | Create modular jar [2024-06-08T04:45:59.686Z] STF 04:45:59.412 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-06-08T04:45:59.686Z] STF 04:45:59.412 - | ModuleVersion: null [2024-06-08T04:45:59.686Z] STF 04:45:59.412 - | MainClass: null [2024-06-08T04:45:59.686Z] STF 04:45:59.412 - | HashModules: null [2024-06-08T04:45:59.686Z] STF 04:45:59.412 - | [2024-06-08T04:45:59.686Z] STF 04:45:59.412 - 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_17178197589102/PatModImg_AppMod_1/20240608-044556-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-06-08T04:45:59.686Z] STF 04:45:59.412 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_AppMod_1/20240608-044556-PatModImgTest/results/3.CMJ.stderr [2024-06-08T04:45:59.686Z] STF 04:45:59.412 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_AppMod_1/20240608-044556-PatModImgTest/results/3.CMJ.stdout [2024-06-08T04:45:59.686Z] STF 04:45:59.418 - Monitoring processes: CMJ [2024-06-08T04:46:00.006Z] STF 04:45:59.719 - Monitoring Report Summary: [2024-06-08T04:46:00.007Z] STF 04:45:59.719 - o Process CMJ ended with the expected exit code (0) [2024-06-08T04:46:00.007Z] STF 04:45:59.719 - Created modular jar: 3.com.helper.jar [2024-06-08T04:46:00.007Z] STF 04:45:59.719 - [2024-06-08T04:46:00.007Z] STF 04:45:59.719 - +------ Step 4 - Create com.discreet jar [2024-06-08T04:46:00.007Z] STF 04:45:59.719 - | Create modular jar [2024-06-08T04:46:00.007Z] STF 04:45:59.719 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-06-08T04:46:00.007Z] STF 04:45:59.719 - | ModuleVersion: null [2024-06-08T04:46:00.007Z] STF 04:45:59.719 - | MainClass: null [2024-06-08T04:46:00.007Z] STF 04:45:59.719 - | HashModules: null [2024-06-08T04:46:00.007Z] STF 04:45:59.719 - | [2024-06-08T04:46:00.007Z] STF 04:45:59.720 - 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_17178197589102/PatModImg_AppMod_1/20240608-044556-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-06-08T04:46:00.007Z] STF 04:45:59.720 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_AppMod_1/20240608-044556-PatModImgTest/results/4.CMJ.stderr [2024-06-08T04:46:00.007Z] STF 04:45:59.720 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_AppMod_1/20240608-044556-PatModImgTest/results/4.CMJ.stdout [2024-06-08T04:46:00.007Z] STF 04:45:59.727 - Monitoring processes: CMJ [2024-06-08T04:46:00.326Z] STF 04:46:00.029 - Monitoring Report Summary: [2024-06-08T04:46:00.326Z] STF 04:46:00.029 - o Process CMJ ended with the expected exit code (0) [2024-06-08T04:46:00.326Z] STF 04:46:00.030 - Created modular jar: 4.com.discreet.jar [2024-06-08T04:46:00.326Z] STF 04:46:00.030 - [2024-06-08T04:46:00.327Z] STF 04:46:00.030 - +------ Step 5 - Create tests jar [2024-06-08T04:46:00.327Z] STF 04:46:00.030 - | Create modular jar [2024-06-08T04:46:00.327Z] STF 04:46:00.030 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-06-08T04:46:00.327Z] STF 04:46:00.030 - | ModuleVersion: null [2024-06-08T04:46:00.327Z] STF 04:46:00.030 - | MainClass: null [2024-06-08T04:46:00.327Z] STF 04:46:00.030 - | HashModules: null [2024-06-08T04:46:00.327Z] STF 04:46:00.030 - | [2024-06-08T04:46:00.327Z] STF 04:46:00.030 - 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_17178197589102/PatModImg_AppMod_1/20240608-044556-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-06-08T04:46:00.327Z] STF 04:46:00.030 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_AppMod_1/20240608-044556-PatModImgTest/results/5.CMJ.stderr [2024-06-08T04:46:00.327Z] STF 04:46:00.030 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_AppMod_1/20240608-044556-PatModImgTest/results/5.CMJ.stdout [2024-06-08T04:46:00.327Z] STF 04:46:00.042 - Monitoring processes: CMJ [2024-06-08T04:46:00.645Z] STF 04:46:00.353 - Monitoring Report Summary: [2024-06-08T04:46:00.646Z] STF 04:46:00.353 - o Process CMJ ended with the expected exit code (0) [2024-06-08T04:46:00.646Z] STF 04:46:00.354 - Created modular jar: 5.com.test.jar [2024-06-08T04:46:00.646Z] STF 04:46:00.354 - [2024-06-08T04:46:00.646Z] STF 04:46:00.354 - +------ Step 6 - Create runtime image for PatchModule test [2024-06-08T04:46:00.646Z] STF 04:46:00.354 - | Run jlink to create runtime image [2024-06-08T04:46:00.646Z] STF 04:46:00.354 - | ImageName: XpJVM [2024-06-08T04:46:00.646Z] STF 04:46:00.354 - | [2024-06-08T04:46:00.646Z] STF 04:46:00.354 - 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_17178197589102\PatModImg_AppMod_1\20240608-044556-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_17178197589102\PatModImg_AppMod_1\20240608-044556-PatModImgTest\tmp\6.XpJVM [2024-06-08T04:46:00.646Z] STF 04:46:00.354 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_AppMod_1/20240608-044556-PatModImgTest/results/6.JLNK.stderr [2024-06-08T04:46:00.646Z] STF 04:46:00.354 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_AppMod_1/20240608-044556-PatModImgTest/results/6.JLNK.stdout [2024-06-08T04:46:00.646Z] STF 04:46:00.361 - Monitoring processes: JLNK [2024-06-08T04:46:02.811Z] STF 04:46:02.646 - Monitoring Report Summary: [2024-06-08T04:46:02.811Z] STF 04:46:02.646 - o Process JLNK ended with the expected exit code (0) [2024-06-08T04:46:02.811Z] STF 04:46:02.647 - [2024-06-08T04:46:02.811Z] STF 04:46:02.647 - +------ Step 7 - Create com.hello jar [2024-06-08T04:46:02.811Z] STF 04:46:02.647 - | Create modular jar [2024-06-08T04:46:02.811Z] STF 04:46:02.647 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-06-08T04:46:02.811Z] STF 04:46:02.647 - | ModuleVersion: null [2024-06-08T04:46:02.811Z] STF 04:46:02.647 - | MainClass: null [2024-06-08T04:46:02.811Z] STF 04:46:02.647 - | HashModules: null [2024-06-08T04:46:02.811Z] STF 04:46:02.647 - | [2024-06-08T04:46:02.811Z] STF 04:46:02.647 - 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_17178197589102/PatModImg_AppMod_1/20240608-044556-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-06-08T04:46:02.811Z] STF 04:46:02.647 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_AppMod_1/20240608-044556-PatModImgTest/results/7.CMJ.stderr [2024-06-08T04:46:02.811Z] STF 04:46:02.647 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_AppMod_1/20240608-044556-PatModImgTest/results/7.CMJ.stdout [2024-06-08T04:46:02.811Z] STF 04:46:02.654 - Monitoring processes: CMJ [2024-06-08T04:46:03.128Z] STF 04:46:03.035 - Monitoring Report Summary: [2024-06-08T04:46:03.128Z] STF 04:46:03.035 - o Process CMJ ended with the expected exit code (0) [2024-06-08T04:46:03.128Z] STF 04:46:03.035 - Created modular jar: 7.com.hello.jar [2024-06-08T04:46:03.128Z] STF 04:46:03.036 - [2024-06-08T04:46:03.128Z] STF 04:46:03.036 - +------ Step 8 - create java.xml.jar [2024-06-08T04:46:03.128Z] STF 04:46:03.036 - | Create modular jar [2024-06-08T04:46:03.128Z] STF 04:46:03.036 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2024-06-08T04:46:03.128Z] STF 04:46:03.036 - | ModuleVersion: null [2024-06-08T04:46:03.128Z] STF 04:46:03.036 - | MainClass: null [2024-06-08T04:46:03.128Z] STF 04:46:03.036 - | HashModules: null [2024-06-08T04:46:03.128Z] STF 04:46:03.036 - | [2024-06-08T04:46:03.129Z] STF 04:46:03.036 - 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_17178197589102/PatModImg_AppMod_1/20240608-044556-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-06-08T04:46:03.129Z] STF 04:46:03.036 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_AppMod_1/20240608-044556-PatModImgTest/results/8.CMJ.stderr [2024-06-08T04:46:03.129Z] STF 04:46:03.036 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_AppMod_1/20240608-044556-PatModImgTest/results/8.CMJ.stdout [2024-06-08T04:46:03.129Z] STF 04:46:03.043 - Monitoring processes: CMJ [2024-06-08T04:46:03.802Z] STF 04:46:03.423 - Monitoring Report Summary: [2024-06-08T04:46:03.802Z] STF 04:46:03.423 - o Process CMJ ended with the expected exit code (0) [2024-06-08T04:46:03.802Z] STF 04:46:03.424 - Created modular jar: 8.java.xml.jar [2024-06-08T04:46:03.802Z] STF 04:46:03.424 - [2024-06-08T04:46:03.802Z] STF 04:46:03.424 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2024-06-08T04:46:03.802Z] STF 04:46:03.424 - | Run foreground process [2024-06-08T04:46:03.802Z] STF 04:46:03.424 - | Program: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_AppMod_1/20240608-044556-PatModImgTest/tmp/6.XpJVM/bin/java [2024-06-08T04:46:03.802Z] STF 04:46:03.424 - | Mnemonic: OT21 [2024-06-08T04:46:03.802Z] STF 04:46:03.424 - | Echo: ECHO_ON [2024-06-08T04:46:03.802Z] STF 04:46:03.424 - | Expectation: CLEAN_RUN within 5m [2024-06-08T04:46:03.802Z] STF 04:46:03.424 - | [2024-06-08T04:46:03.802Z] STF 04:46:03.424 - Running command: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_AppMod_1/20240608-044556-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/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/systemtest_prereqs/junit/junit.jar;C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/systemtest_prereqs/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2024-06-08T04:46:03.802Z] STF 04:46:03.424 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_AppMod_1/20240608-044556-PatModImgTest/results/9.OT21.stderr [2024-06-08T04:46:03.802Z] STF 04:46:03.424 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_AppMod_1/20240608-044556-PatModImgTest/results/9.OT21.stdout [2024-06-08T04:46:03.802Z] STF 04:46:03.470 - Monitoring processes: OT21 [2024-06-08T04:46:03.802Z] 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-06-08T04:46:03.802Z] OT21 JUnit version 4.12 [2024-06-08T04:46:04.119Z] OT21 . [2024-06-08T04:46:04.119Z] OT21 Time: 0.01 [2024-06-08T04:46:04.119Z] OT21 [2024-06-08T04:46:04.119Z] OT21 OK (1 test) [2024-06-08T04:46:04.119Z] OT21 [2024-06-08T04:46:04.119Z] STF 04:46:03.794 - Monitoring Report Summary: [2024-06-08T04:46:04.119Z] STF 04:46:03.794 - o Process OT21 ended with the expected exit code (0) [2024-06-08T04:46:04.119Z] STF 04:46:03.794 - [2024-06-08T04:46:04.119Z] STF 04:46:03.794 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2024-06-08T04:46:04.119Z] STF 04:46:03.794 - | Run foreground process [2024-06-08T04:46:04.119Z] STF 04:46:03.794 - | Program: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_AppMod_1/20240608-044556-PatModImgTest/tmp/6.XpJVM/bin/java [2024-06-08T04:46:04.119Z] STF 04:46:03.794 - | Mnemonic: OT22 [2024-06-08T04:46:04.119Z] STF 04:46:03.794 - | Echo: ECHO_ON [2024-06-08T04:46:04.119Z] STF 04:46:03.794 - | Expectation: CLEAN_RUN within 5m [2024-06-08T04:46:04.119Z] STF 04:46:03.794 - | [2024-06-08T04:46:04.119Z] STF 04:46:03.795 - Running command: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_AppMod_1/20240608-044556-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_17178197589102/PatModImg_AppMod_1/20240608-044556-PatModImgTest/modules/7.com.hello.jar -XX:-UseCompressedOops -classpath C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/systemtest_prereqs/junit/junit.jar;C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/systemtest_prereqs/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2024-06-08T04:46:04.119Z] STF 04:46:03.795 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_AppMod_1/20240608-044556-PatModImgTest/results/10.OT22.stderr [2024-06-08T04:46:04.119Z] STF 04:46:03.795 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_AppMod_1/20240608-044556-PatModImgTest/results/10.OT22.stdout [2024-06-08T04:46:04.119Z] STF 04:46:03.801 - Monitoring processes: OT22 [2024-06-08T04:46:04.119Z] 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_17178197589102\PatModImg_AppMod_1\20240608-044556-PatModImgTest\modules\7.com.hello.jar [2024-06-08T04:46:04.119Z] OT22 JUnit version 4.12 [2024-06-08T04:46:04.119Z] OT22 . [2024-06-08T04:46:04.119Z] OT22 Time: 0.006 [2024-06-08T04:46:04.119Z] OT22 [2024-06-08T04:46:04.119Z] OT22 OK (1 test) [2024-06-08T04:46:04.119Z] OT22 [2024-06-08T04:46:04.427Z] STF 04:46:04.072 - Monitoring Report Summary: [2024-06-08T04:46:04.427Z] STF 04:46:04.072 - o Process OT22 ended with the expected exit code (0) [2024-06-08T04:46:04.427Z] STF 04:46:04.072 - EXECUTE stage completed [2024-06-08T04:46:04.427Z] STF 04:46:04.130 - [2024-06-08T04:46:04.427Z] STF 04:46:04.130 - ==================== T E A R D O W N ==================== [2024-06-08T04:46:04.427Z] STF 04:46:04.130 - Running teardown: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17178197589102\PatModImg_AppMod_1/20240608-044556-PatModImgTest/tearDown.pl [2024-06-08T04:46:04.427Z] STF 04:46:04.253 - TEARDOWN stage completed [2024-06-08T04:46:04.427Z] STF 04:46:04.264 - [2024-06-08T04:46:04.427Z] STF 04:46:04.264 - ===================== R E S U L T S ===================== [2024-06-08T04:46:04.427Z] STF 04:46:04.264 - Stage results: [2024-06-08T04:46:04.427Z] STF 04:46:04.264 - setUp: pass [2024-06-08T04:46:04.427Z] STF 04:46:04.264 - execute: pass [2024-06-08T04:46:04.427Z] STF 04:46:04.264 - teardown: pass [2024-06-08T04:46:04.427Z] STF 04:46:04.264 - [2024-06-08T04:46:04.427Z] STF 04:46:04.264 - Overall result: PASSED [2024-06-08T04:46:04.427Z] ----------------------------------- [2024-06-08T04:46:04.427Z] PatModImg_AppMod_1_PASSED [2024-06-08T04:46:04.427Z] ----------------------------------- [2024-06-08T04:46:04.427Z] [2024-06-08T04:46:04.427Z] TEST TEARDOWN: [2024-06-08T04:46:04.427Z] Nothing to be done for teardown. [2024-06-08T04:46:04.733Z] PatModImg_AppMod_1 Finish Time: Sat Jun 8 04:46:04 2024 Epoch Time (ms): 1717821964469