PatModImg_AppMod_0

[2025-02-07T04:36:01.521Z] Running test PatModImg_AppMod_0 ... [2025-02-07T04:36:01.521Z] =============================================== [2025-02-07T04:36:01.831Z] PatModImg_AppMod_0 Start Time: Fri Feb 7 04:36:01 2025 Epoch Time (ms): 1738902961510 [2025-02-07T04:36:01.831Z] variation: Mode150 [2025-02-07T04:36:02.245Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-02-07T04:36:02.245Z] { \ [2025-02-07T04:36:02.245Z] echo ""; echo "TEST SETUP:"; \ [2025-02-07T04:36:02.245Z] echo "Nothing to be done for setup."; \ [2025-02-07T04:36:02.245Z] mkdir -p "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_1738902567119\\PatModImg_AppMod_0"; \ [2025-02-07T04:36:02.245Z] cd "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_1738902567119\\PatModImg_AppMod_0"; \ [2025-02-07T04:36:02.245Z] echo ""; echo "TESTING:"; \ [2025-02-07T04:36:02.245Z] 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_1738902567119\\PatModImg_AppMod_0" -test=PatModImgTest -test-args="variant=AppMod"; \ [2025-02-07T04:36:02.245Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_0""_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_1738902567119\\PatModImg_AppMod_0"; else echo "-----------------------------------"; echo "PatModImg_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-02-07T04:36:02.245Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-02-07T04:36:02.245Z] echo "Nothing to be done for teardown."; \ [2025-02-07T04:36:02.245Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_1738902567119\\TestTargetResult"; [2025-02-07T04:36:02.245Z] [2025-02-07T04:36:02.245Z] TEST SETUP: [2025-02-07T04:36:02.245Z] Nothing to be done for setup. [2025-02-07T04:36:02.245Z] [2025-02-07T04:36:02.245Z] TESTING: [2025-02-07T04:36:02.570Z] STF 04:36:02.299 - ========================= S T F ========================= [2025-02-07T04:36:02.570Z] 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_1738902567119\PatModImg_AppMod_0 [2025-02-07T04:36:02.570Z] There is 131490 Mb free [2025-02-07T04:36:02.570Z] STF 04:36:02.350 - ================== G E N E R A T I O N ================== [2025-02-07T04:36:02.570Z] STF 04:36:02.352 - Checking JVM: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image [2025-02-07T04:36:02.570Z] STF 04:36:02.352 - 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 -Dload.agent.path=C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/asm/asm.jar;c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/asm/asm-commons.jar;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_1738902567119\PatModImg_AppMod_0/20250207-043602-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_1738902567119\PatModImg_AppMod_0/20250207-043602-PatModImgTest" [2025-02-07T04:36:04.179Z] GEN 04:36:03.682 - 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' [2025-02-07T04:36:04.179Z] GEN 04:36:03.701 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-02-07T04:36:04.179Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-02-07T04:36:04.179Z] 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 [2025-02-07T04:36:04.179Z] 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 [2025-02-07T04:36:04.179Z] 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 [2025-02-07T04:36:04.179Z] 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 [2025-02-07T04:36:04.179Z] 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 [2025-02-07T04:36:04.179Z] 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 [2025-02-07T04:36:04.179Z] 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 [2025-02-07T04:36:04.179Z] 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 [2025-02-07T04:36:04.179Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2025-02-07T04:36:04.179Z] 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 [2025-02-07T04:36:04.179Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2025-02-07T04:36:04.179Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2025-02-07T04:36:04.179Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-02-07T04:36:04.179Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-02-07T04:36:04.179Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-02-07T04:36:04.179Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2025-02-07T04:36:04.179Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-02-07T04:36:04.179Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-02-07T04:36:04.179Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar [2025-02-07T04:36:04.179Z] GEN 04:36:04.018 - Using Mode NoOptions. Values = '' [2025-02-07T04:36:04.514Z] GEN 04:36:04.174 - [2025-02-07T04:36:04.514Z] GEN 04:36:04.174 - Test command summary: [2025-02-07T04:36:04.514Z] GEN 04:36:04.175 - Step Stage Command Description [2025-02-07T04:36:04.514Z] GEN 04:36:04.175 - -----+--------+-----------------+------------ [2025-02-07T04:36:04.514Z] GEN 04:36:04.175 - 1 execute jar Create com.hello jar [2025-02-07T04:36:04.514Z] GEN 04:36:04.175 - 2 execute jar Create com.hola jar [2025-02-07T04:36:04.514Z] GEN 04:36:04.175 - 3 execute jar Create com.helper jar [2025-02-07T04:36:04.514Z] GEN 04:36:04.175 - 4 execute jar Create com.discreet jar [2025-02-07T04:36:04.514Z] GEN 04:36:04.175 - 5 execute jar Create tests jar [2025-02-07T04:36:04.514Z] GEN 04:36:04.175 - 6 execute jlink Create runtime image for PatchModule test [2025-02-07T04:36:04.514Z] GEN 04:36:04.175 - 7 execute jar Create com.hello jar [2025-02-07T04:36:04.514Z] GEN 04:36:04.175 - 8 execute jar create java.xml.jar [2025-02-07T04:36:04.514Z] GEN 04:36:04.175 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2025-02-07T04:36:04.514Z] GEN 04:36:04.175 - 10 execute Run java Verify if we can patch an Application module using modular jar [2025-02-07T04:36:04.514Z] STF 04:36:04.255 - [2025-02-07T04:36:04.514Z] STF 04:36:04.255 - Script generation completed [2025-02-07T04:36:04.514Z] STF 04:36:04.255 - [2025-02-07T04:36:04.514Z] STF 04:36:04.257 - [2025-02-07T04:36:04.514Z] STF 04:36:04.257 - ======================= S E T U P ======================= [2025-02-07T04:36:04.514Z] STF 04:36:04.257 - Running setup: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_1738902567119\PatModImg_AppMod_0/20250207-043602-PatModImgTest/setUp.pl [2025-02-07T04:36:04.514Z] STF 04:36:04.400 - SETUP stage completed [2025-02-07T04:36:04.514Z] STF 04:36:04.419 - [2025-02-07T04:36:04.514Z] STF 04:36:04.419 - ==================== E X E C U T E - ==================== [2025-02-07T04:36:04.514Z] STF 04:36:04.419 - Running execute: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_1738902567119\PatModImg_AppMod_0/20250207-043602-PatModImgTest/execute.pl [2025-02-07T04:36:04.844Z] STF 04:36:04.579 - [2025-02-07T04:36:04.844Z] STF 04:36:04.579 - Java version [2025-02-07T04:36:04.844Z] STF 04:36:04.579 - Running: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2025-02-07T04:36:04.844Z] openjdk version "11.0.27-beta" 2025-04-15 [2025-02-07T04:36:04.844Z] OpenJDK Runtime Environment Temurin-11.0.27+1-202502061403 (build 11.0.27-beta+1-ea) [2025-02-07T04:36:04.844Z] OpenJDK 64-Bit Server VM Temurin-11.0.27+1-202502061403 (build 11.0.27-beta+1-ea, mixed mode) [2025-02-07T04:36:04.844Z] STF 04:36:04.726 - [2025-02-07T04:36:04.844Z] STF 04:36:04.726 - +------ Step 1 - Create com.hello jar [2025-02-07T04:36:04.844Z] STF 04:36:04.726 - | Create modular jar [2025-02-07T04:36:04.844Z] STF 04:36:04.726 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-02-07T04:36:04.844Z] STF 04:36:04.726 - | ModuleVersion: null [2025-02-07T04:36:04.844Z] STF 04:36:04.726 - | MainClass: null [2025-02-07T04:36:04.844Z] STF 04:36:04.726 - | HashModules: null [2025-02-07T04:36:04.844Z] STF 04:36:04.726 - | [2025-02-07T04:36:04.844Z] STF 04:36:04.727 - 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_1738902567119/PatModImg_AppMod_0/20250207-043602-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 . [2025-02-07T04:36:04.844Z] STF 04:36:04.727 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1738902567119/PatModImg_AppMod_0/20250207-043602-PatModImgTest/results/1.CMJ.stderr [2025-02-07T04:36:04.844Z] STF 04:36:04.727 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1738902567119/PatModImg_AppMod_0/20250207-043602-PatModImgTest/results/1.CMJ.stdout [2025-02-07T04:36:04.844Z] STF 04:36:04.755 - Monitoring processes: CMJ [2025-02-07T04:36:05.513Z] STF 04:36:05.158 - Monitoring Report Summary: [2025-02-07T04:36:05.513Z] STF 04:36:05.158 - o Process CMJ ended with the expected exit code (0) [2025-02-07T04:36:05.513Z] STF 04:36:05.158 - Created modular jar: 1.com.hello.jar [2025-02-07T04:36:05.513Z] STF 04:36:05.158 - [2025-02-07T04:36:05.513Z] STF 04:36:05.158 - +------ Step 2 - Create com.hola jar [2025-02-07T04:36:05.513Z] STF 04:36:05.158 - | Create modular jar [2025-02-07T04:36:05.513Z] STF 04:36:05.158 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-02-07T04:36:05.513Z] STF 04:36:05.158 - | ModuleVersion: null [2025-02-07T04:36:05.513Z] STF 04:36:05.158 - | MainClass: null [2025-02-07T04:36:05.513Z] STF 04:36:05.158 - | HashModules: null [2025-02-07T04:36:05.513Z] STF 04:36:05.158 - | [2025-02-07T04:36:05.513Z] STF 04:36:05.159 - 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_1738902567119/PatModImg_AppMod_0/20250207-043602-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 . [2025-02-07T04:36:05.513Z] STF 04:36:05.159 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1738902567119/PatModImg_AppMod_0/20250207-043602-PatModImgTest/results/2.CMJ.stderr [2025-02-07T04:36:05.513Z] STF 04:36:05.159 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1738902567119/PatModImg_AppMod_0/20250207-043602-PatModImgTest/results/2.CMJ.stdout [2025-02-07T04:36:05.513Z] STF 04:36:05.166 - Monitoring processes: CMJ [2025-02-07T04:36:05.841Z] STF 04:36:05.557 - Monitoring Report Summary: [2025-02-07T04:36:05.841Z] STF 04:36:05.557 - o Process CMJ ended with the expected exit code (0) [2025-02-07T04:36:05.841Z] STF 04:36:05.557 - Created modular jar: 2.com.hola.jar [2025-02-07T04:36:05.841Z] STF 04:36:05.557 - [2025-02-07T04:36:05.841Z] STF 04:36:05.557 - +------ Step 3 - Create com.helper jar [2025-02-07T04:36:05.841Z] STF 04:36:05.557 - | Create modular jar [2025-02-07T04:36:05.841Z] STF 04:36:05.557 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-02-07T04:36:05.841Z] STF 04:36:05.557 - | ModuleVersion: null [2025-02-07T04:36:05.841Z] STF 04:36:05.557 - | MainClass: null [2025-02-07T04:36:05.841Z] STF 04:36:05.557 - | HashModules: null [2025-02-07T04:36:05.841Z] STF 04:36:05.557 - | [2025-02-07T04:36:05.841Z] STF 04:36:05.557 - 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_1738902567119/PatModImg_AppMod_0/20250207-043602-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 . [2025-02-07T04:36:05.841Z] STF 04:36:05.557 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1738902567119/PatModImg_AppMod_0/20250207-043602-PatModImgTest/results/3.CMJ.stderr [2025-02-07T04:36:05.841Z] STF 04:36:05.557 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1738902567119/PatModImg_AppMod_0/20250207-043602-PatModImgTest/results/3.CMJ.stdout [2025-02-07T04:36:05.841Z] STF 04:36:05.564 - Monitoring processes: CMJ [2025-02-07T04:36:06.165Z] STF 04:36:05.981 - Monitoring Report Summary: [2025-02-07T04:36:06.165Z] STF 04:36:05.981 - o Process CMJ ended with the expected exit code (0) [2025-02-07T04:36:06.165Z] STF 04:36:05.981 - Created modular jar: 3.com.helper.jar [2025-02-07T04:36:06.165Z] STF 04:36:05.981 - [2025-02-07T04:36:06.165Z] STF 04:36:05.981 - +------ Step 4 - Create com.discreet jar [2025-02-07T04:36:06.165Z] STF 04:36:05.981 - | Create modular jar [2025-02-07T04:36:06.165Z] STF 04:36:05.981 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-02-07T04:36:06.165Z] STF 04:36:05.981 - | ModuleVersion: null [2025-02-07T04:36:06.165Z] STF 04:36:05.981 - | MainClass: null [2025-02-07T04:36:06.165Z] STF 04:36:05.981 - | HashModules: null [2025-02-07T04:36:06.165Z] STF 04:36:05.981 - | [2025-02-07T04:36:06.165Z] STF 04:36:05.982 - 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_1738902567119/PatModImg_AppMod_0/20250207-043602-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 . [2025-02-07T04:36:06.165Z] STF 04:36:05.982 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1738902567119/PatModImg_AppMod_0/20250207-043602-PatModImgTest/results/4.CMJ.stderr [2025-02-07T04:36:06.165Z] STF 04:36:05.982 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1738902567119/PatModImg_AppMod_0/20250207-043602-PatModImgTest/results/4.CMJ.stdout [2025-02-07T04:36:06.165Z] STF 04:36:05.989 - Monitoring processes: CMJ [2025-02-07T04:36:06.493Z] STF 04:36:06.352 - Monitoring Report Summary: [2025-02-07T04:36:06.493Z] STF 04:36:06.352 - o Process CMJ ended with the expected exit code (0) [2025-02-07T04:36:06.493Z] STF 04:36:06.352 - Created modular jar: 4.com.discreet.jar [2025-02-07T04:36:06.493Z] STF 04:36:06.352 - [2025-02-07T04:36:06.493Z] STF 04:36:06.352 - +------ Step 5 - Create tests jar [2025-02-07T04:36:06.493Z] STF 04:36:06.352 - | Create modular jar [2025-02-07T04:36:06.493Z] STF 04:36:06.353 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-02-07T04:36:06.493Z] STF 04:36:06.353 - | ModuleVersion: null [2025-02-07T04:36:06.493Z] STF 04:36:06.353 - | MainClass: null [2025-02-07T04:36:06.493Z] STF 04:36:06.353 - | HashModules: null [2025-02-07T04:36:06.493Z] STF 04:36:06.353 - | [2025-02-07T04:36:06.493Z] STF 04:36:06.353 - 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_1738902567119/PatModImg_AppMod_0/20250207-043602-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 . [2025-02-07T04:36:06.493Z] STF 04:36:06.353 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1738902567119/PatModImg_AppMod_0/20250207-043602-PatModImgTest/results/5.CMJ.stderr [2025-02-07T04:36:06.493Z] STF 04:36:06.353 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1738902567119/PatModImg_AppMod_0/20250207-043602-PatModImgTest/results/5.CMJ.stdout [2025-02-07T04:36:06.493Z] STF 04:36:06.362 - Monitoring processes: CMJ [2025-02-07T04:36:06.819Z] STF 04:36:06.735 - Monitoring Report Summary: [2025-02-07T04:36:06.819Z] STF 04:36:06.735 - o Process CMJ ended with the expected exit code (0) [2025-02-07T04:36:06.819Z] STF 04:36:06.735 - Created modular jar: 5.com.test.jar [2025-02-07T04:36:06.819Z] STF 04:36:06.735 - [2025-02-07T04:36:06.819Z] STF 04:36:06.735 - +------ Step 6 - Create runtime image for PatchModule test [2025-02-07T04:36:06.819Z] STF 04:36:06.735 - | Run jlink to create runtime image [2025-02-07T04:36:06.819Z] STF 04:36:06.735 - | ImageName: XpJVM [2025-02-07T04:36:06.819Z] STF 04:36:06.735 - | [2025-02-07T04:36:06.819Z] STF 04:36:06.736 - 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_1738902567119\PatModImg_AppMod_0\20250207-043602-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_1738902567119\PatModImg_AppMod_0\20250207-043602-PatModImgTest\tmp\6.XpJVM [2025-02-07T04:36:06.819Z] STF 04:36:06.736 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1738902567119/PatModImg_AppMod_0/20250207-043602-PatModImgTest/results/6.JLNK.stderr [2025-02-07T04:36:06.819Z] STF 04:36:06.736 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1738902567119/PatModImg_AppMod_0/20250207-043602-PatModImgTest/results/6.JLNK.stdout [2025-02-07T04:36:06.819Z] STF 04:36:06.743 - Monitoring processes: JLNK [2025-02-07T04:36:09.701Z] STF 04:36:09.325 - Monitoring Report Summary: [2025-02-07T04:36:09.701Z] STF 04:36:09.325 - o Process JLNK ended with the expected exit code (0) [2025-02-07T04:36:09.701Z] STF 04:36:09.326 - [2025-02-07T04:36:09.701Z] STF 04:36:09.326 - +------ Step 7 - Create com.hello jar [2025-02-07T04:36:09.701Z] STF 04:36:09.326 - | Create modular jar [2025-02-07T04:36:09.701Z] STF 04:36:09.326 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-02-07T04:36:09.701Z] STF 04:36:09.326 - | ModuleVersion: null [2025-02-07T04:36:09.701Z] STF 04:36:09.326 - | MainClass: null [2025-02-07T04:36:09.701Z] STF 04:36:09.326 - | HashModules: null [2025-02-07T04:36:09.701Z] STF 04:36:09.326 - | [2025-02-07T04:36:09.702Z] STF 04:36:09.326 - 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_1738902567119/PatModImg_AppMod_0/20250207-043602-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 . [2025-02-07T04:36:09.702Z] STF 04:36:09.326 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1738902567119/PatModImg_AppMod_0/20250207-043602-PatModImgTest/results/7.CMJ.stderr [2025-02-07T04:36:09.702Z] STF 04:36:09.326 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1738902567119/PatModImg_AppMod_0/20250207-043602-PatModImgTest/results/7.CMJ.stdout [2025-02-07T04:36:09.702Z] STF 04:36:09.351 - Monitoring processes: CMJ [2025-02-07T04:36:10.029Z] STF 04:36:09.730 - Monitoring Report Summary: [2025-02-07T04:36:10.029Z] STF 04:36:09.730 - o Process CMJ ended with the expected exit code (0) [2025-02-07T04:36:10.029Z] STF 04:36:09.730 - Created modular jar: 7.com.hello.jar [2025-02-07T04:36:10.029Z] STF 04:36:09.730 - [2025-02-07T04:36:10.029Z] STF 04:36:09.730 - +------ Step 8 - create java.xml.jar [2025-02-07T04:36:10.029Z] STF 04:36:09.730 - | Create modular jar [2025-02-07T04:36:10.029Z] STF 04:36:09.730 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-02-07T04:36:10.029Z] STF 04:36:09.730 - | ModuleVersion: null [2025-02-07T04:36:10.029Z] STF 04:36:09.730 - | MainClass: null [2025-02-07T04:36:10.029Z] STF 04:36:09.730 - | HashModules: null [2025-02-07T04:36:10.029Z] STF 04:36:09.730 - | [2025-02-07T04:36:10.029Z] STF 04:36:09.730 - 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_1738902567119/PatModImg_AppMod_0/20250207-043602-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 . [2025-02-07T04:36:10.029Z] STF 04:36:09.730 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1738902567119/PatModImg_AppMod_0/20250207-043602-PatModImgTest/results/8.CMJ.stderr [2025-02-07T04:36:10.029Z] STF 04:36:09.730 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1738902567119/PatModImg_AppMod_0/20250207-043602-PatModImgTest/results/8.CMJ.stdout [2025-02-07T04:36:10.029Z] STF 04:36:09.737 - Monitoring processes: CMJ [2025-02-07T04:36:10.356Z] STF 04:36:10.118 - Monitoring Report Summary: [2025-02-07T04:36:10.356Z] STF 04:36:10.119 - o Process CMJ ended with the expected exit code (0) [2025-02-07T04:36:10.356Z] STF 04:36:10.119 - Created modular jar: 8.java.xml.jar [2025-02-07T04:36:10.356Z] STF 04:36:10.119 - [2025-02-07T04:36:10.356Z] STF 04:36:10.119 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2025-02-07T04:36:10.356Z] STF 04:36:10.119 - | Run foreground process [2025-02-07T04:36:10.356Z] STF 04:36:10.119 - | Program: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1738902567119/PatModImg_AppMod_0/20250207-043602-PatModImgTest/tmp/6.XpJVM/bin/java [2025-02-07T04:36:10.356Z] STF 04:36:10.119 - | Mnemonic: OT21 [2025-02-07T04:36:10.356Z] STF 04:36:10.119 - | Echo: ECHO_ON [2025-02-07T04:36:10.356Z] STF 04:36:10.119 - | Expectation: CLEAN_RUN within 5m [2025-02-07T04:36:10.356Z] STF 04:36:10.119 - | [2025-02-07T04:36:10.356Z] STF 04:36:10.119 - Running command: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1738902567119/PatModImg_AppMod_0/20250207-043602-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 [2025-02-07T04:36:10.356Z] STF 04:36:10.119 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1738902567119/PatModImg_AppMod_0/20250207-043602-PatModImgTest/results/9.OT21.stderr [2025-02-07T04:36:10.356Z] STF 04:36:10.119 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1738902567119/PatModImg_AppMod_0/20250207-043602-PatModImgTest/results/9.OT21.stdout [2025-02-07T04:36:10.356Z] STF 04:36:10.142 - Monitoring processes: OT21 [2025-02-07T04:36:10.682Z] 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 [2025-02-07T04:36:10.682Z] OT21 JUnit version 4.12 [2025-02-07T04:36:10.682Z] OT21 . [2025-02-07T04:36:10.682Z] OT21 Time: 0.012 [2025-02-07T04:36:10.682Z] OT21 [2025-02-07T04:36:10.682Z] OT21 OK (1 test) [2025-02-07T04:36:10.682Z] OT21 [2025-02-07T04:36:10.682Z] STF 04:36:10.524 - Monitoring Report Summary: [2025-02-07T04:36:10.682Z] STF 04:36:10.524 - o Process OT21 ended with the expected exit code (0) [2025-02-07T04:36:10.682Z] STF 04:36:10.524 - [2025-02-07T04:36:10.682Z] STF 04:36:10.524 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2025-02-07T04:36:10.682Z] STF 04:36:10.524 - | Run foreground process [2025-02-07T04:36:10.682Z] STF 04:36:10.524 - | Program: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1738902567119/PatModImg_AppMod_0/20250207-043602-PatModImgTest/tmp/6.XpJVM/bin/java [2025-02-07T04:36:10.682Z] STF 04:36:10.524 - | Mnemonic: OT22 [2025-02-07T04:36:10.682Z] STF 04:36:10.524 - | Echo: ECHO_ON [2025-02-07T04:36:10.682Z] STF 04:36:10.524 - | Expectation: CLEAN_RUN within 5m [2025-02-07T04:36:10.682Z] STF 04:36:10.524 - | [2025-02-07T04:36:10.682Z] STF 04:36:10.525 - Running command: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1738902567119/PatModImg_AppMod_0/20250207-043602-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_1738902567119/PatModImg_AppMod_0/20250207-043602-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 [2025-02-07T04:36:10.682Z] STF 04:36:10.525 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1738902567119/PatModImg_AppMod_0/20250207-043602-PatModImgTest/results/10.OT22.stderr [2025-02-07T04:36:10.682Z] STF 04:36:10.525 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1738902567119/PatModImg_AppMod_0/20250207-043602-PatModImgTest/results/10.OT22.stdout [2025-02-07T04:36:10.682Z] STF 04:36:10.532 - Monitoring processes: OT22 [2025-02-07T04:36:11.011Z] 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_1738902567119\PatModImg_AppMod_0\20250207-043602-PatModImgTest\modules\7.com.hello.jar [2025-02-07T04:36:11.012Z] OT22 JUnit version 4.12 [2025-02-07T04:36:11.012Z] OT22 . [2025-02-07T04:36:11.012Z] OT22 Time: 0.006 [2025-02-07T04:36:11.012Z] OT22 [2025-02-07T04:36:11.012Z] OT22 OK (1 test) [2025-02-07T04:36:11.012Z] OT22 [2025-02-07T04:36:11.012Z] STF 04:36:10.855 - Monitoring Report Summary: [2025-02-07T04:36:11.012Z] STF 04:36:10.855 - o Process OT22 ended with the expected exit code (0) [2025-02-07T04:36:11.012Z] STF 04:36:10.855 - EXECUTE stage completed [2025-02-07T04:36:11.012Z] STF 04:36:10.925 - [2025-02-07T04:36:11.012Z] STF 04:36:10.925 - ==================== T E A R D O W N ==================== [2025-02-07T04:36:11.012Z] STF 04:36:10.926 - Running teardown: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_1738902567119\PatModImg_AppMod_0/20250207-043602-PatModImgTest/tearDown.pl [2025-02-07T04:36:11.322Z] STF 04:36:11.079 - TEARDOWN stage completed [2025-02-07T04:36:11.322Z] STF 04:36:11.094 - [2025-02-07T04:36:11.322Z] STF 04:36:11.094 - ===================== R E S U L T S ===================== [2025-02-07T04:36:11.322Z] STF 04:36:11.094 - Stage results: [2025-02-07T04:36:11.322Z] STF 04:36:11.094 - setUp: pass [2025-02-07T04:36:11.322Z] STF 04:36:11.094 - execute: pass [2025-02-07T04:36:11.322Z] STF 04:36:11.094 - teardown: pass [2025-02-07T04:36:11.322Z] STF 04:36:11.094 - [2025-02-07T04:36:11.322Z] STF 04:36:11.094 - Overall result: PASSED [2025-02-07T04:36:11.322Z] ----------------------------------- [2025-02-07T04:36:11.322Z] PatModImg_AppMod_0_PASSED [2025-02-07T04:36:11.322Z] ----------------------------------- [2025-02-07T04:36:11.322Z] [2025-02-07T04:36:11.322Z] TEST TEARDOWN: [2025-02-07T04:36:11.322Z] Nothing to be done for teardown. [2025-02-07T04:36:11.690Z] PatModImg_AppMod_0 Finish Time: Fri Feb 7 04:36:11 2025 Epoch Time (ms): 1738902971335