UpgModPath_Jar_0

[2025-05-08T12:59:33.855Z] Running test UpgModPath_Jar_0 ... [2025-05-08T12:59:33.855Z] =============================================== [2025-05-08T12:59:34.303Z] UpgModPath_Jar_0 Start Time: Thu May 8 12:59:33 2025 Epoch Time (ms): 1746709173904 [2025-05-08T12:59:34.303Z] variation: Mode150 [2025-05-08T12:59:34.747Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-05-08T12:59:34.747Z] { \ [2025-05-08T12:59:34.747Z] echo ""; echo "TEST SETUP:"; \ [2025-05-08T12:59:34.747Z] echo "Nothing to be done for setup."; \ [2025-05-08T12:59:34.747Z] mkdir -p "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/\\TKG\\output_17467007679637\\UpgModPath_Jar_0"; \ [2025-05-08T12:59:34.747Z] cd "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/\\TKG\\output_17467007679637\\UpgModPath_Jar_0"; \ [2025-05-08T12:59:34.747Z] echo ""; echo "TESTING:"; \ [2025-05-08T12:59:34.747Z] 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_0" -test=UpgModPathTest -test-args="variant=Jar"; \ [2025-05-08T12:59:34.747Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_Jar_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_Jar_0"; else echo "-----------------------------------"; echo "UpgModPath_Jar_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-05-08T12:59:34.747Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-05-08T12:59:34.747Z] echo "Nothing to be done for teardown."; \ [2025-05-08T12:59:34.747Z] } 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:34.747Z] [2025-05-08T12:59:34.747Z] TEST SETUP: [2025-05-08T12:59:34.747Z] Nothing to be done for setup. [2025-05-08T12:59:34.747Z] [2025-05-08T12:59:34.747Z] TESTING: [2025-05-08T12:59:35.073Z] STF 12:59:34.836 - ========================= S T F ========================= [2025-05-08T12:59:35.073Z] 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_0 [2025-05-08T12:59:35.073Z] There is 87140 Mb free [2025-05-08T12:59:35.073Z] STF 12:59:34.882 - ================== G E N E R A T I O N ================== [2025-05-08T12:59:35.073Z] STF 12:59:34.884 - Checking JVM: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image [2025-05-08T12:59:35.073Z] STF 12:59:34.885 - 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_0/20250508-125934-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_0/20250508-125934-UpgModPathTest" [2025-05-08T12:59:36.185Z] GEN 12:59:35.972 - 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:36.185Z] GEN 12:59:35.990 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2025-05-08T12:59:36.506Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-05-08T12:59:36.506Z] 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:36.506Z] 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:36.506Z] 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:36.506Z] 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:36.506Z] 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:36.506Z] 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:36.506Z] 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:36.506Z] 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:36.506Z] 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:36.506Z] 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:36.506Z] 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:36.506Z] 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:36.506Z] 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:36.506Z] 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:36.506Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-05-08T12:59:36.506Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows\\jvmtest\\system\\STF\\stf.core\\bin [2025-05-08T12:59:36.506Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-05-08T12:59:36.507Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-05-08T12:59:36.507Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar [2025-05-08T12:59:36.507Z] GEN 12:59:36.265 - Using Mode NoOptions. Values = '' [2025-05-08T12:59:36.507Z] GEN 12:59:36.408 - [2025-05-08T12:59:36.507Z] GEN 12:59:36.408 - Test command summary: [2025-05-08T12:59:36.507Z] GEN 12:59:36.408 - Step Stage Command Description [2025-05-08T12:59:36.507Z] GEN 12:59:36.410 - -----+--------+-----------------+------------ [2025-05-08T12:59:36.507Z] GEN 12:59:36.410 - 1 execute jar Create com.hello jar [2025-05-08T12:59:36.507Z] GEN 12:59:36.411 - 2 execute jar Create com.hola jar [2025-05-08T12:59:36.507Z] GEN 12:59:36.411 - 3 execute jar Create com.helper jar [2025-05-08T12:59:36.507Z] GEN 12:59:36.411 - 4 execute jar Create com.discreet jar [2025-05-08T12:59:36.507Z] GEN 12:59:36.411 - 5 execute jar Create tests jar [2025-05-08T12:59:36.507Z] GEN 12:59:36.411 - 6 execute jlink Create runtime image for upgrademodulepath test [2025-05-08T12:59:36.507Z] GEN 12:59:36.411 - 7 execute jar Create com.hello override jar [2025-05-08T12:59:36.507Z] GEN 12:59:36.411 - 8 execute jar Create com.hello override jar [2025-05-08T12:59:36.507Z] GEN 12:59:36.411 - 9 execute Run java Override an application module using modularized jar [2025-05-08T12:59:36.507Z] GEN 12:59:36.411 - 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:36.507Z] GEN 12:59:36.411 - 11 execute Run java Combine stderr and stdout files of process OT24 [2025-05-08T12:59:36.507Z] GEN 12:59:36.412 - 12 execute count Check output [2025-05-08T12:59:36.507Z] STF 12:59:36.457 - [2025-05-08T12:59:36.507Z] STF 12:59:36.457 - Script generation completed [2025-05-08T12:59:36.507Z] STF 12:59:36.457 - [2025-05-08T12:59:36.507Z] STF 12:59:36.459 - [2025-05-08T12:59:36.507Z] STF 12:59:36.459 - ======================= S E T U P ======================= [2025-05-08T12:59:36.507Z] STF 12:59:36.459 - Running setup: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/\TKG\output_17467007679637\UpgModPath_Jar_0/20250508-125934-UpgModPathTest/setUp.pl [2025-05-08T12:59:36.832Z] STF 12:59:36.589 - SETUP stage completed [2025-05-08T12:59:36.832Z] STF 12:59:36.607 - [2025-05-08T12:59:36.832Z] STF 12:59:36.607 - ==================== E X E C U T E - ==================== [2025-05-08T12:59:36.832Z] STF 12:59:36.607 - Running execute: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/\TKG\output_17467007679637\UpgModPath_Jar_0/20250508-125934-UpgModPathTest/execute.pl [2025-05-08T12:59:36.832Z] STF 12:59:36.736 - [2025-05-08T12:59:36.832Z] STF 12:59:36.736 - Java version [2025-05-08T12:59:36.832Z] STF 12:59:36.736 - Running: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/java -version [2025-05-08T12:59:37.160Z] openjdk version "11.0.28-beta" 2025-07-15 [2025-05-08T12:59:37.160Z] OpenJDK Runtime Environment Temurin-11.0.28+1-202505071439 (build 11.0.28-beta+1-ea) [2025-05-08T12:59:37.160Z] OpenJDK 64-Bit Server VM Temurin-11.0.28+1-202505071439 (build 11.0.28-beta+1-ea, mixed mode) [2025-05-08T12:59:37.160Z] STF 12:59:36.855 - [2025-05-08T12:59:37.160Z] STF 12:59:36.855 - +------ Step 1 - Create com.hello jar [2025-05-08T12:59:37.160Z] STF 12:59:36.855 - | Create modular jar [2025-05-08T12:59:37.160Z] STF 12:59:36.855 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-05-08T12:59:37.160Z] STF 12:59:36.855 - | ModuleVersion: null [2025-05-08T12:59:37.160Z] STF 12:59:36.855 - | MainClass: null [2025-05-08T12:59:37.160Z] STF 12:59:36.855 - | HashModules: null [2025-05-08T12:59:37.160Z] STF 12:59:36.855 - | [2025-05-08T12:59:37.160Z] STF 12:59:36.856 - 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_0/20250508-125934-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:37.160Z] STF 12:59:36.856 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_0/20250508-125934-UpgModPathTest/results/1.CMJ.stderr [2025-05-08T12:59:37.160Z] STF 12:59:36.856 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_0/20250508-125934-UpgModPathTest/results/1.CMJ.stdout [2025-05-08T12:59:37.160Z] STF 12:59:36.886 - Monitoring processes: CMJ [2025-05-08T12:59:37.494Z] STF 12:59:37.204 - Monitoring Report Summary: [2025-05-08T12:59:37.494Z] STF 12:59:37.204 - o Process CMJ ended with the expected exit code (0) [2025-05-08T12:59:37.494Z] STF 12:59:37.204 - Created modular jar: 1.com.hello.jar [2025-05-08T12:59:37.494Z] STF 12:59:37.204 - [2025-05-08T12:59:37.494Z] STF 12:59:37.204 - +------ Step 2 - Create com.hola jar [2025-05-08T12:59:37.494Z] STF 12:59:37.204 - | Create modular jar [2025-05-08T12:59:37.494Z] STF 12:59:37.204 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-05-08T12:59:37.494Z] STF 12:59:37.204 - | ModuleVersion: null [2025-05-08T12:59:37.494Z] STF 12:59:37.204 - | MainClass: null [2025-05-08T12:59:37.494Z] STF 12:59:37.204 - | HashModules: null [2025-05-08T12:59:37.494Z] STF 12:59:37.204 - | [2025-05-08T12:59:37.494Z] STF 12:59:37.204 - 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_0/20250508-125934-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:37.494Z] STF 12:59:37.204 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_0/20250508-125934-UpgModPathTest/results/2.CMJ.stderr [2025-05-08T12:59:37.494Z] STF 12:59:37.204 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_0/20250508-125934-UpgModPathTest/results/2.CMJ.stdout [2025-05-08T12:59:37.494Z] STF 12:59:37.210 - Monitoring processes: CMJ [2025-05-08T12:59:37.819Z] STF 12:59:37.495 - Monitoring Report Summary: [2025-05-08T12:59:37.819Z] STF 12:59:37.495 - o Process CMJ ended with the expected exit code (0) [2025-05-08T12:59:37.819Z] STF 12:59:37.495 - Created modular jar: 2.com.hola.jar [2025-05-08T12:59:37.819Z] STF 12:59:37.495 - [2025-05-08T12:59:37.819Z] STF 12:59:37.495 - +------ Step 3 - Create com.helper jar [2025-05-08T12:59:37.819Z] STF 12:59:37.495 - | Create modular jar [2025-05-08T12:59:37.819Z] STF 12:59:37.495 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-05-08T12:59:37.819Z] STF 12:59:37.495 - | ModuleVersion: null [2025-05-08T12:59:37.819Z] STF 12:59:37.496 - | MainClass: null [2025-05-08T12:59:37.819Z] STF 12:59:37.496 - | HashModules: null [2025-05-08T12:59:37.819Z] STF 12:59:37.496 - | [2025-05-08T12:59:37.819Z] STF 12:59:37.496 - 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_0/20250508-125934-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:37.819Z] STF 12:59:37.496 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_0/20250508-125934-UpgModPathTest/results/3.CMJ.stderr [2025-05-08T12:59:37.819Z] STF 12:59:37.496 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_0/20250508-125934-UpgModPathTest/results/3.CMJ.stdout [2025-05-08T12:59:37.819Z] STF 12:59:37.502 - Monitoring processes: CMJ [2025-05-08T12:59:38.145Z] STF 12:59:37.808 - Monitoring Report Summary: [2025-05-08T12:59:38.145Z] STF 12:59:37.808 - o Process CMJ ended with the expected exit code (0) [2025-05-08T12:59:38.145Z] STF 12:59:37.808 - Created modular jar: 3.com.helper.jar [2025-05-08T12:59:38.145Z] STF 12:59:37.808 - [2025-05-08T12:59:38.145Z] STF 12:59:37.808 - +------ Step 4 - Create com.discreet jar [2025-05-08T12:59:38.145Z] STF 12:59:37.808 - | Create modular jar [2025-05-08T12:59:38.145Z] STF 12:59:37.808 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-05-08T12:59:38.145Z] STF 12:59:37.808 - | ModuleVersion: null [2025-05-08T12:59:38.145Z] STF 12:59:37.808 - | MainClass: null [2025-05-08T12:59:38.145Z] STF 12:59:37.808 - | HashModules: null [2025-05-08T12:59:38.145Z] STF 12:59:37.808 - | [2025-05-08T12:59:38.145Z] STF 12:59:37.809 - 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_0/20250508-125934-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:38.145Z] STF 12:59:37.809 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_0/20250508-125934-UpgModPathTest/results/4.CMJ.stderr [2025-05-08T12:59:38.145Z] STF 12:59:37.809 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_0/20250508-125934-UpgModPathTest/results/4.CMJ.stdout [2025-05-08T12:59:38.145Z] STF 12:59:37.814 - Monitoring processes: CMJ [2025-05-08T12:59:38.457Z] STF 12:59:38.122 - Monitoring Report Summary: [2025-05-08T12:59:38.457Z] STF 12:59:38.122 - o Process CMJ ended with the expected exit code (0) [2025-05-08T12:59:38.457Z] STF 12:59:38.123 - Created modular jar: 4.com.discreet.jar [2025-05-08T12:59:38.457Z] STF 12:59:38.123 - [2025-05-08T12:59:38.457Z] STF 12:59:38.123 - +------ Step 5 - Create tests jar [2025-05-08T12:59:38.457Z] STF 12:59:38.123 - | Create modular jar [2025-05-08T12:59:38.457Z] STF 12:59:38.123 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-05-08T12:59:38.457Z] STF 12:59:38.123 - | ModuleVersion: null [2025-05-08T12:59:38.457Z] STF 12:59:38.123 - | MainClass: null [2025-05-08T12:59:38.457Z] STF 12:59:38.123 - | HashModules: null [2025-05-08T12:59:38.457Z] STF 12:59:38.123 - | [2025-05-08T12:59:38.457Z] STF 12:59:38.123 - 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_0/20250508-125934-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:38.457Z] STF 12:59:38.123 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_0/20250508-125934-UpgModPathTest/results/5.CMJ.stderr [2025-05-08T12:59:38.457Z] STF 12:59:38.123 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_0/20250508-125934-UpgModPathTest/results/5.CMJ.stdout [2025-05-08T12:59:38.457Z] STF 12:59:38.129 - Monitoring processes: CMJ [2025-05-08T12:59:38.784Z] STF 12:59:38.459 - Monitoring Report Summary: [2025-05-08T12:59:38.784Z] STF 12:59:38.459 - o Process CMJ ended with the expected exit code (0) [2025-05-08T12:59:38.784Z] STF 12:59:38.459 - Created modular jar: 5.com.test.jar [2025-05-08T12:59:38.784Z] STF 12:59:38.459 - [2025-05-08T12:59:38.784Z] STF 12:59:38.459 - +------ Step 6 - Create runtime image for upgrademodulepath test [2025-05-08T12:59:38.784Z] STF 12:59:38.459 - | Run jlink to create runtime image [2025-05-08T12:59:38.784Z] STF 12:59:38.459 - | ImageName: UpJVM [2025-05-08T12:59:38.784Z] STF 12:59:38.459 - | [2025-05-08T12:59:38.784Z] STF 12:59:38.460 - 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_0\20250508-125934-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_0\20250508-125934-UpgModPathTest\tmp\6.UpJVM [2025-05-08T12:59:38.784Z] STF 12:59:38.460 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_0/20250508-125934-UpgModPathTest/results/6.JLNK.stderr [2025-05-08T12:59:38.784Z] STF 12:59:38.460 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_0/20250508-125934-UpgModPathTest/results/6.JLNK.stdout [2025-05-08T12:59:38.784Z] STF 12:59:38.465 - Monitoring processes: JLNK [2025-05-08T12:59:40.972Z] STF 12:59:40.800 - Monitoring Report Summary: [2025-05-08T12:59:40.972Z] STF 12:59:40.800 - o Process JLNK ended with the expected exit code (0) [2025-05-08T12:59:40.972Z] STF 12:59:40.801 - [2025-05-08T12:59:40.972Z] STF 12:59:40.801 - +------ Step 7 - Create com.hello override jar [2025-05-08T12:59:40.972Z] STF 12:59:40.801 - | Create modular jar [2025-05-08T12:59:40.972Z] STF 12:59:40.801 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-05-08T12:59:40.972Z] STF 12:59:40.801 - | ModuleVersion: null [2025-05-08T12:59:40.972Z] STF 12:59:40.801 - | MainClass: null [2025-05-08T12:59:40.972Z] STF 12:59:40.801 - | HashModules: null [2025-05-08T12:59:40.972Z] STF 12:59:40.801 - | [2025-05-08T12:59:40.972Z] STF 12:59:40.801 - 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_0/20250508-125934-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:40.972Z] STF 12:59:40.801 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_0/20250508-125934-UpgModPathTest/results/7.CMJ.stderr [2025-05-08T12:59:40.972Z] STF 12:59:40.801 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_0/20250508-125934-UpgModPathTest/results/7.CMJ.stdout [2025-05-08T12:59:40.972Z] STF 12:59:40.808 - Monitoring processes: CMJ [2025-05-08T12:59:41.295Z] STF 12:59:41.108 - Monitoring Report Summary: [2025-05-08T12:59:41.295Z] STF 12:59:41.108 - o Process CMJ ended with the expected exit code (0) [2025-05-08T12:59:41.295Z] STF 12:59:41.108 - Created modular jar: 7.com.hello.jar [2025-05-08T12:59:41.295Z] STF 12:59:41.108 - [2025-05-08T12:59:41.295Z] STF 12:59:41.108 - +------ Step 8 - Create com.hello override jar [2025-05-08T12:59:41.295Z] STF 12:59:41.108 - | Create modular jar [2025-05-08T12:59:41.295Z] STF 12:59:41.108 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2025-05-08T12:59:41.295Z] STF 12:59:41.108 - | ModuleVersion: null [2025-05-08T12:59:41.295Z] STF 12:59:41.108 - | MainClass: null [2025-05-08T12:59:41.295Z] STF 12:59:41.108 - | HashModules: null [2025-05-08T12:59:41.295Z] STF 12:59:41.108 - | [2025-05-08T12:59:41.295Z] STF 12:59:41.109 - 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_0/20250508-125934-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:41.295Z] STF 12:59:41.109 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_0/20250508-125934-UpgModPathTest/results/8.CMJ.stderr [2025-05-08T12:59:41.295Z] STF 12:59:41.109 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_0/20250508-125934-UpgModPathTest/results/8.CMJ.stdout [2025-05-08T12:59:41.295Z] STF 12:59:41.113 - Monitoring processes: CMJ [2025-05-08T12:59:41.619Z] STF 12:59:41.451 - Monitoring Report Summary: [2025-05-08T12:59:41.619Z] STF 12:59:41.451 - o Process CMJ ended with the expected exit code (0) [2025-05-08T12:59:41.619Z] STF 12:59:41.451 - Created modular jar: 8.java.logging.jar [2025-05-08T12:59:41.619Z] STF 12:59:41.451 - [2025-05-08T12:59:41.619Z] STF 12:59:41.451 - +------ Step 9 - Override an application module using modularized jar [2025-05-08T12:59:41.619Z] STF 12:59:41.451 - | Run foreground process [2025-05-08T12:59:41.619Z] STF 12:59:41.451 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/java [2025-05-08T12:59:41.619Z] STF 12:59:41.451 - | Mnemonic: OT21 [2025-05-08T12:59:41.619Z] STF 12:59:41.451 - | Echo: ECHO_ON [2025-05-08T12:59:41.619Z] STF 12:59:41.451 - | Expectation: CLEAN_RUN within 1m [2025-05-08T12:59:41.619Z] STF 12:59:41.451 - | [2025-05-08T12:59:41.619Z] STF 12:59:41.451 - 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_0/20250508-125934-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:41.619Z] STF 12:59:41.451 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_0/20250508-125934-UpgModPathTest/results/9.OT21.stderr [2025-05-08T12:59:41.619Z] STF 12:59:41.451 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_0/20250508-125934-UpgModPathTest/results/9.OT21.stdout [2025-05-08T12:59:41.619Z] STF 12:59:41.457 - Monitoring processes: OT21 [2025-05-08T12:59:41.946Z] OT21 JUnit version 4.12 [2025-05-08T12:59:41.946Z] OT21 . [2025-05-08T12:59:41.946Z] OT21 Time: 0.006 [2025-05-08T12:59:41.946Z] OT21 [2025-05-08T12:59:41.946Z] OT21 OK (1 test) [2025-05-08T12:59:41.946Z] OT21 [2025-05-08T12:59:41.946Z] STF 12:59:41.785 - Monitoring Report Summary: [2025-05-08T12:59:41.946Z] STF 12:59:41.785 - o Process OT21 ended with the expected exit code (0) [2025-05-08T12:59:41.946Z] STF 12:59:41.786 - [2025-05-08T12:59:41.946Z] STF 12:59:41.786 - +------ Step 10 - (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar [2025-05-08T12:59:41.946Z] STF 12:59:41.786 - | Run foreground process [2025-05-08T12:59:41.946Z] STF 12:59:41.786 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/java [2025-05-08T12:59:41.946Z] STF 12:59:41.786 - | Mnemonic: OT24 [2025-05-08T12:59:41.946Z] STF 12:59:41.786 - | Echo: ECHO_ON [2025-05-08T12:59:41.946Z] STF 12:59:41.786 - | Expectation: NON_ZERO_EXIT [1] within 1m [2025-05-08T12:59:41.946Z] STF 12:59:41.786 - | [2025-05-08T12:59:41.946Z] STF 12:59:41.786 - 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_0/20250508-125934-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:41.946Z] STF 12:59:41.786 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_0/20250508-125934-UpgModPathTest/results/10.OT24.stderr [2025-05-08T12:59:41.946Z] STF 12:59:41.786 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_0/20250508-125934-UpgModPathTest/results/10.OT24.stdout [2025-05-08T12:59:41.946Z] STF 12:59:41.791 - Monitoring processes: OT24 [2025-05-08T12:59:42.270Z] OT24 Error occurred during initialization of boot layer [2025-05-08T12:59:42.270Z] OT24 java.lang.module.FindException: Hash of java.logging (83b4240ddd5a0bdf573e65819e2187b066233697ffbcc0af8aa0762dae63edf7) differs to expected hash (d2141f1457e658b15e599ce8eb2c2c42d3f675061216ddd6795099c6f1b6b0dc) recorded in java.base [2025-05-08T12:59:42.270Z] STF 12:59:42.025 - Monitoring Report Summary: [2025-05-08T12:59:42.270Z] STF 12:59:42.025 - o Process OT24 ended with the expected exit code (1) [2025-05-08T12:59:42.270Z] STF 12:59:42.026 - [2025-05-08T12:59:42.270Z] STF 12:59:42.026 - +------ Step 11 - Combine stderr and stdout files of process OT24 [2025-05-08T12:59:42.270Z] STF 12:59:42.026 - | Run foreground process [2025-05-08T12:59:42.270Z] STF 12:59:42.026 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/java [2025-05-08T12:59:42.270Z] STF 12:59:42.026 - | Mnemonic: CO [2025-05-08T12:59:42.270Z] STF 12:59:42.026 - | Echo: ECHO_OFF [2025-05-08T12:59:42.270Z] STF 12:59:42.026 - | Expectation: NON_ZERO_EXIT [0] within 30s [2025-05-08T12:59:42.270Z] STF 12:59:42.026 - | [2025-05-08T12:59:42.270Z] STF 12:59:42.026 - 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_0/20250508-125934-UpgModPathTest/results/10.OT24.stdout -Dfile2=C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_0/20250508-125934-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_0\20250508-125934-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:42.270Z] STF 12:59:42.026 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_0/20250508-125934-UpgModPathTest/results/11.CO.stderr [2025-05-08T12:59:42.270Z] STF 12:59:42.026 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_0/20250508-125934-UpgModPathTest/results/11.CO.stdout [2025-05-08T12:59:42.270Z] STF 12:59:42.031 - Monitoring processes: CO [2025-05-08T12:59:42.645Z] STF 12:59:42.227 - Monitoring Report Summary: [2025-05-08T12:59:42.645Z] STF 12:59:42.227 - o Process CO ended with the expected exit code (0) [2025-05-08T12:59:42.645Z] STF 12:59:42.228 - [2025-05-08T12:59:42.645Z] STF 12:59:42.228 - +------ Step 12 - Check output [2025-05-08T12:59:42.645Z] STF 12:59:42.228 - | Count file matches [2025-05-08T12:59:42.645Z] STF 12:59:42.228 - | TargetFile: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17467007679637/UpgModPath_Jar_0/20250508-125934-UpgModPathTest/results/combinedOT24.txt [2025-05-08T12:59:42.645Z] STF 12:59:42.228 - | ExpectedNumMatches: 1 [2025-05-08T12:59:42.645Z] STF 12:59:42.228 - | SearchStrings: ["FindException: Hash of java.logging"] [2025-05-08T12:59:42.645Z] STF 12:59:42.228 - | [2025-05-08T12:59:42.645Z] STF 12:59:42.242 - Found 1 instances of ["FindException: Hash of java.logging"] [2025-05-08T12:59:42.645Z] STF 12:59:42.242 - EXECUTE stage completed [2025-05-08T12:59:42.645Z] STF 12:59:42.257 - [2025-05-08T12:59:42.645Z] STF 12:59:42.257 - ==================== T E A R D O W N ==================== [2025-05-08T12:59:42.645Z] STF 12:59:42.257 - Running teardown: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/\TKG\output_17467007679637\UpgModPath_Jar_0/20250508-125934-UpgModPathTest/tearDown.pl [2025-05-08T12:59:42.645Z] STF 12:59:42.379 - TEARDOWN stage completed [2025-05-08T12:59:42.646Z] STF 12:59:42.392 - [2025-05-08T12:59:42.646Z] STF 12:59:42.392 - ===================== R E S U L T S ===================== [2025-05-08T12:59:42.646Z] STF 12:59:42.392 - Stage results: [2025-05-08T12:59:42.646Z] STF 12:59:42.392 - setUp: pass [2025-05-08T12:59:42.646Z] STF 12:59:42.392 - execute: pass [2025-05-08T12:59:42.646Z] STF 12:59:42.392 - teardown: pass [2025-05-08T12:59:42.646Z] STF 12:59:42.392 - [2025-05-08T12:59:42.646Z] STF 12:59:42.392 - Overall result: PASSED [2025-05-08T12:59:42.646Z] ----------------------------------- [2025-05-08T12:59:42.646Z] UpgModPath_Jar_0_PASSED [2025-05-08T12:59:42.646Z] ----------------------------------- [2025-05-08T12:59:42.646Z] [2025-05-08T12:59:42.646Z] TEST TEARDOWN: [2025-05-08T12:59:42.646Z] Nothing to be done for teardown. [2025-05-08T12:59:42.959Z] UpgModPath_Jar_0 Finish Time: Thu May 8 12:59:42 2025 Epoch Time (ms): 1746709182694