PatModImg_AppMod_0
[2025-06-27T23:03:16.250Z] Running test PatModImg_AppMod_0 ...
[2025-06-27T23:03:16.250Z] ===============================================
[2025-06-27T23:03:16.642Z] PatModImg_AppMod_0 Start Time: Fri Jun 27 23:03:16 2025 Epoch Time (ms): 1751065396299
[2025-06-27T23:03:16.642Z] variation: Mode150
[2025-06-27T23:03:16.642Z] JVM_OPTIONS: -XX:+UseCompressedOops
[2025-06-27T23:03:16.642Z] { \
[2025-06-27T23:03:16.642Z] echo ""; echo "TEST SETUP:"; \
[2025-06-27T23:03:16.642Z] echo "Nothing to be done for setup."; \
[2025-06-27T23:03:16.642Z] mkdir -p "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17510635274810\\PatModImg_AppMod_0"; \
[2025-06-27T23:03:16.642Z] cd "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17510635274810\\PatModImg_AppMod_0"; \
[2025-06-27T23:03:16.642Z] echo ""; echo "TESTING:"; \
[2025-06-27T23:03:16.643Z] 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_17510635274810\\PatModImg_AppMod_0" -test=PatModImgTest -test-args="variant=AppMod"; \
[2025-06-27T23:03:16.643Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_0""_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_17510635274810\\PatModImg_AppMod_0"; else echo "-----------------------------------"; echo "PatModImg_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \
[2025-06-27T23:03:16.643Z] echo ""; echo "TEST TEARDOWN:"; \
[2025-06-27T23:03:16.643Z] echo "Nothing to be done for teardown."; \
[2025-06-27T23:03:16.643Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17510635274810\\TestTargetResult";
[2025-06-27T23:03:16.982Z]
[2025-06-27T23:03:16.982Z] TEST SETUP:
[2025-06-27T23:03:16.982Z] Nothing to be done for setup.
[2025-06-27T23:03:16.982Z]
[2025-06-27T23:03:16.982Z] TESTING:
[2025-06-27T23:03:16.982Z] STF 23:03:16.831 - ========================= S T F =========================
[2025-06-27T23:03:16.982Z] 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_17510635274810\PatModImg_AppMod_0
[2025-06-27T23:03:16.982Z] There is 127448 Mb free
[2025-06-27T23:03:16.982Z] STF 23:03:16.881 - ================== G E N E R A T I O N ==================
[2025-06-27T23:03:16.982Z] STF 23:03:16.884 - Checking JVM: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image
[2025-06-27T23:03:16.983Z] STF 23:03:16.884 - 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_17510635274810\PatModImg_AppMod_0/20250627-230316-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_17510635274810\PatModImg_AppMod_0/20250627-230316-PatModImgTest"
[2025-06-27T23:03:16.983Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-06-27T23:03:17.327Z] 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-06-27T23:03:18.053Z] GEN 23:03:17.974 - 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-06-27T23:03:18.053Z] GEN 23:03:17.974 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest'
[2025-06-27T23:03:18.390Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2025-06-27T23:03:18.390Z] 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-06-27T23:03:18.390Z] 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-06-27T23:03:18.390Z] 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-06-27T23:03:18.390Z] 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-06-27T23:03:18.390Z] 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-06-27T23:03:18.390Z] 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-06-27T23:03:18.390Z] 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-06-27T23:03:18.390Z] 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-06-27T23:03:18.390Z] 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-06-27T23:03:18.390Z] 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-06-27T23:03:18.390Z] 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-06-27T23:03:18.390Z] 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-06-27T23:03:18.390Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common
[2025-06-27T23:03:18.390Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests
[2025-06-27T23:03:18.391Z] GEN C:\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin
[2025-06-27T23:03:18.391Z] GEN C:\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin
[2025-06-27T23:03:18.391Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar
[2025-06-27T23:03:18.391Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar
[2025-06-27T23:03:18.391Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar
[2025-06-27T23:03:18.391Z] GEN 23:03:18.193 - Using Mode NoOptions. Values = ''
[2025-06-27T23:03:18.391Z] GEN 23:03:18.318 -
[2025-06-27T23:03:18.391Z] GEN 23:03:18.318 - Test command summary:
[2025-06-27T23:03:18.391Z] GEN 23:03:18.318 - Step Stage Command Description
[2025-06-27T23:03:18.391Z] GEN 23:03:18.318 - -----+--------+-----------------+------------
[2025-06-27T23:03:18.391Z] GEN 23:03:18.318 - 1 execute jar Create com.hello jar
[2025-06-27T23:03:18.391Z] GEN 23:03:18.318 - 2 execute jar Create com.hola jar
[2025-06-27T23:03:18.391Z] GEN 23:03:18.318 - 3 execute jar Create com.helper jar
[2025-06-27T23:03:18.391Z] GEN 23:03:18.318 - 4 execute jar Create com.discreet jar
[2025-06-27T23:03:18.391Z] GEN 23:03:18.318 - 5 execute jar Create tests jar
[2025-06-27T23:03:18.391Z] GEN 23:03:18.318 - 6 execute jlink Create runtime image for PatchModule test
[2025-06-27T23:03:18.391Z] GEN 23:03:18.318 - 7 execute jar Create com.hello jar
[2025-06-27T23:03:18.391Z] GEN 23:03:18.318 - 8 execute jar create java.xml.jar
[2025-06-27T23:03:18.391Z] GEN 23:03:18.318 - 9 execute Run java Verify if we can patch an Application module using exploded directory
[2025-06-27T23:03:18.391Z] GEN 23:03:18.318 - 10 execute Run java Verify if we can patch an Application module using modular jar
[2025-06-27T23:03:18.729Z] STF 23:03:18.384 -
[2025-06-27T23:03:18.729Z] STF 23:03:18.384 - Script generation completed
[2025-06-27T23:03:18.729Z] STF 23:03:18.384 -
[2025-06-27T23:03:18.729Z] STF 23:03:18.385 -
[2025-06-27T23:03:18.729Z] STF 23:03:18.385 - ======================= S E T U P =======================
[2025-06-27T23:03:18.729Z] STF 23:03:18.385 - Running setup: perl C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17510635274810\PatModImg_AppMod_0/20250627-230316-PatModImgTest/setUp.pl
[2025-06-27T23:03:18.729Z] STF 23:03:18.521 - SETUP stage completed
[2025-06-27T23:03:18.729Z] STF 23:03:18.549 -
[2025-06-27T23:03:18.729Z] STF 23:03:18.549 - ==================== E X E C U T E - ====================
[2025-06-27T23:03:18.729Z] STF 23:03:18.549 - Running execute: perl C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17510635274810\PatModImg_AppMod_0/20250627-230316-PatModImgTest/execute.pl
[2025-06-27T23:03:19.070Z] STF 23:03:18.678 -
[2025-06-27T23:03:19.070Z] STF 23:03:18.678 - Java version
[2025-06-27T23:03:19.070Z] STF 23:03:18.678 - Running: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version
[2025-06-27T23:03:19.070Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-06-27T23:03:19.070Z] openjdk version "21.0.8-beta" 2025-07-15
[2025-06-27T23:03:19.070Z] OpenJDK Runtime Environment Temurin-21.0.8+8-202506271909 (build 21.0.8-beta+8-ea)
[2025-06-27T23:03:19.070Z] OpenJDK 64-Bit Server VM Temurin-21.0.8+8-202506271909 (build 21.0.8-beta+8-ea, mixed mode, sharing)
[2025-06-27T23:03:19.070Z] STF 23:03:18.768 -
[2025-06-27T23:03:19.070Z] STF 23:03:18.768 - +------ Step 1 - Create com.hello jar
[2025-06-27T23:03:19.070Z] STF 23:03:18.768 - | Create modular jar
[2025-06-27T23:03:19.070Z] STF 23:03:18.768 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello
[2025-06-27T23:03:19.070Z] STF 23:03:18.768 - | ModuleVersion: null
[2025-06-27T23:03:19.070Z] STF 23:03:18.768 - | MainClass: null
[2025-06-27T23:03:19.070Z] STF 23:03:18.768 - | HashModules: null
[2025-06-27T23:03:19.070Z] STF 23:03:18.768 - |
[2025-06-27T23:03:19.071Z] STF 23:03:18.769 - 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_17510635274810/PatModImg_AppMod_0/20250627-230316-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-06-27T23:03:19.071Z] STF 23:03:18.769 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17510635274810/PatModImg_AppMod_0/20250627-230316-PatModImgTest/results/1.CMJ.stderr
[2025-06-27T23:03:19.071Z] STF 23:03:18.769 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17510635274810/PatModImg_AppMod_0/20250627-230316-PatModImgTest/results/1.CMJ.stdout
[2025-06-27T23:03:19.071Z] STF 23:03:18.801 - Monitoring processes: CMJ
[2025-06-27T23:03:19.071Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-06-27T23:03:19.413Z] STF 23:03:19.135 - Monitoring Report Summary:
[2025-06-27T23:03:19.413Z] STF 23:03:19.135 - o Process CMJ ended with the expected exit code (0)
[2025-06-27T23:03:19.413Z] STF 23:03:19.136 - Created modular jar: 1.com.hello.jar
[2025-06-27T23:03:19.413Z] STF 23:03:19.136 -
[2025-06-27T23:03:19.413Z] STF 23:03:19.136 - +------ Step 2 - Create com.hola jar
[2025-06-27T23:03:19.413Z] STF 23:03:19.136 - | Create modular jar
[2025-06-27T23:03:19.413Z] STF 23:03:19.136 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola
[2025-06-27T23:03:19.413Z] STF 23:03:19.136 - | ModuleVersion: null
[2025-06-27T23:03:19.413Z] STF 23:03:19.136 - | MainClass: null
[2025-06-27T23:03:19.413Z] STF 23:03:19.136 - | HashModules: null
[2025-06-27T23:03:19.413Z] STF 23:03:19.136 - |
[2025-06-27T23:03:19.413Z] STF 23:03:19.136 - 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_17510635274810/PatModImg_AppMod_0/20250627-230316-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-06-27T23:03:19.413Z] STF 23:03:19.136 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17510635274810/PatModImg_AppMod_0/20250627-230316-PatModImgTest/results/2.CMJ.stderr
[2025-06-27T23:03:19.413Z] STF 23:03:19.136 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17510635274810/PatModImg_AppMod_0/20250627-230316-PatModImgTest/results/2.CMJ.stdout
[2025-06-27T23:03:19.413Z] STF 23:03:19.142 - Monitoring processes: CMJ
[2025-06-27T23:03:19.413Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-06-27T23:03:19.760Z] STF 23:03:19.476 - Monitoring Report Summary:
[2025-06-27T23:03:19.760Z] STF 23:03:19.476 - o Process CMJ ended with the expected exit code (0)
[2025-06-27T23:03:19.760Z] STF 23:03:19.476 - Created modular jar: 2.com.hola.jar
[2025-06-27T23:03:19.760Z] STF 23:03:19.476 -
[2025-06-27T23:03:19.760Z] STF 23:03:19.476 - +------ Step 3 - Create com.helper jar
[2025-06-27T23:03:19.760Z] STF 23:03:19.476 - | Create modular jar
[2025-06-27T23:03:19.760Z] STF 23:03:19.476 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper
[2025-06-27T23:03:19.760Z] STF 23:03:19.476 - | ModuleVersion: null
[2025-06-27T23:03:19.760Z] STF 23:03:19.476 - | MainClass: null
[2025-06-27T23:03:19.760Z] STF 23:03:19.476 - | HashModules: null
[2025-06-27T23:03:19.760Z] STF 23:03:19.476 - |
[2025-06-27T23:03:19.760Z] STF 23:03:19.476 - 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_17510635274810/PatModImg_AppMod_0/20250627-230316-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-06-27T23:03:19.760Z] STF 23:03:19.476 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17510635274810/PatModImg_AppMod_0/20250627-230316-PatModImgTest/results/3.CMJ.stderr
[2025-06-27T23:03:19.760Z] STF 23:03:19.476 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17510635274810/PatModImg_AppMod_0/20250627-230316-PatModImgTest/results/3.CMJ.stdout
[2025-06-27T23:03:19.760Z] STF 23:03:19.482 - Monitoring processes: CMJ
[2025-06-27T23:03:19.760Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-06-27T23:03:20.104Z] STF 23:03:19.819 - Monitoring Report Summary:
[2025-06-27T23:03:20.104Z] STF 23:03:19.819 - o Process CMJ ended with the expected exit code (0)
[2025-06-27T23:03:20.104Z] STF 23:03:19.819 - Created modular jar: 3.com.helper.jar
[2025-06-27T23:03:20.104Z] STF 23:03:19.819 -
[2025-06-27T23:03:20.104Z] STF 23:03:19.819 - +------ Step 4 - Create com.discreet jar
[2025-06-27T23:03:20.104Z] STF 23:03:19.819 - | Create modular jar
[2025-06-27T23:03:20.104Z] STF 23:03:19.819 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet
[2025-06-27T23:03:20.104Z] STF 23:03:19.820 - | ModuleVersion: null
[2025-06-27T23:03:20.104Z] STF 23:03:19.820 - | MainClass: null
[2025-06-27T23:03:20.104Z] STF 23:03:19.820 - | HashModules: null
[2025-06-27T23:03:20.104Z] STF 23:03:19.820 - |
[2025-06-27T23:03:20.104Z] STF 23:03:19.820 - 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_17510635274810/PatModImg_AppMod_0/20250627-230316-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-06-27T23:03:20.104Z] STF 23:03:19.820 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17510635274810/PatModImg_AppMod_0/20250627-230316-PatModImgTest/results/4.CMJ.stderr
[2025-06-27T23:03:20.104Z] STF 23:03:19.820 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17510635274810/PatModImg_AppMod_0/20250627-230316-PatModImgTest/results/4.CMJ.stdout
[2025-06-27T23:03:20.104Z] STF 23:03:19.825 - Monitoring processes: CMJ
[2025-06-27T23:03:20.104Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-06-27T23:03:20.446Z] STF 23:03:20.147 - Monitoring Report Summary:
[2025-06-27T23:03:20.446Z] STF 23:03:20.147 - o Process CMJ ended with the expected exit code (0)
[2025-06-27T23:03:20.446Z] STF 23:03:20.148 - Created modular jar: 4.com.discreet.jar
[2025-06-27T23:03:20.446Z] STF 23:03:20.148 -
[2025-06-27T23:03:20.446Z] STF 23:03:20.148 - +------ Step 5 - Create tests jar
[2025-06-27T23:03:20.447Z] STF 23:03:20.148 - | Create modular jar
[2025-06-27T23:03:20.447Z] STF 23:03:20.148 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test
[2025-06-27T23:03:20.447Z] STF 23:03:20.148 - | ModuleVersion: null
[2025-06-27T23:03:20.447Z] STF 23:03:20.148 - | MainClass: null
[2025-06-27T23:03:20.447Z] STF 23:03:20.148 - | HashModules: null
[2025-06-27T23:03:20.447Z] STF 23:03:20.148 - |
[2025-06-27T23:03:20.447Z] STF 23:03:20.148 - 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_17510635274810/PatModImg_AppMod_0/20250627-230316-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-06-27T23:03:20.447Z] STF 23:03:20.148 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17510635274810/PatModImg_AppMod_0/20250627-230316-PatModImgTest/results/5.CMJ.stderr
[2025-06-27T23:03:20.447Z] STF 23:03:20.148 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17510635274810/PatModImg_AppMod_0/20250627-230316-PatModImgTest/results/5.CMJ.stdout
[2025-06-27T23:03:20.447Z] STF 23:03:20.155 - Monitoring processes: CMJ
[2025-06-27T23:03:20.447Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-06-27T23:03:20.791Z] STF 23:03:20.507 - Monitoring Report Summary:
[2025-06-27T23:03:20.791Z] STF 23:03:20.507 - o Process CMJ ended with the expected exit code (0)
[2025-06-27T23:03:20.791Z] STF 23:03:20.507 - Created modular jar: 5.com.test.jar
[2025-06-27T23:03:20.791Z] STF 23:03:20.507 -
[2025-06-27T23:03:20.791Z] STF 23:03:20.507 - +------ Step 6 - Create runtime image for PatchModule test
[2025-06-27T23:03:20.791Z] STF 23:03:20.507 - | Run jlink to create runtime image
[2025-06-27T23:03:20.791Z] STF 23:03:20.507 - | ImageName: XpJVM
[2025-06-27T23:03:20.791Z] STF 23:03:20.507 - |
[2025-06-27T23:03:20.791Z] STF 23:03:20.508 - 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_17510635274810\PatModImg_AppMod_0\20250627-230316-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_17510635274810\PatModImg_AppMod_0\20250627-230316-PatModImgTest\tmp\6.XpJVM
[2025-06-27T23:03:20.791Z] STF 23:03:20.508 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17510635274810/PatModImg_AppMod_0/20250627-230316-PatModImgTest/results/6.JLNK.stderr
[2025-06-27T23:03:20.791Z] STF 23:03:20.508 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17510635274810/PatModImg_AppMod_0/20250627-230316-PatModImgTest/results/6.JLNK.stdout
[2025-06-27T23:03:20.791Z] STF 23:03:20.514 - Monitoring processes: JLNK
[2025-06-27T23:03:20.791Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-06-27T23:03:23.789Z] STF 23:03:23.006 - Monitoring Report Summary:
[2025-06-27T23:03:23.789Z] STF 23:03:23.006 - o Process JLNK ended with the expected exit code (0)
[2025-06-27T23:03:23.789Z] STF 23:03:23.006 -
[2025-06-27T23:03:23.789Z] STF 23:03:23.006 - +------ Step 7 - Create com.hello jar
[2025-06-27T23:03:23.789Z] STF 23:03:23.006 - | Create modular jar
[2025-06-27T23:03:23.789Z] STF 23:03:23.006 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello
[2025-06-27T23:03:23.789Z] STF 23:03:23.006 - | ModuleVersion: null
[2025-06-27T23:03:23.789Z] STF 23:03:23.006 - | MainClass: null
[2025-06-27T23:03:23.789Z] STF 23:03:23.006 - | HashModules: null
[2025-06-27T23:03:23.789Z] STF 23:03:23.006 - |
[2025-06-27T23:03:23.789Z] STF 23:03:23.007 - 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_17510635274810/PatModImg_AppMod_0/20250627-230316-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-06-27T23:03:23.789Z] STF 23:03:23.007 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17510635274810/PatModImg_AppMod_0/20250627-230316-PatModImgTest/results/7.CMJ.stderr
[2025-06-27T23:03:23.789Z] STF 23:03:23.007 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17510635274810/PatModImg_AppMod_0/20250627-230316-PatModImgTest/results/7.CMJ.stdout
[2025-06-27T23:03:23.789Z] STF 23:03:23.016 - Monitoring processes: CMJ
[2025-06-27T23:03:23.789Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-06-27T23:03:23.789Z] STF 23:03:23.375 - Monitoring Report Summary:
[2025-06-27T23:03:23.789Z] STF 23:03:23.375 - o Process CMJ ended with the expected exit code (0)
[2025-06-27T23:03:23.789Z] STF 23:03:23.376 - Created modular jar: 7.com.hello.jar
[2025-06-27T23:03:23.789Z] STF 23:03:23.376 -
[2025-06-27T23:03:23.789Z] STF 23:03:23.376 - +------ Step 8 - create java.xml.jar
[2025-06-27T23:03:23.789Z] STF 23:03:23.376 - | Create modular jar
[2025-06-27T23:03:23.789Z] STF 23:03:23.376 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml
[2025-06-27T23:03:23.789Z] STF 23:03:23.376 - | ModuleVersion: null
[2025-06-27T23:03:23.789Z] STF 23:03:23.376 - | MainClass: null
[2025-06-27T23:03:23.789Z] STF 23:03:23.376 - | HashModules: null
[2025-06-27T23:03:23.789Z] STF 23:03:23.376 - |
[2025-06-27T23:03:23.789Z] STF 23:03:23.376 - 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_17510635274810/PatModImg_AppMod_0/20250627-230316-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-06-27T23:03:23.789Z] STF 23:03:23.376 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17510635274810/PatModImg_AppMod_0/20250627-230316-PatModImgTest/results/8.CMJ.stderr
[2025-06-27T23:03:23.789Z] STF 23:03:23.376 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17510635274810/PatModImg_AppMod_0/20250627-230316-PatModImgTest/results/8.CMJ.stdout
[2025-06-27T23:03:23.789Z] STF 23:03:23.382 - Monitoring processes: CMJ
[2025-06-27T23:03:23.789Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-06-27T23:03:23.789Z] STF 23:03:23.703 - Monitoring Report Summary:
[2025-06-27T23:03:23.789Z] STF 23:03:23.703 - o Process CMJ ended with the expected exit code (0)
[2025-06-27T23:03:23.789Z] STF 23:03:23.704 - Created modular jar: 8.java.xml.jar
[2025-06-27T23:03:23.789Z] STF 23:03:23.704 -
[2025-06-27T23:03:23.789Z] STF 23:03:23.704 - +------ Step 9 - Verify if we can patch an Application module using exploded directory
[2025-06-27T23:03:23.789Z] STF 23:03:23.704 - | Run foreground process
[2025-06-27T23:03:23.789Z] STF 23:03:23.704 - | Program: C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17510635274810/PatModImg_AppMod_0/20250627-230316-PatModImgTest/tmp/6.XpJVM/bin/java
[2025-06-27T23:03:23.789Z] STF 23:03:23.704 - | Mnemonic: OT21
[2025-06-27T23:03:23.789Z] STF 23:03:23.704 - | Echo: ECHO_ON
[2025-06-27T23:03:23.789Z] STF 23:03:23.704 - | Expectation: CLEAN_RUN within 5m
[2025-06-27T23:03:23.789Z] STF 23:03:23.704 - |
[2025-06-27T23:03:23.789Z] STF 23:03:23.704 - Running command: C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17510635274810/PatModImg_AppMod_0/20250627-230316-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-06-27T23:03:23.790Z] STF 23:03:23.704 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17510635274810/PatModImg_AppMod_0/20250627-230316-PatModImgTest/results/9.OT21.stderr
[2025-06-27T23:03:23.790Z] STF 23:03:23.704 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17510635274810/PatModImg_AppMod_0/20250627-230316-PatModImgTest/results/9.OT21.stdout
[2025-06-27T23:03:23.790Z] STF 23:03:23.724 - Monitoring processes: OT21
[2025-06-27T23:03:24.134Z] OT21 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-06-27T23:03:24.134Z] 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-06-27T23:03:24.134Z] OT21 JUnit version 4.12
[2025-06-27T23:03:24.473Z] OT21 .
[2025-06-27T23:03:24.473Z] OT21 Time: 0.015
[2025-06-27T23:03:24.473Z] OT21
[2025-06-27T23:03:24.473Z] OT21 OK (1 test)
[2025-06-27T23:03:24.473Z] OT21
[2025-06-27T23:03:24.473Z] STF 23:03:24.096 - Monitoring Report Summary:
[2025-06-27T23:03:24.473Z] STF 23:03:24.096 - o Process OT21 ended with the expected exit code (0)
[2025-06-27T23:03:24.473Z] STF 23:03:24.096 -
[2025-06-27T23:03:24.473Z] STF 23:03:24.096 - +------ Step 10 - Verify if we can patch an Application module using modular jar
[2025-06-27T23:03:24.473Z] STF 23:03:24.096 - | Run foreground process
[2025-06-27T23:03:24.473Z] STF 23:03:24.096 - | Program: C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17510635274810/PatModImg_AppMod_0/20250627-230316-PatModImgTest/tmp/6.XpJVM/bin/java
[2025-06-27T23:03:24.473Z] STF 23:03:24.096 - | Mnemonic: OT22
[2025-06-27T23:03:24.473Z] STF 23:03:24.096 - | Echo: ECHO_ON
[2025-06-27T23:03:24.473Z] STF 23:03:24.096 - | Expectation: CLEAN_RUN within 5m
[2025-06-27T23:03:24.473Z] STF 23:03:24.096 - |
[2025-06-27T23:03:24.473Z] STF 23:03:24.097 - Running command: C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17510635274810/PatModImg_AppMod_0/20250627-230316-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_17510635274810/PatModImg_AppMod_0/20250627-230316-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-06-27T23:03:24.473Z] STF 23:03:24.097 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17510635274810/PatModImg_AppMod_0/20250627-230316-PatModImgTest/results/10.OT22.stderr
[2025-06-27T23:03:24.473Z] STF 23:03:24.097 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17510635274810/PatModImg_AppMod_0/20250627-230316-PatModImgTest/results/10.OT22.stdout
[2025-06-27T23:03:24.473Z] STF 23:03:24.103 - Monitoring processes: OT22
[2025-06-27T23:03:24.473Z] OT22 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-06-27T23:03:24.473Z] 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_17510635274810\PatModImg_AppMod_0\20250627-230316-PatModImgTest\modules\7.com.hello.jar
[2025-06-27T23:03:24.473Z] OT22 JUnit version 4.12
[2025-06-27T23:03:24.808Z] OT22 .
[2025-06-27T23:03:24.808Z] OT22 Time: 0
[2025-06-27T23:03:24.808Z] OT22
[2025-06-27T23:03:24.808Z] OT22 OK (1 test)
[2025-06-27T23:03:24.808Z] OT22
[2025-06-27T23:03:24.808Z] STF 23:03:24.440 - Monitoring Report Summary:
[2025-06-27T23:03:24.808Z] STF 23:03:24.440 - o Process OT22 ended with the expected exit code (0)
[2025-06-27T23:03:24.808Z] STF 23:03:24.440 - EXECUTE stage completed
[2025-06-27T23:03:24.808Z] STF 23:03:24.465 -
[2025-06-27T23:03:24.808Z] STF 23:03:24.465 - ==================== T E A R D O W N ====================
[2025-06-27T23:03:24.808Z] STF 23:03:24.465 - Running teardown: perl C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17510635274810\PatModImg_AppMod_0/20250627-230316-PatModImgTest/tearDown.pl
[2025-06-27T23:03:24.808Z] STF 23:03:24.595 - TEARDOWN stage completed
[2025-06-27T23:03:24.808Z] STF 23:03:24.623 -
[2025-06-27T23:03:24.808Z] STF 23:03:24.623 - ===================== R E S U L T S =====================
[2025-06-27T23:03:24.808Z] STF 23:03:24.623 - Stage results:
[2025-06-27T23:03:24.808Z] STF 23:03:24.623 - setUp: pass
[2025-06-27T23:03:24.808Z] STF 23:03:24.623 - execute: pass
[2025-06-27T23:03:24.808Z] STF 23:03:24.623 - teardown: pass
[2025-06-27T23:03:24.808Z] STF 23:03:24.623 -
[2025-06-27T23:03:24.808Z] STF 23:03:24.623 - Overall result: PASSED
[2025-06-27T23:03:24.808Z] -----------------------------------
[2025-06-27T23:03:24.808Z] PatModImg_AppMod_0_PASSED
[2025-06-27T23:03:24.808Z] -----------------------------------
[2025-06-27T23:03:24.808Z]
[2025-06-27T23:03:24.808Z] TEST TEARDOWN:
[2025-06-27T23:03:24.808Z] Nothing to be done for teardown.
[2025-06-27T23:03:25.135Z] PatModImg_AppMod_0 Finish Time: Fri Jun 27 23:03:24 2025 Epoch Time (ms): 1751065404861