PatModImg_AppMod_2

[2025-11-13T15:11:14.454Z] Running test PatModImg_AppMod_2 ... [2025-11-13T15:11:14.760Z] =============================================== [2025-11-13T15:11:14.760Z] PatModImg_AppMod_2 Start Time: Thu Nov 13 15:11:14 2025 Epoch Time (ms): 1763046674675 [2025-11-13T15:11:15.110Z] variation: Mode1000 [2025-11-13T15:11:15.110Z] JVM_OPTIONS: [2025-11-13T15:11:15.110Z] { \ [2025-11-13T15:11:15.110Z] echo ""; echo "TEST SETUP:"; \ [2025-11-13T15:11:15.110Z] echo "Nothing to be done for setup."; \ [2025-11-13T15:11:15.110Z] mkdir -p "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17630449843239\\PatModImg_AppMod_2"; \ [2025-11-13T15:11:15.110Z] cd "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17630449843239\\PatModImg_AppMod_2"; \ [2025-11-13T15:11:15.110Z] echo ""; echo "TESTING:"; \ [2025-11-13T15:11:15.110Z] perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/../../externalDependency/system_lib\\" -java-args=' ' -results-root="C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17630449843239\\PatModImg_AppMod_2" -test=PatModImgTest -test-args="variant=AppMod"; \ [2025-11-13T15:11:15.110Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_2""_PASSED"; echo "-----------------------------------"; cd C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/; rm -f -r "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17630449843239\\PatModImg_AppMod_2"; else echo "-----------------------------------"; echo "PatModImg_AppMod_2""_FAILED"; echo "-----------------------------------"; fi; \ [2025-11-13T15:11:15.110Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-11-13T15:11:15.110Z] echo "Nothing to be done for teardown."; \ [2025-11-13T15:11:15.110Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17630449843239\\TestTargetResult"; [2025-11-13T15:11:15.110Z] [2025-11-13T15:11:15.110Z] TEST SETUP: [2025-11-13T15:11:15.110Z] Nothing to be done for setup. [2025-11-13T15:11:15.110Z] [2025-11-13T15:11:15.110Z] TESTING: [2025-11-13T15:11:15.443Z] STF 15:11:15.242 - ========================= S T F ========================= [2025-11-13T15:11:15.443Z] systemtest-prereqs has been processed, and set to: c:/jenkins/externalDependency/system_libRetrieving amount of free space on drive containing C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17630449843239\PatModImg_AppMod_2 [2025-11-13T15:11:15.443Z] There is 375745 Mb free [2025-11-13T15:11:15.443Z] STF 15:11:15.295 - ================== G E N E R A T I O N ================== [2025-11-13T15:11:15.443Z] STF 15:11:15.298 - Checking JVM: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image [2025-11-13T15:11:15.443Z] STF 15:11:15.298 - Starting process to generate scripts: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/../../externalDependency/system_lib\/asm/asm.jar;c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/../../externalDependency/system_lib\/asm/asm-commons.jar;c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/../../externalDependency/system_lib\/log4j/log4j-api.jar;c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/../../externalDependency/system_lib\/log4j/log4j-core.jar;C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17630449843239\PatModImg_AppMod_2/20251113-151115-PatModImgTest/stf_parameters.properties, , C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17630449843239\PatModImg_AppMod_2/20251113-151115-PatModImgTest" [2025-11-13T15:11:16.537Z] GEN 15:11:16.238 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: 'C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2025-11-13T15:11:16.537Z] GEN 15:11:16.251 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-11-13T15:11:16.537Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-11-13T15:11:16.537Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2025-11-13T15:11:16.537Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2025-11-13T15:11:16.537Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2025-11-13T15:11:16.537Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2025-11-13T15:11:16.537Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2025-11-13T15:11:16.537Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2025-11-13T15:11:16.537Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2025-11-13T15:11:16.537Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2025-11-13T15:11:16.537Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2025-11-13T15:11:16.537Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2025-11-13T15:11:16.537Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2025-11-13T15:11:16.537Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2025-11-13T15:11:16.537Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-11-13T15:11:16.537Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-11-13T15:11:16.537Z] GEN C:\\jenkins\\workspace\\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-11-13T15:11:16.537Z] GEN C:\\jenkins\\workspace\\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\\jvmtest\\system\\STF\\stf.core\\bin [2025-11-13T15:11:16.537Z] GEN c:/jenkins/externalDependency/system_lib/log4j/log4j-api.jar [2025-11-13T15:11:16.537Z] GEN c:/jenkins/externalDependency/system_lib/log4j/log4j-core.jar [2025-11-13T15:11:16.537Z] GEN c:/jenkins/externalDependency/system_lib/junit/junit.jar [2025-11-13T15:11:16.871Z] GEN 15:11:16.497 - Using Mode NoOptions. Values = '' [2025-11-13T15:11:16.871Z] GEN 15:11:16.604 - [2025-11-13T15:11:16.871Z] GEN 15:11:16.604 - Test command summary: [2025-11-13T15:11:16.871Z] GEN 15:11:16.604 - Step Stage Command Description [2025-11-13T15:11:16.871Z] GEN 15:11:16.604 - -----+--------+-----------------+------------ [2025-11-13T15:11:16.871Z] GEN 15:11:16.604 - 1 execute jar Create com.hello jar [2025-11-13T15:11:16.871Z] GEN 15:11:16.604 - 2 execute jar Create com.hola jar [2025-11-13T15:11:16.871Z] GEN 15:11:16.604 - 3 execute jar Create com.helper jar [2025-11-13T15:11:16.871Z] GEN 15:11:16.605 - 4 execute jar Create com.discreet jar [2025-11-13T15:11:16.871Z] GEN 15:11:16.605 - 5 execute jar Create tests jar [2025-11-13T15:11:16.871Z] GEN 15:11:16.605 - 6 execute jlink Create runtime image for PatchModule test [2025-11-13T15:11:16.871Z] GEN 15:11:16.605 - 7 execute jar Create com.hello jar [2025-11-13T15:11:16.871Z] GEN 15:11:16.605 - 8 execute jar create java.xml.jar [2025-11-13T15:11:16.871Z] GEN 15:11:16.605 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2025-11-13T15:11:16.871Z] GEN 15:11:16.605 - 10 execute Run java Verify if we can patch an Application module using modular jar [2025-11-13T15:11:16.871Z] STF 15:11:16.631 - [2025-11-13T15:11:16.871Z] STF 15:11:16.631 - Script generation completed [2025-11-13T15:11:16.871Z] STF 15:11:16.631 - [2025-11-13T15:11:16.871Z] STF 15:11:16.633 - [2025-11-13T15:11:16.871Z] STF 15:11:16.633 - ======================= S E T U P ======================= [2025-11-13T15:11:16.871Z] STF 15:11:16.633 - Running setup: perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17630449843239\PatModImg_AppMod_2/20251113-151115-PatModImgTest/setUp.pl [2025-11-13T15:11:16.871Z] STF 15:11:16.799 - SETUP stage completed [2025-11-13T15:11:16.871Z] STF 15:11:16.814 - [2025-11-13T15:11:16.871Z] STF 15:11:16.814 - ==================== E X E C U T E - ==================== [2025-11-13T15:11:16.871Z] STF 15:11:16.814 - Running execute: perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17630449843239\PatModImg_AppMod_2/20251113-151115-PatModImgTest/execute.pl [2025-11-13T15:11:17.196Z] STF 15:11:16.970 - [2025-11-13T15:11:17.196Z] STF 15:11:16.970 - Java version [2025-11-13T15:11:17.196Z] STF 15:11:16.970 - Running: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java -version [2025-11-13T15:11:17.196Z] openjdk version "17.0.18-beta" 2026-01-20 [2025-11-13T15:11:17.197Z] OpenJDK Runtime Environment Temurin-17.0.18+2-202511122237 (build 17.0.18-beta+2-ea) [2025-11-13T15:11:17.197Z] OpenJDK Client VM Temurin-17.0.18+2-202511122237 (build 17.0.18-beta+2-ea, mixed mode, emulated-client) [2025-11-13T15:11:17.197Z] STF 15:11:17.090 - [2025-11-13T15:11:17.197Z] STF 15:11:17.090 - +------ Step 1 - Create com.hello jar [2025-11-13T15:11:17.197Z] STF 15:11:17.090 - | Create modular jar [2025-11-13T15:11:17.197Z] STF 15:11:17.090 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-11-13T15:11:17.197Z] STF 15:11:17.090 - | ModuleVersion: null [2025-11-13T15:11:17.197Z] STF 15:11:17.090 - | MainClass: null [2025-11-13T15:11:17.197Z] STF 15:11:17.090 - | HashModules: null [2025-11-13T15:11:17.197Z] STF 15:11:17.090 - | [2025-11-13T15:11:17.197Z] STF 15:11:17.090 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17630449843239/PatModImg_AppMod_2/20251113-151115-PatModImgTest/modules/1.com.hello.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2025-11-13T15:11:17.197Z] STF 15:11:17.091 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17630449843239/PatModImg_AppMod_2/20251113-151115-PatModImgTest/results/1.CMJ.stderr [2025-11-13T15:11:17.197Z] STF 15:11:17.091 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17630449843239/PatModImg_AppMod_2/20251113-151115-PatModImgTest/results/1.CMJ.stdout [2025-11-13T15:11:17.197Z] STF 15:11:17.123 - Monitoring processes: CMJ [2025-11-13T15:11:17.906Z] STF 15:11:17.491 - Monitoring Report Summary: [2025-11-13T15:11:17.907Z] STF 15:11:17.491 - o Process CMJ ended with the expected exit code (0) [2025-11-13T15:11:17.907Z] STF 15:11:17.491 - Created modular jar: 1.com.hello.jar [2025-11-13T15:11:17.907Z] STF 15:11:17.491 - [2025-11-13T15:11:17.907Z] STF 15:11:17.491 - +------ Step 2 - Create com.hola jar [2025-11-13T15:11:17.907Z] STF 15:11:17.491 - | Create modular jar [2025-11-13T15:11:17.907Z] STF 15:11:17.491 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-11-13T15:11:17.907Z] STF 15:11:17.491 - | ModuleVersion: null [2025-11-13T15:11:17.907Z] STF 15:11:17.491 - | MainClass: null [2025-11-13T15:11:17.907Z] STF 15:11:17.491 - | HashModules: null [2025-11-13T15:11:17.907Z] STF 15:11:17.491 - | [2025-11-13T15:11:17.907Z] STF 15:11:17.492 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17630449843239/PatModImg_AppMod_2/20251113-151115-PatModImgTest/modules/2.com.hola.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2025-11-13T15:11:17.907Z] STF 15:11:17.492 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17630449843239/PatModImg_AppMod_2/20251113-151115-PatModImgTest/results/2.CMJ.stderr [2025-11-13T15:11:17.907Z] STF 15:11:17.492 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17630449843239/PatModImg_AppMod_2/20251113-151115-PatModImgTest/results/2.CMJ.stdout [2025-11-13T15:11:17.907Z] STF 15:11:17.499 - Monitoring processes: CMJ [2025-11-13T15:11:18.241Z] STF 15:11:17.868 - Monitoring Report Summary: [2025-11-13T15:11:18.241Z] STF 15:11:17.868 - o Process CMJ ended with the expected exit code (0) [2025-11-13T15:11:18.241Z] STF 15:11:17.868 - Created modular jar: 2.com.hola.jar [2025-11-13T15:11:18.241Z] STF 15:11:17.868 - [2025-11-13T15:11:18.241Z] STF 15:11:17.868 - +------ Step 3 - Create com.helper jar [2025-11-13T15:11:18.241Z] STF 15:11:17.868 - | Create modular jar [2025-11-13T15:11:18.241Z] STF 15:11:17.868 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-11-13T15:11:18.241Z] STF 15:11:17.868 - | ModuleVersion: null [2025-11-13T15:11:18.241Z] STF 15:11:17.868 - | MainClass: null [2025-11-13T15:11:18.241Z] STF 15:11:17.868 - | HashModules: null [2025-11-13T15:11:18.241Z] STF 15:11:17.868 - | [2025-11-13T15:11:18.241Z] STF 15:11:17.868 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17630449843239/PatModImg_AppMod_2/20251113-151115-PatModImgTest/modules/3.com.helper.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2025-11-13T15:11:18.241Z] STF 15:11:17.868 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17630449843239/PatModImg_AppMod_2/20251113-151115-PatModImgTest/results/3.CMJ.stderr [2025-11-13T15:11:18.241Z] STF 15:11:17.869 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17630449843239/PatModImg_AppMod_2/20251113-151115-PatModImgTest/results/3.CMJ.stdout [2025-11-13T15:11:18.241Z] STF 15:11:17.875 - Monitoring processes: CMJ [2025-11-13T15:11:18.565Z] STF 15:11:18.258 - Monitoring Report Summary: [2025-11-13T15:11:18.565Z] STF 15:11:18.258 - o Process CMJ ended with the expected exit code (0) [2025-11-13T15:11:18.565Z] STF 15:11:18.258 - Created modular jar: 3.com.helper.jar [2025-11-13T15:11:18.565Z] STF 15:11:18.258 - [2025-11-13T15:11:18.565Z] STF 15:11:18.258 - +------ Step 4 - Create com.discreet jar [2025-11-13T15:11:18.565Z] STF 15:11:18.258 - | Create modular jar [2025-11-13T15:11:18.565Z] STF 15:11:18.258 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-11-13T15:11:18.565Z] STF 15:11:18.258 - | ModuleVersion: null [2025-11-13T15:11:18.565Z] STF 15:11:18.258 - | MainClass: null [2025-11-13T15:11:18.565Z] STF 15:11:18.258 - | HashModules: null [2025-11-13T15:11:18.565Z] STF 15:11:18.258 - | [2025-11-13T15:11:18.565Z] STF 15:11:18.259 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17630449843239/PatModImg_AppMod_2/20251113-151115-PatModImgTest/modules/4.com.discreet.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2025-11-13T15:11:18.565Z] STF 15:11:18.259 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17630449843239/PatModImg_AppMod_2/20251113-151115-PatModImgTest/results/4.CMJ.stderr [2025-11-13T15:11:18.565Z] STF 15:11:18.259 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17630449843239/PatModImg_AppMod_2/20251113-151115-PatModImgTest/results/4.CMJ.stdout [2025-11-13T15:11:18.565Z] STF 15:11:18.265 - Monitoring processes: CMJ [2025-11-13T15:11:18.894Z] STF 15:11:18.617 - Monitoring Report Summary: [2025-11-13T15:11:18.894Z] STF 15:11:18.617 - o Process CMJ ended with the expected exit code (0) [2025-11-13T15:11:18.894Z] STF 15:11:18.617 - Created modular jar: 4.com.discreet.jar [2025-11-13T15:11:18.894Z] STF 15:11:18.617 - [2025-11-13T15:11:18.894Z] STF 15:11:18.617 - +------ Step 5 - Create tests jar [2025-11-13T15:11:18.894Z] STF 15:11:18.617 - | Create modular jar [2025-11-13T15:11:18.894Z] STF 15:11:18.617 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-11-13T15:11:18.894Z] STF 15:11:18.617 - | ModuleVersion: null [2025-11-13T15:11:18.894Z] STF 15:11:18.617 - | MainClass: null [2025-11-13T15:11:18.894Z] STF 15:11:18.617 - | HashModules: null [2025-11-13T15:11:18.894Z] STF 15:11:18.617 - | [2025-11-13T15:11:18.894Z] STF 15:11:18.617 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17630449843239/PatModImg_AppMod_2/20251113-151115-PatModImgTest/modules/5.com.test.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2025-11-13T15:11:18.894Z] STF 15:11:18.618 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17630449843239/PatModImg_AppMod_2/20251113-151115-PatModImgTest/results/5.CMJ.stderr [2025-11-13T15:11:18.894Z] STF 15:11:18.618 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17630449843239/PatModImg_AppMod_2/20251113-151115-PatModImgTest/results/5.CMJ.stdout [2025-11-13T15:11:18.894Z] STF 15:11:18.624 - Monitoring processes: CMJ [2025-11-13T15:11:19.216Z] STF 15:11:19.006 - Monitoring Report Summary: [2025-11-13T15:11:19.216Z] STF 15:11:19.006 - o Process CMJ ended with the expected exit code (0) [2025-11-13T15:11:19.216Z] STF 15:11:19.007 - Created modular jar: 5.com.test.jar [2025-11-13T15:11:19.216Z] STF 15:11:19.007 - [2025-11-13T15:11:19.216Z] STF 15:11:19.007 - +------ Step 6 - Create runtime image for PatchModule test [2025-11-13T15:11:19.216Z] STF 15:11:19.007 - | Run jlink to create runtime image [2025-11-13T15:11:19.216Z] STF 15:11:19.007 - | ImageName: XpJVM [2025-11-13T15:11:19.216Z] STF 15:11:19.007 - | [2025-11-13T15:11:19.216Z] STF 15:11:19.007 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jlink --module-path c:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jdkbinary\j2sdk-image\jmods;C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\aqa-tests\TKG\output_17630449843239\PatModImg_AppMod_2\20251113-151115-PatModImgTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\aqa-tests\TKG\output_17630449843239\PatModImg_AppMod_2\20251113-151115-PatModImgTest\tmp\6.XpJVM [2025-11-13T15:11:19.216Z] STF 15:11:19.007 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17630449843239/PatModImg_AppMod_2/20251113-151115-PatModImgTest/results/6.JLNK.stderr [2025-11-13T15:11:19.217Z] STF 15:11:19.007 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17630449843239/PatModImg_AppMod_2/20251113-151115-PatModImgTest/results/6.JLNK.stdout [2025-11-13T15:11:19.217Z] STF 15:11:19.014 - Monitoring processes: JLNK [2025-11-13T15:11:22.053Z] STF 15:11:21.307 - Monitoring Report Summary: [2025-11-13T15:11:22.053Z] STF 15:11:21.307 - o Process JLNK ended with the expected exit code (0) [2025-11-13T15:11:22.053Z] STF 15:11:21.307 - [2025-11-13T15:11:22.053Z] STF 15:11:21.307 - +------ Step 7 - Create com.hello jar [2025-11-13T15:11:22.053Z] STF 15:11:21.307 - | Create modular jar [2025-11-13T15:11:22.053Z] STF 15:11:21.307 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-11-13T15:11:22.053Z] STF 15:11:21.307 - | ModuleVersion: null [2025-11-13T15:11:22.053Z] STF 15:11:21.307 - | MainClass: null [2025-11-13T15:11:22.053Z] STF 15:11:21.307 - | HashModules: null [2025-11-13T15:11:22.053Z] STF 15:11:21.307 - | [2025-11-13T15:11:22.053Z] STF 15:11:21.308 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17630449843239/PatModImg_AppMod_2/20251113-151115-PatModImgTest/modules/7.com.hello.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2025-11-13T15:11:22.053Z] STF 15:11:21.308 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17630449843239/PatModImg_AppMod_2/20251113-151115-PatModImgTest/results/7.CMJ.stderr [2025-11-13T15:11:22.053Z] STF 15:11:21.308 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17630449843239/PatModImg_AppMod_2/20251113-151115-PatModImgTest/results/7.CMJ.stdout [2025-11-13T15:11:22.053Z] STF 15:11:21.324 - Monitoring processes: CMJ [2025-11-13T15:11:22.379Z] STF 15:11:22.073 - Monitoring Report Summary: [2025-11-13T15:11:22.379Z] STF 15:11:22.073 - o Process CMJ ended with the expected exit code (0) [2025-11-13T15:11:22.379Z] STF 15:11:22.073 - Created modular jar: 7.com.hello.jar [2025-11-13T15:11:22.379Z] STF 15:11:22.073 - [2025-11-13T15:11:22.379Z] STF 15:11:22.073 - +------ Step 8 - create java.xml.jar [2025-11-13T15:11:22.379Z] STF 15:11:22.073 - | Create modular jar [2025-11-13T15:11:22.379Z] STF 15:11:22.073 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-11-13T15:11:22.379Z] STF 15:11:22.073 - | ModuleVersion: null [2025-11-13T15:11:22.379Z] STF 15:11:22.073 - | MainClass: null [2025-11-13T15:11:22.379Z] STF 15:11:22.073 - | HashModules: null [2025-11-13T15:11:22.379Z] STF 15:11:22.073 - | [2025-11-13T15:11:22.379Z] STF 15:11:22.073 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17630449843239/PatModImg_AppMod_2/20251113-151115-PatModImgTest/modules/8.java.xml.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml . [2025-11-13T15:11:22.379Z] STF 15:11:22.073 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17630449843239/PatModImg_AppMod_2/20251113-151115-PatModImgTest/results/8.CMJ.stderr [2025-11-13T15:11:22.379Z] STF 15:11:22.073 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17630449843239/PatModImg_AppMod_2/20251113-151115-PatModImgTest/results/8.CMJ.stdout [2025-11-13T15:11:22.379Z] STF 15:11:22.080 - Monitoring processes: CMJ [2025-11-13T15:11:22.686Z] STF 15:11:22.436 - Monitoring Report Summary: [2025-11-13T15:11:22.686Z] STF 15:11:22.436 - o Process CMJ ended with the expected exit code (0) [2025-11-13T15:11:22.686Z] STF 15:11:22.437 - Created modular jar: 8.java.xml.jar [2025-11-13T15:11:22.686Z] STF 15:11:22.437 - [2025-11-13T15:11:22.686Z] STF 15:11:22.437 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2025-11-13T15:11:22.686Z] STF 15:11:22.437 - | Run foreground process [2025-11-13T15:11:22.686Z] STF 15:11:22.437 - | Program: C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17630449843239/PatModImg_AppMod_2/20251113-151115-PatModImgTest/tmp/6.XpJVM/bin/java [2025-11-13T15:11:22.686Z] STF 15:11:22.437 - | Mnemonic: OT21 [2025-11-13T15:11:22.686Z] STF 15:11:22.437 - | Echo: ECHO_ON [2025-11-13T15:11:22.686Z] STF 15:11:22.437 - | Expectation: CLEAN_RUN within 5m [2025-11-13T15:11:22.686Z] STF 15:11:22.437 - | [2025-11-13T15:11:22.686Z] STF 15:11:22.437 - Running command: C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17630449843239/PatModImg_AppMod_2/20251113-151115-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello -classpath c:/jenkins/externalDependency/system_lib/junit/junit.jar;c:/jenkins/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2025-11-13T15:11:22.686Z] STF 15:11:22.437 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17630449843239/PatModImg_AppMod_2/20251113-151115-PatModImgTest/results/9.OT21.stderr [2025-11-13T15:11:22.686Z] STF 15:11:22.437 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17630449843239/PatModImg_AppMod_2/20251113-151115-PatModImgTest/results/9.OT21.stdout [2025-11-13T15:11:22.686Z] STF 15:11:22.458 - Monitoring processes: OT21 [2025-11-13T15:11:23.018Z] OT21 stderr WARNING: module-info.class ignored in patch: C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello [2025-11-13T15:11:23.018Z] OT21 JUnit version 4.12 [2025-11-13T15:11:23.018Z] OT21 . [2025-11-13T15:11:23.018Z] OT21 Time: 0.009 [2025-11-13T15:11:23.018Z] OT21 [2025-11-13T15:11:23.018Z] OT21 OK (1 test) [2025-11-13T15:11:23.018Z] OT21 [2025-11-13T15:11:23.018Z] STF 15:11:22.848 - Monitoring Report Summary: [2025-11-13T15:11:23.018Z] STF 15:11:22.848 - o Process OT21 ended with the expected exit code (0) [2025-11-13T15:11:23.018Z] STF 15:11:22.849 - [2025-11-13T15:11:23.018Z] STF 15:11:22.849 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2025-11-13T15:11:23.018Z] STF 15:11:22.849 - | Run foreground process [2025-11-13T15:11:23.018Z] STF 15:11:22.849 - | Program: C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17630449843239/PatModImg_AppMod_2/20251113-151115-PatModImgTest/tmp/6.XpJVM/bin/java [2025-11-13T15:11:23.018Z] STF 15:11:22.849 - | Mnemonic: OT22 [2025-11-13T15:11:23.018Z] STF 15:11:22.849 - | Echo: ECHO_ON [2025-11-13T15:11:23.018Z] STF 15:11:22.849 - | Expectation: CLEAN_RUN within 5m [2025-11-13T15:11:23.018Z] STF 15:11:22.849 - | [2025-11-13T15:11:23.018Z] STF 15:11:22.849 - Running command: C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17630449843239/PatModImg_AppMod_2/20251113-151115-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17630449843239/PatModImg_AppMod_2/20251113-151115-PatModImgTest/modules/7.com.hello.jar -classpath c:/jenkins/externalDependency/system_lib/junit/junit.jar;c:/jenkins/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2025-11-13T15:11:23.018Z] STF 15:11:22.849 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17630449843239/PatModImg_AppMod_2/20251113-151115-PatModImgTest/results/10.OT22.stderr [2025-11-13T15:11:23.018Z] STF 15:11:22.849 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17630449843239/PatModImg_AppMod_2/20251113-151115-PatModImgTest/results/10.OT22.stdout [2025-11-13T15:11:23.018Z] STF 15:11:22.859 - Monitoring processes: OT22 [2025-11-13T15:11:23.343Z] OT22 stderr WARNING: module-info.class ignored in patch: C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\aqa-tests\TKG\output_17630449843239\PatModImg_AppMod_2\20251113-151115-PatModImgTest\modules\7.com.hello.jar [2025-11-13T15:11:23.343Z] OT22 JUnit version 4.12 [2025-11-13T15:11:23.343Z] OT22 . [2025-11-13T15:11:23.343Z] OT22 Time: 0.007 [2025-11-13T15:11:23.343Z] OT22 [2025-11-13T15:11:23.343Z] OT22 OK (1 test) [2025-11-13T15:11:23.343Z] OT22 [2025-11-13T15:11:23.343Z] STF 15:11:23.182 - Monitoring Report Summary: [2025-11-13T15:11:23.343Z] STF 15:11:23.182 - o Process OT22 ended with the expected exit code (0) [2025-11-13T15:11:23.343Z] STF 15:11:23.182 - EXECUTE stage completed [2025-11-13T15:11:23.343Z] STF 15:11:23.273 - [2025-11-13T15:11:23.343Z] STF 15:11:23.273 - ==================== T E A R D O W N ==================== [2025-11-13T15:11:23.343Z] STF 15:11:23.273 - Running teardown: perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17630449843239\PatModImg_AppMod_2/20251113-151115-PatModImgTest/tearDown.pl [2025-11-13T15:11:23.650Z] STF 15:11:23.430 - TEARDOWN stage completed [2025-11-13T15:11:23.650Z] STF 15:11:23.448 - [2025-11-13T15:11:23.650Z] STF 15:11:23.448 - ===================== R E S U L T S ===================== [2025-11-13T15:11:23.650Z] STF 15:11:23.448 - Stage results: [2025-11-13T15:11:23.650Z] STF 15:11:23.448 - setUp: pass [2025-11-13T15:11:23.650Z] STF 15:11:23.448 - execute: pass [2025-11-13T15:11:23.650Z] STF 15:11:23.448 - teardown: pass [2025-11-13T15:11:23.650Z] STF 15:11:23.448 - [2025-11-13T15:11:23.650Z] STF 15:11:23.448 - Overall result: PASSED [2025-11-13T15:11:23.650Z] ----------------------------------- [2025-11-13T15:11:23.650Z] PatModImg_AppMod_2_PASSED [2025-11-13T15:11:23.650Z] ----------------------------------- [2025-11-13T15:11:23.650Z] [2025-11-13T15:11:23.650Z] TEST TEARDOWN: [2025-11-13T15:11:23.650Z] Nothing to be done for teardown. [2025-11-13T15:11:23.991Z] PatModImg_AppMod_2 Finish Time: Thu Nov 13 15:11:23 2025 Epoch Time (ms): 1763046683688