UpgModPath_Jar_0

[2025-01-22T19:00:14.167Z] Running test UpgModPath_Jar_0 ... [2025-01-22T19:00:14.477Z] =============================================== [2025-01-22T19:00:14.477Z] UpgModPath_Jar_0 Start Time: Wed Jan 22 19:00:14 2025 Epoch Time (ms): 1737572414368 [2025-01-22T19:00:14.787Z] variation: Mode150 [2025-01-22T19:00:14.787Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-01-22T19:00:14.787Z] { \ [2025-01-22T19:00:14.787Z] echo ""; echo "TEST SETUP:"; \ [2025-01-22T19:00:14.787Z] echo "Nothing to be done for setup."; \ [2025-01-22T19:00:14.787Z] mkdir -p "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17375703841411\\UpgModPath_Jar_0"; \ [2025-01-22T19:00:14.787Z] cd "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17375703841411\\UpgModPath_Jar_0"; \ [2025-01-22T19:00:14.787Z] echo ""; echo "TESTING:"; \ [2025-01-22T19:00:14.787Z] perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\\" -java-args=' -XX:+UseCompressedOops ' -results-root="C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17375703841411\\UpgModPath_Jar_0" -test=UpgModPathTest -test-args="variant=Jar"; \ [2025-01-22T19:00:14.787Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_Jar_0""_PASSED"; echo "-----------------------------------"; cd C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/; rm -f -r "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17375703841411\\UpgModPath_Jar_0"; else echo "-----------------------------------"; echo "UpgModPath_Jar_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-01-22T19:00:14.787Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-01-22T19:00:14.787Z] echo "Nothing to be done for teardown."; \ [2025-01-22T19:00:14.787Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17375703841411\\TestTargetResult"; [2025-01-22T19:00:15.116Z] [2025-01-22T19:00:15.116Z] TEST SETUP: [2025-01-22T19:00:15.116Z] Nothing to be done for setup. [2025-01-22T19:00:15.116Z] [2025-01-22T19:00:15.117Z] TESTING: [2025-01-22T19:00:15.117Z] STF 19:00:14.970 - ========================= S T F ========================= [2025-01-22T19:00:15.117Z] 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_testList_1/aqa-tests/\TKG\output_17375703841411\UpgModPath_Jar_0 [2025-01-22T19:00:15.117Z] There is 109542 Mb free [2025-01-22T19:00:15.117Z] STF 19:00:15.022 - ================== G E N E R A T I O N ================== [2025-01-22T19:00:15.117Z] STF 19:00:15.025 - Checking JVM: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image [2025-01-22T19:00:15.117Z] STF 19:00:15.025 - Starting process to generate scripts: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-api.jar;c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17375703841411\UpgModPath_Jar_0/20250122-190014-UpgModPathTest/stf_parameters.properties, , C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17375703841411\UpgModPath_Jar_0/20250122-190014-UpgModPathTest" [2025-01-22T19:00:16.739Z] GEN 19:00:16.187 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: 'C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2025-01-22T19:00:16.739Z] GEN 19:00:16.204 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2025-01-22T19:00:16.739Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-01-22T19:00:16.739Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2025-01-22T19:00:16.739Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2025-01-22T19:00:16.739Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2025-01-22T19:00:16.739Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2025-01-22T19:00:16.739Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2025-01-22T19:00:16.739Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2025-01-22T19:00:16.739Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2025-01-22T19:00:16.739Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2025-01-22T19:00:16.739Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2025-01-22T19:00:16.740Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2025-01-22T19:00:16.740Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2025-01-22T19:00:16.740Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2025-01-22T19:00:16.740Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-01-22T19:00:16.740Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-01-22T19:00:16.740Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-01-22T19:00:16.740Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2025-01-22T19:00:16.740Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-01-22T19:00:16.740Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-01-22T19:00:16.740Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar [2025-01-22T19:00:16.740Z] GEN 19:00:16.518 - Using Mode NoOptions. Values = '' [2025-01-22T19:00:17.068Z] GEN 19:00:16.701 - [2025-01-22T19:00:17.068Z] GEN 19:00:16.701 - Test command summary: [2025-01-22T19:00:17.068Z] GEN 19:00:16.701 - Step Stage Command Description [2025-01-22T19:00:17.068Z] GEN 19:00:16.701 - -----+--------+-----------------+------------ [2025-01-22T19:00:17.068Z] GEN 19:00:16.702 - 1 execute jar Create com.hello jar [2025-01-22T19:00:17.068Z] GEN 19:00:16.702 - 2 execute jar Create com.hola jar [2025-01-22T19:00:17.068Z] GEN 19:00:16.702 - 3 execute jar Create com.helper jar [2025-01-22T19:00:17.068Z] GEN 19:00:16.702 - 4 execute jar Create com.discreet jar [2025-01-22T19:00:17.068Z] GEN 19:00:16.702 - 5 execute jar Create tests jar [2025-01-22T19:00:17.068Z] GEN 19:00:16.702 - 6 execute jlink Create runtime image for upgrademodulepath test [2025-01-22T19:00:17.068Z] GEN 19:00:16.702 - 7 execute jar Create com.hello override jar [2025-01-22T19:00:17.068Z] GEN 19:00:16.702 - 8 execute jar Create com.hello override jar [2025-01-22T19:00:17.068Z] GEN 19:00:16.702 - 9 execute Run java Override an application module using modularized jar [2025-01-22T19:00:17.068Z] GEN 19:00:16.702 - 10 execute Run java (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar [2025-01-22T19:00:17.068Z] GEN 19:00:16.702 - 11 execute Run java Combine stderr and stdout files of process OT24 [2025-01-22T19:00:17.068Z] GEN 19:00:16.702 - 12 execute count Check output [2025-01-22T19:00:17.068Z] STF 19:00:16.775 - [2025-01-22T19:00:17.068Z] STF 19:00:16.775 - Script generation completed [2025-01-22T19:00:17.068Z] STF 19:00:16.775 - [2025-01-22T19:00:17.068Z] STF 19:00:16.777 - [2025-01-22T19:00:17.068Z] STF 19:00:16.777 - ======================= S E T U P ======================= [2025-01-22T19:00:17.068Z] STF 19:00:16.777 - Running setup: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17375703841411\UpgModPath_Jar_0/20250122-190014-UpgModPathTest/setUp.pl [2025-01-22T19:00:17.068Z] STF 19:00:16.926 - SETUP stage completed [2025-01-22T19:00:17.068Z] STF 19:00:16.943 - [2025-01-22T19:00:17.068Z] STF 19:00:16.944 - ==================== E X E C U T E - ==================== [2025-01-22T19:00:17.068Z] STF 19:00:16.944 - Running execute: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17375703841411\UpgModPath_Jar_0/20250122-190014-UpgModPathTest/execute.pl [2025-01-22T19:00:17.402Z] STF 19:00:17.095 - [2025-01-22T19:00:17.402Z] STF 19:00:17.095 - Java version [2025-01-22T19:00:17.402Z] STF 19:00:17.095 - Running: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2025-01-22T19:00:17.402Z] openjdk version "11.0.26" 2025-01-21 [2025-01-22T19:00:17.402Z] OpenJDK Runtime Environment Temurin-11.0.26+4 (build 11.0.26+4) [2025-01-22T19:00:17.402Z] OpenJDK 64-Bit Server VM Temurin-11.0.26+4 (build 11.0.26+4, mixed mode) [2025-01-22T19:00:17.402Z] STF 19:00:17.226 - [2025-01-22T19:00:17.402Z] STF 19:00:17.226 - +------ Step 1 - Create com.hello jar [2025-01-22T19:00:17.402Z] STF 19:00:17.226 - | Create modular jar [2025-01-22T19:00:17.402Z] STF 19:00:17.226 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-01-22T19:00:17.402Z] STF 19:00:17.226 - | ModuleVersion: null [2025-01-22T19:00:17.402Z] STF 19:00:17.226 - | MainClass: null [2025-01-22T19:00:17.402Z] STF 19:00:17.226 - | HashModules: null [2025-01-22T19:00:17.402Z] STF 19:00:17.226 - | [2025-01-22T19:00:17.402Z] STF 19:00:17.227 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_0/20250122-190014-UpgModPathTest/modules/1.com.hello.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2025-01-22T19:00:17.402Z] STF 19:00:17.227 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_0/20250122-190014-UpgModPathTest/results/1.CMJ.stderr [2025-01-22T19:00:17.402Z] STF 19:00:17.227 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_0/20250122-190014-UpgModPathTest/results/1.CMJ.stdout [2025-01-22T19:00:17.402Z] STF 19:00:17.262 - Monitoring processes: CMJ [2025-01-22T19:00:17.734Z] STF 19:00:17.620 - Monitoring Report Summary: [2025-01-22T19:00:17.734Z] STF 19:00:17.620 - o Process CMJ ended with the expected exit code (0) [2025-01-22T19:00:17.734Z] STF 19:00:17.620 - Created modular jar: 1.com.hello.jar [2025-01-22T19:00:17.734Z] STF 19:00:17.620 - [2025-01-22T19:00:17.734Z] STF 19:00:17.620 - +------ Step 2 - Create com.hola jar [2025-01-22T19:00:17.734Z] STF 19:00:17.620 - | Create modular jar [2025-01-22T19:00:17.734Z] STF 19:00:17.620 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-01-22T19:00:17.734Z] STF 19:00:17.620 - | ModuleVersion: null [2025-01-22T19:00:17.734Z] STF 19:00:17.620 - | MainClass: null [2025-01-22T19:00:17.734Z] STF 19:00:17.620 - | HashModules: null [2025-01-22T19:00:17.734Z] STF 19:00:17.620 - | [2025-01-22T19:00:17.734Z] STF 19:00:17.621 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_0/20250122-190014-UpgModPathTest/modules/2.com.hola.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2025-01-22T19:00:17.734Z] STF 19:00:17.621 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_0/20250122-190014-UpgModPathTest/results/2.CMJ.stderr [2025-01-22T19:00:17.734Z] STF 19:00:17.621 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_0/20250122-190014-UpgModPathTest/results/2.CMJ.stdout [2025-01-22T19:00:17.734Z] STF 19:00:17.627 - Monitoring processes: CMJ [2025-01-22T19:00:18.064Z] STF 19:00:17.964 - Monitoring Report Summary: [2025-01-22T19:00:18.064Z] STF 19:00:17.964 - o Process CMJ ended with the expected exit code (0) [2025-01-22T19:00:18.064Z] STF 19:00:17.964 - Created modular jar: 2.com.hola.jar [2025-01-22T19:00:18.064Z] STF 19:00:17.964 - [2025-01-22T19:00:18.064Z] STF 19:00:17.964 - +------ Step 3 - Create com.helper jar [2025-01-22T19:00:18.064Z] STF 19:00:17.964 - | Create modular jar [2025-01-22T19:00:18.064Z] STF 19:00:17.964 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-01-22T19:00:18.064Z] STF 19:00:17.964 - | ModuleVersion: null [2025-01-22T19:00:18.064Z] STF 19:00:17.964 - | MainClass: null [2025-01-22T19:00:18.064Z] STF 19:00:17.964 - | HashModules: null [2025-01-22T19:00:18.064Z] STF 19:00:17.964 - | [2025-01-22T19:00:18.064Z] STF 19:00:17.964 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_0/20250122-190014-UpgModPathTest/modules/3.com.helper.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2025-01-22T19:00:18.064Z] STF 19:00:17.964 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_0/20250122-190014-UpgModPathTest/results/3.CMJ.stderr [2025-01-22T19:00:18.064Z] STF 19:00:17.964 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_0/20250122-190014-UpgModPathTest/results/3.CMJ.stdout [2025-01-22T19:00:18.064Z] STF 19:00:17.970 - Monitoring processes: CMJ [2025-01-22T19:00:18.392Z] STF 19:00:18.285 - Monitoring Report Summary: [2025-01-22T19:00:18.392Z] STF 19:00:18.286 - o Process CMJ ended with the expected exit code (0) [2025-01-22T19:00:18.392Z] STF 19:00:18.286 - Created modular jar: 3.com.helper.jar [2025-01-22T19:00:18.392Z] STF 19:00:18.286 - [2025-01-22T19:00:18.392Z] STF 19:00:18.286 - +------ Step 4 - Create com.discreet jar [2025-01-22T19:00:18.392Z] STF 19:00:18.286 - | Create modular jar [2025-01-22T19:00:18.392Z] STF 19:00:18.286 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-01-22T19:00:18.392Z] STF 19:00:18.286 - | ModuleVersion: null [2025-01-22T19:00:18.392Z] STF 19:00:18.286 - | MainClass: null [2025-01-22T19:00:18.392Z] STF 19:00:18.286 - | HashModules: null [2025-01-22T19:00:18.392Z] STF 19:00:18.286 - | [2025-01-22T19:00:18.392Z] STF 19:00:18.286 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_0/20250122-190014-UpgModPathTest/modules/4.com.discreet.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2025-01-22T19:00:18.392Z] STF 19:00:18.286 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_0/20250122-190014-UpgModPathTest/results/4.CMJ.stderr [2025-01-22T19:00:18.392Z] STF 19:00:18.286 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_0/20250122-190014-UpgModPathTest/results/4.CMJ.stdout [2025-01-22T19:00:18.392Z] STF 19:00:18.292 - Monitoring processes: CMJ [2025-01-22T19:00:18.719Z] STF 19:00:18.624 - Monitoring Report Summary: [2025-01-22T19:00:18.719Z] STF 19:00:18.625 - o Process CMJ ended with the expected exit code (0) [2025-01-22T19:00:18.719Z] STF 19:00:18.625 - Created modular jar: 4.com.discreet.jar [2025-01-22T19:00:18.719Z] STF 19:00:18.625 - [2025-01-22T19:00:18.719Z] STF 19:00:18.625 - +------ Step 5 - Create tests jar [2025-01-22T19:00:18.719Z] STF 19:00:18.625 - | Create modular jar [2025-01-22T19:00:18.719Z] STF 19:00:18.625 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-01-22T19:00:18.719Z] STF 19:00:18.625 - | ModuleVersion: null [2025-01-22T19:00:18.719Z] STF 19:00:18.625 - | MainClass: null [2025-01-22T19:00:18.719Z] STF 19:00:18.625 - | HashModules: null [2025-01-22T19:00:18.719Z] STF 19:00:18.625 - | [2025-01-22T19:00:18.719Z] STF 19:00:18.625 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_0/20250122-190014-UpgModPathTest/modules/5.com.test.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2025-01-22T19:00:18.719Z] STF 19:00:18.625 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_0/20250122-190014-UpgModPathTest/results/5.CMJ.stderr [2025-01-22T19:00:18.719Z] STF 19:00:18.625 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_0/20250122-190014-UpgModPathTest/results/5.CMJ.stdout [2025-01-22T19:00:18.719Z] STF 19:00:18.632 - Monitoring processes: CMJ [2025-01-22T19:00:19.044Z] STF 19:00:18.958 - Monitoring Report Summary: [2025-01-22T19:00:19.044Z] STF 19:00:18.958 - o Process CMJ ended with the expected exit code (0) [2025-01-22T19:00:19.044Z] STF 19:00:18.958 - Created modular jar: 5.com.test.jar [2025-01-22T19:00:19.045Z] STF 19:00:18.958 - [2025-01-22T19:00:19.045Z] STF 19:00:18.958 - +------ Step 6 - Create runtime image for upgrademodulepath test [2025-01-22T19:00:19.045Z] STF 19:00:18.958 - | Run jlink to create runtime image [2025-01-22T19:00:19.045Z] STF 19:00:18.958 - | ImageName: UpJVM [2025-01-22T19:00:19.045Z] STF 19:00:18.958 - | [2025-01-22T19:00:19.045Z] STF 19:00:18.959 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path c:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jdkbinary\j2sdk-image\jmods;C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17375703841411\UpgModPath_Jar_0\20250122-190014-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_testList_1\aqa-tests\TKG\output_17375703841411\UpgModPath_Jar_0\20250122-190014-UpgModPathTest\tmp\6.UpJVM [2025-01-22T19:00:19.045Z] STF 19:00:18.959 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_0/20250122-190014-UpgModPathTest/results/6.JLNK.stderr [2025-01-22T19:00:19.045Z] STF 19:00:18.959 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_0/20250122-190014-UpgModPathTest/results/6.JLNK.stdout [2025-01-22T19:00:19.045Z] STF 19:00:18.965 - Monitoring processes: JLNK [2025-01-22T19:00:21.914Z] STF 19:00:21.675 - Monitoring Report Summary: [2025-01-22T19:00:21.914Z] STF 19:00:21.675 - o Process JLNK ended with the expected exit code (0) [2025-01-22T19:00:21.914Z] STF 19:00:21.675 - [2025-01-22T19:00:21.914Z] STF 19:00:21.675 - +------ Step 7 - Create com.hello override jar [2025-01-22T19:00:21.914Z] STF 19:00:21.675 - | Create modular jar [2025-01-22T19:00:21.914Z] STF 19:00:21.675 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-01-22T19:00:21.914Z] STF 19:00:21.675 - | ModuleVersion: null [2025-01-22T19:00:21.914Z] STF 19:00:21.676 - | MainClass: null [2025-01-22T19:00:21.914Z] STF 19:00:21.676 - | HashModules: null [2025-01-22T19:00:21.914Z] STF 19:00:21.676 - | [2025-01-22T19:00:21.914Z] STF 19:00:21.676 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_0/20250122-190014-UpgModPathTest/modules/7.com.hello.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2025-01-22T19:00:21.914Z] STF 19:00:21.676 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_0/20250122-190014-UpgModPathTest/results/7.CMJ.stderr [2025-01-22T19:00:21.914Z] STF 19:00:21.676 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_0/20250122-190014-UpgModPathTest/results/7.CMJ.stdout [2025-01-22T19:00:21.914Z] STF 19:00:21.686 - Monitoring processes: CMJ [2025-01-22T19:00:22.240Z] STF 19:00:22.020 - Monitoring Report Summary: [2025-01-22T19:00:22.240Z] STF 19:00:22.020 - o Process CMJ ended with the expected exit code (0) [2025-01-22T19:00:22.240Z] STF 19:00:22.021 - Created modular jar: 7.com.hello.jar [2025-01-22T19:00:22.240Z] STF 19:00:22.021 - [2025-01-22T19:00:22.240Z] STF 19:00:22.021 - +------ Step 8 - Create com.hello override jar [2025-01-22T19:00:22.240Z] STF 19:00:22.021 - | Create modular jar [2025-01-22T19:00:22.240Z] STF 19:00:22.021 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2025-01-22T19:00:22.240Z] STF 19:00:22.021 - | ModuleVersion: null [2025-01-22T19:00:22.240Z] STF 19:00:22.021 - | MainClass: null [2025-01-22T19:00:22.240Z] STF 19:00:22.021 - | HashModules: null [2025-01-22T19:00:22.240Z] STF 19:00:22.021 - | [2025-01-22T19:00:22.240Z] STF 19:00:22.021 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_0/20250122-190014-UpgModPathTest/modules/8.java.logging.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.logging . [2025-01-22T19:00:22.240Z] STF 19:00:22.021 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_0/20250122-190014-UpgModPathTest/results/8.CMJ.stderr [2025-01-22T19:00:22.240Z] STF 19:00:22.021 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_0/20250122-190014-UpgModPathTest/results/8.CMJ.stdout [2025-01-22T19:00:22.240Z] STF 19:00:22.028 - Monitoring processes: CMJ [2025-01-22T19:00:22.571Z] STF 19:00:22.363 - Monitoring Report Summary: [2025-01-22T19:00:22.571Z] STF 19:00:22.363 - o Process CMJ ended with the expected exit code (0) [2025-01-22T19:00:22.571Z] STF 19:00:22.363 - Created modular jar: 8.java.logging.jar [2025-01-22T19:00:22.571Z] STF 19:00:22.363 - [2025-01-22T19:00:22.571Z] STF 19:00:22.363 - +------ Step 9 - Override an application module using modularized jar [2025-01-22T19:00:22.571Z] STF 19:00:22.363 - | Run foreground process [2025-01-22T19:00:22.571Z] STF 19:00:22.363 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2025-01-22T19:00:22.571Z] STF 19:00:22.363 - | Mnemonic: OT21 [2025-01-22T19:00:22.571Z] STF 19:00:22.363 - | Echo: ECHO_ON [2025-01-22T19:00:22.571Z] STF 19:00:22.363 - | Expectation: CLEAN_RUN within 1m [2025-01-22T19:00:22.571Z] STF 19:00:22.363 - | [2025-01-22T19:00:22.571Z] STF 19:00:22.363 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --upgrade-module-path C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_0/20250122-190014-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-01-22T19:00:22.571Z] STF 19:00:22.363 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_0/20250122-190014-UpgModPathTest/results/9.OT21.stderr [2025-01-22T19:00:22.571Z] STF 19:00:22.363 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_0/20250122-190014-UpgModPathTest/results/9.OT21.stdout [2025-01-22T19:00:22.571Z] STF 19:00:22.370 - Monitoring processes: OT21 [2025-01-22T19:00:22.900Z] OT21 JUnit version 4.12 [2025-01-22T19:00:22.901Z] OT21 . [2025-01-22T19:00:22.901Z] OT21 Time: 0.007 [2025-01-22T19:00:22.901Z] OT21 [2025-01-22T19:00:22.901Z] OT21 OK (1 test) [2025-01-22T19:00:22.901Z] OT21 [2025-01-22T19:00:22.901Z] STF 19:00:22.756 - Monitoring Report Summary: [2025-01-22T19:00:22.901Z] STF 19:00:22.756 - o Process OT21 ended with the expected exit code (0) [2025-01-22T19:00:22.901Z] STF 19:00:22.756 - [2025-01-22T19:00:22.901Z] STF 19:00:22.756 - +------ Step 10 - (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar [2025-01-22T19:00:22.901Z] STF 19:00:22.756 - | Run foreground process [2025-01-22T19:00:22.901Z] STF 19:00:22.756 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2025-01-22T19:00:22.901Z] STF 19:00:22.756 - | Mnemonic: OT24 [2025-01-22T19:00:22.901Z] STF 19:00:22.756 - | Echo: ECHO_ON [2025-01-22T19:00:22.901Z] STF 19:00:22.756 - | Expectation: NON_ZERO_EXIT [1] within 1m [2025-01-22T19:00:22.901Z] STF 19:00:22.756 - | [2025-01-22T19:00:22.901Z] STF 19:00:22.757 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --upgrade-module-path C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_0/20250122-190014-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-01-22T19:00:22.901Z] STF 19:00:22.757 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_0/20250122-190014-UpgModPathTest/results/10.OT24.stderr [2025-01-22T19:00:22.901Z] STF 19:00:22.757 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_0/20250122-190014-UpgModPathTest/results/10.OT24.stdout [2025-01-22T19:00:22.901Z] STF 19:00:22.763 - Monitoring processes: OT24 [2025-01-22T19:00:23.232Z] OT24 Error occurred during initialization of boot layer [2025-01-22T19:00:23.232Z] OT24 java.lang.module.FindException: Hash of java.logging (b563d91fccb4d61c5547d134bd25b6f3a7031d9348bb4b767606106dccd884f1) differs to expected hash (90a547196b265faebf20af3ee0cdaa9a2de625b1b37c86766c57db95a68f0c71) recorded in java.base [2025-01-22T19:00:23.232Z] STF 19:00:23.031 - Monitoring Report Summary: [2025-01-22T19:00:23.232Z] STF 19:00:23.031 - o Process OT24 ended with the expected exit code (1) [2025-01-22T19:00:23.232Z] STF 19:00:23.031 - [2025-01-22T19:00:23.232Z] STF 19:00:23.031 - +------ Step 11 - Combine stderr and stdout files of process OT24 [2025-01-22T19:00:23.232Z] STF 19:00:23.031 - | Run foreground process [2025-01-22T19:00:23.232Z] STF 19:00:23.031 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2025-01-22T19:00:23.232Z] STF 19:00:23.031 - | Mnemonic: CO [2025-01-22T19:00:23.232Z] STF 19:00:23.031 - | Echo: ECHO_OFF [2025-01-22T19:00:23.232Z] STF 19:00:23.031 - | Expectation: NON_ZERO_EXIT [0] within 30s [2025-01-22T19:00:23.232Z] STF 19:00:23.031 - | [2025-01-22T19:00:23.232Z] STF 19:00:23.032 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -Dfile1=C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_0/20250122-190014-UpgModPathTest/results/10.OT24.stdout -Dfile2=C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_0/20250122-190014-UpgModPathTest/results/10.OT24.stderr -Dfinal.file=C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17375703841411\UpgModPath_Jar_0\20250122-190014-UpgModPathTest\results\combinedOT24.txt -XX:+UseCompressedOops -classpath C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\STF\stf.core\bin;C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin net.adoptopenjdk.test.modularity.TestUtil [2025-01-22T19:00:23.232Z] STF 19:00:23.032 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_0/20250122-190014-UpgModPathTest/results/11.CO.stderr [2025-01-22T19:00:23.232Z] STF 19:00:23.032 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_0/20250122-190014-UpgModPathTest/results/11.CO.stdout [2025-01-22T19:00:23.232Z] STF 19:00:23.037 - Monitoring processes: CO [2025-01-22T19:00:23.587Z] STF 19:00:23.244 - Monitoring Report Summary: [2025-01-22T19:00:23.587Z] STF 19:00:23.244 - o Process CO ended with the expected exit code (0) [2025-01-22T19:00:23.587Z] STF 19:00:23.244 - [2025-01-22T19:00:23.587Z] STF 19:00:23.244 - +------ Step 12 - Check output [2025-01-22T19:00:23.587Z] STF 19:00:23.244 - | Count file matches [2025-01-22T19:00:23.587Z] STF 19:00:23.244 - | TargetFile: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_0/20250122-190014-UpgModPathTest/results/combinedOT24.txt [2025-01-22T19:00:23.587Z] STF 19:00:23.244 - | ExpectedNumMatches: 1 [2025-01-22T19:00:23.587Z] STF 19:00:23.244 - | SearchStrings: ["FindException: Hash of java.logging"] [2025-01-22T19:00:23.587Z] STF 19:00:23.244 - | [2025-01-22T19:00:23.587Z] STF 19:00:23.258 - Found 1 instances of ["FindException: Hash of java.logging"] [2025-01-22T19:00:23.587Z] STF 19:00:23.258 - EXECUTE stage completed [2025-01-22T19:00:23.587Z] STF 19:00:23.296 - [2025-01-22T19:00:23.587Z] STF 19:00:23.296 - ==================== T E A R D O W N ==================== [2025-01-22T19:00:23.587Z] STF 19:00:23.296 - Running teardown: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17375703841411\UpgModPath_Jar_0/20250122-190014-UpgModPathTest/tearDown.pl [2025-01-22T19:00:23.587Z] STF 19:00:23.448 - TEARDOWN stage completed [2025-01-22T19:00:23.587Z] STF 19:00:23.468 - [2025-01-22T19:00:23.587Z] STF 19:00:23.468 - ===================== R E S U L T S ===================== [2025-01-22T19:00:23.587Z] STF 19:00:23.468 - Stage results: [2025-01-22T19:00:23.587Z] STF 19:00:23.468 - setUp: pass [2025-01-22T19:00:23.587Z] STF 19:00:23.468 - execute: pass [2025-01-22T19:00:23.587Z] STF 19:00:23.468 - teardown: pass [2025-01-22T19:00:23.587Z] STF 19:00:23.468 - [2025-01-22T19:00:23.587Z] STF 19:00:23.468 - Overall result: PASSED [2025-01-22T19:00:23.587Z] ----------------------------------- [2025-01-22T19:00:23.587Z] UpgModPath_Jar_0_PASSED [2025-01-22T19:00:23.587Z] ----------------------------------- [2025-01-22T19:00:23.907Z] [2025-01-22T19:00:23.908Z] TEST TEARDOWN: [2025-01-22T19:00:23.908Z] Nothing to be done for teardown. [2025-01-22T19:00:23.908Z] UpgModPath_Jar_0 Finish Time: Wed Jan 22 19:00:23 2025 Epoch Time (ms): 1737572423825