PatModImg_AppMod_2
[2025-06-13T00:13:51.214Z] Running test PatModImg_AppMod_2 ...
[2025-06-13T00:13:51.214Z] ===============================================
[2025-06-13T00:13:51.579Z] PatModImg_AppMod_2 Start Time: Fri Jun 13 00:13:51 2025 Epoch Time (ms): 1749773631289
[2025-06-13T00:13:51.580Z] variation: Mode1000
[2025-06-13T00:13:51.899Z] JVM_OPTIONS:
[2025-06-13T00:13:51.899Z] { \
[2025-06-13T00:13:51.899Z] echo ""; echo "TEST SETUP:"; \
[2025-06-13T00:13:51.899Z] echo "Nothing to be done for setup."; \
[2025-06-13T00:13:51.899Z] mkdir -p "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17497717841918\\PatModImg_AppMod_2"; \
[2025-06-13T00:13:51.899Z] cd "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17497717841918\\PatModImg_AppMod_2"; \
[2025-06-13T00:13:51.899Z] echo ""; echo "TESTING:"; \
[2025-06-13T00:13:51.900Z] 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/../../testDependency/system_lib\\" -java-args=' ' -results-root="C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17497717841918\\PatModImg_AppMod_2" -test=PatModImgTest -test-args="variant=AppMod"; \
[2025-06-13T00:13:51.900Z] 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_17497717841918\\PatModImg_AppMod_2"; else echo "-----------------------------------"; echo "PatModImg_AppMod_2""_FAILED"; echo "-----------------------------------"; fi; \
[2025-06-13T00:13:51.900Z] echo ""; echo "TEST TEARDOWN:"; \
[2025-06-13T00:13:51.900Z] echo "Nothing to be done for teardown."; \
[2025-06-13T00:13:51.900Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17497717841918\\TestTargetResult";
[2025-06-13T00:13:51.900Z]
[2025-06-13T00:13:51.900Z] TEST SETUP:
[2025-06-13T00:13:51.900Z] Nothing to be done for setup.
[2025-06-13T00:13:51.900Z]
[2025-06-13T00:13:51.900Z] TESTING:
[2025-06-13T00:13:52.226Z] STF 00:13:52.036 - ========================= S T F =========================
[2025-06-13T00:13:52.226Z] 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_0/aqa-tests/\TKG\output_17497717841918\PatModImg_AppMod_2
[2025-06-13T00:13:52.226Z] There is 391311 Mb free
[2025-06-13T00:13:52.226Z] STF 00:13:52.085 - ================== G E N E R A T I O N ==================
[2025-06-13T00:13:52.227Z] STF 00:13:52.088 - Checking JVM: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image
[2025-06-13T00:13:52.227Z] STF 00:13:52.088 - 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/../../testDependency/system_lib\/asm/asm.jar;c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/../../testDependency/system_lib\/asm/asm-commons.jar;c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/../../testDependency/system_lib\/log4j/log4j-api.jar;c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/../../testDependency/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_17497717841918\PatModImg_AppMod_2/20250613-001352-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_17497717841918\PatModImg_AppMod_2/20250613-001352-PatModImgTest"
[2025-06-13T00:13:53.350Z] GEN 00:13:53.020 - 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-06-13T00:13:53.350Z] GEN 00:13:53.035 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest'
[2025-06-13T00:13:53.350Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2025-06-13T00:13:53.350Z] 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-06-13T00:13:53.350Z] 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-06-13T00:13:53.350Z] 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-06-13T00:13:53.350Z] 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-06-13T00:13:53.350Z] 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-06-13T00:13:53.350Z] 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-06-13T00:13:53.350Z] 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-06-13T00:13:53.350Z] 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-06-13T00:13:53.350Z] 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-06-13T00:13:53.350Z] 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-06-13T00:13:53.350Z] 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-06-13T00:13:53.350Z] 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-06-13T00:13:53.350Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common
[2025-06-13T00:13:53.350Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests
[2025-06-13T00:13:53.350Z] GEN C:\\jenkins\\workspace\\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin
[2025-06-13T00:13:53.350Z] GEN C:\\jenkins\\workspace\\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\\jvmtest\\system\\STF\\stf.core\\bin
[2025-06-13T00:13:53.350Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar
[2025-06-13T00:13:53.350Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar
[2025-06-13T00:13:53.350Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar
[2025-06-13T00:13:53.350Z] GEN 00:13:53.265 - Using Mode NoOptions. Values = ''
[2025-06-13T00:13:53.679Z] GEN 00:13:53.361 -
[2025-06-13T00:13:53.679Z] GEN 00:13:53.362 - Test command summary:
[2025-06-13T00:13:53.679Z] GEN 00:13:53.362 - Step Stage Command Description
[2025-06-13T00:13:53.679Z] GEN 00:13:53.362 - -----+--------+-----------------+------------
[2025-06-13T00:13:53.679Z] GEN 00:13:53.362 - 1 execute jar Create com.hello jar
[2025-06-13T00:13:53.679Z] GEN 00:13:53.362 - 2 execute jar Create com.hola jar
[2025-06-13T00:13:53.679Z] GEN 00:13:53.362 - 3 execute jar Create com.helper jar
[2025-06-13T00:13:53.679Z] GEN 00:13:53.362 - 4 execute jar Create com.discreet jar
[2025-06-13T00:13:53.679Z] GEN 00:13:53.362 - 5 execute jar Create tests jar
[2025-06-13T00:13:53.679Z] GEN 00:13:53.362 - 6 execute jlink Create runtime image for PatchModule test
[2025-06-13T00:13:53.679Z] GEN 00:13:53.363 - 7 execute jar Create com.hello jar
[2025-06-13T00:13:53.679Z] GEN 00:13:53.363 - 8 execute jar create java.xml.jar
[2025-06-13T00:13:53.679Z] GEN 00:13:53.363 - 9 execute Run java Verify if we can patch an Application module using exploded directory
[2025-06-13T00:13:53.679Z] GEN 00:13:53.363 - 10 execute Run java Verify if we can patch an Application module using modular jar
[2025-06-13T00:13:53.679Z] STF 00:13:53.398 -
[2025-06-13T00:13:53.679Z] STF 00:13:53.398 - Script generation completed
[2025-06-13T00:13:53.679Z] STF 00:13:53.398 -
[2025-06-13T00:13:53.679Z] STF 00:13:53.399 -
[2025-06-13T00:13:53.679Z] STF 00:13:53.399 - ======================= S E T U P =======================
[2025-06-13T00:13:53.679Z] STF 00:13:53.399 - Running setup: perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17497717841918\PatModImg_AppMod_2/20250613-001352-PatModImgTest/setUp.pl
[2025-06-13T00:13:53.679Z] STF 00:13:53.548 - SETUP stage completed
[2025-06-13T00:13:53.679Z] STF 00:13:53.564 -
[2025-06-13T00:13:53.679Z] STF 00:13:53.564 - ==================== E X E C U T E - ====================
[2025-06-13T00:13:53.679Z] STF 00:13:53.564 - Running execute: perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17497717841918\PatModImg_AppMod_2/20250613-001352-PatModImgTest/execute.pl
[2025-06-13T00:13:54.005Z] STF 00:13:53.720 -
[2025-06-13T00:13:54.005Z] STF 00:13:53.720 - Java version
[2025-06-13T00:13:54.005Z] STF 00:13:53.721 - Running: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java -version
[2025-06-13T00:13:54.005Z] openjdk version "17.0.16-beta" 2025-07-15
[2025-06-13T00:13:54.005Z] OpenJDK Runtime Environment Temurin-17.0.16+6-202506121319 (build 17.0.16-beta+6-ea)
[2025-06-13T00:13:54.005Z] OpenJDK Client VM Temurin-17.0.16+6-202506121319 (build 17.0.16-beta+6-ea, mixed mode, emulated-client)
[2025-06-13T00:13:54.005Z] STF 00:13:53.841 -
[2025-06-13T00:13:54.005Z] STF 00:13:53.841 - +------ Step 1 - Create com.hello jar
[2025-06-13T00:13:54.005Z] STF 00:13:53.841 - | Create modular jar
[2025-06-13T00:13:54.005Z] STF 00:13:53.841 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello
[2025-06-13T00:13:54.005Z] STF 00:13:53.841 - | ModuleVersion: null
[2025-06-13T00:13:54.005Z] STF 00:13:53.841 - | MainClass: null
[2025-06-13T00:13:54.005Z] STF 00:13:53.841 - | HashModules: null
[2025-06-13T00:13:54.005Z] STF 00:13:53.841 - |
[2025-06-13T00:13:54.006Z] STF 00:13:53.841 - 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_17497717841918/PatModImg_AppMod_2/20250613-001352-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-06-13T00:13:54.006Z] STF 00:13:53.841 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17497717841918/PatModImg_AppMod_2/20250613-001352-PatModImgTest/results/1.CMJ.stderr
[2025-06-13T00:13:54.006Z] STF 00:13:53.841 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17497717841918/PatModImg_AppMod_2/20250613-001352-PatModImgTest/results/1.CMJ.stdout
[2025-06-13T00:13:54.006Z] STF 00:13:53.874 - Monitoring processes: CMJ
[2025-06-13T00:13:54.329Z] STF 00:13:54.211 - Monitoring Report Summary:
[2025-06-13T00:13:54.329Z] STF 00:13:54.211 - o Process CMJ ended with the expected exit code (0)
[2025-06-13T00:13:54.329Z] STF 00:13:54.212 - Created modular jar: 1.com.hello.jar
[2025-06-13T00:13:54.329Z] STF 00:13:54.212 -
[2025-06-13T00:13:54.329Z] STF 00:13:54.212 - +------ Step 2 - Create com.hola jar
[2025-06-13T00:13:54.329Z] STF 00:13:54.212 - | Create modular jar
[2025-06-13T00:13:54.329Z] STF 00:13:54.212 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola
[2025-06-13T00:13:54.329Z] STF 00:13:54.212 - | ModuleVersion: null
[2025-06-13T00:13:54.329Z] STF 00:13:54.212 - | MainClass: null
[2025-06-13T00:13:54.329Z] STF 00:13:54.212 - | HashModules: null
[2025-06-13T00:13:54.329Z] STF 00:13:54.212 - |
[2025-06-13T00:13:54.329Z] STF 00:13:54.212 - 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_17497717841918/PatModImg_AppMod_2/20250613-001352-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-06-13T00:13:54.329Z] STF 00:13:54.212 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17497717841918/PatModImg_AppMod_2/20250613-001352-PatModImgTest/results/2.CMJ.stderr
[2025-06-13T00:13:54.329Z] STF 00:13:54.212 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17497717841918/PatModImg_AppMod_2/20250613-001352-PatModImgTest/results/2.CMJ.stdout
[2025-06-13T00:13:54.329Z] STF 00:13:54.218 - Monitoring processes: CMJ
[2025-06-13T00:13:54.650Z] STF 00:13:54.579 - Monitoring Report Summary:
[2025-06-13T00:13:54.650Z] STF 00:13:54.579 - o Process CMJ ended with the expected exit code (0)
[2025-06-13T00:13:54.650Z] STF 00:13:54.579 - Created modular jar: 2.com.hola.jar
[2025-06-13T00:13:54.650Z] STF 00:13:54.579 -
[2025-06-13T00:13:54.650Z] STF 00:13:54.579 - +------ Step 3 - Create com.helper jar
[2025-06-13T00:13:54.650Z] STF 00:13:54.579 - | Create modular jar
[2025-06-13T00:13:54.650Z] STF 00:13:54.579 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper
[2025-06-13T00:13:54.650Z] STF 00:13:54.579 - | ModuleVersion: null
[2025-06-13T00:13:54.650Z] STF 00:13:54.579 - | MainClass: null
[2025-06-13T00:13:54.650Z] STF 00:13:54.579 - | HashModules: null
[2025-06-13T00:13:54.650Z] STF 00:13:54.579 - |
[2025-06-13T00:13:54.650Z] STF 00:13:54.580 - 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_17497717841918/PatModImg_AppMod_2/20250613-001352-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-06-13T00:13:54.650Z] STF 00:13:54.580 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17497717841918/PatModImg_AppMod_2/20250613-001352-PatModImgTest/results/3.CMJ.stderr
[2025-06-13T00:13:54.650Z] STF 00:13:54.580 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17497717841918/PatModImg_AppMod_2/20250613-001352-PatModImgTest/results/3.CMJ.stdout
[2025-06-13T00:13:54.650Z] STF 00:13:54.586 - Monitoring processes: CMJ
[2025-06-13T00:13:55.317Z] STF 00:13:55.061 - Monitoring Report Summary:
[2025-06-13T00:13:55.317Z] STF 00:13:55.062 - o Process CMJ ended with the expected exit code (0)
[2025-06-13T00:13:55.317Z] STF 00:13:55.062 - Created modular jar: 3.com.helper.jar
[2025-06-13T00:13:55.317Z] STF 00:13:55.062 -
[2025-06-13T00:13:55.317Z] STF 00:13:55.062 - +------ Step 4 - Create com.discreet jar
[2025-06-13T00:13:55.317Z] STF 00:13:55.062 - | Create modular jar
[2025-06-13T00:13:55.317Z] STF 00:13:55.062 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet
[2025-06-13T00:13:55.317Z] STF 00:13:55.062 - | ModuleVersion: null
[2025-06-13T00:13:55.317Z] STF 00:13:55.062 - | MainClass: null
[2025-06-13T00:13:55.317Z] STF 00:13:55.062 - | HashModules: null
[2025-06-13T00:13:55.317Z] STF 00:13:55.062 - |
[2025-06-13T00:13:55.317Z] STF 00:13:55.062 - 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_17497717841918/PatModImg_AppMod_2/20250613-001352-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-06-13T00:13:55.317Z] STF 00:13:55.062 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17497717841918/PatModImg_AppMod_2/20250613-001352-PatModImgTest/results/4.CMJ.stderr
[2025-06-13T00:13:55.317Z] STF 00:13:55.062 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17497717841918/PatModImg_AppMod_2/20250613-001352-PatModImgTest/results/4.CMJ.stdout
[2025-06-13T00:13:55.317Z] STF 00:13:55.069 - Monitoring processes: CMJ
[2025-06-13T00:13:55.656Z] STF 00:13:55.550 - Monitoring Report Summary:
[2025-06-13T00:13:55.656Z] STF 00:13:55.550 - o Process CMJ ended with the expected exit code (0)
[2025-06-13T00:13:55.656Z] STF 00:13:55.550 - Created modular jar: 4.com.discreet.jar
[2025-06-13T00:13:55.656Z] STF 00:13:55.550 -
[2025-06-13T00:13:55.656Z] STF 00:13:55.550 - +------ Step 5 - Create tests jar
[2025-06-13T00:13:55.656Z] STF 00:13:55.550 - | Create modular jar
[2025-06-13T00:13:55.656Z] STF 00:13:55.550 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test
[2025-06-13T00:13:55.656Z] STF 00:13:55.550 - | ModuleVersion: null
[2025-06-13T00:13:55.656Z] STF 00:13:55.550 - | MainClass: null
[2025-06-13T00:13:55.656Z] STF 00:13:55.550 - | HashModules: null
[2025-06-13T00:13:55.656Z] STF 00:13:55.550 - |
[2025-06-13T00:13:55.656Z] STF 00:13:55.551 - 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_17497717841918/PatModImg_AppMod_2/20250613-001352-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-06-13T00:13:55.656Z] STF 00:13:55.551 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17497717841918/PatModImg_AppMod_2/20250613-001352-PatModImgTest/results/5.CMJ.stderr
[2025-06-13T00:13:55.657Z] STF 00:13:55.551 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17497717841918/PatModImg_AppMod_2/20250613-001352-PatModImgTest/results/5.CMJ.stdout
[2025-06-13T00:13:55.657Z] STF 00:13:55.557 - Monitoring processes: CMJ
[2025-06-13T00:13:56.009Z] STF 00:13:55.900 - Monitoring Report Summary:
[2025-06-13T00:13:56.009Z] STF 00:13:55.900 - o Process CMJ ended with the expected exit code (0)
[2025-06-13T00:13:56.009Z] STF 00:13:55.901 - Created modular jar: 5.com.test.jar
[2025-06-13T00:13:56.009Z] STF 00:13:55.901 -
[2025-06-13T00:13:56.009Z] STF 00:13:55.901 - +------ Step 6 - Create runtime image for PatchModule test
[2025-06-13T00:13:56.009Z] STF 00:13:55.901 - | Run jlink to create runtime image
[2025-06-13T00:13:56.009Z] STF 00:13:55.901 - | ImageName: XpJVM
[2025-06-13T00:13:56.009Z] STF 00:13:55.901 - |
[2025-06-13T00:13:56.009Z] STF 00:13:55.901 - 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_17497717841918\PatModImg_AppMod_2\20250613-001352-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_17497717841918\PatModImg_AppMod_2\20250613-001352-PatModImgTest\tmp\6.XpJVM
[2025-06-13T00:13:56.009Z] STF 00:13:55.902 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17497717841918/PatModImg_AppMod_2/20250613-001352-PatModImgTest/results/6.JLNK.stderr
[2025-06-13T00:13:56.009Z] STF 00:13:55.902 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17497717841918/PatModImg_AppMod_2/20250613-001352-PatModImgTest/results/6.JLNK.stdout
[2025-06-13T00:13:56.009Z] STF 00:13:55.908 - Monitoring processes: JLNK
[2025-06-13T00:13:58.200Z] STF 00:13:58.077 - Monitoring Report Summary:
[2025-06-13T00:13:58.200Z] STF 00:13:58.077 - o Process JLNK ended with the expected exit code (0)
[2025-06-13T00:13:58.200Z] STF 00:13:58.077 -
[2025-06-13T00:13:58.200Z] STF 00:13:58.077 - +------ Step 7 - Create com.hello jar
[2025-06-13T00:13:58.200Z] STF 00:13:58.077 - | Create modular jar
[2025-06-13T00:13:58.200Z] STF 00:13:58.077 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello
[2025-06-13T00:13:58.200Z] STF 00:13:58.077 - | ModuleVersion: null
[2025-06-13T00:13:58.200Z] STF 00:13:58.077 - | MainClass: null
[2025-06-13T00:13:58.200Z] STF 00:13:58.077 - | HashModules: null
[2025-06-13T00:13:58.200Z] STF 00:13:58.077 - |
[2025-06-13T00:13:58.200Z] STF 00:13:58.077 - 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_17497717841918/PatModImg_AppMod_2/20250613-001352-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-06-13T00:13:58.200Z] STF 00:13:58.077 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17497717841918/PatModImg_AppMod_2/20250613-001352-PatModImgTest/results/7.CMJ.stderr
[2025-06-13T00:13:58.200Z] STF 00:13:58.078 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17497717841918/PatModImg_AppMod_2/20250613-001352-PatModImgTest/results/7.CMJ.stdout
[2025-06-13T00:13:58.528Z] STF 00:13:58.113 - Monitoring processes: CMJ
[2025-06-13T00:13:58.847Z] STF 00:13:58.722 - Monitoring Report Summary:
[2025-06-13T00:13:58.847Z] STF 00:13:58.722 - o Process CMJ ended with the expected exit code (0)
[2025-06-13T00:13:58.847Z] STF 00:13:58.722 - Created modular jar: 7.com.hello.jar
[2025-06-13T00:13:58.847Z] STF 00:13:58.722 -
[2025-06-13T00:13:58.847Z] STF 00:13:58.723 - +------ Step 8 - create java.xml.jar
[2025-06-13T00:13:58.847Z] STF 00:13:58.723 - | Create modular jar
[2025-06-13T00:13:58.847Z] STF 00:13:58.723 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml
[2025-06-13T00:13:58.847Z] STF 00:13:58.723 - | ModuleVersion: null
[2025-06-13T00:13:58.847Z] STF 00:13:58.723 - | MainClass: null
[2025-06-13T00:13:58.847Z] STF 00:13:58.723 - | HashModules: null
[2025-06-13T00:13:58.847Z] STF 00:13:58.723 - |
[2025-06-13T00:13:58.847Z] STF 00:13:58.723 - 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_17497717841918/PatModImg_AppMod_2/20250613-001352-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-06-13T00:13:58.847Z] STF 00:13:58.723 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17497717841918/PatModImg_AppMod_2/20250613-001352-PatModImgTest/results/8.CMJ.stderr
[2025-06-13T00:13:58.847Z] STF 00:13:58.723 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17497717841918/PatModImg_AppMod_2/20250613-001352-PatModImgTest/results/8.CMJ.stdout
[2025-06-13T00:13:58.847Z] STF 00:13:58.729 - Monitoring processes: CMJ
[2025-06-13T00:13:59.171Z] STF 00:13:59.048 - Monitoring Report Summary:
[2025-06-13T00:13:59.171Z] STF 00:13:59.048 - o Process CMJ ended with the expected exit code (0)
[2025-06-13T00:13:59.171Z] STF 00:13:59.048 - Created modular jar: 8.java.xml.jar
[2025-06-13T00:13:59.171Z] STF 00:13:59.048 -
[2025-06-13T00:13:59.171Z] STF 00:13:59.048 - +------ Step 9 - Verify if we can patch an Application module using exploded directory
[2025-06-13T00:13:59.171Z] STF 00:13:59.048 - | Run foreground process
[2025-06-13T00:13:59.171Z] STF 00:13:59.048 - | Program: C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17497717841918/PatModImg_AppMod_2/20250613-001352-PatModImgTest/tmp/6.XpJVM/bin/java
[2025-06-13T00:13:59.171Z] STF 00:13:59.048 - | Mnemonic: OT21
[2025-06-13T00:13:59.171Z] STF 00:13:59.048 - | Echo: ECHO_ON
[2025-06-13T00:13:59.171Z] STF 00:13:59.048 - | Expectation: CLEAN_RUN within 5m
[2025-06-13T00:13:59.171Z] STF 00:13:59.048 - |
[2025-06-13T00:13:59.171Z] STF 00:13:59.049 - Running command: C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17497717841918/PatModImg_AppMod_2/20250613-001352-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/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-13T00:13:59.171Z] STF 00:13:59.049 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17497717841918/PatModImg_AppMod_2/20250613-001352-PatModImgTest/results/9.OT21.stderr
[2025-06-13T00:13:59.171Z] STF 00:13:59.049 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17497717841918/PatModImg_AppMod_2/20250613-001352-PatModImgTest/results/9.OT21.stdout
[2025-06-13T00:13:59.171Z] STF 00:13:59.080 - Monitoring processes: OT21
[2025-06-13T00:13:59.496Z] 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-06-13T00:13:59.496Z] OT21 JUnit version 4.12
[2025-06-13T00:13:59.817Z] OT21 .
[2025-06-13T00:13:59.817Z] OT21 Time: 0.006
[2025-06-13T00:13:59.817Z] OT21
[2025-06-13T00:13:59.817Z] OT21 OK (1 test)
[2025-06-13T00:13:59.817Z] OT21
[2025-06-13T00:13:59.817Z] STF 00:13:59.426 - Monitoring Report Summary:
[2025-06-13T00:13:59.817Z] STF 00:13:59.426 - o Process OT21 ended with the expected exit code (0)
[2025-06-13T00:13:59.817Z] STF 00:13:59.426 -
[2025-06-13T00:13:59.817Z] STF 00:13:59.426 - +------ Step 10 - Verify if we can patch an Application module using modular jar
[2025-06-13T00:13:59.817Z] STF 00:13:59.426 - | Run foreground process
[2025-06-13T00:13:59.817Z] STF 00:13:59.426 - | Program: C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17497717841918/PatModImg_AppMod_2/20250613-001352-PatModImgTest/tmp/6.XpJVM/bin/java
[2025-06-13T00:13:59.817Z] STF 00:13:59.426 - | Mnemonic: OT22
[2025-06-13T00:13:59.817Z] STF 00:13:59.426 - | Echo: ECHO_ON
[2025-06-13T00:13:59.817Z] STF 00:13:59.426 - | Expectation: CLEAN_RUN within 5m
[2025-06-13T00:13:59.817Z] STF 00:13:59.426 - |
[2025-06-13T00:13:59.817Z] STF 00:13:59.426 - Running command: C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17497717841918/PatModImg_AppMod_2/20250613-001352-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_17497717841918/PatModImg_AppMod_2/20250613-001352-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-13T00:13:59.817Z] STF 00:13:59.426 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17497717841918/PatModImg_AppMod_2/20250613-001352-PatModImgTest/results/10.OT22.stderr
[2025-06-13T00:13:59.817Z] STF 00:13:59.426 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17497717841918/PatModImg_AppMod_2/20250613-001352-PatModImgTest/results/10.OT22.stdout
[2025-06-13T00:13:59.817Z] STF 00:13:59.435 - Monitoring processes: OT22
[2025-06-13T00:13:59.817Z] 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_17497717841918\PatModImg_AppMod_2\20250613-001352-PatModImgTest\modules\7.com.hello.jar
[2025-06-13T00:13:59.817Z] OT22 JUnit version 4.12
[2025-06-13T00:13:59.817Z] OT22 .
[2025-06-13T00:14:00.185Z] OT22 Time: 0.005
[2025-06-13T00:14:00.185Z] OT22
[2025-06-13T00:14:00.185Z] OT22 OK (1 test)
[2025-06-13T00:14:00.185Z] OT22
[2025-06-13T00:14:00.185Z] STF 00:13:59.756 - Monitoring Report Summary:
[2025-06-13T00:14:00.185Z] STF 00:13:59.757 - o Process OT22 ended with the expected exit code (0)
[2025-06-13T00:14:00.185Z] STF 00:13:59.757 - EXECUTE stage completed
[2025-06-13T00:14:00.185Z] STF 00:13:59.815 -
[2025-06-13T00:14:00.185Z] STF 00:13:59.816 - ==================== T E A R D O W N ====================
[2025-06-13T00:14:00.186Z] STF 00:13:59.816 - Running teardown: perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17497717841918\PatModImg_AppMod_2/20250613-001352-PatModImgTest/tearDown.pl
[2025-06-13T00:14:00.186Z] STF 00:13:59.966 - TEARDOWN stage completed
[2025-06-13T00:14:00.186Z] STF 00:13:59.981 -
[2025-06-13T00:14:00.186Z] STF 00:13:59.981 - ===================== R E S U L T S =====================
[2025-06-13T00:14:00.186Z] STF 00:13:59.981 - Stage results:
[2025-06-13T00:14:00.186Z] STF 00:13:59.981 - setUp: pass
[2025-06-13T00:14:00.186Z] STF 00:13:59.981 - execute: pass
[2025-06-13T00:14:00.186Z] STF 00:13:59.981 - teardown: pass
[2025-06-13T00:14:00.186Z] STF 00:13:59.981 -
[2025-06-13T00:14:00.186Z] STF 00:13:59.981 - Overall result: PASSED
[2025-06-13T00:14:00.186Z] -----------------------------------
[2025-06-13T00:14:00.186Z] PatModImg_AppMod_2_PASSED
[2025-06-13T00:14:00.186Z] -----------------------------------
[2025-06-13T00:14:00.186Z]
[2025-06-13T00:14:00.186Z] TEST TEARDOWN:
[2025-06-13T00:14:00.186Z] Nothing to be done for teardown.
[2025-06-13T00:14:00.554Z] PatModImg_AppMod_2 Finish Time: Fri Jun 13 00:14:00 2025 Epoch Time (ms): 1749773640278