PatModImg_AppMod_1
[2025-07-01T19:46:27.114Z] Running test PatModImg_AppMod_1 ...
[2025-07-01T19:46:27.460Z] ===============================================
[2025-07-01T19:46:27.460Z] PatModImg_AppMod_1 Start Time: Tue Jul 1 19:46:27 2025 Epoch Time (ms): 1751399187266
[2025-07-01T19:46:27.460Z] variation: Mode650
[2025-07-01T19:46:27.826Z] JVM_OPTIONS: -XX:-UseCompressedOops
[2025-07-01T19:46:27.826Z] { \
[2025-07-01T19:46:27.826Z] echo ""; echo "TEST SETUP:"; \
[2025-07-01T19:46:27.826Z] echo "Nothing to be done for setup."; \
[2025-07-01T19:46:27.826Z] mkdir -p "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17513970276742\\PatModImg_AppMod_1"; \
[2025-07-01T19:46:27.826Z] cd "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17513970276742\\PatModImg_AppMod_1"; \
[2025-07-01T19:46:27.826Z] echo ""; echo "TESTING:"; \
[2025-07-01T19:46:27.826Z] perl C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\\" -java-args=' -XX:-UseCompressedOops ' -results-root="C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17513970276742\\PatModImg_AppMod_1" -test=PatModImgTest -test-args="variant=AppMod"; \
[2025-07-01T19:46:27.826Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_1""_PASSED"; echo "-----------------------------------"; cd C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/; rm -f -r "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17513970276742\\PatModImg_AppMod_1"; else echo "-----------------------------------"; echo "PatModImg_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \
[2025-07-01T19:46:27.826Z] echo ""; echo "TEST TEARDOWN:"; \
[2025-07-01T19:46:27.826Z] echo "Nothing to be done for teardown."; \
[2025-07-01T19:46:27.826Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17513970276742\\TestTargetResult";
[2025-07-01T19:46:27.826Z]
[2025-07-01T19:46:27.826Z] TEST SETUP:
[2025-07-01T19:46:27.826Z] Nothing to be done for setup.
[2025-07-01T19:46:27.826Z]
[2025-07-01T19:46:27.826Z] TESTING:
[2025-07-01T19:46:28.159Z] STF 19:46:27.848 - ========================= S T F =========================
[2025-07-01T19:46:28.159Z] systemtest-prereqs has been processed, and set to: c:/jenkins/testDependency/system_libRetrieving amount of free space on drive containing C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17513970276742\PatModImg_AppMod_1
[2025-07-01T19:46:28.159Z] There is 92380 Mb free
[2025-07-01T19:46:28.159Z] STF 19:46:27.893 - ================== G E N E R A T I O N ==================
[2025-07-01T19:46:28.159Z] STF 19:46:27.894 - Checking JVM: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image
[2025-07-01T19:46:28.159Z] STF 19:46:27.895 - Starting process to generate scripts: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/asm/asm.jar;c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/asm/asm-commons.jar;c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-api.jar;c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17513970276742\PatModImg_AppMod_1/20250701-194627-PatModImgTest/stf_parameters.properties, , C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17513970276742\PatModImg_AppMod_1/20250701-194627-PatModImgTest"
[2025-07-01T19:46:28.159Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-07-01T19:46:28.159Z] GEN [0.013s][warning][cds] Archived non-system classes are disabled because the java.system.class.loader property is specified (value = "net.adoptopenjdk.stf.runner.StfClassLoader"). To use archived non-system classes, this property must not be set
[2025-07-01T19:46:29.273Z] GEN 19:46:28.924 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: 'C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin'
[2025-07-01T19:46:29.273Z] GEN 19:46:28.936 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest'
[2025-07-01T19:46:29.273Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2025-07-01T19:46:29.273Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService
[2025-07-01T19:46:29.273Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper
[2025-07-01T19:46:29.273Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1
[2025-07-01T19:46:29.273Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet
[2025-07-01T19:46:29.273Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello
[2025-07-01T19:46:29.273Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola
[2025-07-01T19:46:29.273Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2
[2025-07-01T19:46:29.273Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi
[2025-07-01T19:46:29.273Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override
[2025-07-01T19:46:29.273Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new
[2025-07-01T19:46:29.273Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3
[2025-07-01T19:46:29.273Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4
[2025-07-01T19:46:29.273Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common
[2025-07-01T19:46:29.273Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests
[2025-07-01T19:46:29.273Z] GEN C:\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin
[2025-07-01T19:46:29.273Z] GEN C:\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin
[2025-07-01T19:46:29.273Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar
[2025-07-01T19:46:29.273Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar
[2025-07-01T19:46:29.273Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar
[2025-07-01T19:46:29.273Z] GEN 19:46:29.136 - Using Mode NoOptions. Values = ''
[2025-07-01T19:46:29.273Z] GEN 19:46:29.224 -
[2025-07-01T19:46:29.273Z] GEN 19:46:29.224 - Test command summary:
[2025-07-01T19:46:29.273Z] GEN 19:46:29.224 - Step Stage Command Description
[2025-07-01T19:46:29.273Z] GEN 19:46:29.224 - -----+--------+-----------------+------------
[2025-07-01T19:46:29.273Z] GEN 19:46:29.225 - 1 execute jar Create com.hello jar
[2025-07-01T19:46:29.273Z] GEN 19:46:29.225 - 2 execute jar Create com.hola jar
[2025-07-01T19:46:29.273Z] GEN 19:46:29.225 - 3 execute jar Create com.helper jar
[2025-07-01T19:46:29.273Z] GEN 19:46:29.225 - 4 execute jar Create com.discreet jar
[2025-07-01T19:46:29.273Z] GEN 19:46:29.225 - 5 execute jar Create tests jar
[2025-07-01T19:46:29.273Z] GEN 19:46:29.225 - 6 execute jlink Create runtime image for PatchModule test
[2025-07-01T19:46:29.273Z] GEN 19:46:29.225 - 7 execute jar Create com.hello jar
[2025-07-01T19:46:29.273Z] GEN 19:46:29.225 - 8 execute jar create java.xml.jar
[2025-07-01T19:46:29.273Z] GEN 19:46:29.225 - 9 execute Run java Verify if we can patch an Application module using exploded directory
[2025-07-01T19:46:29.274Z] GEN 19:46:29.225 - 10 execute Run java Verify if we can patch an Application module using modular jar
[2025-07-01T19:46:29.595Z] STF 19:46:29.271 -
[2025-07-01T19:46:29.595Z] STF 19:46:29.271 - Script generation completed
[2025-07-01T19:46:29.595Z] STF 19:46:29.271 -
[2025-07-01T19:46:29.595Z] STF 19:46:29.272 -
[2025-07-01T19:46:29.595Z] STF 19:46:29.272 - ======================= S E T U P =======================
[2025-07-01T19:46:29.595Z] STF 19:46:29.272 - Running setup: perl C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17513970276742\PatModImg_AppMod_1/20250701-194627-PatModImgTest/setUp.pl
[2025-07-01T19:46:29.595Z] STF 19:46:29.399 - SETUP stage completed
[2025-07-01T19:46:29.595Z] STF 19:46:29.411 -
[2025-07-01T19:46:29.595Z] STF 19:46:29.411 - ==================== E X E C U T E - ====================
[2025-07-01T19:46:29.595Z] STF 19:46:29.411 - Running execute: perl C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17513970276742\PatModImg_AppMod_1/20250701-194627-PatModImgTest/execute.pl
[2025-07-01T19:46:29.595Z] STF 19:46:29.545 -
[2025-07-01T19:46:29.595Z] STF 19:46:29.545 - Java version
[2025-07-01T19:46:29.595Z] STF 19:46:29.545 - Running: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version
[2025-07-01T19:46:29.595Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-07-01T19:46:29.922Z] openjdk version "21.0.8-beta" 2025-07-15
[2025-07-01T19:46:29.922Z] OpenJDK Runtime Environment Temurin-21.0.8+8-202507011523 (build 21.0.8-beta+8-202507011523)
[2025-07-01T19:46:29.922Z] OpenJDK 64-Bit Server VM Temurin-21.0.8+8-202507011523 (build 21.0.8-beta+8-202507011523, mixed mode, sharing)
[2025-07-01T19:46:29.922Z] STF 19:46:29.630 -
[2025-07-01T19:46:29.922Z] STF 19:46:29.630 - +------ Step 1 - Create com.hello jar
[2025-07-01T19:46:29.922Z] STF 19:46:29.630 - | Create modular jar
[2025-07-01T19:46:29.922Z] STF 19:46:29.630 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello
[2025-07-01T19:46:29.922Z] STF 19:46:29.630 - | ModuleVersion: null
[2025-07-01T19:46:29.922Z] STF 19:46:29.630 - | MainClass: null
[2025-07-01T19:46:29.922Z] STF 19:46:29.630 - | HashModules: null
[2025-07-01T19:46:29.922Z] STF 19:46:29.630 - |
[2025-07-01T19:46:29.922Z] STF 19:46:29.631 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17513970276742/PatModImg_AppMod_1/20250701-194627-PatModImgTest/modules/1.com.hello.jar -C C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello .
[2025-07-01T19:46:29.922Z] STF 19:46:29.631 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17513970276742/PatModImg_AppMod_1/20250701-194627-PatModImgTest/results/1.CMJ.stderr
[2025-07-01T19:46:29.922Z] STF 19:46:29.631 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17513970276742/PatModImg_AppMod_1/20250701-194627-PatModImgTest/results/1.CMJ.stdout
[2025-07-01T19:46:29.922Z] STF 19:46:29.656 - Monitoring processes: CMJ
[2025-07-01T19:46:29.922Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-07-01T19:46:30.315Z] STF 19:46:29.944 - Monitoring Report Summary:
[2025-07-01T19:46:30.315Z] STF 19:46:29.945 - o Process CMJ ended with the expected exit code (0)
[2025-07-01T19:46:30.315Z] STF 19:46:29.945 - Created modular jar: 1.com.hello.jar
[2025-07-01T19:46:30.315Z] STF 19:46:29.945 -
[2025-07-01T19:46:30.315Z] STF 19:46:29.945 - +------ Step 2 - Create com.hola jar
[2025-07-01T19:46:30.315Z] STF 19:46:29.945 - | Create modular jar
[2025-07-01T19:46:30.315Z] STF 19:46:29.945 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola
[2025-07-01T19:46:30.315Z] STF 19:46:29.945 - | ModuleVersion: null
[2025-07-01T19:46:30.315Z] STF 19:46:29.945 - | MainClass: null
[2025-07-01T19:46:30.315Z] STF 19:46:29.945 - | HashModules: null
[2025-07-01T19:46:30.315Z] STF 19:46:29.945 - |
[2025-07-01T19:46:30.315Z] STF 19:46:29.945 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17513970276742/PatModImg_AppMod_1/20250701-194627-PatModImgTest/modules/2.com.hola.jar -C C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola .
[2025-07-01T19:46:30.315Z] STF 19:46:29.945 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17513970276742/PatModImg_AppMod_1/20250701-194627-PatModImgTest/results/2.CMJ.stderr
[2025-07-01T19:46:30.315Z] STF 19:46:29.945 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17513970276742/PatModImg_AppMod_1/20250701-194627-PatModImgTest/results/2.CMJ.stdout
[2025-07-01T19:46:30.315Z] STF 19:46:29.951 - Monitoring processes: CMJ
[2025-07-01T19:46:30.315Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-07-01T19:46:30.640Z] STF 19:46:30.252 - Monitoring Report Summary:
[2025-07-01T19:46:30.640Z] STF 19:46:30.252 - o Process CMJ ended with the expected exit code (0)
[2025-07-01T19:46:30.640Z] STF 19:46:30.252 - Created modular jar: 2.com.hola.jar
[2025-07-01T19:46:30.640Z] STF 19:46:30.252 -
[2025-07-01T19:46:30.640Z] STF 19:46:30.252 - +------ Step 3 - Create com.helper jar
[2025-07-01T19:46:30.640Z] STF 19:46:30.252 - | Create modular jar
[2025-07-01T19:46:30.640Z] STF 19:46:30.252 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper
[2025-07-01T19:46:30.640Z] STF 19:46:30.252 - | ModuleVersion: null
[2025-07-01T19:46:30.640Z] STF 19:46:30.252 - | MainClass: null
[2025-07-01T19:46:30.640Z] STF 19:46:30.252 - | HashModules: null
[2025-07-01T19:46:30.640Z] STF 19:46:30.252 - |
[2025-07-01T19:46:30.640Z] STF 19:46:30.252 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17513970276742/PatModImg_AppMod_1/20250701-194627-PatModImgTest/modules/3.com.helper.jar -C C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper .
[2025-07-01T19:46:30.640Z] STF 19:46:30.252 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17513970276742/PatModImg_AppMod_1/20250701-194627-PatModImgTest/results/3.CMJ.stderr
[2025-07-01T19:46:30.640Z] STF 19:46:30.252 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17513970276742/PatModImg_AppMod_1/20250701-194627-PatModImgTest/results/3.CMJ.stdout
[2025-07-01T19:46:30.640Z] STF 19:46:30.258 - Monitoring processes: CMJ
[2025-07-01T19:46:30.640Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-07-01T19:46:30.640Z] STF 19:46:30.547 - Monitoring Report Summary:
[2025-07-01T19:46:30.640Z] STF 19:46:30.547 - o Process CMJ ended with the expected exit code (0)
[2025-07-01T19:46:30.640Z] STF 19:46:30.547 - Created modular jar: 3.com.helper.jar
[2025-07-01T19:46:30.640Z] STF 19:46:30.547 -
[2025-07-01T19:46:30.640Z] STF 19:46:30.547 - +------ Step 4 - Create com.discreet jar
[2025-07-01T19:46:30.640Z] STF 19:46:30.547 - | Create modular jar
[2025-07-01T19:46:30.640Z] STF 19:46:30.547 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet
[2025-07-01T19:46:30.640Z] STF 19:46:30.547 - | ModuleVersion: null
[2025-07-01T19:46:30.640Z] STF 19:46:30.547 - | MainClass: null
[2025-07-01T19:46:30.640Z] STF 19:46:30.547 - | HashModules: null
[2025-07-01T19:46:30.640Z] STF 19:46:30.547 - |
[2025-07-01T19:46:30.640Z] STF 19:46:30.547 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17513970276742/PatModImg_AppMod_1/20250701-194627-PatModImgTest/modules/4.com.discreet.jar -C C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet .
[2025-07-01T19:46:30.640Z] STF 19:46:30.547 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17513970276742/PatModImg_AppMod_1/20250701-194627-PatModImgTest/results/4.CMJ.stderr
[2025-07-01T19:46:30.640Z] STF 19:46:30.547 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17513970276742/PatModImg_AppMod_1/20250701-194627-PatModImgTest/results/4.CMJ.stdout
[2025-07-01T19:46:30.640Z] STF 19:46:30.552 - Monitoring processes: CMJ
[2025-07-01T19:46:30.640Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-07-01T19:46:30.964Z] STF 19:46:30.846 - Monitoring Report Summary:
[2025-07-01T19:46:30.964Z] STF 19:46:30.846 - o Process CMJ ended with the expected exit code (0)
[2025-07-01T19:46:30.964Z] STF 19:46:30.846 - Created modular jar: 4.com.discreet.jar
[2025-07-01T19:46:30.964Z] STF 19:46:30.846 -
[2025-07-01T19:46:30.964Z] STF 19:46:30.846 - +------ Step 5 - Create tests jar
[2025-07-01T19:46:30.964Z] STF 19:46:30.846 - | Create modular jar
[2025-07-01T19:46:30.964Z] STF 19:46:30.846 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test
[2025-07-01T19:46:30.964Z] STF 19:46:30.846 - | ModuleVersion: null
[2025-07-01T19:46:30.964Z] STF 19:46:30.846 - | MainClass: null
[2025-07-01T19:46:30.964Z] STF 19:46:30.846 - | HashModules: null
[2025-07-01T19:46:30.964Z] STF 19:46:30.846 - |
[2025-07-01T19:46:30.964Z] STF 19:46:30.846 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17513970276742/PatModImg_AppMod_1/20250701-194627-PatModImgTest/modules/5.com.test.jar -C C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test .
[2025-07-01T19:46:30.964Z] STF 19:46:30.846 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17513970276742/PatModImg_AppMod_1/20250701-194627-PatModImgTest/results/5.CMJ.stderr
[2025-07-01T19:46:30.964Z] STF 19:46:30.846 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17513970276742/PatModImg_AppMod_1/20250701-194627-PatModImgTest/results/5.CMJ.stdout
[2025-07-01T19:46:30.964Z] STF 19:46:30.851 - Monitoring processes: CMJ
[2025-07-01T19:46:30.964Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-07-01T19:46:31.288Z] STF 19:46:31.178 - Monitoring Report Summary:
[2025-07-01T19:46:31.288Z] STF 19:46:31.178 - o Process CMJ ended with the expected exit code (0)
[2025-07-01T19:46:31.288Z] STF 19:46:31.178 - Created modular jar: 5.com.test.jar
[2025-07-01T19:46:31.288Z] STF 19:46:31.178 -
[2025-07-01T19:46:31.288Z] STF 19:46:31.178 - +------ Step 6 - Create runtime image for PatchModule test
[2025-07-01T19:46:31.288Z] STF 19:46:31.178 - | Run jlink to create runtime image
[2025-07-01T19:46:31.288Z] STF 19:46:31.178 - | ImageName: XpJVM
[2025-07-01T19:46:31.288Z] STF 19:46:31.178 - |
[2025-07-01T19:46:31.288Z] STF 19:46:31.179 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path c:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jdkbinary\j2sdk-image\jmods;C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17513970276742\PatModImg_AppMod_1\20250701-194627-PatModImgTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17513970276742\PatModImg_AppMod_1\20250701-194627-PatModImgTest\tmp\6.XpJVM
[2025-07-01T19:46:31.288Z] STF 19:46:31.179 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17513970276742/PatModImg_AppMod_1/20250701-194627-PatModImgTest/results/6.JLNK.stderr
[2025-07-01T19:46:31.288Z] STF 19:46:31.179 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17513970276742/PatModImg_AppMod_1/20250701-194627-PatModImgTest/results/6.JLNK.stdout
[2025-07-01T19:46:31.288Z] STF 19:46:31.184 - Monitoring processes: JLNK
[2025-07-01T19:46:31.288Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-07-01T19:46:34.157Z] STF 19:46:33.486 - Monitoring Report Summary:
[2025-07-01T19:46:34.157Z] STF 19:46:33.486 - o Process JLNK ended with the expected exit code (0)
[2025-07-01T19:46:34.157Z] STF 19:46:33.486 -
[2025-07-01T19:46:34.157Z] STF 19:46:33.486 - +------ Step 7 - Create com.hello jar
[2025-07-01T19:46:34.157Z] STF 19:46:33.486 - | Create modular jar
[2025-07-01T19:46:34.157Z] STF 19:46:33.486 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello
[2025-07-01T19:46:34.157Z] STF 19:46:33.486 - | ModuleVersion: null
[2025-07-01T19:46:34.157Z] STF 19:46:33.486 - | MainClass: null
[2025-07-01T19:46:34.157Z] STF 19:46:33.486 - | HashModules: null
[2025-07-01T19:46:34.157Z] STF 19:46:33.486 - |
[2025-07-01T19:46:34.157Z] STF 19:46:33.487 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17513970276742/PatModImg_AppMod_1/20250701-194627-PatModImgTest/modules/7.com.hello.jar -C C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello .
[2025-07-01T19:46:34.157Z] STF 19:46:33.487 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17513970276742/PatModImg_AppMod_1/20250701-194627-PatModImgTest/results/7.CMJ.stderr
[2025-07-01T19:46:34.157Z] STF 19:46:33.487 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17513970276742/PatModImg_AppMod_1/20250701-194627-PatModImgTest/results/7.CMJ.stdout
[2025-07-01T19:46:34.157Z] STF 19:46:33.493 - Monitoring processes: CMJ
[2025-07-01T19:46:34.157Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-07-01T19:46:34.157Z] STF 19:46:33.799 - Monitoring Report Summary:
[2025-07-01T19:46:34.157Z] STF 19:46:33.799 - o Process CMJ ended with the expected exit code (0)
[2025-07-01T19:46:34.157Z] STF 19:46:33.799 - Created modular jar: 7.com.hello.jar
[2025-07-01T19:46:34.157Z] STF 19:46:33.799 -
[2025-07-01T19:46:34.157Z] STF 19:46:33.799 - +------ Step 8 - create java.xml.jar
[2025-07-01T19:46:34.157Z] STF 19:46:33.799 - | Create modular jar
[2025-07-01T19:46:34.157Z] STF 19:46:33.799 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml
[2025-07-01T19:46:34.157Z] STF 19:46:33.799 - | ModuleVersion: null
[2025-07-01T19:46:34.157Z] STF 19:46:33.799 - | MainClass: null
[2025-07-01T19:46:34.157Z] STF 19:46:33.799 - | HashModules: null
[2025-07-01T19:46:34.157Z] STF 19:46:33.799 - |
[2025-07-01T19:46:34.157Z] STF 19:46:33.800 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17513970276742/PatModImg_AppMod_1/20250701-194627-PatModImgTest/modules/8.java.xml.jar -C C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml .
[2025-07-01T19:46:34.157Z] STF 19:46:33.800 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17513970276742/PatModImg_AppMod_1/20250701-194627-PatModImgTest/results/8.CMJ.stderr
[2025-07-01T19:46:34.157Z] STF 19:46:33.800 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17513970276742/PatModImg_AppMod_1/20250701-194627-PatModImgTest/results/8.CMJ.stdout
[2025-07-01T19:46:34.157Z] STF 19:46:33.804 - Monitoring processes: CMJ
[2025-07-01T19:46:34.157Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-07-01T19:46:34.157Z] STF 19:46:34.098 - Monitoring Report Summary:
[2025-07-01T19:46:34.157Z] STF 19:46:34.098 - o Process CMJ ended with the expected exit code (0)
[2025-07-01T19:46:34.157Z] STF 19:46:34.098 - Created modular jar: 8.java.xml.jar
[2025-07-01T19:46:34.157Z] STF 19:46:34.098 -
[2025-07-01T19:46:34.157Z] STF 19:46:34.098 - +------ Step 9 - Verify if we can patch an Application module using exploded directory
[2025-07-01T19:46:34.157Z] STF 19:46:34.098 - | Run foreground process
[2025-07-01T19:46:34.157Z] STF 19:46:34.098 - | Program: C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17513970276742/PatModImg_AppMod_1/20250701-194627-PatModImgTest/tmp/6.XpJVM/bin/java
[2025-07-01T19:46:34.157Z] STF 19:46:34.098 - | Mnemonic: OT21
[2025-07-01T19:46:34.157Z] STF 19:46:34.098 - | Echo: ECHO_ON
[2025-07-01T19:46:34.157Z] STF 19:46:34.098 - | Expectation: CLEAN_RUN within 5m
[2025-07-01T19:46:34.157Z] STF 19:46:34.098 - |
[2025-07-01T19:46:34.157Z] STF 19:46:34.099 - Running command: C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17513970276742/PatModImg_AppMod_1/20250701-194627-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello -XX:-UseCompressedOops -classpath c:/jenkins/testDependency/system_lib/junit/junit.jar;c:/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule
[2025-07-01T19:46:34.157Z] STF 19:46:34.099 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17513970276742/PatModImg_AppMod_1/20250701-194627-PatModImgTest/results/9.OT21.stderr
[2025-07-01T19:46:34.157Z] STF 19:46:34.099 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17513970276742/PatModImg_AppMod_1/20250701-194627-PatModImgTest/results/9.OT21.stdout
[2025-07-01T19:46:34.157Z] STF 19:46:34.120 - Monitoring processes: OT21
[2025-07-01T19:46:34.469Z] OT21 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-07-01T19:46:34.470Z] OT21 stderr WARNING: module-info.class ignored in patch: C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello
[2025-07-01T19:46:34.470Z] OT21 JUnit version 4.12
[2025-07-01T19:46:34.798Z] OT21 .
[2025-07-01T19:46:34.798Z] OT21 Time: 0.013
[2025-07-01T19:46:34.798Z] OT21
[2025-07-01T19:46:34.798Z] OT21 OK (1 test)
[2025-07-01T19:46:34.798Z] OT21
[2025-07-01T19:46:34.798Z] STF 19:46:34.495 - Monitoring Report Summary:
[2025-07-01T19:46:34.798Z] STF 19:46:34.495 - o Process OT21 ended with the expected exit code (0)
[2025-07-01T19:46:34.798Z] STF 19:46:34.495 -
[2025-07-01T19:46:34.798Z] STF 19:46:34.495 - +------ Step 10 - Verify if we can patch an Application module using modular jar
[2025-07-01T19:46:34.798Z] STF 19:46:34.495 - | Run foreground process
[2025-07-01T19:46:34.798Z] STF 19:46:34.495 - | Program: C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17513970276742/PatModImg_AppMod_1/20250701-194627-PatModImgTest/tmp/6.XpJVM/bin/java
[2025-07-01T19:46:34.798Z] STF 19:46:34.495 - | Mnemonic: OT22
[2025-07-01T19:46:34.798Z] STF 19:46:34.495 - | Echo: ECHO_ON
[2025-07-01T19:46:34.798Z] STF 19:46:34.495 - | Expectation: CLEAN_RUN within 5m
[2025-07-01T19:46:34.798Z] STF 19:46:34.495 - |
[2025-07-01T19:46:34.798Z] STF 19:46:34.496 - Running command: C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17513970276742/PatModImg_AppMod_1/20250701-194627-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17513970276742/PatModImg_AppMod_1/20250701-194627-PatModImgTest/modules/7.com.hello.jar -XX:-UseCompressedOops -classpath c:/jenkins/testDependency/system_lib/junit/junit.jar;c:/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule
[2025-07-01T19:46:34.798Z] STF 19:46:34.496 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17513970276742/PatModImg_AppMod_1/20250701-194627-PatModImgTest/results/10.OT22.stderr
[2025-07-01T19:46:34.798Z] STF 19:46:34.496 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17513970276742/PatModImg_AppMod_1/20250701-194627-PatModImgTest/results/10.OT22.stdout
[2025-07-01T19:46:34.798Z] STF 19:46:34.503 - Monitoring processes: OT22
[2025-07-01T19:46:34.798Z] OT22 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-07-01T19:46:34.798Z] OT22 stderr WARNING: module-info.class ignored in patch: C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17513970276742\PatModImg_AppMod_1\20250701-194627-PatModImgTest\modules\7.com.hello.jar
[2025-07-01T19:46:34.798Z] OT22 JUnit version 4.12
[2025-07-01T19:46:35.168Z] OT22 .
[2025-07-01T19:46:35.168Z] OT22 Time: 0.007
[2025-07-01T19:46:35.168Z] OT22
[2025-07-01T19:46:35.168Z] OT22 OK (1 test)
[2025-07-01T19:46:35.168Z] OT22
[2025-07-01T19:46:35.168Z] STF 19:46:34.801 - Monitoring Report Summary:
[2025-07-01T19:46:35.168Z] STF 19:46:34.801 - o Process OT22 ended with the expected exit code (0)
[2025-07-01T19:46:35.168Z] STF 19:46:34.801 - EXECUTE stage completed
[2025-07-01T19:46:35.168Z] STF 19:46:34.863 -
[2025-07-01T19:46:35.168Z] STF 19:46:34.863 - ==================== T E A R D O W N ====================
[2025-07-01T19:46:35.168Z] STF 19:46:34.863 - Running teardown: perl C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17513970276742\PatModImg_AppMod_1/20250701-194627-PatModImgTest/tearDown.pl
[2025-07-01T19:46:35.168Z] STF 19:46:34.990 - TEARDOWN stage completed
[2025-07-01T19:46:35.168Z] STF 19:46:35.001 -
[2025-07-01T19:46:35.168Z] STF 19:46:35.001 - ===================== R E S U L T S =====================
[2025-07-01T19:46:35.168Z] STF 19:46:35.001 - Stage results:
[2025-07-01T19:46:35.168Z] STF 19:46:35.001 - setUp: pass
[2025-07-01T19:46:35.168Z] STF 19:46:35.001 - execute: pass
[2025-07-01T19:46:35.168Z] STF 19:46:35.001 - teardown: pass
[2025-07-01T19:46:35.168Z] STF 19:46:35.001 -
[2025-07-01T19:46:35.168Z] STF 19:46:35.001 - Overall result: PASSED
[2025-07-01T19:46:35.168Z] -----------------------------------
[2025-07-01T19:46:35.168Z] PatModImg_AppMod_1_PASSED
[2025-07-01T19:46:35.168Z] -----------------------------------
[2025-07-01T19:46:35.168Z]
[2025-07-01T19:46:35.168Z] TEST TEARDOWN:
[2025-07-01T19:46:35.168Z] Nothing to be done for teardown.
[2025-07-01T19:46:35.532Z] PatModImg_AppMod_1 Finish Time: Tue Jul 1 19:46:35 2025 Epoch Time (ms): 1751399195222