PatModImg_PlatMod_0

[2025-09-04T00:44:32.904Z] Running test PatModImg_PlatMod_0 ... [2025-09-04T00:44:33.212Z] =============================================== [2025-09-04T00:44:33.534Z] PatModImg_PlatMod_0 Start Time: Thu Sep 4 00:44:33 2025 Epoch Time (ms): 1756946673207 [2025-09-04T00:44:33.534Z] variation: Mode150 [2025-09-04T00:44:33.534Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-09-04T00:44:33.534Z] { \ [2025-09-04T00:44:33.534Z] echo ""; echo "TEST SETUP:"; \ [2025-09-04T00:44:33.534Z] echo "Nothing to be done for setup."; \ [2025-09-04T00:44:33.534Z] mkdir -p "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17569445128212\\PatModImg_PlatMod_0"; \ [2025-09-04T00:44:33.534Z] cd "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17569445128212\\PatModImg_PlatMod_0"; \ [2025-09-04T00:44:33.534Z] echo ""; echo "TESTING:"; \ [2025-09-04T00:44:33.534Z] 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/../../externalDependency/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_17569445128212\\PatModImg_PlatMod_0" -test=PatModImgTest -test-args="variant=PlatMod"; \ [2025-09-04T00:44:33.534Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_PlatMod_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_17569445128212\\PatModImg_PlatMod_0"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-09-04T00:44:33.534Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-09-04T00:44:33.534Z] echo "Nothing to be done for teardown."; \ [2025-09-04T00:44:33.534Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17569445128212\\TestTargetResult"; [2025-09-04T00:44:33.856Z] [2025-09-04T00:44:33.856Z] TEST SETUP: [2025-09-04T00:44:33.856Z] Nothing to be done for setup. [2025-09-04T00:44:33.856Z] [2025-09-04T00:44:33.856Z] TESTING: [2025-09-04T00:44:33.856Z] STF 00:44:33.713 - ========================= S T F ========================= [2025-09-04T00:44:33.856Z] systemtest-prereqs has been processed, and set to: c:/jenkins/externalDependency/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_17569445128212\PatModImg_PlatMod_0 [2025-09-04T00:44:33.856Z] There is 104737 Mb free [2025-09-04T00:44:33.856Z] STF 00:44:33.762 - ================== G E N E R A T I O N ================== [2025-09-04T00:44:33.856Z] STF 00:44:33.764 - Checking JVM: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image [2025-09-04T00:44:33.856Z] STF 00:44:33.765 - 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/../../externalDependency/system_lib\/asm/asm.jar;c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/../../externalDependency/system_lib\/asm/asm-commons.jar;c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/../../externalDependency/system_lib\/log4j/log4j-api.jar;c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/../../externalDependency/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_17569445128212\PatModImg_PlatMod_0/20250904-004433-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_17569445128212\PatModImg_PlatMod_0/20250904-004433-PatModImgTest" [2025-09-04T00:44:33.856Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-09-04T00:44:33.856Z] GEN [0.014s][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-09-04T00:44:34.958Z] GEN 00:44:34.781 - 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-09-04T00:44:34.958Z] GEN 00:44:34.793 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-09-04T00:44:35.282Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-09-04T00:44:35.282Z] 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-09-04T00:44:35.282Z] 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-09-04T00:44:35.282Z] 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-09-04T00:44:35.282Z] 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-09-04T00:44:35.282Z] 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-09-04T00:44:35.282Z] 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-09-04T00:44:35.282Z] 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-09-04T00:44:35.282Z] 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-09-04T00:44:35.282Z] 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-09-04T00:44:35.282Z] 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-09-04T00:44:35.282Z] 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-09-04T00:44:35.282Z] 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-09-04T00:44:35.282Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-09-04T00:44:35.282Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-09-04T00:44:35.282Z] GEN C:\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-09-04T00:44:35.282Z] GEN C:\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2025-09-04T00:44:35.282Z] GEN c:/jenkins/externalDependency/system_lib/log4j/log4j-api.jar [2025-09-04T00:44:35.282Z] GEN c:/jenkins/externalDependency/system_lib/log4j/log4j-core.jar [2025-09-04T00:44:35.282Z] GEN c:/jenkins/externalDependency/system_lib/junit/junit.jar [2025-09-04T00:44:35.282Z] GEN 00:44:35.022 - Using Mode NoOptions. Values = '' [2025-09-04T00:44:35.282Z] GEN 00:44:35.164 - [2025-09-04T00:44:35.282Z] GEN 00:44:35.165 - Test command summary: [2025-09-04T00:44:35.282Z] GEN 00:44:35.165 - Step Stage Command Description [2025-09-04T00:44:35.282Z] GEN 00:44:35.165 - -----+--------+-----------------+------------ [2025-09-04T00:44:35.282Z] GEN 00:44:35.165 - 1 execute jar Create com.hello jar [2025-09-04T00:44:35.282Z] GEN 00:44:35.165 - 2 execute jar Create com.hola jar [2025-09-04T00:44:35.282Z] GEN 00:44:35.165 - 3 execute jar Create com.helper jar [2025-09-04T00:44:35.282Z] GEN 00:44:35.165 - 4 execute jar Create com.discreet jar [2025-09-04T00:44:35.282Z] GEN 00:44:35.166 - 5 execute jar Create tests jar [2025-09-04T00:44:35.282Z] GEN 00:44:35.166 - 6 execute jlink Create runtime image for PatchModule test [2025-09-04T00:44:35.282Z] GEN 00:44:35.166 - 7 execute jar Create com.hello jar [2025-09-04T00:44:35.282Z] GEN 00:44:35.166 - 8 execute jar create java.xml.jar [2025-09-04T00:44:35.282Z] GEN 00:44:35.166 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory [2025-09-04T00:44:35.282Z] GEN 00:44:35.166 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar [2025-09-04T00:44:35.282Z] STF 00:44:35.210 - [2025-09-04T00:44:35.282Z] STF 00:44:35.210 - Script generation completed [2025-09-04T00:44:35.282Z] STF 00:44:35.210 - [2025-09-04T00:44:35.282Z] STF 00:44:35.212 - [2025-09-04T00:44:35.282Z] STF 00:44:35.212 - ======================= S E T U P ======================= [2025-09-04T00:44:35.282Z] STF 00:44:35.212 - Running setup: perl C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17569445128212\PatModImg_PlatMod_0/20250904-004433-PatModImgTest/setUp.pl [2025-09-04T00:44:35.605Z] STF 00:44:35.354 - SETUP stage completed [2025-09-04T00:44:35.605Z] STF 00:44:35.370 - [2025-09-04T00:44:35.605Z] STF 00:44:35.370 - ==================== E X E C U T E - ==================== [2025-09-04T00:44:35.605Z] STF 00:44:35.370 - Running execute: perl C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17569445128212\PatModImg_PlatMod_0/20250904-004433-PatModImgTest/execute.pl [2025-09-04T00:44:35.605Z] STF 00:44:35.511 - [2025-09-04T00:44:35.605Z] STF 00:44:35.511 - Java version [2025-09-04T00:44:35.605Z] STF 00:44:35.511 - Running: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2025-09-04T00:44:35.605Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-09-04T00:44:35.930Z] openjdk version "21.0.9-beta" 2025-10-21 [2025-09-04T00:44:35.930Z] OpenJDK Runtime Environment Temurin-21.0.9+6-202509031913 (build 21.0.9-beta+6-ea) [2025-09-04T00:44:35.930Z] OpenJDK 64-Bit Server VM Temurin-21.0.9+6-202509031913 (build 21.0.9-beta+6-ea, mixed mode, sharing) [2025-09-04T00:44:35.930Z] STF 00:44:35.601 - [2025-09-04T00:44:35.930Z] STF 00:44:35.601 - +------ Step 1 - Create com.hello jar [2025-09-04T00:44:35.930Z] STF 00:44:35.601 - | Create modular jar [2025-09-04T00:44:35.930Z] STF 00:44:35.601 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-09-04T00:44:35.930Z] STF 00:44:35.601 - | ModuleVersion: null [2025-09-04T00:44:35.930Z] STF 00:44:35.601 - | MainClass: null [2025-09-04T00:44:35.930Z] STF 00:44:35.601 - | HashModules: null [2025-09-04T00:44:35.930Z] STF 00:44:35.601 - | [2025-09-04T00:44:35.930Z] STF 00:44:35.601 - 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_17569445128212/PatModImg_PlatMod_0/20250904-004433-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-09-04T00:44:35.930Z] STF 00:44:35.602 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17569445128212/PatModImg_PlatMod_0/20250904-004433-PatModImgTest/results/1.CMJ.stderr [2025-09-04T00:44:35.930Z] STF 00:44:35.602 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17569445128212/PatModImg_PlatMod_0/20250904-004433-PatModImgTest/results/1.CMJ.stdout [2025-09-04T00:44:35.930Z] STF 00:44:35.628 - Monitoring processes: CMJ [2025-09-04T00:44:35.930Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-09-04T00:44:36.254Z] STF 00:44:35.946 - Monitoring Report Summary: [2025-09-04T00:44:36.254Z] STF 00:44:35.946 - o Process CMJ ended with the expected exit code (0) [2025-09-04T00:44:36.254Z] STF 00:44:35.946 - Created modular jar: 1.com.hello.jar [2025-09-04T00:44:36.254Z] STF 00:44:35.946 - [2025-09-04T00:44:36.254Z] STF 00:44:35.946 - +------ Step 2 - Create com.hola jar [2025-09-04T00:44:36.254Z] STF 00:44:35.946 - | Create modular jar [2025-09-04T00:44:36.254Z] STF 00:44:35.946 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-09-04T00:44:36.254Z] STF 00:44:35.946 - | ModuleVersion: null [2025-09-04T00:44:36.254Z] STF 00:44:35.947 - | MainClass: null [2025-09-04T00:44:36.254Z] STF 00:44:35.947 - | HashModules: null [2025-09-04T00:44:36.254Z] STF 00:44:35.947 - | [2025-09-04T00:44:36.254Z] STF 00:44:35.947 - 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_17569445128212/PatModImg_PlatMod_0/20250904-004433-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-09-04T00:44:36.254Z] STF 00:44:35.947 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17569445128212/PatModImg_PlatMod_0/20250904-004433-PatModImgTest/results/2.CMJ.stderr [2025-09-04T00:44:36.254Z] STF 00:44:35.947 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17569445128212/PatModImg_PlatMod_0/20250904-004433-PatModImgTest/results/2.CMJ.stdout [2025-09-04T00:44:36.254Z] STF 00:44:35.953 - Monitoring processes: CMJ [2025-09-04T00:44:36.254Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-09-04T00:44:36.576Z] STF 00:44:36.283 - Monitoring Report Summary: [2025-09-04T00:44:36.576Z] STF 00:44:36.283 - o Process CMJ ended with the expected exit code (0) [2025-09-04T00:44:36.576Z] STF 00:44:36.283 - Created modular jar: 2.com.hola.jar [2025-09-04T00:44:36.576Z] STF 00:44:36.283 - [2025-09-04T00:44:36.576Z] STF 00:44:36.283 - +------ Step 3 - Create com.helper jar [2025-09-04T00:44:36.576Z] STF 00:44:36.283 - | Create modular jar [2025-09-04T00:44:36.576Z] STF 00:44:36.283 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-09-04T00:44:36.576Z] STF 00:44:36.283 - | ModuleVersion: null [2025-09-04T00:44:36.576Z] STF 00:44:36.283 - | MainClass: null [2025-09-04T00:44:36.576Z] STF 00:44:36.283 - | HashModules: null [2025-09-04T00:44:36.576Z] STF 00:44:36.283 - | [2025-09-04T00:44:36.576Z] STF 00:44:36.284 - 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_17569445128212/PatModImg_PlatMod_0/20250904-004433-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-09-04T00:44:36.576Z] STF 00:44:36.284 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17569445128212/PatModImg_PlatMod_0/20250904-004433-PatModImgTest/results/3.CMJ.stderr [2025-09-04T00:44:36.576Z] STF 00:44:36.284 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17569445128212/PatModImg_PlatMod_0/20250904-004433-PatModImgTest/results/3.CMJ.stdout [2025-09-04T00:44:36.576Z] STF 00:44:36.290 - Monitoring processes: CMJ [2025-09-04T00:44:36.576Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-09-04T00:44:36.899Z] STF 00:44:36.611 - Monitoring Report Summary: [2025-09-04T00:44:36.899Z] STF 00:44:36.611 - o Process CMJ ended with the expected exit code (0) [2025-09-04T00:44:36.899Z] STF 00:44:36.611 - Created modular jar: 3.com.helper.jar [2025-09-04T00:44:36.899Z] STF 00:44:36.611 - [2025-09-04T00:44:36.899Z] STF 00:44:36.611 - +------ Step 4 - Create com.discreet jar [2025-09-04T00:44:36.899Z] STF 00:44:36.611 - | Create modular jar [2025-09-04T00:44:36.899Z] STF 00:44:36.611 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-09-04T00:44:36.899Z] STF 00:44:36.611 - | ModuleVersion: null [2025-09-04T00:44:36.899Z] STF 00:44:36.611 - | MainClass: null [2025-09-04T00:44:36.899Z] STF 00:44:36.611 - | HashModules: null [2025-09-04T00:44:36.899Z] STF 00:44:36.611 - | [2025-09-04T00:44:36.899Z] STF 00:44:36.612 - 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_17569445128212/PatModImg_PlatMod_0/20250904-004433-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-09-04T00:44:36.899Z] STF 00:44:36.612 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17569445128212/PatModImg_PlatMod_0/20250904-004433-PatModImgTest/results/4.CMJ.stderr [2025-09-04T00:44:36.899Z] STF 00:44:36.612 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17569445128212/PatModImg_PlatMod_0/20250904-004433-PatModImgTest/results/4.CMJ.stdout [2025-09-04T00:44:36.899Z] STF 00:44:36.618 - Monitoring processes: CMJ [2025-09-04T00:44:36.899Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-09-04T00:44:37.221Z] STF 00:44:36.940 - Monitoring Report Summary: [2025-09-04T00:44:37.221Z] STF 00:44:36.940 - o Process CMJ ended with the expected exit code (0) [2025-09-04T00:44:37.221Z] STF 00:44:36.940 - Created modular jar: 4.com.discreet.jar [2025-09-04T00:44:37.221Z] STF 00:44:36.940 - [2025-09-04T00:44:37.221Z] STF 00:44:36.940 - +------ Step 5 - Create tests jar [2025-09-04T00:44:37.221Z] STF 00:44:36.940 - | Create modular jar [2025-09-04T00:44:37.221Z] STF 00:44:36.940 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-09-04T00:44:37.221Z] STF 00:44:36.940 - | ModuleVersion: null [2025-09-04T00:44:37.221Z] STF 00:44:36.940 - | MainClass: null [2025-09-04T00:44:37.221Z] STF 00:44:36.940 - | HashModules: null [2025-09-04T00:44:37.221Z] STF 00:44:36.940 - | [2025-09-04T00:44:37.221Z] STF 00:44:36.941 - 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_17569445128212/PatModImg_PlatMod_0/20250904-004433-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-09-04T00:44:37.221Z] STF 00:44:36.941 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17569445128212/PatModImg_PlatMod_0/20250904-004433-PatModImgTest/results/5.CMJ.stderr [2025-09-04T00:44:37.221Z] STF 00:44:36.941 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17569445128212/PatModImg_PlatMod_0/20250904-004433-PatModImgTest/results/5.CMJ.stdout [2025-09-04T00:44:37.221Z] STF 00:44:36.947 - Monitoring processes: CMJ [2025-09-04T00:44:37.221Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-09-04T00:44:37.543Z] STF 00:44:37.268 - Monitoring Report Summary: [2025-09-04T00:44:37.543Z] STF 00:44:37.268 - o Process CMJ ended with the expected exit code (0) [2025-09-04T00:44:37.543Z] STF 00:44:37.269 - Created modular jar: 5.com.test.jar [2025-09-04T00:44:37.543Z] STF 00:44:37.269 - [2025-09-04T00:44:37.543Z] STF 00:44:37.269 - +------ Step 6 - Create runtime image for PatchModule test [2025-09-04T00:44:37.543Z] STF 00:44:37.269 - | Run jlink to create runtime image [2025-09-04T00:44:37.543Z] STF 00:44:37.269 - | ImageName: XpJVM [2025-09-04T00:44:37.543Z] STF 00:44:37.269 - | [2025-09-04T00:44:37.543Z] STF 00:44:37.269 - 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_17569445128212\PatModImg_PlatMod_0\20250904-004433-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_17569445128212\PatModImg_PlatMod_0\20250904-004433-PatModImgTest\tmp\6.XpJVM [2025-09-04T00:44:37.543Z] STF 00:44:37.269 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17569445128212/PatModImg_PlatMod_0/20250904-004433-PatModImgTest/results/6.JLNK.stderr [2025-09-04T00:44:37.543Z] STF 00:44:37.269 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17569445128212/PatModImg_PlatMod_0/20250904-004433-PatModImgTest/results/6.JLNK.stdout [2025-09-04T00:44:37.543Z] STF 00:44:37.320 - Monitoring processes: JLNK [2025-09-04T00:44:37.543Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-09-04T00:44:40.392Z] STF 00:44:40.288 - Monitoring Report Summary: [2025-09-04T00:44:40.392Z] STF 00:44:40.288 - o Process JLNK ended with the expected exit code (0) [2025-09-04T00:44:40.392Z] STF 00:44:40.288 - [2025-09-04T00:44:40.392Z] STF 00:44:40.288 - +------ Step 7 - Create com.hello jar [2025-09-04T00:44:40.392Z] STF 00:44:40.288 - | Create modular jar [2025-09-04T00:44:40.392Z] STF 00:44:40.288 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-09-04T00:44:40.392Z] STF 00:44:40.288 - | ModuleVersion: null [2025-09-04T00:44:40.392Z] STF 00:44:40.288 - | MainClass: null [2025-09-04T00:44:40.392Z] STF 00:44:40.288 - | HashModules: null [2025-09-04T00:44:40.392Z] STF 00:44:40.288 - | [2025-09-04T00:44:40.392Z] STF 00:44:40.289 - 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_17569445128212/PatModImg_PlatMod_0/20250904-004433-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-09-04T00:44:40.392Z] STF 00:44:40.289 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17569445128212/PatModImg_PlatMod_0/20250904-004433-PatModImgTest/results/7.CMJ.stderr [2025-09-04T00:44:40.392Z] STF 00:44:40.289 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17569445128212/PatModImg_PlatMod_0/20250904-004433-PatModImgTest/results/7.CMJ.stdout [2025-09-04T00:44:40.392Z] STF 00:44:40.299 - Monitoring processes: CMJ [2025-09-04T00:44:40.717Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-09-04T00:44:41.040Z] STF 00:44:40.829 - Monitoring Report Summary: [2025-09-04T00:44:41.040Z] STF 00:44:40.829 - o Process CMJ ended with the expected exit code (0) [2025-09-04T00:44:41.040Z] STF 00:44:40.829 - Created modular jar: 7.com.hello.jar [2025-09-04T00:44:41.040Z] STF 00:44:40.829 - [2025-09-04T00:44:41.040Z] STF 00:44:40.829 - +------ Step 8 - create java.xml.jar [2025-09-04T00:44:41.040Z] STF 00:44:40.829 - | Create modular jar [2025-09-04T00:44:41.040Z] STF 00:44:40.829 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-09-04T00:44:41.040Z] STF 00:44:40.829 - | ModuleVersion: null [2025-09-04T00:44:41.040Z] STF 00:44:40.829 - | MainClass: null [2025-09-04T00:44:41.040Z] STF 00:44:40.829 - | HashModules: null [2025-09-04T00:44:41.040Z] STF 00:44:40.829 - | [2025-09-04T00:44:41.040Z] STF 00:44:40.830 - 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_17569445128212/PatModImg_PlatMod_0/20250904-004433-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-09-04T00:44:41.040Z] STF 00:44:40.830 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17569445128212/PatModImg_PlatMod_0/20250904-004433-PatModImgTest/results/8.CMJ.stderr [2025-09-04T00:44:41.040Z] STF 00:44:40.830 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17569445128212/PatModImg_PlatMod_0/20250904-004433-PatModImgTest/results/8.CMJ.stdout [2025-09-04T00:44:41.040Z] STF 00:44:40.836 - Monitoring processes: CMJ [2025-09-04T00:44:41.040Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-09-04T00:44:41.364Z] STF 00:44:41.159 - Monitoring Report Summary: [2025-09-04T00:44:41.364Z] STF 00:44:41.159 - o Process CMJ ended with the expected exit code (0) [2025-09-04T00:44:41.364Z] STF 00:44:41.159 - Created modular jar: 8.java.xml.jar [2025-09-04T00:44:41.364Z] STF 00:44:41.159 - [2025-09-04T00:44:41.364Z] STF 00:44:41.159 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory [2025-09-04T00:44:41.364Z] STF 00:44:41.159 - | Run foreground process [2025-09-04T00:44:41.364Z] STF 00:44:41.159 - | Program: C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17569445128212/PatModImg_PlatMod_0/20250904-004433-PatModImgTest/tmp/6.XpJVM/bin/java [2025-09-04T00:44:41.364Z] STF 00:44:41.159 - | Mnemonic: OT11 [2025-09-04T00:44:41.364Z] STF 00:44:41.159 - | Echo: ECHO_ON [2025-09-04T00:44:41.364Z] STF 00:44:41.159 - | Expectation: CLEAN_RUN within 5m [2025-09-04T00:44:41.364Z] STF 00:44:41.159 - | [2025-09-04T00:44:41.364Z] STF 00:44:41.160 - Running command: C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17569445128212/PatModImg_PlatMod_0/20250904-004433-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=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 -XX:+UseCompressedOops -classpath c:/jenkins/externalDependency/system_lib/junit/junit.jar;c:/jenkins/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUpgradablePlatformModule [2025-09-04T00:44:41.364Z] STF 00:44:41.160 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17569445128212/PatModImg_PlatMod_0/20250904-004433-PatModImgTest/results/9.OT11.stderr [2025-09-04T00:44:41.364Z] STF 00:44:41.160 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17569445128212/PatModImg_PlatMod_0/20250904-004433-PatModImgTest/results/9.OT11.stdout [2025-09-04T00:44:41.364Z] STF 00:44:41.177 - Monitoring processes: OT11 [2025-09-04T00:44:41.364Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-09-04T00:44:41.691Z] OT11 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\java.xml [2025-09-04T00:44:41.691Z] OT11 JUnit version 4.12 [2025-09-04T00:44:41.691Z] OT11 . [2025-09-04T00:44:41.691Z] OT11 Time: 0.005 [2025-09-04T00:44:41.691Z] OT11 [2025-09-04T00:44:41.691Z] OT11 OK (1 test) [2025-09-04T00:44:41.691Z] OT11 [2025-09-04T00:44:41.691Z] STF 00:44:41.519 - Monitoring Report Summary: [2025-09-04T00:44:41.691Z] STF 00:44:41.519 - o Process OT11 ended with the expected exit code (0) [2025-09-04T00:44:41.691Z] STF 00:44:41.520 - [2025-09-04T00:44:41.691Z] STF 00:44:41.520 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar [2025-09-04T00:44:41.691Z] STF 00:44:41.520 - | Run foreground process [2025-09-04T00:44:41.691Z] STF 00:44:41.520 - | Program: C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17569445128212/PatModImg_PlatMod_0/20250904-004433-PatModImgTest/tmp/6.XpJVM/bin/java [2025-09-04T00:44:41.691Z] STF 00:44:41.520 - | Mnemonic: OT12 [2025-09-04T00:44:41.691Z] STF 00:44:41.520 - | Echo: ECHO_ON [2025-09-04T00:44:41.691Z] STF 00:44:41.520 - | Expectation: CLEAN_RUN within 5m [2025-09-04T00:44:41.691Z] STF 00:44:41.520 - | [2025-09-04T00:44:41.691Z] STF 00:44:41.520 - Running command: C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17569445128212/PatModImg_PlatMod_0/20250904-004433-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17569445128212/PatModImg_PlatMod_0/20250904-004433-PatModImgTest/modules/8.java.xml.jar -XX:+UseCompressedOops -classpath c:/jenkins/externalDependency/system_lib/junit/junit.jar;c:/jenkins/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUpgradablePlatformModule [2025-09-04T00:44:41.691Z] STF 00:44:41.520 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17569445128212/PatModImg_PlatMod_0/20250904-004433-PatModImgTest/results/10.OT12.stderr [2025-09-04T00:44:41.691Z] STF 00:44:41.520 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17569445128212/PatModImg_PlatMod_0/20250904-004433-PatModImgTest/results/10.OT12.stdout [2025-09-04T00:44:41.691Z] STF 00:44:41.526 - Monitoring processes: OT12 [2025-09-04T00:44:41.691Z] OT12 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-09-04T00:44:42.009Z] OT12 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_17569445128212\PatModImg_PlatMod_0\20250904-004433-PatModImgTest\modules\8.java.xml.jar [2025-09-04T00:44:42.009Z] OT12 JUnit version 4.12 [2025-09-04T00:44:42.009Z] OT12 . [2025-09-04T00:44:42.009Z] OT12 Time: 0.006 [2025-09-04T00:44:42.009Z] OT12 [2025-09-04T00:44:42.009Z] OT12 OK (1 test) [2025-09-04T00:44:42.009Z] OT12 [2025-09-04T00:44:42.009Z] STF 00:44:41.856 - Monitoring Report Summary: [2025-09-04T00:44:42.009Z] STF 00:44:41.856 - o Process OT12 ended with the expected exit code (0) [2025-09-04T00:44:42.009Z] STF 00:44:41.856 - EXECUTE stage completed [2025-09-04T00:44:42.009Z] STF 00:44:41.934 - [2025-09-04T00:44:42.009Z] STF 00:44:41.934 - ==================== T E A R D O W N ==================== [2025-09-04T00:44:42.009Z] STF 00:44:41.934 - Running teardown: perl C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17569445128212\PatModImg_PlatMod_0/20250904-004433-PatModImgTest/tearDown.pl [2025-09-04T00:44:42.317Z] STF 00:44:42.069 - TEARDOWN stage completed [2025-09-04T00:44:42.317Z] STF 00:44:42.084 - [2025-09-04T00:44:42.317Z] STF 00:44:42.084 - ===================== R E S U L T S ===================== [2025-09-04T00:44:42.317Z] STF 00:44:42.085 - Stage results: [2025-09-04T00:44:42.317Z] STF 00:44:42.085 - setUp: pass [2025-09-04T00:44:42.317Z] STF 00:44:42.085 - execute: pass [2025-09-04T00:44:42.317Z] STF 00:44:42.085 - teardown: pass [2025-09-04T00:44:42.317Z] STF 00:44:42.085 - [2025-09-04T00:44:42.317Z] STF 00:44:42.085 - Overall result: PASSED [2025-09-04T00:44:42.317Z] ----------------------------------- [2025-09-04T00:44:42.317Z] PatModImg_PlatMod_0_PASSED [2025-09-04T00:44:42.317Z] ----------------------------------- [2025-09-04T00:44:42.317Z] [2025-09-04T00:44:42.317Z] TEST TEARDOWN: [2025-09-04T00:44:42.317Z] Nothing to be done for teardown. [2025-09-04T00:44:42.624Z] PatModImg_PlatMod_0 Finish Time: Thu Sep 4 00:44:42 2025 Epoch Time (ms): 1756946682323