UpgModPath_Jar_0

[2025-05-11T12:43:53.027Z] Running test UpgModPath_Jar_0 ... [2025-05-11T12:43:53.332Z] =============================================== [2025-05-11T12:43:53.748Z] UpgModPath_Jar_0 Start Time: Sun May 11 12:43:53 2025 Epoch Time (ms): 1746967433383 [2025-05-11T12:43:53.748Z] variation: Mode150 [2025-05-11T12:43:54.201Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-05-11T12:43:54.201Z] { \ [2025-05-11T12:43:54.201Z] echo ""; echo "TEST SETUP:"; \ [2025-05-11T12:43:54.201Z] echo "Nothing to be done for setup."; \ [2025-05-11T12:43:54.201Z] mkdir -p "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/\\TKG\\output_17469591279390\\UpgModPath_Jar_0"; \ [2025-05-11T12:43:54.201Z] cd "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/\\TKG\\output_17469591279390\\UpgModPath_Jar_0"; \ [2025-05-11T12:43:54.201Z] echo ""; echo "TESTING:"; \ [2025-05-11T12:43:54.202Z] perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/../../testDependency/system_lib\\" -java-args=' -XX:+UseCompressedOops ' -results-root="C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/\\TKG\\output_17469591279390\\UpgModPath_Jar_0" -test=UpgModPathTest -test-args="variant=Jar"; \ [2025-05-11T12:43:54.202Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_Jar_0""_PASSED"; echo "-----------------------------------"; cd C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/; rm -f -r "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/\\TKG\\output_17469591279390\\UpgModPath_Jar_0"; else echo "-----------------------------------"; echo "UpgModPath_Jar_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-05-11T12:43:54.202Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-05-11T12:43:54.202Z] echo "Nothing to be done for teardown."; \ [2025-05-11T12:43:54.202Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/\\TKG\\output_17469591279390\\TestTargetResult"; [2025-05-11T12:43:54.202Z] [2025-05-11T12:43:54.202Z] TEST SETUP: [2025-05-11T12:43:54.202Z] Nothing to be done for setup. [2025-05-11T12:43:54.510Z] [2025-05-11T12:43:54.510Z] TESTING: [2025-05-11T12:43:54.510Z] STF 12:43:54.184 - ========================= S T F ========================= [2025-05-11T12:43:54.511Z] systemtest-prereqs has been processed, and set to: c:/jenkins/testDependency/system_libRetrieving amount of free space on drive containing C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/\TKG\output_17469591279390\UpgModPath_Jar_0 [2025-05-11T12:43:54.511Z] There is 90401 Mb free [2025-05-11T12:43:54.511Z] STF 12:43:54.230 - ================== G E N E R A T I O N ================== [2025-05-11T12:43:54.511Z] STF 12:43:54.232 - Checking JVM: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image [2025-05-11T12:43:54.511Z] STF 12:43:54.232 - Starting process to generate scripts: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/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/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/../../testDependency/system_lib\/asm/asm.jar;c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/../../testDependency/system_lib\/asm/asm-commons.jar;c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/../../testDependency/system_lib\/log4j/log4j-api.jar;c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/\TKG\output_17469591279390\UpgModPath_Jar_0/20250511-124354-UpgModPathTest/stf_parameters.properties, , C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/\TKG\output_17469591279390\UpgModPath_Jar_0/20250511-124354-UpgModPathTest" [2025-05-11T12:43:54.511Z] 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 [2025-05-11T12:43:55.191Z] GEN 12:43:55.028 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: 'C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2025-05-11T12:43:55.191Z] GEN 12:43:55.042 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2025-05-11T12:43:55.508Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-05-11T12:43:55.509Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2025-05-11T12:43:55.509Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2025-05-11T12:43:55.509Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2025-05-11T12:43:55.509Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2025-05-11T12:43:55.509Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2025-05-11T12:43:55.509Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2025-05-11T12:43:55.509Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2025-05-11T12:43:55.509Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2025-05-11T12:43:55.509Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2025-05-11T12:43:55.509Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2025-05-11T12:43:55.509Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2025-05-11T12:43:55.509Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2025-05-11T12:43:55.509Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-05-11T12:43:55.509Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-05-11T12:43:55.509Z] GEN C:\\jenkins\\workspace\\Test_openjdk17_hs_sanity.system_x86-64_windows\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-05-11T12:43:55.509Z] GEN C:\\jenkins\\workspace\\Test_openjdk17_hs_sanity.system_x86-64_windows\\jvmtest\\system\\STF\\stf.core\\bin [2025-05-11T12:43:55.509Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-05-11T12:43:55.509Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-05-11T12:43:55.509Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar [2025-05-11T12:43:55.509Z] GEN 12:43:55.256 - Using Mode NoOptions. Values = '' [2025-05-11T12:43:55.509Z] GEN 12:43:55.342 - [2025-05-11T12:43:55.509Z] GEN 12:43:55.342 - Test command summary: [2025-05-11T12:43:55.509Z] GEN 12:43:55.343 - Step Stage Command Description [2025-05-11T12:43:55.509Z] GEN 12:43:55.343 - -----+--------+-----------------+------------ [2025-05-11T12:43:55.509Z] GEN 12:43:55.343 - 1 execute jar Create com.hello jar [2025-05-11T12:43:55.509Z] GEN 12:43:55.343 - 2 execute jar Create com.hola jar [2025-05-11T12:43:55.509Z] GEN 12:43:55.343 - 3 execute jar Create com.helper jar [2025-05-11T12:43:55.509Z] GEN 12:43:55.343 - 4 execute jar Create com.discreet jar [2025-05-11T12:43:55.509Z] GEN 12:43:55.343 - 5 execute jar Create tests jar [2025-05-11T12:43:55.509Z] GEN 12:43:55.343 - 6 execute jlink Create runtime image for upgrademodulepath test [2025-05-11T12:43:55.509Z] GEN 12:43:55.343 - 7 execute jar Create com.hello override jar [2025-05-11T12:43:55.509Z] GEN 12:43:55.343 - 8 execute jar Create com.hello override jar [2025-05-11T12:43:55.509Z] GEN 12:43:55.344 - 9 execute Run java Override an application module using modularized jar [2025-05-11T12:43:55.509Z] GEN 12:43:55.344 - 10 execute Run java (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar [2025-05-11T12:43:55.509Z] GEN 12:43:55.344 - 11 execute Run java Combine stderr and stdout files of process OT24 [2025-05-11T12:43:55.509Z] GEN 12:43:55.344 - 12 execute count Check output [2025-05-11T12:43:55.509Z] STF 12:43:55.367 - [2025-05-11T12:43:55.509Z] STF 12:43:55.367 - Script generation completed [2025-05-11T12:43:55.509Z] STF 12:43:55.367 - [2025-05-11T12:43:55.509Z] STF 12:43:55.369 - [2025-05-11T12:43:55.509Z] STF 12:43:55.369 - ======================= S E T U P ======================= [2025-05-11T12:43:55.509Z] STF 12:43:55.369 - Running setup: perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/\TKG\output_17469591279390\UpgModPath_Jar_0/20250511-124354-UpgModPathTest/setUp.pl [2025-05-11T12:43:55.829Z] STF 12:43:55.499 - SETUP stage completed [2025-05-11T12:43:55.829Z] STF 12:43:55.511 - [2025-05-11T12:43:55.829Z] STF 12:43:55.511 - ==================== E X E C U T E - ==================== [2025-05-11T12:43:55.829Z] STF 12:43:55.511 - Running execute: perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/\TKG\output_17469591279390\UpgModPath_Jar_0/20250511-124354-UpgModPathTest/execute.pl [2025-05-11T12:43:55.829Z] STF 12:43:55.639 - [2025-05-11T12:43:55.829Z] STF 12:43:55.639 - Java version [2025-05-11T12:43:55.829Z] STF 12:43:55.639 - Running: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/java -version [2025-05-11T12:43:55.829Z] openjdk version "17.0.16-beta" 2025-07-15 [2025-05-11T12:43:55.829Z] OpenJDK Runtime Environment Temurin-17.0.16+2-202505100656 (build 17.0.16-beta+2-ea) [2025-05-11T12:43:55.829Z] OpenJDK 64-Bit Server VM Temurin-17.0.16+2-202505100656 (build 17.0.16-beta+2-ea, mixed mode, sharing) [2025-05-11T12:43:55.829Z] STF 12:43:55.722 - [2025-05-11T12:43:55.829Z] STF 12:43:55.722 - +------ Step 1 - Create com.hello jar [2025-05-11T12:43:55.829Z] STF 12:43:55.722 - | Create modular jar [2025-05-11T12:43:55.829Z] STF 12:43:55.722 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-05-11T12:43:55.829Z] STF 12:43:55.722 - | ModuleVersion: null [2025-05-11T12:43:55.829Z] STF 12:43:55.722 - | MainClass: null [2025-05-11T12:43:55.829Z] STF 12:43:55.722 - | HashModules: null [2025-05-11T12:43:55.829Z] STF 12:43:55.722 - | [2025-05-11T12:43:55.829Z] STF 12:43:55.722 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_0/20250511-124354-UpgModPathTest/modules/1.com.hello.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2025-05-11T12:43:55.829Z] STF 12:43:55.723 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_0/20250511-124354-UpgModPathTest/results/1.CMJ.stderr [2025-05-11T12:43:55.829Z] STF 12:43:55.723 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_0/20250511-124354-UpgModPathTest/results/1.CMJ.stdout [2025-05-11T12:43:55.830Z] STF 12:43:55.748 - Monitoring processes: CMJ [2025-05-11T12:43:56.148Z] STF 12:43:55.979 - Monitoring Report Summary: [2025-05-11T12:43:56.148Z] STF 12:43:55.979 - o Process CMJ ended with the expected exit code (0) [2025-05-11T12:43:56.148Z] STF 12:43:55.979 - Created modular jar: 1.com.hello.jar [2025-05-11T12:43:56.148Z] STF 12:43:55.979 - [2025-05-11T12:43:56.148Z] STF 12:43:55.979 - +------ Step 2 - Create com.hola jar [2025-05-11T12:43:56.148Z] STF 12:43:55.979 - | Create modular jar [2025-05-11T12:43:56.148Z] STF 12:43:55.979 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-05-11T12:43:56.148Z] STF 12:43:55.979 - | ModuleVersion: null [2025-05-11T12:43:56.148Z] STF 12:43:55.979 - | MainClass: null [2025-05-11T12:43:56.148Z] STF 12:43:55.979 - | HashModules: null [2025-05-11T12:43:56.148Z] STF 12:43:55.979 - | [2025-05-11T12:43:56.148Z] STF 12:43:55.980 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_0/20250511-124354-UpgModPathTest/modules/2.com.hola.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2025-05-11T12:43:56.148Z] STF 12:43:55.980 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_0/20250511-124354-UpgModPathTest/results/2.CMJ.stderr [2025-05-11T12:43:56.148Z] STF 12:43:55.980 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_0/20250511-124354-UpgModPathTest/results/2.CMJ.stdout [2025-05-11T12:43:56.148Z] STF 12:43:55.986 - Monitoring processes: CMJ [2025-05-11T12:43:56.469Z] STF 12:43:56.226 - Monitoring Report Summary: [2025-05-11T12:43:56.469Z] STF 12:43:56.227 - o Process CMJ ended with the expected exit code (0) [2025-05-11T12:43:56.469Z] STF 12:43:56.227 - Created modular jar: 2.com.hola.jar [2025-05-11T12:43:56.469Z] STF 12:43:56.227 - [2025-05-11T12:43:56.469Z] STF 12:43:56.227 - +------ Step 3 - Create com.helper jar [2025-05-11T12:43:56.469Z] STF 12:43:56.227 - | Create modular jar [2025-05-11T12:43:56.469Z] STF 12:43:56.227 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-05-11T12:43:56.469Z] STF 12:43:56.227 - | ModuleVersion: null [2025-05-11T12:43:56.469Z] STF 12:43:56.227 - | MainClass: null [2025-05-11T12:43:56.469Z] STF 12:43:56.227 - | HashModules: null [2025-05-11T12:43:56.469Z] STF 12:43:56.227 - | [2025-05-11T12:43:56.469Z] STF 12:43:56.227 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_0/20250511-124354-UpgModPathTest/modules/3.com.helper.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2025-05-11T12:43:56.469Z] STF 12:43:56.227 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_0/20250511-124354-UpgModPathTest/results/3.CMJ.stderr [2025-05-11T12:43:56.469Z] STF 12:43:56.227 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_0/20250511-124354-UpgModPathTest/results/3.CMJ.stdout [2025-05-11T12:43:56.469Z] STF 12:43:56.234 - Monitoring processes: CMJ [2025-05-11T12:43:56.786Z] STF 12:43:56.473 - Monitoring Report Summary: [2025-05-11T12:43:56.786Z] STF 12:43:56.473 - o Process CMJ ended with the expected exit code (0) [2025-05-11T12:43:56.786Z] STF 12:43:56.473 - Created modular jar: 3.com.helper.jar [2025-05-11T12:43:56.786Z] STF 12:43:56.473 - [2025-05-11T12:43:56.786Z] STF 12:43:56.473 - +------ Step 4 - Create com.discreet jar [2025-05-11T12:43:56.786Z] STF 12:43:56.473 - | Create modular jar [2025-05-11T12:43:56.786Z] STF 12:43:56.473 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-05-11T12:43:56.786Z] STF 12:43:56.473 - | ModuleVersion: null [2025-05-11T12:43:56.786Z] STF 12:43:56.473 - | MainClass: null [2025-05-11T12:43:56.786Z] STF 12:43:56.473 - | HashModules: null [2025-05-11T12:43:56.786Z] STF 12:43:56.473 - | [2025-05-11T12:43:56.786Z] STF 12:43:56.474 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_0/20250511-124354-UpgModPathTest/modules/4.com.discreet.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2025-05-11T12:43:56.786Z] STF 12:43:56.474 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_0/20250511-124354-UpgModPathTest/results/4.CMJ.stderr [2025-05-11T12:43:56.786Z] STF 12:43:56.474 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_0/20250511-124354-UpgModPathTest/results/4.CMJ.stdout [2025-05-11T12:43:56.786Z] STF 12:43:56.479 - Monitoring processes: CMJ [2025-05-11T12:43:56.786Z] STF 12:43:56.717 - Monitoring Report Summary: [2025-05-11T12:43:56.786Z] STF 12:43:56.717 - o Process CMJ ended with the expected exit code (0) [2025-05-11T12:43:56.786Z] STF 12:43:56.717 - Created modular jar: 4.com.discreet.jar [2025-05-11T12:43:56.786Z] STF 12:43:56.717 - [2025-05-11T12:43:56.786Z] STF 12:43:56.717 - +------ Step 5 - Create tests jar [2025-05-11T12:43:56.786Z] STF 12:43:56.717 - | Create modular jar [2025-05-11T12:43:56.786Z] STF 12:43:56.717 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-05-11T12:43:56.786Z] STF 12:43:56.717 - | ModuleVersion: null [2025-05-11T12:43:56.786Z] STF 12:43:56.717 - | MainClass: null [2025-05-11T12:43:56.786Z] STF 12:43:56.717 - | HashModules: null [2025-05-11T12:43:56.786Z] STF 12:43:56.717 - | [2025-05-11T12:43:56.786Z] STF 12:43:56.717 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_0/20250511-124354-UpgModPathTest/modules/5.com.test.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2025-05-11T12:43:56.786Z] STF 12:43:56.718 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_0/20250511-124354-UpgModPathTest/results/5.CMJ.stderr [2025-05-11T12:43:56.786Z] STF 12:43:56.718 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_0/20250511-124354-UpgModPathTest/results/5.CMJ.stdout [2025-05-11T12:43:56.786Z] STF 12:43:56.722 - Monitoring processes: CMJ [2025-05-11T12:43:57.108Z] STF 12:43:56.975 - Monitoring Report Summary: [2025-05-11T12:43:57.108Z] STF 12:43:56.975 - o Process CMJ ended with the expected exit code (0) [2025-05-11T12:43:57.108Z] STF 12:43:56.975 - Created modular jar: 5.com.test.jar [2025-05-11T12:43:57.108Z] STF 12:43:56.975 - [2025-05-11T12:43:57.108Z] STF 12:43:56.975 - +------ Step 6 - Create runtime image for upgrademodulepath test [2025-05-11T12:43:57.108Z] STF 12:43:56.975 - | Run jlink to create runtime image [2025-05-11T12:43:57.108Z] STF 12:43:56.975 - | ImageName: UpJVM [2025-05-11T12:43:57.108Z] STF 12:43:56.975 - | [2025-05-11T12:43:57.108Z] STF 12:43:56.976 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/jlink --module-path c:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jdkbinary\j2sdk-image\jmods;C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\aqa-tests\TKG\output_17469591279390\UpgModPath_Jar_0\20250511-124354-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\aqa-tests\TKG\output_17469591279390\UpgModPath_Jar_0\20250511-124354-UpgModPathTest\tmp\6.UpJVM [2025-05-11T12:43:57.108Z] STF 12:43:56.976 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_0/20250511-124354-UpgModPathTest/results/6.JLNK.stderr [2025-05-11T12:43:57.108Z] STF 12:43:56.976 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_0/20250511-124354-UpgModPathTest/results/6.JLNK.stdout [2025-05-11T12:43:57.108Z] STF 12:43:56.982 - Monitoring processes: JLNK [2025-05-11T12:43:59.276Z] STF 12:43:59.118 - Monitoring Report Summary: [2025-05-11T12:43:59.277Z] STF 12:43:59.118 - o Process JLNK ended with the expected exit code (0) [2025-05-11T12:43:59.277Z] STF 12:43:59.118 - [2025-05-11T12:43:59.277Z] STF 12:43:59.118 - +------ Step 7 - Create com.hello override jar [2025-05-11T12:43:59.277Z] STF 12:43:59.118 - | Create modular jar [2025-05-11T12:43:59.277Z] STF 12:43:59.118 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-05-11T12:43:59.277Z] STF 12:43:59.118 - | ModuleVersion: null [2025-05-11T12:43:59.277Z] STF 12:43:59.118 - | MainClass: null [2025-05-11T12:43:59.277Z] STF 12:43:59.118 - | HashModules: null [2025-05-11T12:43:59.277Z] STF 12:43:59.118 - | [2025-05-11T12:43:59.277Z] STF 12:43:59.119 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_0/20250511-124354-UpgModPathTest/modules/7.com.hello.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2025-05-11T12:43:59.277Z] STF 12:43:59.119 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_0/20250511-124354-UpgModPathTest/results/7.CMJ.stderr [2025-05-11T12:43:59.277Z] STF 12:43:59.119 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_0/20250511-124354-UpgModPathTest/results/7.CMJ.stdout [2025-05-11T12:43:59.277Z] STF 12:43:59.127 - Monitoring processes: CMJ [2025-05-11T12:43:59.598Z] STF 12:43:59.383 - Monitoring Report Summary: [2025-05-11T12:43:59.598Z] STF 12:43:59.383 - o Process CMJ ended with the expected exit code (0) [2025-05-11T12:43:59.598Z] STF 12:43:59.383 - Created modular jar: 7.com.hello.jar [2025-05-11T12:43:59.598Z] STF 12:43:59.383 - [2025-05-11T12:43:59.598Z] STF 12:43:59.383 - +------ Step 8 - Create com.hello override jar [2025-05-11T12:43:59.598Z] STF 12:43:59.383 - | Create modular jar [2025-05-11T12:43:59.598Z] STF 12:43:59.383 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2025-05-11T12:43:59.598Z] STF 12:43:59.383 - | ModuleVersion: null [2025-05-11T12:43:59.598Z] STF 12:43:59.383 - | MainClass: null [2025-05-11T12:43:59.598Z] STF 12:43:59.383 - | HashModules: null [2025-05-11T12:43:59.598Z] STF 12:43:59.383 - | [2025-05-11T12:43:59.598Z] STF 12:43:59.384 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_0/20250511-124354-UpgModPathTest/modules/8.java.logging.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.logging . [2025-05-11T12:43:59.598Z] STF 12:43:59.384 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_0/20250511-124354-UpgModPathTest/results/8.CMJ.stderr [2025-05-11T12:43:59.598Z] STF 12:43:59.384 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_0/20250511-124354-UpgModPathTest/results/8.CMJ.stdout [2025-05-11T12:43:59.598Z] STF 12:43:59.388 - Monitoring processes: CMJ [2025-05-11T12:43:59.919Z] STF 12:43:59.621 - Monitoring Report Summary: [2025-05-11T12:43:59.919Z] STF 12:43:59.621 - o Process CMJ ended with the expected exit code (0) [2025-05-11T12:43:59.919Z] STF 12:43:59.621 - Created modular jar: 8.java.logging.jar [2025-05-11T12:43:59.919Z] STF 12:43:59.621 - [2025-05-11T12:43:59.919Z] STF 12:43:59.621 - +------ Step 9 - Override an application module using modularized jar [2025-05-11T12:43:59.919Z] STF 12:43:59.621 - | Run foreground process [2025-05-11T12:43:59.919Z] STF 12:43:59.621 - | Program: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/java [2025-05-11T12:43:59.919Z] STF 12:43:59.621 - | Mnemonic: OT21 [2025-05-11T12:43:59.919Z] STF 12:43:59.621 - | Echo: ECHO_ON [2025-05-11T12:43:59.919Z] STF 12:43:59.621 - | Expectation: CLEAN_RUN within 1m [2025-05-11T12:43:59.919Z] STF 12:43:59.621 - | [2025-05-11T12:43:59.919Z] STF 12:43:59.622 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --upgrade-module-path C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_0/20250511-124354-UpgModPathTest/modules/7.com.hello.jar --add-modules=com.test -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-05-11T12:43:59.919Z] STF 12:43:59.622 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_0/20250511-124354-UpgModPathTest/results/9.OT21.stderr [2025-05-11T12:43:59.919Z] STF 12:43:59.622 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_0/20250511-124354-UpgModPathTest/results/9.OT21.stdout [2025-05-11T12:43:59.919Z] STF 12:43:59.627 - Monitoring processes: OT21 [2025-05-11T12:44:00.256Z] OT21 JUnit version 4.12 [2025-05-11T12:44:00.256Z] OT21 . [2025-05-11T12:44:00.256Z] OT21 Time: 0.005 [2025-05-11T12:44:00.256Z] OT21 [2025-05-11T12:44:00.256Z] OT21 OK (1 test) [2025-05-11T12:44:00.256Z] OT21 [2025-05-11T12:44:00.256Z] STF 12:43:59.966 - Monitoring Report Summary: [2025-05-11T12:44:00.256Z] STF 12:43:59.966 - o Process OT21 ended with the expected exit code (0) [2025-05-11T12:44:00.256Z] STF 12:43:59.966 - [2025-05-11T12:44:00.256Z] STF 12:43:59.966 - +------ Step 10 - (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar [2025-05-11T12:44:00.256Z] STF 12:43:59.966 - | Run foreground process [2025-05-11T12:44:00.256Z] STF 12:43:59.966 - | Program: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/java [2025-05-11T12:44:00.256Z] STF 12:43:59.966 - | Mnemonic: OT24 [2025-05-11T12:44:00.256Z] STF 12:43:59.966 - | Echo: ECHO_ON [2025-05-11T12:44:00.256Z] STF 12:43:59.966 - | Expectation: NON_ZERO_EXIT [1] within 1m [2025-05-11T12:44:00.256Z] STF 12:43:59.966 - | [2025-05-11T12:44:00.256Z] STF 12:43:59.967 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --upgrade-module-path C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_0/20250511-124354-UpgModPathTest/modules/8.java.logging.jar --add-modules=com.test -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.TestOverrideUsingNonUpgradablePlatformModule [2025-05-11T12:44:00.256Z] STF 12:43:59.967 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_0/20250511-124354-UpgModPathTest/results/10.OT24.stderr [2025-05-11T12:44:00.256Z] STF 12:43:59.967 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_0/20250511-124354-UpgModPathTest/results/10.OT24.stdout [2025-05-11T12:44:00.256Z] STF 12:43:59.972 - Monitoring processes: OT24 [2025-05-11T12:44:00.764Z] OT24 Error occurred during initialization of boot layer [2025-05-11T12:44:00.764Z] OT24 java.lang.module.FindException: Hash of java.logging (c933232478b6e64f0dd21906f92ebdf0ba91f6a33eae10a92bd46936ae530f7a) differs to expected hash (e4e5f16bb349a4b7cad9b29bdeb63e7737b5bb4fbd09e12dd7048ca28b9c63a6) recorded in java.base [2025-05-11T12:44:00.764Z] STF 12:44:00.199 - Monitoring Report Summary: [2025-05-11T12:44:00.764Z] STF 12:44:00.199 - o Process OT24 ended with the expected exit code (1) [2025-05-11T12:44:00.764Z] STF 12:44:00.199 - [2025-05-11T12:44:00.764Z] STF 12:44:00.199 - +------ Step 11 - Combine stderr and stdout files of process OT24 [2025-05-11T12:44:00.764Z] STF 12:44:00.199 - | Run foreground process [2025-05-11T12:44:00.764Z] STF 12:44:00.199 - | Program: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/java [2025-05-11T12:44:00.764Z] STF 12:44:00.199 - | Mnemonic: CO [2025-05-11T12:44:00.764Z] STF 12:44:00.199 - | Echo: ECHO_OFF [2025-05-11T12:44:00.764Z] STF 12:44:00.199 - | Expectation: NON_ZERO_EXIT [0] within 30s [2025-05-11T12:44:00.764Z] STF 12:44:00.200 - | [2025-05-11T12:44:00.764Z] STF 12:44:00.200 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/java -Dfile1=C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_0/20250511-124354-UpgModPathTest/results/10.OT24.stdout -Dfile2=C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_0/20250511-124354-UpgModPathTest/results/10.OT24.stderr -Dfinal.file=C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\aqa-tests\TKG\output_17469591279390\UpgModPath_Jar_0\20250511-124354-UpgModPathTest\results\combinedOT24.txt -XX:+UseCompressedOops -classpath C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\STF\stf.core\bin;C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin net.adoptopenjdk.test.modularity.TestUtil [2025-05-11T12:44:00.764Z] STF 12:44:00.200 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_0/20250511-124354-UpgModPathTest/results/11.CO.stderr [2025-05-11T12:44:00.764Z] STF 12:44:00.200 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_0/20250511-124354-UpgModPathTest/results/11.CO.stdout [2025-05-11T12:44:00.764Z] STF 12:44:00.206 - Monitoring processes: CO [2025-05-11T12:44:00.764Z] STF 12:44:00.332 - Monitoring Report Summary: [2025-05-11T12:44:00.764Z] STF 12:44:00.332 - o Process CO ended with the expected exit code (0) [2025-05-11T12:44:00.764Z] STF 12:44:00.332 - [2025-05-11T12:44:00.764Z] STF 12:44:00.332 - +------ Step 12 - Check output [2025-05-11T12:44:00.764Z] STF 12:44:00.332 - | Count file matches [2025-05-11T12:44:00.764Z] STF 12:44:00.332 - | TargetFile: C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_0/20250511-124354-UpgModPathTest/results/combinedOT24.txt [2025-05-11T12:44:00.764Z] STF 12:44:00.332 - | ExpectedNumMatches: 1 [2025-05-11T12:44:00.764Z] STF 12:44:00.332 - | SearchStrings: ["FindException: Hash of java.logging"] [2025-05-11T12:44:00.764Z] STF 12:44:00.332 - | [2025-05-11T12:44:00.764Z] STF 12:44:00.347 - Found 1 instances of ["FindException: Hash of java.logging"] [2025-05-11T12:44:00.764Z] STF 12:44:00.347 - EXECUTE stage completed [2025-05-11T12:44:00.764Z] STF 12:44:00.363 - [2025-05-11T12:44:00.764Z] STF 12:44:00.363 - ==================== T E A R D O W N ==================== [2025-05-11T12:44:00.764Z] STF 12:44:00.363 - Running teardown: perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/\TKG\output_17469591279390\UpgModPath_Jar_0/20250511-124354-UpgModPathTest/tearDown.pl [2025-05-11T12:44:00.764Z] STF 12:44:00.490 - TEARDOWN stage completed [2025-05-11T12:44:00.764Z] STF 12:44:00.504 - [2025-05-11T12:44:00.764Z] STF 12:44:00.504 - ===================== R E S U L T S ===================== [2025-05-11T12:44:00.764Z] STF 12:44:00.504 - Stage results: [2025-05-11T12:44:00.764Z] STF 12:44:00.504 - setUp: pass [2025-05-11T12:44:00.764Z] STF 12:44:00.504 - execute: pass [2025-05-11T12:44:00.764Z] STF 12:44:00.504 - teardown: pass [2025-05-11T12:44:00.764Z] STF 12:44:00.504 - [2025-05-11T12:44:00.764Z] STF 12:44:00.504 - Overall result: PASSED [2025-05-11T12:44:00.765Z] ----------------------------------- [2025-05-11T12:44:00.765Z] UpgModPath_Jar_0_PASSED [2025-05-11T12:44:00.765Z] ----------------------------------- [2025-05-11T12:44:01.120Z] [2025-05-11T12:44:01.120Z] TEST TEARDOWN: [2025-05-11T12:44:01.120Z] Nothing to be done for teardown. [2025-05-11T12:44:01.120Z] UpgModPath_Jar_0 Finish Time: Sun May 11 12:44:00 2025 Epoch Time (ms): 1746967440955