PatModImg_AppMod_0

[2025-04-25T06:11:58.133Z] Running test PatModImg_AppMod_0 ... [2025-04-25T06:11:58.133Z] =============================================== [2025-04-25T06:11:58.486Z] PatModImg_AppMod_0 Start Time: Fri Apr 25 06:11:58 2025 Epoch Time (ms): 1745561518224 [2025-04-25T06:11:58.486Z] variation: Mode150 [2025-04-25T06:11:58.842Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-04-25T06:11:58.842Z] { \ [2025-04-25T06:11:58.842Z] echo ""; echo "TEST SETUP:"; \ [2025-04-25T06:11:58.842Z] echo "Nothing to be done for setup."; \ [2025-04-25T06:11:58.842Z] mkdir -p "C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/aqa-tests/\\TKG\\output_17455588936684\\PatModImg_AppMod_0"; \ [2025-04-25T06:11:58.842Z] cd "C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/aqa-tests/\\TKG\\output_17455588936684\\PatModImg_AppMod_0"; \ [2025-04-25T06:11:58.842Z] echo ""; echo "TESTING:"; \ [2025-04-25T06:11:58.842Z] perl C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="c:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/../../testDependency/system_lib\\" -java-args=' -XX:+UseCompressedOops ' -results-root="C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/aqa-tests/\\TKG\\output_17455588936684\\PatModImg_AppMod_0" -test=PatModImgTest -test-args="variant=AppMod"; \ [2025-04-25T06:11:58.842Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_0""_PASSED"; echo "-----------------------------------"; cd C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/aqa-tests/; rm -f -r "C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/aqa-tests/\\TKG\\output_17455588936684\\PatModImg_AppMod_0"; else echo "-----------------------------------"; echo "PatModImg_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-04-25T06:11:58.842Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-04-25T06:11:58.842Z] echo "Nothing to be done for teardown."; \ [2025-04-25T06:11:58.842Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/aqa-tests/\\TKG\\output_17455588936684\\TestTargetResult"; [2025-04-25T06:11:58.842Z] [2025-04-25T06:11:58.842Z] TEST SETUP: [2025-04-25T06:11:58.842Z] Nothing to be done for setup. [2025-04-25T06:11:58.842Z] [2025-04-25T06:11:58.842Z] TESTING: [2025-04-25T06:11:59.192Z] STF 06:11:58.826 - ========================= S T F ========================= [2025-04-25T06:11:59.192Z] systemtest-prereqs has been processed, and set to: c:/jenkins/testDependency/system_libRetrieving amount of free space on drive containing C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/aqa-tests/\TKG\output_17455588936684\PatModImg_AppMod_0 [2025-04-25T06:11:59.192Z] There is 387429 Mb free [2025-04-25T06:11:59.192Z] STF 06:11:58.907 - ================== G E N E R A T I O N ================== [2025-04-25T06:11:59.192Z] STF 06:11:58.910 - Checking JVM: c:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/jdkbinary/j2sdk-image [2025-04-25T06:11:59.192Z] STF 06:11:58.911 - Starting process to generate scripts: c:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath c:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/../../testDependency/system_lib\/asm/asm.jar;c:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/../../testDependency/system_lib\/asm/asm-commons.jar;c:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/../../testDependency/system_lib\/log4j/log4j-api.jar;c:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/aqa-tests/\TKG\output_17455588936684\PatModImg_AppMod_0/20250425-061158-PatModImgTest/stf_parameters.properties, , C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/aqa-tests/\TKG\output_17455588936684\PatModImg_AppMod_0/20250425-061158-PatModImgTest" [2025-04-25T06:11:59.192Z] GEN [0.016s][warning][cds] Archived non-system classes are disabled because the java.system.class.loader property is specified (value = "net.adoptopenjdk.stf.runner.StfClassLoader"). To use archived non-system classes, this property must not be set [2025-04-25T06:12:00.876Z] GEN 06:12:00.410 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: 'C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2025-04-25T06:12:00.876Z] GEN 06:12:00.420 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-04-25T06:12:00.876Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-04-25T06:12:00.876Z] GEN C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2025-04-25T06:12:00.876Z] GEN C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2025-04-25T06:12:00.876Z] GEN C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2025-04-25T06:12:00.876Z] GEN C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2025-04-25T06:12:00.876Z] GEN C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2025-04-25T06:12:00.876Z] GEN C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2025-04-25T06:12:00.876Z] GEN C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2025-04-25T06:12:00.876Z] GEN C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2025-04-25T06:12:00.876Z] GEN C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2025-04-25T06:12:00.876Z] GEN C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2025-04-25T06:12:00.876Z] GEN C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2025-04-25T06:12:00.876Z] GEN C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2025-04-25T06:12:00.876Z] GEN C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-04-25T06:12:00.876Z] GEN C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-04-25T06:12:00.876Z] GEN C:\\jenkins\\workspace\\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-04-25T06:12:00.877Z] GEN C:\\jenkins\\workspace\\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2\\jvmtest\\system\\STF\\stf.core\\bin [2025-04-25T06:12:00.877Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-04-25T06:12:00.877Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-04-25T06:12:00.877Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar [2025-04-25T06:12:00.877Z] GEN 06:12:00.656 - Using Mode NoOptions. Values = '' [2025-04-25T06:12:00.877Z] GEN 06:12:00.775 - [2025-04-25T06:12:00.877Z] GEN 06:12:00.775 - Test command summary: [2025-04-25T06:12:00.877Z] GEN 06:12:00.775 - Step Stage Command Description [2025-04-25T06:12:00.877Z] GEN 06:12:00.776 - -----+--------+-----------------+------------ [2025-04-25T06:12:00.877Z] GEN 06:12:00.776 - 1 execute jar Create com.hello jar [2025-04-25T06:12:00.877Z] GEN 06:12:00.776 - 2 execute jar Create com.hola jar [2025-04-25T06:12:00.877Z] GEN 06:12:00.776 - 3 execute jar Create com.helper jar [2025-04-25T06:12:00.877Z] GEN 06:12:00.776 - 4 execute jar Create com.discreet jar [2025-04-25T06:12:00.877Z] GEN 06:12:00.776 - 5 execute jar Create tests jar [2025-04-25T06:12:00.877Z] GEN 06:12:00.776 - 6 execute jlink Create runtime image for PatchModule test [2025-04-25T06:12:00.877Z] GEN 06:12:00.776 - 7 execute jar Create com.hello jar [2025-04-25T06:12:00.877Z] GEN 06:12:00.777 - 8 execute jar create java.xml.jar [2025-04-25T06:12:00.877Z] GEN 06:12:00.777 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2025-04-25T06:12:00.877Z] GEN 06:12:00.777 - 10 execute Run java Verify if we can patch an Application module using modular jar [2025-04-25T06:12:00.877Z] STF 06:12:00.824 - [2025-04-25T06:12:00.877Z] STF 06:12:00.824 - Script generation completed [2025-04-25T06:12:00.877Z] STF 06:12:00.824 - [2025-04-25T06:12:00.877Z] STF 06:12:00.826 - [2025-04-25T06:12:00.877Z] STF 06:12:00.826 - ======================= S E T U P ======================= [2025-04-25T06:12:00.877Z] STF 06:12:00.826 - Running setup: perl C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/aqa-tests/\TKG\output_17455588936684\PatModImg_AppMod_0/20250425-061158-PatModImgTest/setUp.pl [2025-04-25T06:12:01.208Z] STF 06:12:00.994 - SETUP stage completed [2025-04-25T06:12:01.208Z] STF 06:12:01.013 - [2025-04-25T06:12:01.208Z] STF 06:12:01.013 - ==================== E X E C U T E - ==================== [2025-04-25T06:12:01.208Z] STF 06:12:01.013 - Running execute: perl C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/aqa-tests/\TKG\output_17455588936684\PatModImg_AppMod_0/20250425-061158-PatModImgTest/execute.pl [2025-04-25T06:12:01.554Z] STF 06:12:01.161 - [2025-04-25T06:12:01.554Z] STF 06:12:01.161 - Java version [2025-04-25T06:12:01.554Z] STF 06:12:01.161 - Running: c:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/jdkbinary/j2sdk-image/bin/java -version [2025-04-25T06:12:01.554Z] openjdk version "25-beta" 2025-09-16 [2025-04-25T06:12:01.554Z] OpenJDK Runtime Environment Temurin-25+20-202504242039 (build 25-beta+20-ea) [2025-04-25T06:12:01.554Z] OpenJDK 64-Bit Server VM Temurin-25+20-202504242039 (build 25-beta+20-ea, mixed mode, sharing) [2025-04-25T06:12:01.554Z] STF 06:12:01.264 - [2025-04-25T06:12:01.554Z] STF 06:12:01.264 - +------ Step 1 - Create com.hello jar [2025-04-25T06:12:01.554Z] STF 06:12:01.264 - | Create modular jar [2025-04-25T06:12:01.554Z] STF 06:12:01.264 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-04-25T06:12:01.554Z] STF 06:12:01.264 - | ModuleVersion: null [2025-04-25T06:12:01.554Z] STF 06:12:01.264 - | MainClass: null [2025-04-25T06:12:01.554Z] STF 06:12:01.264 - | HashModules: null [2025-04-25T06:12:01.554Z] STF 06:12:01.264 - | [2025-04-25T06:12:01.554Z] STF 06:12:01.264 - Running command: c:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/aqa-tests/TKG/output_17455588936684/PatModImg_AppMod_0/20250425-061158-PatModImgTest/modules/1.com.hello.jar -C C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2025-04-25T06:12:01.554Z] STF 06:12:01.265 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/aqa-tests/TKG/output_17455588936684/PatModImg_AppMod_0/20250425-061158-PatModImgTest/results/1.CMJ.stderr [2025-04-25T06:12:01.554Z] STF 06:12:01.265 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/aqa-tests/TKG/output_17455588936684/PatModImg_AppMod_0/20250425-061158-PatModImgTest/results/1.CMJ.stdout [2025-04-25T06:12:01.554Z] STF 06:12:01.298 - Monitoring processes: CMJ [2025-04-25T06:12:01.869Z] STF 06:12:01.691 - Monitoring Report Summary: [2025-04-25T06:12:01.869Z] STF 06:12:01.692 - o Process CMJ ended with the expected exit code (0) [2025-04-25T06:12:01.869Z] STF 06:12:01.692 - Created modular jar: 1.com.hello.jar [2025-04-25T06:12:01.869Z] STF 06:12:01.692 - [2025-04-25T06:12:01.869Z] STF 06:12:01.692 - +------ Step 2 - Create com.hola jar [2025-04-25T06:12:01.869Z] STF 06:12:01.692 - | Create modular jar [2025-04-25T06:12:01.869Z] STF 06:12:01.692 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-04-25T06:12:01.869Z] STF 06:12:01.692 - | ModuleVersion: null [2025-04-25T06:12:01.869Z] STF 06:12:01.692 - | MainClass: null [2025-04-25T06:12:01.869Z] STF 06:12:01.692 - | HashModules: null [2025-04-25T06:12:01.869Z] STF 06:12:01.692 - | [2025-04-25T06:12:01.869Z] STF 06:12:01.692 - Running command: c:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/aqa-tests/TKG/output_17455588936684/PatModImg_AppMod_0/20250425-061158-PatModImgTest/modules/2.com.hola.jar -C C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2025-04-25T06:12:01.869Z] STF 06:12:01.692 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/aqa-tests/TKG/output_17455588936684/PatModImg_AppMod_0/20250425-061158-PatModImgTest/results/2.CMJ.stderr [2025-04-25T06:12:01.869Z] STF 06:12:01.692 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/aqa-tests/TKG/output_17455588936684/PatModImg_AppMod_0/20250425-061158-PatModImgTest/results/2.CMJ.stdout [2025-04-25T06:12:01.869Z] STF 06:12:01.717 - Monitoring processes: CMJ [2025-04-25T06:12:02.208Z] STF 06:12:02.131 - Monitoring Report Summary: [2025-04-25T06:12:02.208Z] STF 06:12:02.131 - o Process CMJ ended with the expected exit code (0) [2025-04-25T06:12:02.208Z] STF 06:12:02.132 - Created modular jar: 2.com.hola.jar [2025-04-25T06:12:02.208Z] STF 06:12:02.132 - [2025-04-25T06:12:02.208Z] STF 06:12:02.132 - +------ Step 3 - Create com.helper jar [2025-04-25T06:12:02.208Z] STF 06:12:02.132 - | Create modular jar [2025-04-25T06:12:02.208Z] STF 06:12:02.132 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-04-25T06:12:02.208Z] STF 06:12:02.132 - | ModuleVersion: null [2025-04-25T06:12:02.208Z] STF 06:12:02.132 - | MainClass: null [2025-04-25T06:12:02.208Z] STF 06:12:02.132 - | HashModules: null [2025-04-25T06:12:02.208Z] STF 06:12:02.132 - | [2025-04-25T06:12:02.208Z] STF 06:12:02.132 - Running command: c:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/aqa-tests/TKG/output_17455588936684/PatModImg_AppMod_0/20250425-061158-PatModImgTest/modules/3.com.helper.jar -C C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2025-04-25T06:12:02.208Z] STF 06:12:02.132 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/aqa-tests/TKG/output_17455588936684/PatModImg_AppMod_0/20250425-061158-PatModImgTest/results/3.CMJ.stderr [2025-04-25T06:12:02.208Z] STF 06:12:02.132 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/aqa-tests/TKG/output_17455588936684/PatModImg_AppMod_0/20250425-061158-PatModImgTest/results/3.CMJ.stdout [2025-04-25T06:12:02.559Z] STF 06:12:02.157 - Monitoring processes: CMJ [2025-04-25T06:12:02.899Z] STF 06:12:02.573 - Monitoring Report Summary: [2025-04-25T06:12:02.899Z] STF 06:12:02.573 - o Process CMJ ended with the expected exit code (0) [2025-04-25T06:12:02.899Z] STF 06:12:02.574 - Created modular jar: 3.com.helper.jar [2025-04-25T06:12:02.899Z] STF 06:12:02.574 - [2025-04-25T06:12:02.899Z] STF 06:12:02.574 - +------ Step 4 - Create com.discreet jar [2025-04-25T06:12:02.899Z] STF 06:12:02.574 - | Create modular jar [2025-04-25T06:12:02.899Z] STF 06:12:02.574 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-04-25T06:12:02.899Z] STF 06:12:02.574 - | ModuleVersion: null [2025-04-25T06:12:02.899Z] STF 06:12:02.574 - | MainClass: null [2025-04-25T06:12:02.899Z] STF 06:12:02.574 - | HashModules: null [2025-04-25T06:12:02.899Z] STF 06:12:02.574 - | [2025-04-25T06:12:02.899Z] STF 06:12:02.574 - Running command: c:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/aqa-tests/TKG/output_17455588936684/PatModImg_AppMod_0/20250425-061158-PatModImgTest/modules/4.com.discreet.jar -C C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2025-04-25T06:12:02.899Z] STF 06:12:02.574 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/aqa-tests/TKG/output_17455588936684/PatModImg_AppMod_0/20250425-061158-PatModImgTest/results/4.CMJ.stderr [2025-04-25T06:12:02.899Z] STF 06:12:02.574 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/aqa-tests/TKG/output_17455588936684/PatModImg_AppMod_0/20250425-061158-PatModImgTest/results/4.CMJ.stdout [2025-04-25T06:12:02.899Z] STF 06:12:02.582 - Monitoring processes: CMJ [2025-04-25T06:12:03.236Z] STF 06:12:02.991 - Monitoring Report Summary: [2025-04-25T06:12:03.236Z] STF 06:12:02.991 - o Process CMJ ended with the expected exit code (0) [2025-04-25T06:12:03.236Z] STF 06:12:02.991 - Created modular jar: 4.com.discreet.jar [2025-04-25T06:12:03.236Z] STF 06:12:02.991 - [2025-04-25T06:12:03.236Z] STF 06:12:02.991 - +------ Step 5 - Create tests jar [2025-04-25T06:12:03.236Z] STF 06:12:02.991 - | Create modular jar [2025-04-25T06:12:03.236Z] STF 06:12:02.991 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-04-25T06:12:03.236Z] STF 06:12:02.991 - | ModuleVersion: null [2025-04-25T06:12:03.236Z] STF 06:12:02.991 - | MainClass: null [2025-04-25T06:12:03.236Z] STF 06:12:02.991 - | HashModules: null [2025-04-25T06:12:03.236Z] STF 06:12:02.991 - | [2025-04-25T06:12:03.237Z] STF 06:12:02.992 - Running command: c:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/aqa-tests/TKG/output_17455588936684/PatModImg_AppMod_0/20250425-061158-PatModImgTest/modules/5.com.test.jar -C C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2025-04-25T06:12:03.237Z] STF 06:12:02.992 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/aqa-tests/TKG/output_17455588936684/PatModImg_AppMod_0/20250425-061158-PatModImgTest/results/5.CMJ.stderr [2025-04-25T06:12:03.237Z] STF 06:12:02.992 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/aqa-tests/TKG/output_17455588936684/PatModImg_AppMod_0/20250425-061158-PatModImgTest/results/5.CMJ.stdout [2025-04-25T06:12:03.237Z] STF 06:12:03.014 - Monitoring processes: CMJ [2025-04-25T06:12:03.574Z] STF 06:12:03.382 - Monitoring Report Summary: [2025-04-25T06:12:03.574Z] STF 06:12:03.382 - o Process CMJ ended with the expected exit code (0) [2025-04-25T06:12:03.574Z] STF 06:12:03.383 - Created modular jar: 5.com.test.jar [2025-04-25T06:12:03.574Z] STF 06:12:03.383 - [2025-04-25T06:12:03.574Z] STF 06:12:03.383 - +------ Step 6 - Create runtime image for PatchModule test [2025-04-25T06:12:03.574Z] STF 06:12:03.383 - | Run jlink to create runtime image [2025-04-25T06:12:03.574Z] STF 06:12:03.383 - | ImageName: XpJVM [2025-04-25T06:12:03.574Z] STF 06:12:03.383 - | [2025-04-25T06:12:03.574Z] STF 06:12:03.383 - Running command: c:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/jdkbinary/j2sdk-image/bin/jlink --module-path c:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2\jdkbinary\j2sdk-image\jmods;C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2\aqa-tests\TKG\output_17455588936684\PatModImg_AppMod_0\20250425-061158-PatModImgTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2\aqa-tests\TKG\output_17455588936684\PatModImg_AppMod_0\20250425-061158-PatModImgTest\tmp\6.XpJVM [2025-04-25T06:12:03.574Z] STF 06:12:03.383 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/aqa-tests/TKG/output_17455588936684/PatModImg_AppMod_0/20250425-061158-PatModImgTest/results/6.JLNK.stderr [2025-04-25T06:12:03.574Z] STF 06:12:03.383 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/aqa-tests/TKG/output_17455588936684/PatModImg_AppMod_0/20250425-061158-PatModImgTest/results/6.JLNK.stdout [2025-04-25T06:12:03.574Z] STF 06:12:03.412 - Monitoring processes: JLNK [2025-04-25T06:12:09.240Z] STF 06:12:08.234 - Monitoring Report Summary: [2025-04-25T06:12:09.241Z] STF 06:12:08.234 - o Process JLNK ended with the expected exit code (0) [2025-04-25T06:12:09.241Z] STF 06:12:08.235 - [2025-04-25T06:12:09.241Z] STF 06:12:08.235 - +------ Step 7 - Create com.hello jar [2025-04-25T06:12:09.241Z] STF 06:12:08.235 - | Create modular jar [2025-04-25T06:12:09.241Z] STF 06:12:08.235 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-04-25T06:12:09.241Z] STF 06:12:08.235 - | ModuleVersion: null [2025-04-25T06:12:09.241Z] STF 06:12:08.235 - | MainClass: null [2025-04-25T06:12:09.241Z] STF 06:12:08.235 - | HashModules: null [2025-04-25T06:12:09.241Z] STF 06:12:08.235 - | [2025-04-25T06:12:09.241Z] STF 06:12:08.235 - Running command: c:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/aqa-tests/TKG/output_17455588936684/PatModImg_AppMod_0/20250425-061158-PatModImgTest/modules/7.com.hello.jar -C C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2025-04-25T06:12:09.241Z] STF 06:12:08.235 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/aqa-tests/TKG/output_17455588936684/PatModImg_AppMod_0/20250425-061158-PatModImgTest/results/7.CMJ.stderr [2025-04-25T06:12:09.241Z] STF 06:12:08.235 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/aqa-tests/TKG/output_17455588936684/PatModImg_AppMod_0/20250425-061158-PatModImgTest/results/7.CMJ.stdout [2025-04-25T06:12:09.241Z] STF 06:12:08.242 - Monitoring processes: CMJ [2025-04-25T06:12:09.241Z] STF 06:12:08.631 - Monitoring Report Summary: [2025-04-25T06:12:09.241Z] STF 06:12:08.631 - o Process CMJ ended with the expected exit code (0) [2025-04-25T06:12:09.241Z] STF 06:12:08.631 - Created modular jar: 7.com.hello.jar [2025-04-25T06:12:09.241Z] STF 06:12:08.631 - [2025-04-25T06:12:09.241Z] STF 06:12:08.631 - +------ Step 8 - create java.xml.jar [2025-04-25T06:12:09.241Z] STF 06:12:08.631 - | Create modular jar [2025-04-25T06:12:09.241Z] STF 06:12:08.631 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-04-25T06:12:09.241Z] STF 06:12:08.631 - | ModuleVersion: null [2025-04-25T06:12:09.241Z] STF 06:12:08.631 - | MainClass: null [2025-04-25T06:12:09.241Z] STF 06:12:08.631 - | HashModules: null [2025-04-25T06:12:09.241Z] STF 06:12:08.631 - | [2025-04-25T06:12:09.241Z] STF 06:12:08.632 - Running command: c:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/aqa-tests/TKG/output_17455588936684/PatModImg_AppMod_0/20250425-061158-PatModImgTest/modules/8.java.xml.jar -C C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml . [2025-04-25T06:12:09.241Z] STF 06:12:08.632 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/aqa-tests/TKG/output_17455588936684/PatModImg_AppMod_0/20250425-061158-PatModImgTest/results/8.CMJ.stderr [2025-04-25T06:12:09.241Z] STF 06:12:08.632 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/aqa-tests/TKG/output_17455588936684/PatModImg_AppMod_0/20250425-061158-PatModImgTest/results/8.CMJ.stdout [2025-04-25T06:12:09.241Z] STF 06:12:08.642 - Monitoring processes: CMJ [2025-04-25T06:12:09.241Z] STF 06:12:08.986 - Monitoring Report Summary: [2025-04-25T06:12:09.241Z] STF 06:12:08.986 - o Process CMJ ended with the expected exit code (0) [2025-04-25T06:12:09.241Z] STF 06:12:08.986 - Created modular jar: 8.java.xml.jar [2025-04-25T06:12:09.241Z] STF 06:12:08.986 - [2025-04-25T06:12:09.241Z] STF 06:12:08.986 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2025-04-25T06:12:09.241Z] STF 06:12:08.986 - | Run foreground process [2025-04-25T06:12:09.241Z] STF 06:12:08.986 - | Program: C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/aqa-tests/TKG/output_17455588936684/PatModImg_AppMod_0/20250425-061158-PatModImgTest/tmp/6.XpJVM/bin/java [2025-04-25T06:12:09.241Z] STF 06:12:08.986 - | Mnemonic: OT21 [2025-04-25T06:12:09.241Z] STF 06:12:08.986 - | Echo: ECHO_ON [2025-04-25T06:12:09.241Z] STF 06:12:08.986 - | Expectation: CLEAN_RUN within 5m [2025-04-25T06:12:09.241Z] STF 06:12:08.986 - | [2025-04-25T06:12:09.241Z] STF 06:12:08.987 - Running command: C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/aqa-tests/TKG/output_17455588936684/PatModImg_AppMod_0/20250425-061158-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2\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-04-25T06:12:09.241Z] STF 06:12:08.987 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/aqa-tests/TKG/output_17455588936684/PatModImg_AppMod_0/20250425-061158-PatModImgTest/results/9.OT21.stderr [2025-04-25T06:12:09.241Z] STF 06:12:08.987 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/aqa-tests/TKG/output_17455588936684/PatModImg_AppMod_0/20250425-061158-PatModImgTest/results/9.OT21.stdout [2025-04-25T06:12:09.241Z] STF 06:12:09.022 - Monitoring processes: OT21 [2025-04-25T06:12:09.579Z] OT21 stderr WARNING: module-info.class ignored in patch: C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello [2025-04-25T06:12:09.579Z] OT21 JUnit version 4.12 [2025-04-25T06:12:09.928Z] OT21 . [2025-04-25T06:12:09.928Z] OT21 Time: 0.016 [2025-04-25T06:12:09.928Z] OT21 [2025-04-25T06:12:09.928Z] OT21 OK (1 test) [2025-04-25T06:12:09.928Z] OT21 [2025-04-25T06:12:09.928Z] STF 06:12:09.649 - Monitoring Report Summary: [2025-04-25T06:12:09.928Z] STF 06:12:09.649 - o Process OT21 ended with the expected exit code (0) [2025-04-25T06:12:09.928Z] STF 06:12:09.649 - [2025-04-25T06:12:09.928Z] STF 06:12:09.649 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2025-04-25T06:12:09.928Z] STF 06:12:09.649 - | Run foreground process [2025-04-25T06:12:09.928Z] STF 06:12:09.649 - | Program: C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/aqa-tests/TKG/output_17455588936684/PatModImg_AppMod_0/20250425-061158-PatModImgTest/tmp/6.XpJVM/bin/java [2025-04-25T06:12:09.928Z] STF 06:12:09.649 - | Mnemonic: OT22 [2025-04-25T06:12:09.928Z] STF 06:12:09.649 - | Echo: ECHO_ON [2025-04-25T06:12:09.928Z] STF 06:12:09.649 - | Expectation: CLEAN_RUN within 5m [2025-04-25T06:12:09.928Z] STF 06:12:09.649 - | [2025-04-25T06:12:09.928Z] STF 06:12:09.650 - Running command: C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/aqa-tests/TKG/output_17455588936684/PatModImg_AppMod_0/20250425-061158-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/aqa-tests/TKG/output_17455588936684/PatModImg_AppMod_0/20250425-061158-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-04-25T06:12:09.928Z] STF 06:12:09.650 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/aqa-tests/TKG/output_17455588936684/PatModImg_AppMod_0/20250425-061158-PatModImgTest/results/10.OT22.stderr [2025-04-25T06:12:09.928Z] STF 06:12:09.650 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/aqa-tests/TKG/output_17455588936684/PatModImg_AppMod_0/20250425-061158-PatModImgTest/results/10.OT22.stdout [2025-04-25T06:12:09.928Z] STF 06:12:09.656 - Monitoring processes: OT22 [2025-04-25T06:12:10.264Z] OT22 stderr WARNING: module-info.class ignored in patch: C:\jenkins\workspace\Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2\aqa-tests\TKG\output_17455588936684\PatModImg_AppMod_0\20250425-061158-PatModImgTest\modules\7.com.hello.jar [2025-04-25T06:12:10.264Z] OT22 JUnit version 4.12 [2025-04-25T06:12:10.264Z] OT22 . [2025-04-25T06:12:10.264Z] OT22 Time: 0.01 [2025-04-25T06:12:10.264Z] OT22 [2025-04-25T06:12:10.264Z] OT22 OK (1 test) [2025-04-25T06:12:10.264Z] OT22 [2025-04-25T06:12:10.264Z] STF 06:12:10.122 - Monitoring Report Summary: [2025-04-25T06:12:10.264Z] STF 06:12:10.122 - o Process OT22 ended with the expected exit code (0) [2025-04-25T06:12:10.264Z] STF 06:12:10.123 - EXECUTE stage completed [2025-04-25T06:12:10.264Z] STF 06:12:10.173 - [2025-04-25T06:12:10.264Z] STF 06:12:10.173 - ==================== T E A R D O W N ==================== [2025-04-25T06:12:10.264Z] STF 06:12:10.173 - Running teardown: perl C:/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_windows_testList_2/aqa-tests/\TKG\output_17455588936684\PatModImg_AppMod_0/20250425-061158-PatModImgTest/tearDown.pl [2025-04-25T06:12:10.595Z] STF 06:12:10.329 - TEARDOWN stage completed [2025-04-25T06:12:10.595Z] STF 06:12:10.344 - [2025-04-25T06:12:10.595Z] STF 06:12:10.344 - ===================== R E S U L T S ===================== [2025-04-25T06:12:10.595Z] STF 06:12:10.344 - Stage results: [2025-04-25T06:12:10.595Z] STF 06:12:10.344 - setUp: pass [2025-04-25T06:12:10.595Z] STF 06:12:10.344 - execute: pass [2025-04-25T06:12:10.595Z] STF 06:12:10.344 - teardown: pass [2025-04-25T06:12:10.595Z] STF 06:12:10.344 - [2025-04-25T06:12:10.595Z] STF 06:12:10.344 - Overall result: PASSED [2025-04-25T06:12:10.595Z] ----------------------------------- [2025-04-25T06:12:10.595Z] PatModImg_AppMod_0_PASSED [2025-04-25T06:12:10.595Z] ----------------------------------- [2025-04-25T06:12:10.595Z] [2025-04-25T06:12:10.595Z] TEST TEARDOWN: [2025-04-25T06:12:10.595Z] Nothing to be done for teardown. [2025-04-25T06:12:10.909Z] PatModImg_AppMod_0 Finish Time: Fri Apr 25 06:12:10 2025 Epoch Time (ms): 1745561530669