UpgModPath_ExpImg_0

[2026-04-22T18:32:50.426Z] Running test UpgModPath_ExpImg_0 ... [2026-04-22T18:32:50.783Z] =============================================== [2026-04-22T18:32:50.783Z] UpgModPath_ExpImg_0 Start Time: Wed Apr 22 18:32:50 2026 Epoch Time (ms): 1776882770648 [2026-04-22T18:32:51.091Z] variation: Mode150 [2026-04-22T18:32:51.091Z] JVM_OPTIONS: -XX:+UseCompressedOops [2026-04-22T18:32:51.091Z] { \ [2026-04-22T18:32:51.091Z] echo ""; echo "TEST SETUP:"; \ [2026-04-22T18:32:51.091Z] echo "Nothing to be done for setup."; \ [2026-04-22T18:32:51.091Z] mkdir -p "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17768813702575\\UpgModPath_ExpImg_0"; \ [2026-04-22T18:32:51.091Z] cd "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17768813702575\\UpgModPath_ExpImg_0"; \ [2026-04-22T18:32:51.091Z] echo ""; echo "TESTING:"; \ [2026-04-22T18:32:51.091Z] perl C:/jenkins/workspace/Test_openjdk17_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_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/../../externalDependency/system_lib\\" -java-args=' -XX:+UseCompressedOops ' -results-root="C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17768813702575\\UpgModPath_ExpImg_0" -test=UpgModPathTest -test-args="variant=ExpImg"; \ [2026-04-22T18:32:51.091Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_ExpImg_0""_PASSED"; echo "-----------------------------------"; cd C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/; rm -f -r "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17768813702575\\UpgModPath_ExpImg_0"; else echo "-----------------------------------"; echo "UpgModPath_ExpImg_0""_FAILED"; echo "-----------------------------------"; fi; \ [2026-04-22T18:32:51.091Z] echo ""; echo "TEST TEARDOWN:"; \ [2026-04-22T18:32:51.091Z] echo "Nothing to be done for teardown."; \ [2026-04-22T18:32:51.091Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17768813702575\\TestTargetResult"; [2026-04-22T18:32:51.424Z] [2026-04-22T18:32:51.424Z] TEST SETUP: [2026-04-22T18:32:51.424Z] Nothing to be done for setup. [2026-04-22T18:32:51.424Z] [2026-04-22T18:32:51.424Z] TESTING: [2026-04-22T18:32:51.424Z] STF 18:32:51.277 - ========================= S T F ========================= [2026-04-22T18:32:51.424Z] systemtest-prereqs has been processed, and set to: c:/jenkins/externalDependency/system_libRetrieving amount of free space on drive containing C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17768813702575\UpgModPath_ExpImg_0 [2026-04-22T18:32:51.424Z] There is 22282 Mb free [2026-04-22T18:32:51.424Z] STF 18:32:51.326 - ================== G E N E R A T I O N ================== [2026-04-22T18:32:51.424Z] STF 18:32:51.329 - Checking JVM: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image [2026-04-22T18:32:51.424Z] STF 18:32:51.330 - Starting process to generate scripts: c:/jenkins/workspace/Test_openjdk17_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_openjdk17_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_openjdk17_hs_sanity.system_x86-64_windows_testList_1/../../externalDependency/system_lib\/asm/asm.jar;c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/../../externalDependency/system_lib\/asm/asm-commons.jar;c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/../../externalDependency/system_lib\/log4j/log4j-api.jar;c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/../../externalDependency/system_lib\/log4j/log4j-core.jar;C:/jenkins/workspace/Test_openjdk17_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_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17768813702575\UpgModPath_ExpImg_0/20260422-183251-UpgModPathTest/stf_parameters.properties, , C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17768813702575\UpgModPath_ExpImg_0/20260422-183251-UpgModPathTest" [2026-04-22T18:32:51.733Z] GEN stderr OpenJDK 64-Bit Server VM warning: 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 [2026-04-22T18:32:52.869Z] GEN 18:32:52.523 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: 'C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2026-04-22T18:32:52.869Z] GEN 18:32:52.557 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2026-04-22T18:32:52.869Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2026-04-22T18:32:52.869Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2026-04-22T18:32:52.869Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2026-04-22T18:32:52.869Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2026-04-22T18:32:52.869Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2026-04-22T18:32:52.869Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2026-04-22T18:32:52.869Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2026-04-22T18:32:52.869Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2026-04-22T18:32:52.869Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2026-04-22T18:32:52.869Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2026-04-22T18:32:52.869Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2026-04-22T18:32:52.869Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2026-04-22T18:32:52.869Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2026-04-22T18:32:52.869Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2026-04-22T18:32:52.869Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2026-04-22T18:32:52.869Z] GEN C:\\jenkins\\workspace\\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2026-04-22T18:32:52.869Z] GEN C:\\jenkins\\workspace\\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2026-04-22T18:32:52.869Z] GEN c:/jenkins/externalDependency/system_lib/log4j/log4j-api.jar [2026-04-22T18:32:52.869Z] GEN c:/jenkins/externalDependency/system_lib/log4j/log4j-core.jar [2026-04-22T18:32:52.869Z] GEN c:/jenkins/externalDependency/system_lib/junit/junit.jar [2026-04-22T18:32:53.201Z] GEN 18:32:52.877 - Using Mode NoOptions. Values = '' [2026-04-22T18:32:53.201Z] GEN 18:32:53.005 - [2026-04-22T18:32:53.201Z] GEN 18:32:53.005 - Test command summary: [2026-04-22T18:32:53.201Z] GEN 18:32:53.005 - Step Stage Command Description [2026-04-22T18:32:53.201Z] GEN 18:32:53.005 - -----+--------+-----------------+------------ [2026-04-22T18:32:53.201Z] GEN 18:32:53.007 - 1 execute jar Create com.hello jar [2026-04-22T18:32:53.201Z] GEN 18:32:53.007 - 2 execute jar Create com.hola jar [2026-04-22T18:32:53.201Z] GEN 18:32:53.007 - 3 execute jar Create com.helper jar [2026-04-22T18:32:53.201Z] GEN 18:32:53.007 - 4 execute jar Create com.discreet jar [2026-04-22T18:32:53.201Z] GEN 18:32:53.007 - 5 execute jar Create tests jar [2026-04-22T18:32:53.201Z] GEN 18:32:53.007 - 6 execute jlink Create runtime image for upgrademodulepath test [2026-04-22T18:32:53.201Z] GEN 18:32:53.007 - 7 execute Run java Override an application module using a custom runtime image [2026-04-22T18:32:53.201Z] GEN 18:32:53.007 - 8 execute Run java (Negative test) Override a non-upgradable platform module using a custom runtime image [2026-04-22T18:32:53.201Z] GEN 18:32:53.007 - 9 execute Run java Combine stderr and stdout files of process OT16 [2026-04-22T18:32:53.201Z] GEN 18:32:53.007 - 10 execute count Check output [2026-04-22T18:32:53.201Z] STF 18:32:53.070 - [2026-04-22T18:32:53.201Z] STF 18:32:53.070 - Script generation completed [2026-04-22T18:32:53.201Z] STF 18:32:53.070 - [2026-04-22T18:32:53.201Z] STF 18:32:53.071 - [2026-04-22T18:32:53.201Z] STF 18:32:53.071 - ======================= S E T U P ======================= [2026-04-22T18:32:53.201Z] STF 18:32:53.071 - Running setup: perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17768813702575\UpgModPath_ExpImg_0/20260422-183251-UpgModPathTest/setUp.pl [2026-04-22T18:32:53.532Z] STF 18:32:53.221 - SETUP stage completed [2026-04-22T18:32:53.532Z] STF 18:32:53.235 - [2026-04-22T18:32:53.532Z] STF 18:32:53.235 - ==================== E X E C U T E - ==================== [2026-04-22T18:32:53.532Z] STF 18:32:53.235 - Running execute: perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17768813702575\UpgModPath_ExpImg_0/20260422-183251-UpgModPathTest/execute.pl [2026-04-22T18:32:53.532Z] STF 18:32:53.371 - [2026-04-22T18:32:53.532Z] STF 18:32:53.371 - Java version [2026-04-22T18:32:53.532Z] STF 18:32:53.371 - Running: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2026-04-22T18:32:53.532Z] openjdk version "17.0.19" 2026-04-21 [2026-04-22T18:32:53.532Z] OpenJDK Runtime Environment Temurin-17.0.19+10 (build 17.0.19+10) [2026-04-22T18:32:53.532Z] OpenJDK 64-Bit Server VM Temurin-17.0.19+10 (build 17.0.19+10, mixed mode, sharing) [2026-04-22T18:32:53.532Z] STF 18:32:53.472 - [2026-04-22T18:32:53.532Z] STF 18:32:53.472 - +------ Step 1 - Create com.hello jar [2026-04-22T18:32:53.532Z] STF 18:32:53.472 - | Create modular jar [2026-04-22T18:32:53.532Z] STF 18:32:53.472 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2026-04-22T18:32:53.532Z] STF 18:32:53.472 - | ModuleVersion: null [2026-04-22T18:32:53.532Z] STF 18:32:53.472 - | MainClass: null [2026-04-22T18:32:53.532Z] STF 18:32:53.472 - | HashModules: null [2026-04-22T18:32:53.532Z] STF 18:32:53.472 - | [2026-04-22T18:32:53.532Z] STF 18:32:53.473 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17768813702575/UpgModPath_ExpImg_0/20260422-183251-UpgModPathTest/modules/1.com.hello.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2026-04-22T18:32:53.532Z] STF 18:32:53.473 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17768813702575/UpgModPath_ExpImg_0/20260422-183251-UpgModPathTest/results/1.CMJ.stderr [2026-04-22T18:32:53.532Z] STF 18:32:53.473 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17768813702575/UpgModPath_ExpImg_0/20260422-183251-UpgModPathTest/results/1.CMJ.stdout [2026-04-22T18:32:53.868Z] STF 18:32:53.505 - Monitoring processes: CMJ [2026-04-22T18:32:54.233Z] STF 18:32:53.876 - Monitoring Report Summary: [2026-04-22T18:32:54.233Z] STF 18:32:53.876 - o Process CMJ ended with the expected exit code (0) [2026-04-22T18:32:54.233Z] STF 18:32:53.877 - Created modular jar: 1.com.hello.jar [2026-04-22T18:32:54.233Z] STF 18:32:53.877 - [2026-04-22T18:32:54.233Z] STF 18:32:53.877 - +------ Step 2 - Create com.hola jar [2026-04-22T18:32:54.233Z] STF 18:32:53.877 - | Create modular jar [2026-04-22T18:32:54.233Z] STF 18:32:53.877 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2026-04-22T18:32:54.233Z] STF 18:32:53.877 - | ModuleVersion: null [2026-04-22T18:32:54.233Z] STF 18:32:53.877 - | MainClass: null [2026-04-22T18:32:54.233Z] STF 18:32:53.877 - | HashModules: null [2026-04-22T18:32:54.233Z] STF 18:32:53.877 - | [2026-04-22T18:32:54.233Z] STF 18:32:53.877 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17768813702575/UpgModPath_ExpImg_0/20260422-183251-UpgModPathTest/modules/2.com.hola.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2026-04-22T18:32:54.233Z] STF 18:32:53.877 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17768813702575/UpgModPath_ExpImg_0/20260422-183251-UpgModPathTest/results/2.CMJ.stderr [2026-04-22T18:32:54.234Z] STF 18:32:53.877 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17768813702575/UpgModPath_ExpImg_0/20260422-183251-UpgModPathTest/results/2.CMJ.stdout [2026-04-22T18:32:54.234Z] STF 18:32:53.884 - Monitoring processes: CMJ [2026-04-22T18:32:54.586Z] STF 18:32:54.260 - Monitoring Report Summary: [2026-04-22T18:32:54.587Z] STF 18:32:54.260 - o Process CMJ ended with the expected exit code (0) [2026-04-22T18:32:54.587Z] STF 18:32:54.261 - Created modular jar: 2.com.hola.jar [2026-04-22T18:32:54.587Z] STF 18:32:54.261 - [2026-04-22T18:32:54.587Z] STF 18:32:54.261 - +------ Step 3 - Create com.helper jar [2026-04-22T18:32:54.587Z] STF 18:32:54.261 - | Create modular jar [2026-04-22T18:32:54.587Z] STF 18:32:54.261 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2026-04-22T18:32:54.587Z] STF 18:32:54.261 - | ModuleVersion: null [2026-04-22T18:32:54.587Z] STF 18:32:54.261 - | MainClass: null [2026-04-22T18:32:54.587Z] STF 18:32:54.261 - | HashModules: null [2026-04-22T18:32:54.587Z] STF 18:32:54.261 - | [2026-04-22T18:32:54.587Z] STF 18:32:54.261 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17768813702575/UpgModPath_ExpImg_0/20260422-183251-UpgModPathTest/modules/3.com.helper.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2026-04-22T18:32:54.587Z] STF 18:32:54.261 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17768813702575/UpgModPath_ExpImg_0/20260422-183251-UpgModPathTest/results/3.CMJ.stderr [2026-04-22T18:32:54.587Z] STF 18:32:54.261 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17768813702575/UpgModPath_ExpImg_0/20260422-183251-UpgModPathTest/results/3.CMJ.stdout [2026-04-22T18:32:54.587Z] STF 18:32:54.267 - Monitoring processes: CMJ [2026-04-22T18:32:54.896Z] STF 18:32:54.627 - Monitoring Report Summary: [2026-04-22T18:32:54.896Z] STF 18:32:54.627 - o Process CMJ ended with the expected exit code (0) [2026-04-22T18:32:54.896Z] STF 18:32:54.628 - Created modular jar: 3.com.helper.jar [2026-04-22T18:32:54.896Z] STF 18:32:54.628 - [2026-04-22T18:32:54.896Z] STF 18:32:54.628 - +------ Step 4 - Create com.discreet jar [2026-04-22T18:32:54.896Z] STF 18:32:54.628 - | Create modular jar [2026-04-22T18:32:54.896Z] STF 18:32:54.628 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2026-04-22T18:32:54.896Z] STF 18:32:54.628 - | ModuleVersion: null [2026-04-22T18:32:54.896Z] STF 18:32:54.628 - | MainClass: null [2026-04-22T18:32:54.896Z] STF 18:32:54.628 - | HashModules: null [2026-04-22T18:32:54.896Z] STF 18:32:54.628 - | [2026-04-22T18:32:54.897Z] STF 18:32:54.628 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17768813702575/UpgModPath_ExpImg_0/20260422-183251-UpgModPathTest/modules/4.com.discreet.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2026-04-22T18:32:54.897Z] STF 18:32:54.628 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17768813702575/UpgModPath_ExpImg_0/20260422-183251-UpgModPathTest/results/4.CMJ.stderr [2026-04-22T18:32:54.897Z] STF 18:32:54.628 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17768813702575/UpgModPath_ExpImg_0/20260422-183251-UpgModPathTest/results/4.CMJ.stdout [2026-04-22T18:32:54.897Z] STF 18:32:54.634 - Monitoring processes: CMJ [2026-04-22T18:32:55.231Z] STF 18:32:55.024 - Monitoring Report Summary: [2026-04-22T18:32:55.231Z] STF 18:32:55.024 - o Process CMJ ended with the expected exit code (0) [2026-04-22T18:32:55.231Z] STF 18:32:55.025 - Created modular jar: 4.com.discreet.jar [2026-04-22T18:32:55.231Z] STF 18:32:55.025 - [2026-04-22T18:32:55.231Z] STF 18:32:55.025 - +------ Step 5 - Create tests jar [2026-04-22T18:32:55.231Z] STF 18:32:55.025 - | Create modular jar [2026-04-22T18:32:55.231Z] STF 18:32:55.025 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2026-04-22T18:32:55.231Z] STF 18:32:55.025 - | ModuleVersion: null [2026-04-22T18:32:55.231Z] STF 18:32:55.025 - | MainClass: null [2026-04-22T18:32:55.231Z] STF 18:32:55.025 - | HashModules: null [2026-04-22T18:32:55.231Z] STF 18:32:55.025 - | [2026-04-22T18:32:55.231Z] STF 18:32:55.025 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17768813702575/UpgModPath_ExpImg_0/20260422-183251-UpgModPathTest/modules/5.com.test.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2026-04-22T18:32:55.231Z] STF 18:32:55.025 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17768813702575/UpgModPath_ExpImg_0/20260422-183251-UpgModPathTest/results/5.CMJ.stderr [2026-04-22T18:32:55.231Z] STF 18:32:55.025 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17768813702575/UpgModPath_ExpImg_0/20260422-183251-UpgModPathTest/results/5.CMJ.stdout [2026-04-22T18:32:55.231Z] STF 18:32:55.033 - Monitoring processes: CMJ [2026-04-22T18:32:55.569Z] STF 18:32:55.406 - Monitoring Report Summary: [2026-04-22T18:32:55.569Z] STF 18:32:55.406 - o Process CMJ ended with the expected exit code (0) [2026-04-22T18:32:55.569Z] STF 18:32:55.406 - Created modular jar: 5.com.test.jar [2026-04-22T18:32:55.569Z] STF 18:32:55.406 - [2026-04-22T18:32:55.569Z] STF 18:32:55.406 - +------ Step 6 - Create runtime image for upgrademodulepath test [2026-04-22T18:32:55.569Z] STF 18:32:55.406 - | Run jlink to create runtime image [2026-04-22T18:32:55.569Z] STF 18:32:55.406 - | ImageName: UpJVM [2026-04-22T18:32:55.569Z] STF 18:32:55.406 - | [2026-04-22T18:32:55.569Z] STF 18:32:55.407 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path c:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jdkbinary\j2sdk-image\jmods;C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17768813702575\UpgModPath_ExpImg_0\20260422-183251-UpgModPathTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17768813702575\UpgModPath_ExpImg_0\20260422-183251-UpgModPathTest\tmp\6.UpJVM [2026-04-22T18:32:55.569Z] STF 18:32:55.407 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17768813702575/UpgModPath_ExpImg_0/20260422-183251-UpgModPathTest/results/6.JLNK.stderr [2026-04-22T18:32:55.569Z] STF 18:32:55.407 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17768813702575/UpgModPath_ExpImg_0/20260422-183251-UpgModPathTest/results/6.JLNK.stdout [2026-04-22T18:32:55.569Z] STF 18:32:55.414 - Monitoring processes: JLNK [2026-04-22T18:32:59.262Z] STF 18:32:58.798 - Monitoring Report Summary: [2026-04-22T18:32:59.262Z] STF 18:32:58.798 - o Process JLNK ended with the expected exit code (0) [2026-04-22T18:32:59.262Z] STF 18:32:58.798 - [2026-04-22T18:32:59.262Z] STF 18:32:58.798 - +------ Step 7 - Override an application module using a custom runtime image [2026-04-22T18:32:59.262Z] STF 18:32:58.798 - | Run foreground process [2026-04-22T18:32:59.262Z] STF 18:32:58.798 - | Program: C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17768813702575/UpgModPath_ExpImg_0/20260422-183251-UpgModPathTest/tmp/6.UpJVM/bin/java [2026-04-22T18:32:59.262Z] STF 18:32:58.798 - | Mnemonic: OT14 [2026-04-22T18:32:59.262Z] STF 18:32:58.798 - | Echo: ECHO_ON [2026-04-22T18:32:59.262Z] STF 18:32:58.798 - | Expectation: CLEAN_RUN within 1m [2026-04-22T18:32:59.262Z] STF 18:32:58.798 - | [2026-04-22T18:32:59.262Z] STF 18:32:58.798 - Running command: C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17768813702575/UpgModPath_ExpImg_0/20260422-183251-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path C:\jenkins\workspace\Test_openjdk17_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/externalDependency/system_lib/junit/junit.jar;c:/jenkins/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2026-04-22T18:32:59.262Z] STF 18:32:58.798 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17768813702575/UpgModPath_ExpImg_0/20260422-183251-UpgModPathTest/results/7.OT14.stderr [2026-04-22T18:32:59.262Z] STF 18:32:58.798 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17768813702575/UpgModPath_ExpImg_0/20260422-183251-UpgModPathTest/results/7.OT14.stdout [2026-04-22T18:32:59.262Z] STF 18:32:58.814 - Monitoring processes: OT14 [2026-04-22T18:32:59.262Z] OT14 JUnit version 4.12 [2026-04-22T18:32:59.586Z] OT14 . [2026-04-22T18:32:59.586Z] OT14 Time: 0.008 [2026-04-22T18:32:59.586Z] OT14 [2026-04-22T18:32:59.586Z] OT14 OK (1 test) [2026-04-22T18:32:59.586Z] OT14 [2026-04-22T18:32:59.586Z] STF 18:32:59.192 - Monitoring Report Summary: [2026-04-22T18:32:59.586Z] STF 18:32:59.192 - o Process OT14 ended with the expected exit code (0) [2026-04-22T18:32:59.586Z] STF 18:32:59.192 - [2026-04-22T18:32:59.586Z] STF 18:32:59.192 - +------ Step 8 - (Negative test) Override a non-upgradable platform module using a custom runtime image [2026-04-22T18:32:59.586Z] STF 18:32:59.192 - | Run foreground process [2026-04-22T18:32:59.586Z] STF 18:32:59.192 - | Program: C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17768813702575/UpgModPath_ExpImg_0/20260422-183251-UpgModPathTest/tmp/6.UpJVM/bin/java [2026-04-22T18:32:59.586Z] STF 18:32:59.192 - | Mnemonic: OT16 [2026-04-22T18:32:59.586Z] STF 18:32:59.192 - | Echo: ECHO_ON [2026-04-22T18:32:59.586Z] STF 18:32:59.192 - | Expectation: NON_ZERO_EXIT [1] within 1m [2026-04-22T18:32:59.586Z] STF 18:32:59.192 - | [2026-04-22T18:32:59.586Z] STF 18:32:59.193 - Running command: C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17768813702575/UpgModPath_ExpImg_0/20260422-183251-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.logging -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.TestOverrideUsingNonUpgradablePlatformModule [2026-04-22T18:32:59.586Z] STF 18:32:59.193 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17768813702575/UpgModPath_ExpImg_0/20260422-183251-UpgModPathTest/results/8.OT16.stderr [2026-04-22T18:32:59.586Z] STF 18:32:59.193 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17768813702575/UpgModPath_ExpImg_0/20260422-183251-UpgModPathTest/results/8.OT16.stdout [2026-04-22T18:32:59.586Z] STF 18:32:59.199 - Monitoring processes: OT16 [2026-04-22T18:32:59.586Z] OT16 Error occurred during initialization of boot layer [2026-04-22T18:32:59.586Z] OT16 java.lang.module.FindException: Unable to compute the hash of module java.logging [2026-04-22T18:32:59.586Z] STF 18:32:59.383 - Monitoring Report Summary: [2026-04-22T18:32:59.586Z] STF 18:32:59.383 - o Process OT16 ended with the expected exit code (1) [2026-04-22T18:32:59.586Z] STF 18:32:59.384 - [2026-04-22T18:32:59.586Z] STF 18:32:59.384 - +------ Step 9 - Combine stderr and stdout files of process OT16 [2026-04-22T18:32:59.586Z] STF 18:32:59.384 - | Run foreground process [2026-04-22T18:32:59.586Z] STF 18:32:59.384 - | Program: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2026-04-22T18:32:59.586Z] STF 18:32:59.384 - | Mnemonic: CO [2026-04-22T18:32:59.586Z] STF 18:32:59.384 - | Echo: ECHO_OFF [2026-04-22T18:32:59.586Z] STF 18:32:59.384 - | Expectation: NON_ZERO_EXIT [0] within 5m [2026-04-22T18:32:59.586Z] STF 18:32:59.384 - | [2026-04-22T18:32:59.586Z] STF 18:32:59.384 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -Dfile1=C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17768813702575/UpgModPath_ExpImg_0/20260422-183251-UpgModPathTest/results/8.OT16.stdout -Dfile2=C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17768813702575/UpgModPath_ExpImg_0/20260422-183251-UpgModPathTest/results/8.OT16.stderr -Dfinal.file=C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17768813702575\UpgModPath_ExpImg_0\20260422-183251-UpgModPathTest\results\combinedOT16.txt -XX:+UseCompressedOops -classpath C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\STF\stf.core\bin;C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin net.adoptopenjdk.test.modularity.TestUtil [2026-04-22T18:32:59.586Z] STF 18:32:59.384 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17768813702575/UpgModPath_ExpImg_0/20260422-183251-UpgModPathTest/results/9.CO.stderr [2026-04-22T18:32:59.586Z] STF 18:32:59.384 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17768813702575/UpgModPath_ExpImg_0/20260422-183251-UpgModPathTest/results/9.CO.stdout [2026-04-22T18:32:59.586Z] STF 18:32:59.390 - Monitoring processes: CO [2026-04-22T18:32:59.974Z] STF 18:32:59.556 - Monitoring Report Summary: [2026-04-22T18:32:59.974Z] STF 18:32:59.556 - o Process CO ended with the expected exit code (0) [2026-04-22T18:32:59.974Z] STF 18:32:59.556 - [2026-04-22T18:32:59.974Z] STF 18:32:59.556 - +------ Step 10 - Check output [2026-04-22T18:32:59.974Z] STF 18:32:59.556 - | Count file matches [2026-04-22T18:32:59.974Z] STF 18:32:59.556 - | TargetFile: C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17768813702575/UpgModPath_ExpImg_0/20260422-183251-UpgModPathTest/results/combinedOT16.txt [2026-04-22T18:32:59.974Z] STF 18:32:59.556 - | ExpectedNumMatches: 1 [2026-04-22T18:32:59.974Z] STF 18:32:59.556 - | SearchStrings: ["FindException: Unable to compute the hash of module java.logging"] [2026-04-22T18:32:59.974Z] STF 18:32:59.556 - | [2026-04-22T18:32:59.974Z] STF 18:32:59.557 - Found 1 instances of ["FindException: Unable to compute the hash of module java.logging"] [2026-04-22T18:32:59.974Z] STF 18:32:59.557 - EXECUTE stage completed [2026-04-22T18:32:59.974Z] STF 18:32:59.613 - [2026-04-22T18:32:59.974Z] STF 18:32:59.613 - ==================== T E A R D O W N ==================== [2026-04-22T18:32:59.974Z] STF 18:32:59.613 - Running teardown: perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17768813702575\UpgModPath_ExpImg_0/20260422-183251-UpgModPathTest/tearDown.pl [2026-04-22T18:32:59.974Z] STF 18:32:59.740 - TEARDOWN stage completed [2026-04-22T18:32:59.974Z] STF 18:32:59.755 - [2026-04-22T18:32:59.974Z] STF 18:32:59.755 - ===================== R E S U L T S ===================== [2026-04-22T18:32:59.974Z] STF 18:32:59.755 - Stage results: [2026-04-22T18:32:59.974Z] STF 18:32:59.755 - setUp: pass [2026-04-22T18:32:59.974Z] STF 18:32:59.755 - execute: pass [2026-04-22T18:32:59.974Z] STF 18:32:59.755 - teardown: pass [2026-04-22T18:32:59.974Z] STF 18:32:59.755 - [2026-04-22T18:32:59.974Z] STF 18:32:59.755 - Overall result: PASSED [2026-04-22T18:32:59.974Z] ----------------------------------- [2026-04-22T18:32:59.974Z] UpgModPath_ExpImg_0_PASSED [2026-04-22T18:32:59.974Z] ----------------------------------- [2026-04-22T18:32:59.974Z] [2026-04-22T18:32:59.974Z] TEST TEARDOWN: [2026-04-22T18:32:59.974Z] Nothing to be done for teardown. [2026-04-22T18:33:00.361Z] UpgModPath_ExpImg_0 Finish Time: Wed Apr 22 18:33:00 2026 Epoch Time (ms): 1776882780084