UpgModPath_Jar_1

[2025-05-08T12:59:43.737Z] Running test UpgModPath_Jar_1 ... [2025-05-08T12:59:44.148Z] =============================================== [2025-05-08T12:59:44.148Z] UpgModPath_Jar_1 Start Time: Thu May 8 12:59:43 2025 Epoch Time (ms): 1746709183982 [2025-05-08T12:59:44.631Z] variation: Mode650 [2025-05-08T12:59:44.631Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-05-08T12:59:44.631Z] { \ [2025-05-08T12:59:44.631Z] echo ""; echo "TEST SETUP:"; \ [2025-05-08T12:59:44.631Z] echo "Nothing to be done for setup."; \ [2025-05-08T12:59:44.631Z] mkdir -p "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/\\TKG\\output_17467007679637\\UpgModPath_Jar_1"; \ [2025-05-08T12:59:44.631Z] cd "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/\\TKG\\output_17467007679637\\UpgModPath_Jar_1"; \ [2025-05-08T12:59:44.631Z] echo ""; echo "TESTING:"; \ [2025-05-08T12:59:44.631Z] 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_Jar_1" -test=UpgModPathTest -test-args="variant=Jar"; \ [2025-05-08T12:59:44.631Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_Jar_1""_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_Jar_1"; else echo "-----------------------------------"; echo "UpgModPath_Jar_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-05-08T12:59:44.631Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-05-08T12:59:44.631Z] echo "Nothing to be done for teardown."; \ [2025-05-08T12:59:44.631Z] } 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:44.956Z] [2025-05-08T12:59:44.956Z] TEST SETUP: [2025-05-08T12:59:44.956Z] Nothing to be done for setup. [2025-05-08T12:59:44.956Z] [2025-05-08T12:59:44.956Z] TESTING: [2025-05-08T12:59:44.956Z] STF 12:59:44.794 - ========================= S T F ========================= [2025-05-08T12:59:44.956Z] 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_Jar_1 [2025-05-08T12:59:44.956Z] There is 87140 Mb free [2025-05-08T12:59:44.956Z] STF 12:59:44.840 - ================== G E N E R A T I O N ================== [2025-05-08T12:59:44.956Z] STF 12:59:44.842 - Checking JVM: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image [2025-05-08T12:59:44.957Z] STF 12:59:44.843 - 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_Jar_1/20250508-125944-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_Jar_1/20250508-125944-UpgModPathTest" [2025-05-08T12:59:46.066Z] GEN 12:59:45.886 - 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:46.066Z] GEN 12:59:45.913 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2025-05-08T12:59:46.391Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-05-08T12:59:46.391Z] 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:46.391Z] 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:46.391Z] 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:46.391Z] 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:46.391Z] 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:46.391Z] 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:46.391Z] 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:46.391Z] 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:46.391Z] 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:46.391Z] 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:46.391Z] 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:46.391Z] 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:46.391Z] 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:46.391Z] 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:46.391Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-05-08T12:59:46.391Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows\\jvmtest\\system\\STF\\stf.core\\bin [2025-05-08T12:59:46.391Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-05-08T12:59:46.391Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-05-08T12:59:46.391Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar [2025-05-08T12:59:46.391Z] GEN 12:59:46.149 - Using Mode NoOptions. Values = '' [2025-05-08T12:59:46.391Z] GEN 12:59:46.290 - [2025-05-08T12:59:46.391Z] GEN 12:59:46.290 - Test command summary: [2025-05-08T12:59:46.391Z] GEN 12:59:46.291 - Step Stage Command Description [2025-05-08T12:59:46.391Z] GEN 12:59:46.291 - -----+--------+-----------------+------------ [2025-05-08T12:59:46.391Z] GEN 12:59:46.291 - 1 execute jar Create com.hello jar [2025-05-08T12:59:46.391Z] GEN 12:59:46.291 - 2 execute jar Create com.hola jar [2025-05-08T12:59:46.391Z] GEN 12:59:46.291 - 3 execute jar Create com.helper jar [2025-05-08T12:59:46.391Z] GEN 12:59:46.291 - 4 execute jar Create com.discreet jar [2025-05-08T12:59:46.392Z] GEN 12:59:46.291 - 5 execute jar Create tests jar [2025-05-08T12:59:46.392Z] GEN 12:59:46.291 - 6 execute jlink Create runtime image for upgrademodulepath test [2025-05-08T12:59:46.392Z] GEN 12:59:46.291 - 7 execute jar Create com.hello override jar [2025-05-08T12:59:46.392Z] GEN 12:59:46.291 - 8 execute jar Create com.hello override jar [2025-05-08T12:59:46.392Z] GEN 12:59:46.291 - 9 execute Run java Override an application module using modularized jar [2025-05-08T12:59:46.392Z] GEN 12:59:46.291 - 10 execute Run java (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar [2025-05-08T12:59:46.392Z] GEN 12:59:46.291 - 11 execute Run java Combine stderr and stdout files of process OT24 [2025-05-08T12:59:46.392Z] GEN 12:59:46.292 - 12 execute count Check output [2025-05-08T12:59:46.392Z] STF 12:59:46.332 - [2025-05-08T12:59:46.392Z] STF 12:59:46.332 - Script generation completed [2025-05-08T12:59:46.392Z] STF 12:59:46.332 - [2025-05-08T12:59:46.392Z] STF 12:59:46.333 - [2025-05-08T12:59:46.392Z] STF 12:59:46.333 - ======================= S E T U P ======================= [2025-05-08T12:59:46.392Z] STF 12:59:46.333 - Running setup: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/\TKG\output_17467007679637\UpgModPath_Jar_1/20250508-125944-UpgModPathTest/setUp.pl [2025-05-08T12:59:46.720Z] STF 12:59:46.463 - SETUP stage completed [2025-05-08T12:59:46.720Z] STF 12:59:46.474 - [2025-05-08T12:59:46.720Z] STF 12:59:46.474 - ==================== E X E C U T E - ==================== [2025-05-08T12:59:46.720Z] STF 12:59:46.474 - Running execute: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/\TKG\output_17467007679637\UpgModPath_Jar_1/20250508-125944-UpgModPathTest/execute.pl [2025-05-08T12:59:46.720Z] STF 12:59:46.604 - [2025-05-08T12:59:46.720Z] STF 12:59:46.604 - Java version [2025-05-08T12:59:46.720Z] STF 12:59:46.604 - Running: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/java -version [2025-05-08T12:59:47.049Z] openjdk version "11.0.28-beta" 2025-07-15 [2025-05-08T12:59:47.049Z] OpenJDK Runtime Environment Temurin-11.0.28+1-202505071439 (build 11.0.28-beta+1-ea) [2025-05-08T12:59:47.049Z] OpenJDK 64-Bit Server VM Temurin-11.0.28+1-202505071439 (build 11.0.28-beta+1-ea, mixed mode) [2025-05-08T12:59:47.049Z] STF 12:59:46.731 - [2025-05-08T12:59:47.049Z] STF 12:59:46.731 - +------ Step 1 - Create com.hello jar [2025-05-08T12:59:47.049Z] STF 12:59:46.731 - | Create modular jar [2025-05-08T12:59:47.049Z] STF 12:59:46.731 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-05-08T12:59:47.049Z] STF 12:59:46.731 - | ModuleVersion: null [2025-05-08T12:59:47.049Z] STF 12:59:46.731 - | MainClass: null [2025-05-08T12:59:47.049Z] STF 12:59:46.731 - | HashModules: null [2025-05-08T12:59:47.049Z] STF 12:59:46.731 - | [2025-05-08T12:59:47.049Z] STF 12:59:46.731 - 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_Jar_1/20250508-125944-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:47.049Z] STF 12:59:46.732 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_1/20250508-125944-UpgModPathTest/results/1.CMJ.stderr [2025-05-08T12:59:47.049Z] STF 12:59:46.732 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_1/20250508-125944-UpgModPathTest/results/1.CMJ.stdout [2025-05-08T12:59:47.049Z] STF 12:59:46.765 - Monitoring processes: CMJ [2025-05-08T12:59:47.377Z] STF 12:59:47.070 - Monitoring Report Summary: [2025-05-08T12:59:47.377Z] STF 12:59:47.070 - o Process CMJ ended with the expected exit code (0) [2025-05-08T12:59:47.377Z] STF 12:59:47.070 - Created modular jar: 1.com.hello.jar [2025-05-08T12:59:47.377Z] STF 12:59:47.070 - [2025-05-08T12:59:47.377Z] STF 12:59:47.070 - +------ Step 2 - Create com.hola jar [2025-05-08T12:59:47.377Z] STF 12:59:47.070 - | Create modular jar [2025-05-08T12:59:47.377Z] STF 12:59:47.070 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-05-08T12:59:47.377Z] STF 12:59:47.070 - | ModuleVersion: null [2025-05-08T12:59:47.377Z] STF 12:59:47.070 - | MainClass: null [2025-05-08T12:59:47.377Z] STF 12:59:47.070 - | HashModules: null [2025-05-08T12:59:47.377Z] STF 12:59:47.070 - | [2025-05-08T12:59:47.377Z] STF 12:59:47.070 - 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_Jar_1/20250508-125944-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:47.377Z] STF 12:59:47.070 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_1/20250508-125944-UpgModPathTest/results/2.CMJ.stderr [2025-05-08T12:59:47.377Z] STF 12:59:47.070 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_1/20250508-125944-UpgModPathTest/results/2.CMJ.stdout [2025-05-08T12:59:47.377Z] STF 12:59:47.076 - Monitoring processes: CMJ [2025-05-08T12:59:47.690Z] STF 12:59:47.372 - Monitoring Report Summary: [2025-05-08T12:59:47.690Z] STF 12:59:47.372 - o Process CMJ ended with the expected exit code (0) [2025-05-08T12:59:47.690Z] STF 12:59:47.373 - Created modular jar: 2.com.hola.jar [2025-05-08T12:59:47.690Z] STF 12:59:47.373 - [2025-05-08T12:59:47.690Z] STF 12:59:47.373 - +------ Step 3 - Create com.helper jar [2025-05-08T12:59:47.690Z] STF 12:59:47.373 - | Create modular jar [2025-05-08T12:59:47.690Z] STF 12:59:47.373 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-05-08T12:59:47.690Z] STF 12:59:47.373 - | ModuleVersion: null [2025-05-08T12:59:47.690Z] STF 12:59:47.373 - | MainClass: null [2025-05-08T12:59:47.690Z] STF 12:59:47.373 - | HashModules: null [2025-05-08T12:59:47.690Z] STF 12:59:47.373 - | [2025-05-08T12:59:47.690Z] STF 12:59:47.373 - 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_Jar_1/20250508-125944-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:47.690Z] STF 12:59:47.373 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_1/20250508-125944-UpgModPathTest/results/3.CMJ.stderr [2025-05-08T12:59:47.690Z] STF 12:59:47.373 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_1/20250508-125944-UpgModPathTest/results/3.CMJ.stdout [2025-05-08T12:59:47.691Z] STF 12:59:47.379 - Monitoring processes: CMJ [2025-05-08T12:59:48.017Z] STF 12:59:47.703 - Monitoring Report Summary: [2025-05-08T12:59:48.017Z] STF 12:59:47.703 - o Process CMJ ended with the expected exit code (0) [2025-05-08T12:59:48.017Z] STF 12:59:47.703 - Created modular jar: 3.com.helper.jar [2025-05-08T12:59:48.017Z] STF 12:59:47.703 - [2025-05-08T12:59:48.017Z] STF 12:59:47.703 - +------ Step 4 - Create com.discreet jar [2025-05-08T12:59:48.017Z] STF 12:59:47.703 - | Create modular jar [2025-05-08T12:59:48.017Z] STF 12:59:47.703 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-05-08T12:59:48.017Z] STF 12:59:47.703 - | ModuleVersion: null [2025-05-08T12:59:48.017Z] STF 12:59:47.703 - | MainClass: null [2025-05-08T12:59:48.017Z] STF 12:59:47.703 - | HashModules: null [2025-05-08T12:59:48.017Z] STF 12:59:47.703 - | [2025-05-08T12:59:48.017Z] STF 12:59:47.703 - 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_Jar_1/20250508-125944-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:48.017Z] STF 12:59:47.703 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_1/20250508-125944-UpgModPathTest/results/4.CMJ.stderr [2025-05-08T12:59:48.017Z] STF 12:59:47.703 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_1/20250508-125944-UpgModPathTest/results/4.CMJ.stdout [2025-05-08T12:59:48.017Z] STF 12:59:47.709 - Monitoring processes: CMJ [2025-05-08T12:59:48.340Z] STF 12:59:48.012 - Monitoring Report Summary: [2025-05-08T12:59:48.340Z] STF 12:59:48.012 - o Process CMJ ended with the expected exit code (0) [2025-05-08T12:59:48.340Z] STF 12:59:48.012 - Created modular jar: 4.com.discreet.jar [2025-05-08T12:59:48.340Z] STF 12:59:48.012 - [2025-05-08T12:59:48.340Z] STF 12:59:48.012 - +------ Step 5 - Create tests jar [2025-05-08T12:59:48.340Z] STF 12:59:48.012 - | Create modular jar [2025-05-08T12:59:48.340Z] STF 12:59:48.012 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-05-08T12:59:48.340Z] STF 12:59:48.012 - | ModuleVersion: null [2025-05-08T12:59:48.340Z] STF 12:59:48.012 - | MainClass: null [2025-05-08T12:59:48.340Z] STF 12:59:48.012 - | HashModules: null [2025-05-08T12:59:48.340Z] STF 12:59:48.012 - | [2025-05-08T12:59:48.340Z] STF 12:59:48.012 - 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_Jar_1/20250508-125944-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:48.340Z] STF 12:59:48.012 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_1/20250508-125944-UpgModPathTest/results/5.CMJ.stderr [2025-05-08T12:59:48.340Z] STF 12:59:48.012 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_1/20250508-125944-UpgModPathTest/results/5.CMJ.stdout [2025-05-08T12:59:48.340Z] STF 12:59:48.017 - Monitoring processes: CMJ [2025-05-08T12:59:48.670Z] STF 12:59:48.329 - Monitoring Report Summary: [2025-05-08T12:59:48.670Z] STF 12:59:48.329 - o Process CMJ ended with the expected exit code (0) [2025-05-08T12:59:48.670Z] STF 12:59:48.329 - Created modular jar: 5.com.test.jar [2025-05-08T12:59:48.670Z] STF 12:59:48.329 - [2025-05-08T12:59:48.671Z] STF 12:59:48.329 - +------ Step 6 - Create runtime image for upgrademodulepath test [2025-05-08T12:59:48.671Z] STF 12:59:48.329 - | Run jlink to create runtime image [2025-05-08T12:59:48.671Z] STF 12:59:48.329 - | ImageName: UpJVM [2025-05-08T12:59:48.671Z] STF 12:59:48.329 - | [2025-05-08T12:59:48.671Z] STF 12:59:48.329 - 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_Jar_1\20250508-125944-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_Jar_1\20250508-125944-UpgModPathTest\tmp\6.UpJVM [2025-05-08T12:59:48.671Z] STF 12:59:48.329 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_1/20250508-125944-UpgModPathTest/results/6.JLNK.stderr [2025-05-08T12:59:48.671Z] STF 12:59:48.329 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_1/20250508-125944-UpgModPathTest/results/6.JLNK.stdout [2025-05-08T12:59:48.671Z] STF 12:59:48.336 - Monitoring processes: JLNK [2025-05-08T12:59:50.867Z] STF 12:59:50.719 - Monitoring Report Summary: [2025-05-08T12:59:50.867Z] STF 12:59:50.719 - o Process JLNK ended with the expected exit code (0) [2025-05-08T12:59:50.867Z] STF 12:59:50.719 - [2025-05-08T12:59:50.867Z] STF 12:59:50.719 - +------ Step 7 - Create com.hello override jar [2025-05-08T12:59:50.867Z] STF 12:59:50.719 - | Create modular jar [2025-05-08T12:59:50.867Z] STF 12:59:50.719 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-05-08T12:59:50.867Z] STF 12:59:50.719 - | ModuleVersion: null [2025-05-08T12:59:50.867Z] STF 12:59:50.719 - | MainClass: null [2025-05-08T12:59:50.867Z] STF 12:59:50.719 - | HashModules: null [2025-05-08T12:59:50.867Z] STF 12:59:50.720 - | [2025-05-08T12:59:50.867Z] STF 12:59:50.720 - 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_Jar_1/20250508-125944-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-08T12:59:50.867Z] STF 12:59:50.720 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_1/20250508-125944-UpgModPathTest/results/7.CMJ.stderr [2025-05-08T12:59:50.867Z] STF 12:59:50.720 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_1/20250508-125944-UpgModPathTest/results/7.CMJ.stdout [2025-05-08T12:59:50.867Z] STF 12:59:50.736 - Monitoring processes: CMJ [2025-05-08T12:59:51.191Z] STF 12:59:51.064 - Monitoring Report Summary: [2025-05-08T12:59:51.191Z] STF 12:59:51.064 - o Process CMJ ended with the expected exit code (0) [2025-05-08T12:59:51.191Z] STF 12:59:51.064 - Created modular jar: 7.com.hello.jar [2025-05-08T12:59:51.191Z] STF 12:59:51.064 - [2025-05-08T12:59:51.191Z] STF 12:59:51.064 - +------ Step 8 - Create com.hello override jar [2025-05-08T12:59:51.191Z] STF 12:59:51.064 - | Create modular jar [2025-05-08T12:59:51.191Z] STF 12:59:51.064 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2025-05-08T12:59:51.191Z] STF 12:59:51.064 - | ModuleVersion: null [2025-05-08T12:59:51.191Z] STF 12:59:51.064 - | MainClass: null [2025-05-08T12:59:51.191Z] STF 12:59:51.064 - | HashModules: null [2025-05-08T12:59:51.191Z] STF 12:59:51.064 - | [2025-05-08T12:59:51.191Z] STF 12:59:51.064 - 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_Jar_1/20250508-125944-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-08T12:59:51.191Z] STF 12:59:51.064 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_1/20250508-125944-UpgModPathTest/results/8.CMJ.stderr [2025-05-08T12:59:51.191Z] STF 12:59:51.064 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_1/20250508-125944-UpgModPathTest/results/8.CMJ.stdout [2025-05-08T12:59:51.191Z] STF 12:59:51.070 - Monitoring processes: CMJ [2025-05-08T12:59:51.514Z] STF 12:59:51.364 - Monitoring Report Summary: [2025-05-08T12:59:51.514Z] STF 12:59:51.364 - o Process CMJ ended with the expected exit code (0) [2025-05-08T12:59:51.514Z] STF 12:59:51.364 - Created modular jar: 8.java.logging.jar [2025-05-08T12:59:51.514Z] STF 12:59:51.364 - [2025-05-08T12:59:51.514Z] STF 12:59:51.364 - +------ Step 9 - Override an application module using modularized jar [2025-05-08T12:59:51.514Z] STF 12:59:51.364 - | Run foreground process [2025-05-08T12:59:51.514Z] STF 12:59:51.364 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/java [2025-05-08T12:59:51.514Z] STF 12:59:51.364 - | Mnemonic: OT21 [2025-05-08T12:59:51.514Z] STF 12:59:51.364 - | Echo: ECHO_ON [2025-05-08T12:59:51.514Z] STF 12:59:51.364 - | Expectation: CLEAN_RUN within 1m [2025-05-08T12:59:51.514Z] STF 12:59:51.364 - | [2025-05-08T12:59:51.515Z] STF 12:59:51.364 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --upgrade-module-path C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_1/20250508-125944-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-08T12:59:51.515Z] STF 12:59:51.364 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_1/20250508-125944-UpgModPathTest/results/9.OT21.stderr [2025-05-08T12:59:51.515Z] STF 12:59:51.364 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_1/20250508-125944-UpgModPathTest/results/9.OT21.stdout [2025-05-08T12:59:51.515Z] STF 12:59:51.370 - Monitoring processes: OT21 [2025-05-08T12:59:51.838Z] OT21 JUnit version 4.12 [2025-05-08T12:59:51.838Z] OT21 . [2025-05-08T12:59:51.838Z] OT21 Time: 0.005 [2025-05-08T12:59:51.838Z] OT21 [2025-05-08T12:59:51.838Z] OT21 OK (1 test) [2025-05-08T12:59:51.838Z] OT21 [2025-05-08T12:59:51.838Z] STF 12:59:51.698 - Monitoring Report Summary: [2025-05-08T12:59:51.838Z] STF 12:59:51.698 - o Process OT21 ended with the expected exit code (0) [2025-05-08T12:59:51.838Z] STF 12:59:51.698 - [2025-05-08T12:59:51.838Z] STF 12:59:51.698 - +------ Step 10 - (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar [2025-05-08T12:59:51.838Z] STF 12:59:51.698 - | Run foreground process [2025-05-08T12:59:51.838Z] STF 12:59:51.698 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/java [2025-05-08T12:59:51.838Z] STF 12:59:51.698 - | Mnemonic: OT24 [2025-05-08T12:59:51.838Z] STF 12:59:51.698 - | Echo: ECHO_ON [2025-05-08T12:59:51.838Z] STF 12:59:51.698 - | Expectation: NON_ZERO_EXIT [1] within 1m [2025-05-08T12:59:51.838Z] STF 12:59:51.698 - | [2025-05-08T12:59:51.838Z] STF 12:59:51.699 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --upgrade-module-path C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_1/20250508-125944-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-08T12:59:51.838Z] STF 12:59:51.699 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_1/20250508-125944-UpgModPathTest/results/10.OT24.stderr [2025-05-08T12:59:51.838Z] STF 12:59:51.699 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_1/20250508-125944-UpgModPathTest/results/10.OT24.stdout [2025-05-08T12:59:51.838Z] STF 12:59:51.704 - Monitoring processes: OT24 [2025-05-08T12:59:52.164Z] OT24 Error occurred during initialization of boot layer [2025-05-08T12:59:52.164Z] OT24 java.lang.module.FindException: Hash of java.logging (83b4240ddd5a0bdf573e65819e2187b066233697ffbcc0af8aa0762dae63edf7) differs to expected hash (d2141f1457e658b15e599ce8eb2c2c42d3f675061216ddd6795099c6f1b6b0dc) recorded in java.base [2025-05-08T12:59:52.164Z] STF 12:59:51.935 - Monitoring Report Summary: [2025-05-08T12:59:52.164Z] STF 12:59:51.936 - o Process OT24 ended with the expected exit code (1) [2025-05-08T12:59:52.164Z] STF 12:59:51.936 - [2025-05-08T12:59:52.164Z] STF 12:59:51.936 - +------ Step 11 - Combine stderr and stdout files of process OT24 [2025-05-08T12:59:52.164Z] STF 12:59:51.936 - | Run foreground process [2025-05-08T12:59:52.164Z] STF 12:59:51.936 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/java [2025-05-08T12:59:52.164Z] STF 12:59:51.936 - | Mnemonic: CO [2025-05-08T12:59:52.164Z] STF 12:59:51.936 - | Echo: ECHO_OFF [2025-05-08T12:59:52.164Z] STF 12:59:51.936 - | Expectation: NON_ZERO_EXIT [0] within 30s [2025-05-08T12:59:52.164Z] STF 12:59:51.936 - | [2025-05-08T12:59:52.164Z] STF 12:59:51.936 - 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_Jar_1/20250508-125944-UpgModPathTest/results/10.OT24.stdout -Dfile2=C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_1/20250508-125944-UpgModPathTest/results/10.OT24.stderr -Dfinal.file=C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\aqa-tests\TKG\output_17467007679637\UpgModPath_Jar_1\20250508-125944-UpgModPathTest\results\combinedOT24.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-08T12:59:52.164Z] STF 12:59:51.936 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_1/20250508-125944-UpgModPathTest/results/11.CO.stderr [2025-05-08T12:59:52.164Z] STF 12:59:51.936 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_1/20250508-125944-UpgModPathTest/results/11.CO.stdout [2025-05-08T12:59:52.164Z] STF 12:59:51.943 - Monitoring processes: CO [2025-05-08T12:59:52.608Z] STF 12:59:52.140 - Monitoring Report Summary: [2025-05-08T12:59:52.608Z] STF 12:59:52.141 - o Process CO ended with the expected exit code (0) [2025-05-08T12:59:52.608Z] STF 12:59:52.141 - [2025-05-08T12:59:52.608Z] STF 12:59:52.141 - +------ Step 12 - Check output [2025-05-08T12:59:52.608Z] STF 12:59:52.141 - | Count file matches [2025-05-08T12:59:52.608Z] STF 12:59:52.141 - | TargetFile: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_1/20250508-125944-UpgModPathTest/results/combinedOT24.txt [2025-05-08T12:59:52.608Z] STF 12:59:52.141 - | ExpectedNumMatches: 1 [2025-05-08T12:59:52.608Z] STF 12:59:52.141 - | SearchStrings: ["FindException: Hash of java.logging"] [2025-05-08T12:59:52.608Z] STF 12:59:52.141 - | [2025-05-08T12:59:52.608Z] STF 12:59:52.142 - Found 1 instances of ["FindException: Hash of java.logging"] [2025-05-08T12:59:52.608Z] STF 12:59:52.142 - EXECUTE stage completed [2025-05-08T12:59:52.608Z] STF 12:59:52.215 - [2025-05-08T12:59:52.608Z] STF 12:59:52.215 - ==================== T E A R D O W N ==================== [2025-05-08T12:59:52.608Z] STF 12:59:52.215 - Running teardown: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/\TKG\output_17467007679637\UpgModPath_Jar_1/20250508-125944-UpgModPathTest/tearDown.pl [2025-05-08T12:59:52.608Z] STF 12:59:52.337 - TEARDOWN stage completed [2025-05-08T12:59:52.608Z] STF 12:59:52.349 - [2025-05-08T12:59:52.608Z] STF 12:59:52.349 - ===================== R E S U L T S ===================== [2025-05-08T12:59:52.608Z] STF 12:59:52.349 - Stage results: [2025-05-08T12:59:52.608Z] STF 12:59:52.349 - setUp: pass [2025-05-08T12:59:52.608Z] STF 12:59:52.349 - execute: pass [2025-05-08T12:59:52.608Z] STF 12:59:52.349 - teardown: pass [2025-05-08T12:59:52.608Z] STF 12:59:52.349 - [2025-05-08T12:59:52.608Z] STF 12:59:52.349 - Overall result: PASSED [2025-05-08T12:59:52.608Z] ----------------------------------- [2025-05-08T12:59:52.608Z] UpgModPath_Jar_1_PASSED [2025-05-08T12:59:52.608Z] ----------------------------------- [2025-05-08T12:59:52.608Z] [2025-05-08T12:59:52.608Z] TEST TEARDOWN: [2025-05-08T12:59:52.608Z] Nothing to be done for teardown. [2025-05-08T12:59:53.124Z] UpgModPath_Jar_1 Finish Time: Thu May 8 12:59:52 2025 Epoch Time (ms): 1746709192662