PatModImg_AppMod_2
[2025-06-19T10:45:31.658Z] Running test PatModImg_AppMod_2 ...
[2025-06-19T10:45:31.658Z] ===============================================
[2025-06-19T10:45:31.658Z] PatModImg_AppMod_2 Start Time: Thu Jun 19 10:45:31 2025 Epoch Time (ms): 1750329931588
[2025-06-19T10:45:32.002Z] variation: Mode1000
[2025-06-19T10:45:32.002Z] JVM_OPTIONS:
[2025-06-19T10:45:32.002Z] { \
[2025-06-19T10:45:32.002Z] echo ""; echo "TEST SETUP:"; \
[2025-06-19T10:45:32.002Z] echo "Nothing to be done for setup."; \
[2025-06-19T10:45:32.002Z] mkdir -p "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/\\TKG\\output_17503286398915\\PatModImg_AppMod_2"; \
[2025-06-19T10:45:32.002Z] cd "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/\\TKG\\output_17503286398915\\PatModImg_AppMod_2"; \
[2025-06-19T10:45:32.002Z] echo ""; echo "TESTING:"; \
[2025-06-19T10:45:32.002Z] perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/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_2/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/../../testDependency/system_lib\\" -java-args=' ' -results-root="C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/\\TKG\\output_17503286398915\\PatModImg_AppMod_2" -test=PatModImgTest -test-args="variant=AppMod"; \
[2025-06-19T10:45:32.002Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_2""_PASSED"; echo "-----------------------------------"; cd C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/; rm -f -r "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/\\TKG\\output_17503286398915\\PatModImg_AppMod_2"; else echo "-----------------------------------"; echo "PatModImg_AppMod_2""_FAILED"; echo "-----------------------------------"; fi; \
[2025-06-19T10:45:32.002Z] echo ""; echo "TEST TEARDOWN:"; \
[2025-06-19T10:45:32.002Z] echo "Nothing to be done for teardown."; \
[2025-06-19T10:45:32.002Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/\\TKG\\output_17503286398915\\TestTargetResult";
[2025-06-19T10:45:32.002Z]
[2025-06-19T10:45:32.002Z] TEST SETUP:
[2025-06-19T10:45:32.002Z] Nothing to be done for setup.
[2025-06-19T10:45:32.002Z]
[2025-06-19T10:45:32.002Z] TESTING:
[2025-06-19T10:45:32.332Z] STF 10:45:32.012 - ========================= S T F =========================
[2025-06-19T10:45:32.332Z] systemtest-prereqs has been processed, and set to: c:/jenkins/testDependency/system_libRetrieving amount of free space on drive containing C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/\TKG\output_17503286398915\PatModImg_AppMod_2
[2025-06-19T10:45:32.332Z] There is 91586 Mb free
[2025-06-19T10:45:32.332Z] STF 10:45:32.057 - ================== G E N E R A T I O N ==================
[2025-06-19T10:45:32.332Z] STF 10:45:32.059 - Checking JVM: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/jdkbinary/j2sdk-image
[2025-06-19T10:45:32.332Z] STF 10:45:32.059 - Starting process to generate scripts: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_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_openjdk17_hs_sanity.system_x86-32_windows_testList_2/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_2/../../testDependency/system_lib\/asm/asm.jar;c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/../../testDependency/system_lib\/asm/asm-commons.jar;c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/../../testDependency/system_lib\/log4j/log4j-api.jar;c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/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_2/aqa-tests/\TKG\output_17503286398915\PatModImg_AppMod_2/20250619-104532-PatModImgTest/stf_parameters.properties, , C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/\TKG\output_17503286398915\PatModImg_AppMod_2/20250619-104532-PatModImgTest"
[2025-06-19T10:45:33.020Z] GEN 10:45:32.730 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: 'C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin'
[2025-06-19T10:45:33.020Z] GEN 10:45:32.738 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest'
[2025-06-19T10:45:33.020Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2025-06-19T10:45:33.020Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService
[2025-06-19T10:45:33.020Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper
[2025-06-19T10:45:33.020Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1
[2025-06-19T10:45:33.020Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet
[2025-06-19T10:45:33.020Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello
[2025-06-19T10:45:33.020Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola
[2025-06-19T10:45:33.020Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2
[2025-06-19T10:45:33.020Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi
[2025-06-19T10:45:33.020Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override
[2025-06-19T10:45:33.020Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new
[2025-06-19T10:45:33.020Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3
[2025-06-19T10:45:33.020Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4
[2025-06-19T10:45:33.020Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common
[2025-06-19T10:45:33.020Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests
[2025-06-19T10:45:33.020Z] GEN C:\\jenkins\\workspace\\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin
[2025-06-19T10:45:33.020Z] GEN C:\\jenkins\\workspace\\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\\jvmtest\\system\\STF\\stf.core\\bin
[2025-06-19T10:45:33.020Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar
[2025-06-19T10:45:33.020Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar
[2025-06-19T10:45:33.020Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar
[2025-06-19T10:45:33.020Z] GEN 10:45:32.945 - Using Mode NoOptions. Values = ''
[2025-06-19T10:45:33.348Z] GEN 10:45:33.021 -
[2025-06-19T10:45:33.348Z] GEN 10:45:33.021 - Test command summary:
[2025-06-19T10:45:33.348Z] GEN 10:45:33.022 - Step Stage Command Description
[2025-06-19T10:45:33.348Z] GEN 10:45:33.022 - -----+--------+-----------------+------------
[2025-06-19T10:45:33.348Z] GEN 10:45:33.022 - 1 execute jar Create com.hello jar
[2025-06-19T10:45:33.348Z] GEN 10:45:33.022 - 2 execute jar Create com.hola jar
[2025-06-19T10:45:33.348Z] GEN 10:45:33.022 - 3 execute jar Create com.helper jar
[2025-06-19T10:45:33.348Z] GEN 10:45:33.022 - 4 execute jar Create com.discreet jar
[2025-06-19T10:45:33.348Z] GEN 10:45:33.022 - 5 execute jar Create tests jar
[2025-06-19T10:45:33.348Z] GEN 10:45:33.022 - 6 execute jlink Create runtime image for PatchModule test
[2025-06-19T10:45:33.348Z] GEN 10:45:33.022 - 7 execute jar Create com.hello jar
[2025-06-19T10:45:33.348Z] GEN 10:45:33.022 - 8 execute jar create java.xml.jar
[2025-06-19T10:45:33.348Z] GEN 10:45:33.022 - 9 execute Run java Verify if we can patch an Application module using exploded directory
[2025-06-19T10:45:33.348Z] GEN 10:45:33.022 - 10 execute Run java Verify if we can patch an Application module using modular jar
[2025-06-19T10:45:33.348Z] STF 10:45:33.038 -
[2025-06-19T10:45:33.348Z] STF 10:45:33.038 - Script generation completed
[2025-06-19T10:45:33.348Z] STF 10:45:33.038 -
[2025-06-19T10:45:33.348Z] STF 10:45:33.040 -
[2025-06-19T10:45:33.348Z] STF 10:45:33.040 - ======================= S E T U P =======================
[2025-06-19T10:45:33.348Z] STF 10:45:33.040 - Running setup: perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/\TKG\output_17503286398915\PatModImg_AppMod_2/20250619-104532-PatModImgTest/setUp.pl
[2025-06-19T10:45:33.348Z] STF 10:45:33.171 - SETUP stage completed
[2025-06-19T10:45:33.348Z] STF 10:45:33.186 -
[2025-06-19T10:45:33.348Z] STF 10:45:33.186 - ==================== E X E C U T E - ====================
[2025-06-19T10:45:33.348Z] STF 10:45:33.186 - Running execute: perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/\TKG\output_17503286398915\PatModImg_AppMod_2/20250619-104532-PatModImgTest/execute.pl
[2025-06-19T10:45:33.676Z] STF 10:45:33.319 -
[2025-06-19T10:45:33.676Z] STF 10:45:33.319 - Java version
[2025-06-19T10:45:33.676Z] STF 10:45:33.319 - Running: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/jdkbinary/j2sdk-image/bin/java -version
[2025-06-19T10:45:33.676Z] openjdk version "17.0.16-beta" 2025-07-15
[2025-06-19T10:45:33.676Z] OpenJDK Runtime Environment Temurin-17.0.16+7-202506181940 (build 17.0.16-beta+7-ea)
[2025-06-19T10:45:33.676Z] OpenJDK Client VM Temurin-17.0.16+7-202506181940 (build 17.0.16-beta+7-ea, mixed mode, emulated-client)
[2025-06-19T10:45:33.677Z] STF 10:45:33.413 -
[2025-06-19T10:45:33.677Z] STF 10:45:33.413 - +------ Step 1 - Create com.hello jar
[2025-06-19T10:45:33.677Z] STF 10:45:33.413 - | Create modular jar
[2025-06-19T10:45:33.677Z] STF 10:45:33.413 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello
[2025-06-19T10:45:33.677Z] STF 10:45:33.413 - | ModuleVersion: null
[2025-06-19T10:45:33.677Z] STF 10:45:33.413 - | MainClass: null
[2025-06-19T10:45:33.677Z] STF 10:45:33.413 - | HashModules: null
[2025-06-19T10:45:33.677Z] STF 10:45:33.414 - |
[2025-06-19T10:45:33.677Z] STF 10:45:33.414 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/TKG/output_17503286398915/PatModImg_AppMod_2/20250619-104532-PatModImgTest/modules/1.com.hello.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello .
[2025-06-19T10:45:33.677Z] STF 10:45:33.414 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/TKG/output_17503286398915/PatModImg_AppMod_2/20250619-104532-PatModImgTest/results/1.CMJ.stderr
[2025-06-19T10:45:33.677Z] STF 10:45:33.414 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/TKG/output_17503286398915/PatModImg_AppMod_2/20250619-104532-PatModImgTest/results/1.CMJ.stdout
[2025-06-19T10:45:33.677Z] STF 10:45:33.439 - Monitoring processes: CMJ
[2025-06-19T10:45:34.001Z] STF 10:45:33.696 - Monitoring Report Summary:
[2025-06-19T10:45:34.002Z] STF 10:45:33.696 - o Process CMJ ended with the expected exit code (0)
[2025-06-19T10:45:34.002Z] STF 10:45:33.697 - Created modular jar: 1.com.hello.jar
[2025-06-19T10:45:34.002Z] STF 10:45:33.697 -
[2025-06-19T10:45:34.002Z] STF 10:45:33.697 - +------ Step 2 - Create com.hola jar
[2025-06-19T10:45:34.002Z] STF 10:45:33.697 - | Create modular jar
[2025-06-19T10:45:34.002Z] STF 10:45:33.697 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola
[2025-06-19T10:45:34.002Z] STF 10:45:33.697 - | ModuleVersion: null
[2025-06-19T10:45:34.002Z] STF 10:45:33.697 - | MainClass: null
[2025-06-19T10:45:34.002Z] STF 10:45:33.697 - | HashModules: null
[2025-06-19T10:45:34.002Z] STF 10:45:33.697 - |
[2025-06-19T10:45:34.002Z] STF 10:45:33.697 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/TKG/output_17503286398915/PatModImg_AppMod_2/20250619-104532-PatModImgTest/modules/2.com.hola.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola .
[2025-06-19T10:45:34.002Z] STF 10:45:33.697 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/TKG/output_17503286398915/PatModImg_AppMod_2/20250619-104532-PatModImgTest/results/2.CMJ.stderr
[2025-06-19T10:45:34.002Z] STF 10:45:33.697 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/TKG/output_17503286398915/PatModImg_AppMod_2/20250619-104532-PatModImgTest/results/2.CMJ.stdout
[2025-06-19T10:45:34.002Z] STF 10:45:33.703 - Monitoring processes: CMJ
[2025-06-19T10:45:34.002Z] STF 10:45:33.961 - Monitoring Report Summary:
[2025-06-19T10:45:34.002Z] STF 10:45:33.961 - o Process CMJ ended with the expected exit code (0)
[2025-06-19T10:45:34.002Z] STF 10:45:33.961 - Created modular jar: 2.com.hola.jar
[2025-06-19T10:45:34.002Z] STF 10:45:33.961 -
[2025-06-19T10:45:34.002Z] STF 10:45:33.961 - +------ Step 3 - Create com.helper jar
[2025-06-19T10:45:34.002Z] STF 10:45:33.961 - | Create modular jar
[2025-06-19T10:45:34.002Z] STF 10:45:33.961 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper
[2025-06-19T10:45:34.002Z] STF 10:45:33.961 - | ModuleVersion: null
[2025-06-19T10:45:34.002Z] STF 10:45:33.961 - | MainClass: null
[2025-06-19T10:45:34.002Z] STF 10:45:33.961 - | HashModules: null
[2025-06-19T10:45:34.002Z] STF 10:45:33.961 - |
[2025-06-19T10:45:34.002Z] STF 10:45:33.962 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/TKG/output_17503286398915/PatModImg_AppMod_2/20250619-104532-PatModImgTest/modules/3.com.helper.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper .
[2025-06-19T10:45:34.002Z] STF 10:45:33.962 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/TKG/output_17503286398915/PatModImg_AppMod_2/20250619-104532-PatModImgTest/results/3.CMJ.stderr
[2025-06-19T10:45:34.002Z] STF 10:45:33.962 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/TKG/output_17503286398915/PatModImg_AppMod_2/20250619-104532-PatModImgTest/results/3.CMJ.stdout
[2025-06-19T10:45:34.002Z] STF 10:45:33.967 - Monitoring processes: CMJ
[2025-06-19T10:45:34.327Z] STF 10:45:34.227 - Monitoring Report Summary:
[2025-06-19T10:45:34.327Z] STF 10:45:34.227 - o Process CMJ ended with the expected exit code (0)
[2025-06-19T10:45:34.327Z] STF 10:45:34.227 - Created modular jar: 3.com.helper.jar
[2025-06-19T10:45:34.327Z] STF 10:45:34.227 -
[2025-06-19T10:45:34.327Z] STF 10:45:34.227 - +------ Step 4 - Create com.discreet jar
[2025-06-19T10:45:34.327Z] STF 10:45:34.227 - | Create modular jar
[2025-06-19T10:45:34.327Z] STF 10:45:34.227 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet
[2025-06-19T10:45:34.327Z] STF 10:45:34.227 - | ModuleVersion: null
[2025-06-19T10:45:34.327Z] STF 10:45:34.227 - | MainClass: null
[2025-06-19T10:45:34.327Z] STF 10:45:34.227 - | HashModules: null
[2025-06-19T10:45:34.327Z] STF 10:45:34.227 - |
[2025-06-19T10:45:34.327Z] STF 10:45:34.227 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/TKG/output_17503286398915/PatModImg_AppMod_2/20250619-104532-PatModImgTest/modules/4.com.discreet.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet .
[2025-06-19T10:45:34.327Z] STF 10:45:34.227 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/TKG/output_17503286398915/PatModImg_AppMod_2/20250619-104532-PatModImgTest/results/4.CMJ.stderr
[2025-06-19T10:45:34.327Z] STF 10:45:34.227 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/TKG/output_17503286398915/PatModImg_AppMod_2/20250619-104532-PatModImgTest/results/4.CMJ.stdout
[2025-06-19T10:45:34.327Z] STF 10:45:34.232 - Monitoring processes: CMJ
[2025-06-19T10:45:34.653Z] STF 10:45:34.500 - Monitoring Report Summary:
[2025-06-19T10:45:34.653Z] STF 10:45:34.500 - o Process CMJ ended with the expected exit code (0)
[2025-06-19T10:45:34.653Z] STF 10:45:34.500 - Created modular jar: 4.com.discreet.jar
[2025-06-19T10:45:34.653Z] STF 10:45:34.500 -
[2025-06-19T10:45:34.653Z] STF 10:45:34.500 - +------ Step 5 - Create tests jar
[2025-06-19T10:45:34.653Z] STF 10:45:34.500 - | Create modular jar
[2025-06-19T10:45:34.653Z] STF 10:45:34.500 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test
[2025-06-19T10:45:34.653Z] STF 10:45:34.500 - | ModuleVersion: null
[2025-06-19T10:45:34.653Z] STF 10:45:34.500 - | MainClass: null
[2025-06-19T10:45:34.653Z] STF 10:45:34.500 - | HashModules: null
[2025-06-19T10:45:34.653Z] STF 10:45:34.500 - |
[2025-06-19T10:45:34.653Z] STF 10:45:34.500 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/TKG/output_17503286398915/PatModImg_AppMod_2/20250619-104532-PatModImgTest/modules/5.com.test.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test .
[2025-06-19T10:45:34.653Z] STF 10:45:34.500 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/TKG/output_17503286398915/PatModImg_AppMod_2/20250619-104532-PatModImgTest/results/5.CMJ.stderr
[2025-06-19T10:45:34.653Z] STF 10:45:34.500 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/TKG/output_17503286398915/PatModImg_AppMod_2/20250619-104532-PatModImgTest/results/5.CMJ.stdout
[2025-06-19T10:45:34.653Z] STF 10:45:34.505 - Monitoring processes: CMJ
[2025-06-19T10:45:34.979Z] STF 10:45:34.782 - Monitoring Report Summary:
[2025-06-19T10:45:34.979Z] STF 10:45:34.782 - o Process CMJ ended with the expected exit code (0)
[2025-06-19T10:45:34.979Z] STF 10:45:34.782 - Created modular jar: 5.com.test.jar
[2025-06-19T10:45:34.979Z] STF 10:45:34.782 -
[2025-06-19T10:45:34.979Z] STF 10:45:34.782 - +------ Step 6 - Create runtime image for PatchModule test
[2025-06-19T10:45:34.979Z] STF 10:45:34.782 - | Run jlink to create runtime image
[2025-06-19T10:45:34.979Z] STF 10:45:34.782 - | ImageName: XpJVM
[2025-06-19T10:45:34.979Z] STF 10:45:34.782 - |
[2025-06-19T10:45:34.979Z] STF 10:45:34.782 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/jdkbinary/j2sdk-image/bin/jlink --module-path c:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\jdkbinary\j2sdk-image\jmods;C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\aqa-tests\TKG\output_17503286398915\PatModImg_AppMod_2\20250619-104532-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_2\aqa-tests\TKG\output_17503286398915\PatModImg_AppMod_2\20250619-104532-PatModImgTest\tmp\6.XpJVM
[2025-06-19T10:45:34.979Z] STF 10:45:34.782 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/TKG/output_17503286398915/PatModImg_AppMod_2/20250619-104532-PatModImgTest/results/6.JLNK.stderr
[2025-06-19T10:45:34.979Z] STF 10:45:34.782 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/TKG/output_17503286398915/PatModImg_AppMod_2/20250619-104532-PatModImgTest/results/6.JLNK.stdout
[2025-06-19T10:45:34.979Z] STF 10:45:34.788 - Monitoring processes: JLNK
[2025-06-19T10:45:36.586Z] STF 10:45:36.485 - Monitoring Report Summary:
[2025-06-19T10:45:36.586Z] STF 10:45:36.485 - o Process JLNK ended with the expected exit code (0)
[2025-06-19T10:45:36.586Z] STF 10:45:36.486 -
[2025-06-19T10:45:36.586Z] STF 10:45:36.486 - +------ Step 7 - Create com.hello jar
[2025-06-19T10:45:36.586Z] STF 10:45:36.486 - | Create modular jar
[2025-06-19T10:45:36.586Z] STF 10:45:36.486 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello
[2025-06-19T10:45:36.586Z] STF 10:45:36.486 - | ModuleVersion: null
[2025-06-19T10:45:36.586Z] STF 10:45:36.486 - | MainClass: null
[2025-06-19T10:45:36.586Z] STF 10:45:36.486 - | HashModules: null
[2025-06-19T10:45:36.586Z] STF 10:45:36.486 - |
[2025-06-19T10:45:36.586Z] STF 10:45:36.486 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/TKG/output_17503286398915/PatModImg_AppMod_2/20250619-104532-PatModImgTest/modules/7.com.hello.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello .
[2025-06-19T10:45:36.586Z] STF 10:45:36.486 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/TKG/output_17503286398915/PatModImg_AppMod_2/20250619-104532-PatModImgTest/results/7.CMJ.stderr
[2025-06-19T10:45:36.586Z] STF 10:45:36.486 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/TKG/output_17503286398915/PatModImg_AppMod_2/20250619-104532-PatModImgTest/results/7.CMJ.stdout
[2025-06-19T10:45:36.586Z] STF 10:45:36.493 - Monitoring processes: CMJ
[2025-06-19T10:45:36.912Z] STF 10:45:36.737 - Monitoring Report Summary:
[2025-06-19T10:45:36.912Z] STF 10:45:36.737 - o Process CMJ ended with the expected exit code (0)
[2025-06-19T10:45:36.912Z] STF 10:45:36.737 - Created modular jar: 7.com.hello.jar
[2025-06-19T10:45:36.912Z] STF 10:45:36.737 -
[2025-06-19T10:45:36.912Z] STF 10:45:36.737 - +------ Step 8 - create java.xml.jar
[2025-06-19T10:45:36.912Z] STF 10:45:36.737 - | Create modular jar
[2025-06-19T10:45:36.912Z] STF 10:45:36.737 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml
[2025-06-19T10:45:36.912Z] STF 10:45:36.737 - | ModuleVersion: null
[2025-06-19T10:45:36.912Z] STF 10:45:36.737 - | MainClass: null
[2025-06-19T10:45:36.912Z] STF 10:45:36.737 - | HashModules: null
[2025-06-19T10:45:36.912Z] STF 10:45:36.737 - |
[2025-06-19T10:45:36.912Z] STF 10:45:36.737 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/TKG/output_17503286398915/PatModImg_AppMod_2/20250619-104532-PatModImgTest/modules/8.java.xml.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml .
[2025-06-19T10:45:36.912Z] STF 10:45:36.737 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/TKG/output_17503286398915/PatModImg_AppMod_2/20250619-104532-PatModImgTest/results/8.CMJ.stderr
[2025-06-19T10:45:36.912Z] STF 10:45:36.737 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/TKG/output_17503286398915/PatModImg_AppMod_2/20250619-104532-PatModImgTest/results/8.CMJ.stdout
[2025-06-19T10:45:36.912Z] STF 10:45:36.742 - Monitoring processes: CMJ
[2025-06-19T10:45:37.236Z] STF 10:45:36.989 - Monitoring Report Summary:
[2025-06-19T10:45:37.236Z] STF 10:45:36.989 - o Process CMJ ended with the expected exit code (0)
[2025-06-19T10:45:37.236Z] STF 10:45:36.989 - Created modular jar: 8.java.xml.jar
[2025-06-19T10:45:37.236Z] STF 10:45:36.989 -
[2025-06-19T10:45:37.236Z] STF 10:45:36.989 - +------ Step 9 - Verify if we can patch an Application module using exploded directory
[2025-06-19T10:45:37.236Z] STF 10:45:36.989 - | Run foreground process
[2025-06-19T10:45:37.236Z] STF 10:45:36.989 - | Program: C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/TKG/output_17503286398915/PatModImg_AppMod_2/20250619-104532-PatModImgTest/tmp/6.XpJVM/bin/java
[2025-06-19T10:45:37.236Z] STF 10:45:36.989 - | Mnemonic: OT21
[2025-06-19T10:45:37.236Z] STF 10:45:36.989 - | Echo: ECHO_ON
[2025-06-19T10:45:37.236Z] STF 10:45:36.989 - | Expectation: CLEAN_RUN within 5m
[2025-06-19T10:45:37.236Z] STF 10:45:36.989 - |
[2025-06-19T10:45:37.236Z] STF 10:45:36.990 - Running command: C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/TKG/output_17503286398915/PatModImg_AppMod_2/20250619-104532-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_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello -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-06-19T10:45:37.236Z] STF 10:45:36.990 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/TKG/output_17503286398915/PatModImg_AppMod_2/20250619-104532-PatModImgTest/results/9.OT21.stderr
[2025-06-19T10:45:37.236Z] STF 10:45:36.990 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/TKG/output_17503286398915/PatModImg_AppMod_2/20250619-104532-PatModImgTest/results/9.OT21.stdout
[2025-06-19T10:45:37.236Z] STF 10:45:37.016 - Monitoring processes: OT21
[2025-06-19T10:45:37.236Z] OT21 stderr WARNING: module-info.class ignored in patch: C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello
[2025-06-19T10:45:37.559Z] OT21 JUnit version 4.12
[2025-06-19T10:45:37.559Z] OT21 .
[2025-06-19T10:45:37.559Z] OT21 Time: 0.004
[2025-06-19T10:45:37.559Z] OT21
[2025-06-19T10:45:37.559Z] OT21 OK (1 test)
[2025-06-19T10:45:37.559Z] OT21
[2025-06-19T10:45:37.559Z] STF 10:45:37.280 - Monitoring Report Summary:
[2025-06-19T10:45:37.559Z] STF 10:45:37.280 - o Process OT21 ended with the expected exit code (0)
[2025-06-19T10:45:37.559Z] STF 10:45:37.280 -
[2025-06-19T10:45:37.559Z] STF 10:45:37.280 - +------ Step 10 - Verify if we can patch an Application module using modular jar
[2025-06-19T10:45:37.559Z] STF 10:45:37.280 - | Run foreground process
[2025-06-19T10:45:37.559Z] STF 10:45:37.280 - | Program: C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/TKG/output_17503286398915/PatModImg_AppMod_2/20250619-104532-PatModImgTest/tmp/6.XpJVM/bin/java
[2025-06-19T10:45:37.559Z] STF 10:45:37.280 - | Mnemonic: OT22
[2025-06-19T10:45:37.559Z] STF 10:45:37.280 - | Echo: ECHO_ON
[2025-06-19T10:45:37.559Z] STF 10:45:37.280 - | Expectation: CLEAN_RUN within 5m
[2025-06-19T10:45:37.559Z] STF 10:45:37.280 - |
[2025-06-19T10:45:37.559Z] STF 10:45:37.281 - Running command: C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/TKG/output_17503286398915/PatModImg_AppMod_2/20250619-104532-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_2/aqa-tests/TKG/output_17503286398915/PatModImg_AppMod_2/20250619-104532-PatModImgTest/modules/7.com.hello.jar -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-06-19T10:45:37.559Z] STF 10:45:37.281 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/TKG/output_17503286398915/PatModImg_AppMod_2/20250619-104532-PatModImgTest/results/10.OT22.stderr
[2025-06-19T10:45:37.559Z] STF 10:45:37.281 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/TKG/output_17503286398915/PatModImg_AppMod_2/20250619-104532-PatModImgTest/results/10.OT22.stdout
[2025-06-19T10:45:37.559Z] STF 10:45:37.289 - Monitoring processes: OT22
[2025-06-19T10:45:37.559Z] OT22 stderr WARNING: module-info.class ignored in patch: C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\aqa-tests\TKG\output_17503286398915\PatModImg_AppMod_2\20250619-104532-PatModImgTest\modules\7.com.hello.jar
[2025-06-19T10:45:37.559Z] OT22 JUnit version 4.12
[2025-06-19T10:45:37.559Z] OT22 .
[2025-06-19T10:45:37.559Z] OT22 Time: 0.004
[2025-06-19T10:45:37.559Z] OT22
[2025-06-19T10:45:37.559Z] OT22 OK (1 test)
[2025-06-19T10:45:37.559Z] OT22
[2025-06-19T10:45:37.559Z] STF 10:45:37.530 - Monitoring Report Summary:
[2025-06-19T10:45:37.559Z] STF 10:45:37.530 - o Process OT22 ended with the expected exit code (0)
[2025-06-19T10:45:37.559Z] STF 10:45:37.530 - EXECUTE stage completed
[2025-06-19T10:45:38.048Z] STF 10:45:37.593 -
[2025-06-19T10:45:38.048Z] STF 10:45:37.593 - ==================== T E A R D O W N ====================
[2025-06-19T10:45:38.048Z] STF 10:45:37.593 - Running teardown: perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/\TKG\output_17503286398915\PatModImg_AppMod_2/20250619-104532-PatModImgTest/tearDown.pl
[2025-06-19T10:45:38.048Z] STF 10:45:37.719 - TEARDOWN stage completed
[2025-06-19T10:45:38.048Z] STF 10:45:37.733 -
[2025-06-19T10:45:38.048Z] STF 10:45:37.734 - ===================== R E S U L T S =====================
[2025-06-19T10:45:38.048Z] STF 10:45:37.734 - Stage results:
[2025-06-19T10:45:38.048Z] STF 10:45:37.734 - setUp: pass
[2025-06-19T10:45:38.048Z] STF 10:45:37.734 - execute: pass
[2025-06-19T10:45:38.048Z] STF 10:45:37.734 - teardown: pass
[2025-06-19T10:45:38.048Z] STF 10:45:37.734 -
[2025-06-19T10:45:38.048Z] STF 10:45:37.734 - Overall result: PASSED
[2025-06-19T10:45:38.048Z] -----------------------------------
[2025-06-19T10:45:38.048Z] PatModImg_AppMod_2_PASSED
[2025-06-19T10:45:38.048Z] -----------------------------------
[2025-06-19T10:45:38.048Z]
[2025-06-19T10:45:38.048Z] TEST TEARDOWN:
[2025-06-19T10:45:38.048Z] Nothing to be done for teardown.
[2025-06-19T10:45:38.393Z] PatModImg_AppMod_2 Finish Time: Thu Jun 19 10:45:38 2025 Epoch Time (ms): 1750329938044