UpgModPath_JarImg_0

[2025-05-08T12:59:55.317Z] Running test UpgModPath_JarImg_0 ... [2025-05-08T12:59:55.628Z] =============================================== [2025-05-08T12:59:56.062Z] UpgModPath_JarImg_0 Start Time: Thu May 8 12:59:55 2025 Epoch Time (ms): 1746709195652 [2025-05-08T12:59:56.062Z] variation: Mode150 [2025-05-08T12:59:56.526Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-05-08T12:59:56.526Z] { \ [2025-05-08T12:59:56.526Z] echo ""; echo "TEST SETUP:"; \ [2025-05-08T12:59:56.526Z] echo "Nothing to be done for setup."; \ [2025-05-08T12:59:56.526Z] mkdir -p "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/\\TKG\\output_17467007679637\\UpgModPath_JarImg_0"; \ [2025-05-08T12:59:56.526Z] cd "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/\\TKG\\output_17467007679637\\UpgModPath_JarImg_0"; \ [2025-05-08T12:59:56.526Z] echo ""; echo "TESTING:"; \ [2025-05-08T12:59:56.526Z] perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/../../testDependency/system_lib\\" -java-args=' -XX:+UseCompressedOops ' -results-root="C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/\\TKG\\output_17467007679637\\UpgModPath_JarImg_0" -test=UpgModPathTest -test-args="variant=JarImg"; \ [2025-05-08T12:59:56.526Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_JarImg_0""_PASSED"; echo "-----------------------------------"; cd C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/; rm -f -r "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/\\TKG\\output_17467007679637\\UpgModPath_JarImg_0"; else echo "-----------------------------------"; echo "UpgModPath_JarImg_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-05-08T12:59:56.526Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-05-08T12:59:56.526Z] echo "Nothing to be done for teardown."; \ [2025-05-08T12:59:56.526Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/\\TKG\\output_17467007679637\\TestTargetResult"; [2025-05-08T12:59:56.526Z] [2025-05-08T12:59:56.526Z] TEST SETUP: [2025-05-08T12:59:56.526Z] Nothing to be done for setup. [2025-05-08T12:59:56.526Z] [2025-05-08T12:59:56.526Z] TESTING: [2025-05-08T12:59:56.849Z] STF 12:59:56.429 - ========================= S T F ========================= [2025-05-08T12:59:56.849Z] systemtest-prereqs has been processed, and set to: c:/jenkins/testDependency/system_libRetrieving amount of free space on drive containing C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/\TKG\output_17467007679637\UpgModPath_JarImg_0 [2025-05-08T12:59:56.849Z] There is 87136 Mb free [2025-05-08T12:59:56.849Z] STF 12:59:56.481 - ================== G E N E R A T I O N ================== [2025-05-08T12:59:56.849Z] STF 12:59:56.483 - Checking JVM: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image [2025-05-08T12:59:56.849Z] STF 12:59:56.483 - Starting process to generate scripts: c:/jenkins/workspace/Test_openjdk11_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_openjdk11_hs_sanity.system_x86-64_windows/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/../../testDependency/system_lib\/asm/asm.jar;c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/../../testDependency/system_lib\/asm/asm-commons.jar;c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/../../testDependency/system_lib\/log4j/log4j-api.jar;c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/\TKG\output_17467007679637\UpgModPath_JarImg_0/20250508-125956-UpgModPathTest/stf_parameters.properties, , C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/\TKG\output_17467007679637\UpgModPath_JarImg_0/20250508-125956-UpgModPathTest" [2025-05-08T12:59:57.977Z] GEN 12:59:57.556 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: 'C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2025-05-08T12:59:57.977Z] GEN 12:59:57.582 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2025-05-08T12:59:57.977Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-05-08T12:59:57.977Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2025-05-08T12:59:57.977Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2025-05-08T12:59:57.977Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2025-05-08T12:59:57.977Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2025-05-08T12:59:57.977Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2025-05-08T12:59:57.977Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2025-05-08T12:59:57.977Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2025-05-08T12:59:57.977Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2025-05-08T12:59:57.977Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2025-05-08T12:59:57.977Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2025-05-08T12:59:57.977Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2025-05-08T12:59:57.977Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2025-05-08T12:59:57.977Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-05-08T12:59:57.977Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-05-08T12:59:57.977Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-05-08T12:59:57.977Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows\\jvmtest\\system\\STF\\stf.core\\bin [2025-05-08T12:59:57.977Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-05-08T12:59:57.977Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-05-08T12:59:57.977Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar [2025-05-08T12:59:57.977Z] GEN 12:59:57.851 - Using Mode NoOptions. Values = '' [2025-05-08T12:59:58.303Z] GEN 12:59:58.021 - [2025-05-08T12:59:58.303Z] GEN 12:59:58.022 - Test command summary: [2025-05-08T12:59:58.303Z] GEN 12:59:58.022 - Step Stage Command Description [2025-05-08T12:59:58.303Z] GEN 12:59:58.022 - -----+--------+-----------------+------------ [2025-05-08T12:59:58.303Z] GEN 12:59:58.022 - 1 execute jar Create com.hello jar [2025-05-08T12:59:58.303Z] GEN 12:59:58.022 - 2 execute jar Create com.hola jar [2025-05-08T12:59:58.303Z] GEN 12:59:58.022 - 3 execute jar Create com.helper jar [2025-05-08T12:59:58.303Z] GEN 12:59:58.022 - 4 execute jar Create com.discreet jar [2025-05-08T12:59:58.303Z] GEN 12:59:58.022 - 5 execute jar Create tests jar [2025-05-08T12:59:58.304Z] GEN 12:59:58.022 - 6 execute jlink Create runtime image for upgrademodulepath test [2025-05-08T12:59:58.304Z] GEN 12:59:58.022 - 7 execute jar Create com.hello override jar [2025-05-08T12:59:58.304Z] GEN 12:59:58.022 - 8 execute jar Create com.hello override jar [2025-05-08T12:59:58.304Z] GEN 12:59:58.022 - 9 execute Run java Override an application module using a custom runtime image where the overriding module is in a modularized jar [2025-05-08T12:59:58.304Z] GEN 12:59:58.022 - 10 execute Run java (Negative test) Override a non-upgradable platform module using a custom runtime imagewhere the overriding module is in a modularized jar [2025-05-08T12:59:58.304Z] GEN 12:59:58.022 - 11 execute Run java Combine stderr and stdout files of process OT27 [2025-05-08T12:59:58.304Z] GEN 12:59:58.023 - 12 execute count Check output [2025-05-08T12:59:58.304Z] STF 12:59:58.059 - [2025-05-08T12:59:58.304Z] STF 12:59:58.059 - Script generation completed [2025-05-08T12:59:58.304Z] STF 12:59:58.059 - [2025-05-08T12:59:58.304Z] STF 12:59:58.060 - [2025-05-08T12:59:58.304Z] STF 12:59:58.060 - ======================= S E T U P ======================= [2025-05-08T12:59:58.304Z] STF 12:59:58.060 - Running setup: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/\TKG\output_17467007679637\UpgModPath_JarImg_0/20250508-125956-UpgModPathTest/setUp.pl [2025-05-08T12:59:58.304Z] STF 12:59:58.186 - SETUP stage completed [2025-05-08T12:59:58.304Z] STF 12:59:58.198 - [2025-05-08T12:59:58.304Z] STF 12:59:58.198 - ==================== E X E C U T E - ==================== [2025-05-08T12:59:58.304Z] STF 12:59:58.198 - Running execute: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/\TKG\output_17467007679637\UpgModPath_JarImg_0/20250508-125956-UpgModPathTest/execute.pl [2025-05-08T12:59:58.631Z] STF 12:59:58.326 - [2025-05-08T12:59:58.631Z] STF 12:59:58.326 - Java version [2025-05-08T12:59:58.631Z] STF 12:59:58.326 - Running: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/java -version [2025-05-08T12:59:58.631Z] openjdk version "11.0.28-beta" 2025-07-15 [2025-05-08T12:59:58.631Z] OpenJDK Runtime Environment Temurin-11.0.28+1-202505071439 (build 11.0.28-beta+1-ea) [2025-05-08T12:59:58.631Z] OpenJDK 64-Bit Server VM Temurin-11.0.28+1-202505071439 (build 11.0.28-beta+1-ea, mixed mode) [2025-05-08T12:59:58.631Z] STF 12:59:58.444 - [2025-05-08T12:59:58.631Z] STF 12:59:58.444 - +------ Step 1 - Create com.hello jar [2025-05-08T12:59:58.631Z] STF 12:59:58.444 - | Create modular jar [2025-05-08T12:59:58.631Z] STF 12:59:58.445 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-05-08T12:59:58.631Z] STF 12:59:58.445 - | ModuleVersion: null [2025-05-08T12:59:58.631Z] STF 12:59:58.445 - | MainClass: null [2025-05-08T12:59:58.631Z] STF 12:59:58.445 - | HashModules: null [2025-05-08T12:59:58.631Z] STF 12:59:58.445 - | [2025-05-08T12:59:58.631Z] STF 12:59:58.445 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_JarImg_0/20250508-125956-UpgModPathTest/modules/1.com.hello.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2025-05-08T12:59:58.631Z] STF 12:59:58.445 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_JarImg_0/20250508-125956-UpgModPathTest/results/1.CMJ.stderr [2025-05-08T12:59:58.631Z] STF 12:59:58.445 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_JarImg_0/20250508-125956-UpgModPathTest/results/1.CMJ.stdout [2025-05-08T12:59:58.631Z] STF 12:59:58.474 - Monitoring processes: CMJ [2025-05-08T12:59:58.958Z] STF 12:59:58.773 - Monitoring Report Summary: [2025-05-08T12:59:58.958Z] STF 12:59:58.773 - o Process CMJ ended with the expected exit code (0) [2025-05-08T12:59:58.958Z] STF 12:59:58.773 - Created modular jar: 1.com.hello.jar [2025-05-08T12:59:58.958Z] STF 12:59:58.773 - [2025-05-08T12:59:58.958Z] STF 12:59:58.773 - +------ Step 2 - Create com.hola jar [2025-05-08T12:59:58.958Z] STF 12:59:58.773 - | Create modular jar [2025-05-08T12:59:58.958Z] STF 12:59:58.773 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-05-08T12:59:58.958Z] STF 12:59:58.773 - | ModuleVersion: null [2025-05-08T12:59:58.958Z] STF 12:59:58.773 - | MainClass: null [2025-05-08T12:59:58.958Z] STF 12:59:58.773 - | HashModules: null [2025-05-08T12:59:58.958Z] STF 12:59:58.773 - | [2025-05-08T12:59:58.958Z] STF 12:59:58.773 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_JarImg_0/20250508-125956-UpgModPathTest/modules/2.com.hola.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2025-05-08T12:59:58.958Z] STF 12:59:58.774 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_JarImg_0/20250508-125956-UpgModPathTest/results/2.CMJ.stderr [2025-05-08T12:59:58.958Z] STF 12:59:58.774 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_JarImg_0/20250508-125956-UpgModPathTest/results/2.CMJ.stdout [2025-05-08T12:59:58.958Z] STF 12:59:58.779 - Monitoring processes: CMJ [2025-05-08T12:59:59.285Z] STF 12:59:59.103 - Monitoring Report Summary: [2025-05-08T12:59:59.285Z] STF 12:59:59.103 - o Process CMJ ended with the expected exit code (0) [2025-05-08T12:59:59.285Z] STF 12:59:59.103 - Created modular jar: 2.com.hola.jar [2025-05-08T12:59:59.285Z] STF 12:59:59.103 - [2025-05-08T12:59:59.285Z] STF 12:59:59.103 - +------ Step 3 - Create com.helper jar [2025-05-08T12:59:59.285Z] STF 12:59:59.103 - | Create modular jar [2025-05-08T12:59:59.285Z] STF 12:59:59.103 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-05-08T12:59:59.285Z] STF 12:59:59.103 - | ModuleVersion: null [2025-05-08T12:59:59.285Z] STF 12:59:59.103 - | MainClass: null [2025-05-08T12:59:59.286Z] STF 12:59:59.103 - | HashModules: null [2025-05-08T12:59:59.286Z] STF 12:59:59.103 - | [2025-05-08T12:59:59.286Z] STF 12:59:59.104 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_JarImg_0/20250508-125956-UpgModPathTest/modules/3.com.helper.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2025-05-08T12:59:59.286Z] STF 12:59:59.104 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_JarImg_0/20250508-125956-UpgModPathTest/results/3.CMJ.stderr [2025-05-08T12:59:59.286Z] STF 12:59:59.104 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_JarImg_0/20250508-125956-UpgModPathTest/results/3.CMJ.stdout [2025-05-08T12:59:59.286Z] STF 12:59:59.109 - Monitoring processes: CMJ [2025-05-08T12:59:59.614Z] STF 12:59:59.424 - Monitoring Report Summary: [2025-05-08T12:59:59.614Z] STF 12:59:59.424 - o Process CMJ ended with the expected exit code (0) [2025-05-08T12:59:59.614Z] STF 12:59:59.425 - Created modular jar: 3.com.helper.jar [2025-05-08T12:59:59.614Z] STF 12:59:59.425 - [2025-05-08T12:59:59.614Z] STF 12:59:59.425 - +------ Step 4 - Create com.discreet jar [2025-05-08T12:59:59.614Z] STF 12:59:59.425 - | Create modular jar [2025-05-08T12:59:59.614Z] STF 12:59:59.425 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-05-08T12:59:59.614Z] STF 12:59:59.425 - | ModuleVersion: null [2025-05-08T12:59:59.614Z] STF 12:59:59.425 - | MainClass: null [2025-05-08T12:59:59.614Z] STF 12:59:59.425 - | HashModules: null [2025-05-08T12:59:59.614Z] STF 12:59:59.425 - | [2025-05-08T12:59:59.614Z] STF 12:59:59.425 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_JarImg_0/20250508-125956-UpgModPathTest/modules/4.com.discreet.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2025-05-08T12:59:59.614Z] STF 12:59:59.425 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_JarImg_0/20250508-125956-UpgModPathTest/results/4.CMJ.stderr [2025-05-08T12:59:59.614Z] STF 12:59:59.425 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_JarImg_0/20250508-125956-UpgModPathTest/results/4.CMJ.stdout [2025-05-08T12:59:59.614Z] STF 12:59:59.432 - Monitoring processes: CMJ [2025-05-08T12:59:59.941Z] STF 12:59:59.734 - Monitoring Report Summary: [2025-05-08T12:59:59.941Z] STF 12:59:59.734 - o Process CMJ ended with the expected exit code (0) [2025-05-08T12:59:59.941Z] STF 12:59:59.734 - Created modular jar: 4.com.discreet.jar [2025-05-08T12:59:59.941Z] STF 12:59:59.734 - [2025-05-08T12:59:59.941Z] STF 12:59:59.734 - +------ Step 5 - Create tests jar [2025-05-08T12:59:59.941Z] STF 12:59:59.734 - | Create modular jar [2025-05-08T12:59:59.941Z] STF 12:59:59.734 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-05-08T12:59:59.941Z] STF 12:59:59.734 - | ModuleVersion: null [2025-05-08T12:59:59.941Z] STF 12:59:59.734 - | MainClass: null [2025-05-08T12:59:59.941Z] STF 12:59:59.734 - | HashModules: null [2025-05-08T12:59:59.941Z] STF 12:59:59.734 - | [2025-05-08T12:59:59.941Z] STF 12:59:59.734 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_JarImg_0/20250508-125956-UpgModPathTest/modules/5.com.test.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2025-05-08T12:59:59.941Z] STF 12:59:59.734 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_JarImg_0/20250508-125956-UpgModPathTest/results/5.CMJ.stderr [2025-05-08T12:59:59.941Z] STF 12:59:59.734 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_JarImg_0/20250508-125956-UpgModPathTest/results/5.CMJ.stdout [2025-05-08T12:59:59.941Z] STF 12:59:59.740 - Monitoring processes: CMJ [2025-05-08T13:00:00.268Z] STF 13:00:00.091 - Monitoring Report Summary: [2025-05-08T13:00:00.268Z] STF 13:00:00.091 - o Process CMJ ended with the expected exit code (0) [2025-05-08T13:00:00.268Z] STF 13:00:00.091 - Created modular jar: 5.com.test.jar [2025-05-08T13:00:00.268Z] STF 13:00:00.091 - [2025-05-08T13:00:00.268Z] STF 13:00:00.091 - +------ Step 6 - Create runtime image for upgrademodulepath test [2025-05-08T13:00:00.268Z] STF 13:00:00.091 - | Run jlink to create runtime image [2025-05-08T13:00:00.268Z] STF 13:00:00.091 - | ImageName: UpJVM [2025-05-08T13:00:00.268Z] STF 13:00:00.091 - | [2025-05-08T13:00:00.268Z] STF 13:00:00.091 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/jlink --module-path c:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jdkbinary\j2sdk-image\jmods;C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\aqa-tests\TKG\output_17467007679637\UpgModPath_JarImg_0\20250508-125956-UpgModPathTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\aqa-tests\TKG\output_17467007679637\UpgModPath_JarImg_0\20250508-125956-UpgModPathTest\tmp\6.UpJVM [2025-05-08T13:00:00.268Z] STF 13:00:00.092 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_JarImg_0/20250508-125956-UpgModPathTest/results/6.JLNK.stderr [2025-05-08T13:00:00.268Z] STF 13:00:00.092 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_JarImg_0/20250508-125956-UpgModPathTest/results/6.JLNK.stdout [2025-05-08T13:00:00.268Z] STF 13:00:00.097 - Monitoring processes: JLNK [2025-05-08T13:00:03.124Z] STF 13:00:02.457 - Monitoring Report Summary: [2025-05-08T13:00:03.124Z] STF 13:00:02.457 - o Process JLNK ended with the expected exit code (0) [2025-05-08T13:00:03.124Z] STF 13:00:02.457 - [2025-05-08T13:00:03.124Z] STF 13:00:02.457 - +------ Step 7 - Create com.hello override jar [2025-05-08T13:00:03.124Z] STF 13:00:02.457 - | Create modular jar [2025-05-08T13:00:03.124Z] STF 13:00:02.457 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-05-08T13:00:03.124Z] STF 13:00:02.457 - | ModuleVersion: null [2025-05-08T13:00:03.124Z] STF 13:00:02.457 - | MainClass: null [2025-05-08T13:00:03.124Z] STF 13:00:02.457 - | HashModules: null [2025-05-08T13:00:03.124Z] STF 13:00:02.457 - | [2025-05-08T13:00:03.124Z] STF 13:00:02.458 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_JarImg_0/20250508-125956-UpgModPathTest/modules/7.com.hello.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2025-05-08T13:00:03.124Z] STF 13:00:02.458 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_JarImg_0/20250508-125956-UpgModPathTest/results/7.CMJ.stderr [2025-05-08T13:00:03.124Z] STF 13:00:02.458 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_JarImg_0/20250508-125956-UpgModPathTest/results/7.CMJ.stdout [2025-05-08T13:00:03.124Z] STF 13:00:02.464 - Monitoring processes: CMJ [2025-05-08T13:00:03.124Z] STF 13:00:02.757 - Monitoring Report Summary: [2025-05-08T13:00:03.124Z] STF 13:00:02.757 - o Process CMJ ended with the expected exit code (0) [2025-05-08T13:00:03.124Z] STF 13:00:02.758 - Created modular jar: 7.com.hello.jar [2025-05-08T13:00:03.124Z] STF 13:00:02.758 - [2025-05-08T13:00:03.124Z] STF 13:00:02.758 - +------ Step 8 - Create com.hello override jar [2025-05-08T13:00:03.124Z] STF 13:00:02.758 - | Create modular jar [2025-05-08T13:00:03.124Z] STF 13:00:02.758 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2025-05-08T13:00:03.124Z] STF 13:00:02.758 - | ModuleVersion: null [2025-05-08T13:00:03.124Z] STF 13:00:02.758 - | MainClass: null [2025-05-08T13:00:03.124Z] STF 13:00:02.758 - | HashModules: null [2025-05-08T13:00:03.124Z] STF 13:00:02.758 - | [2025-05-08T13:00:03.124Z] STF 13:00:02.758 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_JarImg_0/20250508-125956-UpgModPathTest/modules/8.java.logging.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.logging . [2025-05-08T13:00:03.124Z] STF 13:00:02.758 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_JarImg_0/20250508-125956-UpgModPathTest/results/8.CMJ.stderr [2025-05-08T13:00:03.124Z] STF 13:00:02.758 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_JarImg_0/20250508-125956-UpgModPathTest/results/8.CMJ.stdout [2025-05-08T13:00:03.124Z] STF 13:00:02.763 - Monitoring processes: CMJ [2025-05-08T13:00:03.448Z] STF 13:00:03.085 - Monitoring Report Summary: [2025-05-08T13:00:03.448Z] STF 13:00:03.085 - o Process CMJ ended with the expected exit code (0) [2025-05-08T13:00:03.448Z] STF 13:00:03.085 - Created modular jar: 8.java.logging.jar [2025-05-08T13:00:03.448Z] STF 13:00:03.085 - [2025-05-08T13:00:03.448Z] STF 13:00:03.085 - +------ Step 9 - Override an application module using a custom runtime image where the overriding module is in a modularized jar [2025-05-08T13:00:03.448Z] STF 13:00:03.085 - | Run foreground process [2025-05-08T13:00:03.448Z] STF 13:00:03.085 - | Program: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_JarImg_0/20250508-125956-UpgModPathTest/tmp/6.UpJVM/bin/java [2025-05-08T13:00:03.448Z] STF 13:00:03.085 - | Mnemonic: OT25 [2025-05-08T13:00:03.448Z] STF 13:00:03.085 - | Echo: ECHO_ON [2025-05-08T13:00:03.448Z] STF 13:00:03.085 - | Expectation: CLEAN_RUN within 1m [2025-05-08T13:00:03.448Z] STF 13:00:03.085 - | [2025-05-08T13:00:03.448Z] STF 13:00:03.085 - Running command: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_JarImg_0/20250508-125956-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_JarImg_0/20250508-125956-UpgModPathTest/modules/7.com.hello.jar -XX:+UseCompressedOops -classpath c:/jenkins/testDependency/system_lib/junit/junit.jar;c:/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2025-05-08T13:00:03.448Z] STF 13:00:03.085 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_JarImg_0/20250508-125956-UpgModPathTest/results/9.OT25.stderr [2025-05-08T13:00:03.448Z] STF 13:00:03.085 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_JarImg_0/20250508-125956-UpgModPathTest/results/9.OT25.stdout [2025-05-08T13:00:03.448Z] STF 13:00:03.105 - Monitoring processes: OT25 [2025-05-08T13:00:03.448Z] OT25 JUnit version 4.12 [2025-05-08T13:00:03.448Z] OT25 . [2025-05-08T13:00:03.448Z] OT25 Time: 0.006 [2025-05-08T13:00:03.448Z] OT25 [2025-05-08T13:00:03.448Z] OT25 OK (1 test) [2025-05-08T13:00:03.448Z] OT25 [2025-05-08T13:00:03.448Z] STF 13:00:03.377 - Monitoring Report Summary: [2025-05-08T13:00:03.448Z] STF 13:00:03.377 - o Process OT25 ended with the expected exit code (0) [2025-05-08T13:00:03.448Z] STF 13:00:03.377 - [2025-05-08T13:00:03.448Z] STF 13:00:03.377 - +------ Step 10 - (Negative test) Override a non-upgradable platform module using a custom runtime imagewhere the overriding module is in a modularized jar [2025-05-08T13:00:03.448Z] STF 13:00:03.378 - | Run foreground process [2025-05-08T13:00:03.448Z] STF 13:00:03.378 - | Program: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_JarImg_0/20250508-125956-UpgModPathTest/tmp/6.UpJVM/bin/java [2025-05-08T13:00:03.448Z] STF 13:00:03.378 - | Mnemonic: OT27 [2025-05-08T13:00:03.448Z] STF 13:00:03.378 - | Echo: ECHO_ON [2025-05-08T13:00:03.448Z] STF 13:00:03.378 - | Expectation: NON_ZERO_EXIT [1] within 1m [2025-05-08T13:00:03.448Z] STF 13:00:03.378 - | [2025-05-08T13:00:03.449Z] STF 13:00:03.378 - Running command: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_JarImg_0/20250508-125956-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_JarImg_0/20250508-125956-UpgModPathTest/modules/8.java.logging.jar -XX:+UseCompressedOops -classpath c:/jenkins/testDependency/system_lib/junit/junit.jar;c:/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingNonUpgradablePlatformModule [2025-05-08T13:00:03.449Z] STF 13:00:03.378 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_JarImg_0/20250508-125956-UpgModPathTest/results/10.OT27.stderr [2025-05-08T13:00:03.449Z] STF 13:00:03.378 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_JarImg_0/20250508-125956-UpgModPathTest/results/10.OT27.stdout [2025-05-08T13:00:03.772Z] STF 13:00:03.383 - Monitoring processes: OT27 [2025-05-08T13:00:03.772Z] OT27 Error occurred during initialization of boot layer [2025-05-08T13:00:03.772Z] OT27 java.lang.module.FindException: Hash of java.logging (83b4240ddd5a0bdf573e65819e2187b066233697ffbcc0af8aa0762dae63edf7) differs to expected hash (d2141f1457e658b15e599ce8eb2c2c42d3f675061216ddd6795099c6f1b6b0dc) recorded in java.base [2025-05-08T13:00:03.772Z] STF 13:00:03.567 - Monitoring Report Summary: [2025-05-08T13:00:03.772Z] STF 13:00:03.567 - o Process OT27 ended with the expected exit code (1) [2025-05-08T13:00:03.772Z] STF 13:00:03.568 - [2025-05-08T13:00:03.772Z] STF 13:00:03.568 - +------ Step 11 - Combine stderr and stdout files of process OT27 [2025-05-08T13:00:03.772Z] STF 13:00:03.568 - | Run foreground process [2025-05-08T13:00:03.772Z] STF 13:00:03.568 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/java [2025-05-08T13:00:03.772Z] STF 13:00:03.568 - | Mnemonic: CO [2025-05-08T13:00:03.772Z] STF 13:00:03.568 - | Echo: ECHO_OFF [2025-05-08T13:00:03.772Z] STF 13:00:03.568 - | Expectation: NON_ZERO_EXIT [0] within 30s [2025-05-08T13:00:03.772Z] STF 13:00:03.568 - | [2025-05-08T13:00:03.772Z] STF 13:00:03.568 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/java -Dfile1=C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_JarImg_0/20250508-125956-UpgModPathTest/results/10.OT27.stdout -Dfile2=C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_JarImg_0/20250508-125956-UpgModPathTest/results/10.OT27.stderr -Dfinal.file=C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\aqa-tests\TKG\output_17467007679637\UpgModPath_JarImg_0\20250508-125956-UpgModPathTest\results\combinedOT27.txt -XX:+UseCompressedOops -classpath C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\STF\stf.core\bin;C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin net.adoptopenjdk.test.modularity.TestUtil [2025-05-08T13:00:03.772Z] STF 13:00:03.568 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_JarImg_0/20250508-125956-UpgModPathTest/results/11.CO.stderr [2025-05-08T13:00:03.772Z] STF 13:00:03.568 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_JarImg_0/20250508-125956-UpgModPathTest/results/11.CO.stdout [2025-05-08T13:00:03.772Z] STF 13:00:03.573 - Monitoring processes: CO [2025-05-08T13:00:04.176Z] STF 13:00:03.761 - Monitoring Report Summary: [2025-05-08T13:00:04.176Z] STF 13:00:03.761 - o Process CO ended with the expected exit code (0) [2025-05-08T13:00:04.176Z] STF 13:00:03.762 - [2025-05-08T13:00:04.176Z] STF 13:00:03.762 - +------ Step 12 - Check output [2025-05-08T13:00:04.176Z] STF 13:00:03.762 - | Count file matches [2025-05-08T13:00:04.176Z] STF 13:00:03.762 - | TargetFile: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_JarImg_0/20250508-125956-UpgModPathTest/results/combinedOT27.txt [2025-05-08T13:00:04.176Z] STF 13:00:03.762 - | ExpectedNumMatches: 1 [2025-05-08T13:00:04.176Z] STF 13:00:03.762 - | SearchStrings: ["FindException: Hash of java.logging"] [2025-05-08T13:00:04.176Z] STF 13:00:03.762 - | [2025-05-08T13:00:04.176Z] STF 13:00:03.763 - Found 1 instances of ["FindException: Hash of java.logging"] [2025-05-08T13:00:04.176Z] STF 13:00:03.763 - EXECUTE stage completed [2025-05-08T13:00:04.176Z] STF 13:00:03.785 - [2025-05-08T13:00:04.176Z] STF 13:00:03.785 - ==================== T E A R D O W N ==================== [2025-05-08T13:00:04.176Z] STF 13:00:03.785 - Running teardown: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/\TKG\output_17467007679637\UpgModPath_JarImg_0/20250508-125956-UpgModPathTest/tearDown.pl [2025-05-08T13:00:04.176Z] STF 13:00:03.909 - TEARDOWN stage completed [2025-05-08T13:00:04.176Z] STF 13:00:03.921 - [2025-05-08T13:00:04.176Z] STF 13:00:03.921 - ===================== R E S U L T S ===================== [2025-05-08T13:00:04.176Z] STF 13:00:03.921 - Stage results: [2025-05-08T13:00:04.176Z] STF 13:00:03.921 - setUp: pass [2025-05-08T13:00:04.176Z] STF 13:00:03.921 - execute: pass [2025-05-08T13:00:04.176Z] STF 13:00:03.921 - teardown: pass [2025-05-08T13:00:04.176Z] STF 13:00:03.921 - [2025-05-08T13:00:04.176Z] STF 13:00:03.921 - Overall result: PASSED [2025-05-08T13:00:04.176Z] ----------------------------------- [2025-05-08T13:00:04.176Z] UpgModPath_JarImg_0_PASSED [2025-05-08T13:00:04.176Z] ----------------------------------- [2025-05-08T13:00:04.176Z] [2025-05-08T13:00:04.176Z] TEST TEARDOWN: [2025-05-08T13:00:04.176Z] Nothing to be done for teardown. [2025-05-08T13:00:04.620Z] UpgModPath_JarImg_0 Finish Time: Thu May 8 13:00:04 2025 Epoch Time (ms): 1746709204227