UpgModPath_Jar_1

[2025-01-22T19:00:24.256Z] Running test UpgModPath_Jar_1 ... [2025-01-22T19:00:24.565Z] =============================================== [2025-01-22T19:00:24.565Z] UpgModPath_Jar_1 Start Time: Wed Jan 22 19:00:24 2025 Epoch Time (ms): 1737572424436 [2025-01-22T19:00:24.874Z] variation: Mode650 [2025-01-22T19:00:24.874Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-01-22T19:00:24.874Z] { \ [2025-01-22T19:00:24.874Z] echo ""; echo "TEST SETUP:"; \ [2025-01-22T19:00:24.874Z] echo "Nothing to be done for setup."; \ [2025-01-22T19:00:24.874Z] mkdir -p "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17375703841411\\UpgModPath_Jar_1"; \ [2025-01-22T19:00:24.874Z] cd "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17375703841411\\UpgModPath_Jar_1"; \ [2025-01-22T19:00:24.874Z] echo ""; echo "TESTING:"; \ [2025-01-22T19:00:24.875Z] 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_1" -test=UpgModPathTest -test-args="variant=Jar"; \ [2025-01-22T19:00:24.875Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_Jar_1""_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_1"; else echo "-----------------------------------"; echo "UpgModPath_Jar_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-01-22T19:00:24.875Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-01-22T19:00:24.875Z] echo "Nothing to be done for teardown."; \ [2025-01-22T19:00:24.875Z] } 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:25.205Z] [2025-01-22T19:00:25.205Z] TEST SETUP: [2025-01-22T19:00:25.205Z] Nothing to be done for setup. [2025-01-22T19:00:25.205Z] [2025-01-22T19:00:25.205Z] TESTING: [2025-01-22T19:00:25.205Z] STF 19:00:25.038 - ========================= S T F ========================= [2025-01-22T19:00:25.205Z] 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_1 [2025-01-22T19:00:25.205Z] There is 109542 Mb free [2025-01-22T19:00:25.205Z] STF 19:00:25.091 - ================== G E N E R A T I O N ================== [2025-01-22T19:00:25.205Z] STF 19:00:25.093 - Checking JVM: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image [2025-01-22T19:00:25.205Z] STF 19:00:25.093 - 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_1/20250122-190025-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_1/20250122-190025-UpgModPathTest" [2025-01-22T19:00:26.825Z] GEN 19:00:26.278 - 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:26.825Z] GEN 19:00:26.307 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2025-01-22T19:00:26.825Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-01-22T19:00:26.825Z] 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:26.825Z] 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:26.825Z] 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:26.825Z] 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:26.825Z] 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:26.825Z] 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:26.825Z] 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:26.825Z] 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:26.825Z] 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:26.825Z] 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:26.825Z] 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:26.825Z] 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:26.825Z] 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:26.825Z] 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:26.825Z] 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:26.825Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2025-01-22T19:00:26.825Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-01-22T19:00:26.825Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-01-22T19:00:26.825Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar [2025-01-22T19:00:26.825Z] GEN 19:00:26.643 - Using Mode NoOptions. Values = '' [2025-01-22T19:00:27.169Z] GEN 19:00:26.797 - [2025-01-22T19:00:27.169Z] GEN 19:00:26.797 - Test command summary: [2025-01-22T19:00:27.169Z] GEN 19:00:26.798 - Step Stage Command Description [2025-01-22T19:00:27.169Z] GEN 19:00:26.798 - -----+--------+-----------------+------------ [2025-01-22T19:00:27.169Z] GEN 19:00:26.798 - 1 execute jar Create com.hello jar [2025-01-22T19:00:27.169Z] GEN 19:00:26.798 - 2 execute jar Create com.hola jar [2025-01-22T19:00:27.169Z] GEN 19:00:26.798 - 3 execute jar Create com.helper jar [2025-01-22T19:00:27.169Z] GEN 19:00:26.798 - 4 execute jar Create com.discreet jar [2025-01-22T19:00:27.169Z] GEN 19:00:26.798 - 5 execute jar Create tests jar [2025-01-22T19:00:27.169Z] GEN 19:00:26.798 - 6 execute jlink Create runtime image for upgrademodulepath test [2025-01-22T19:00:27.169Z] GEN 19:00:26.798 - 7 execute jar Create com.hello override jar [2025-01-22T19:00:27.169Z] GEN 19:00:26.798 - 8 execute jar Create com.hello override jar [2025-01-22T19:00:27.169Z] GEN 19:00:26.799 - 9 execute Run java Override an application module using modularized jar [2025-01-22T19:00:27.170Z] GEN 19:00:26.799 - 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:27.170Z] GEN 19:00:26.799 - 11 execute Run java Combine stderr and stdout files of process OT24 [2025-01-22T19:00:27.170Z] GEN 19:00:26.799 - 12 execute count Check output [2025-01-22T19:00:27.170Z] STF 19:00:26.856 - [2025-01-22T19:00:27.170Z] STF 19:00:26.856 - Script generation completed [2025-01-22T19:00:27.170Z] STF 19:00:26.856 - [2025-01-22T19:00:27.170Z] STF 19:00:26.858 - [2025-01-22T19:00:27.170Z] STF 19:00:26.858 - ======================= S E T U P ======================= [2025-01-22T19:00:27.170Z] STF 19:00:26.859 - Running setup: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17375703841411\UpgModPath_Jar_1/20250122-190025-UpgModPathTest/setUp.pl [2025-01-22T19:00:27.170Z] STF 19:00:27.008 - SETUP stage completed [2025-01-22T19:00:27.170Z] STF 19:00:27.023 - [2025-01-22T19:00:27.170Z] STF 19:00:27.023 - ==================== E X E C U T E - ==================== [2025-01-22T19:00:27.170Z] STF 19:00:27.023 - Running execute: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17375703841411\UpgModPath_Jar_1/20250122-190025-UpgModPathTest/execute.pl [2025-01-22T19:00:27.498Z] STF 19:00:27.191 - [2025-01-22T19:00:27.498Z] STF 19:00:27.191 - Java version [2025-01-22T19:00:27.498Z] STF 19:00:27.191 - Running: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2025-01-22T19:00:27.498Z] openjdk version "11.0.26" 2025-01-21 [2025-01-22T19:00:27.498Z] OpenJDK Runtime Environment Temurin-11.0.26+4 (build 11.0.26+4) [2025-01-22T19:00:27.498Z] OpenJDK 64-Bit Server VM Temurin-11.0.26+4 (build 11.0.26+4, mixed mode) [2025-01-22T19:00:27.498Z] STF 19:00:27.323 - [2025-01-22T19:00:27.498Z] STF 19:00:27.323 - +------ Step 1 - Create com.hello jar [2025-01-22T19:00:27.498Z] STF 19:00:27.323 - | Create modular jar [2025-01-22T19:00:27.498Z] STF 19:00:27.323 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-01-22T19:00:27.498Z] STF 19:00:27.323 - | ModuleVersion: null [2025-01-22T19:00:27.498Z] STF 19:00:27.323 - | MainClass: null [2025-01-22T19:00:27.498Z] STF 19:00:27.323 - | HashModules: null [2025-01-22T19:00:27.498Z] STF 19:00:27.323 - | [2025-01-22T19:00:27.498Z] STF 19:00:27.323 - 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_1/20250122-190025-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:27.498Z] STF 19:00:27.324 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_1/20250122-190025-UpgModPathTest/results/1.CMJ.stderr [2025-01-22T19:00:27.498Z] STF 19:00:27.324 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_1/20250122-190025-UpgModPathTest/results/1.CMJ.stdout [2025-01-22T19:00:27.498Z] STF 19:00:27.353 - Monitoring processes: CMJ [2025-01-22T19:00:27.831Z] STF 19:00:27.711 - Monitoring Report Summary: [2025-01-22T19:00:27.831Z] STF 19:00:27.711 - o Process CMJ ended with the expected exit code (0) [2025-01-22T19:00:27.831Z] STF 19:00:27.711 - Created modular jar: 1.com.hello.jar [2025-01-22T19:00:27.831Z] STF 19:00:27.711 - [2025-01-22T19:00:27.831Z] STF 19:00:27.711 - +------ Step 2 - Create com.hola jar [2025-01-22T19:00:27.831Z] STF 19:00:27.711 - | Create modular jar [2025-01-22T19:00:27.831Z] STF 19:00:27.711 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-01-22T19:00:27.832Z] STF 19:00:27.711 - | ModuleVersion: null [2025-01-22T19:00:27.832Z] STF 19:00:27.711 - | MainClass: null [2025-01-22T19:00:27.832Z] STF 19:00:27.711 - | HashModules: null [2025-01-22T19:00:27.832Z] STF 19:00:27.711 - | [2025-01-22T19:00:27.832Z] STF 19:00:27.712 - 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_1/20250122-190025-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:27.832Z] STF 19:00:27.712 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_1/20250122-190025-UpgModPathTest/results/2.CMJ.stderr [2025-01-22T19:00:27.832Z] STF 19:00:27.712 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_1/20250122-190025-UpgModPathTest/results/2.CMJ.stdout [2025-01-22T19:00:27.832Z] STF 19:00:27.721 - Monitoring processes: CMJ [2025-01-22T19:00:28.159Z] STF 19:00:28.062 - Monitoring Report Summary: [2025-01-22T19:00:28.159Z] STF 19:00:28.062 - o Process CMJ ended with the expected exit code (0) [2025-01-22T19:00:28.159Z] STF 19:00:28.063 - Created modular jar: 2.com.hola.jar [2025-01-22T19:00:28.159Z] STF 19:00:28.063 - [2025-01-22T19:00:28.159Z] STF 19:00:28.063 - +------ Step 3 - Create com.helper jar [2025-01-22T19:00:28.159Z] STF 19:00:28.063 - | Create modular jar [2025-01-22T19:00:28.159Z] STF 19:00:28.063 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-01-22T19:00:28.159Z] STF 19:00:28.063 - | ModuleVersion: null [2025-01-22T19:00:28.159Z] STF 19:00:28.063 - | MainClass: null [2025-01-22T19:00:28.159Z] STF 19:00:28.063 - | HashModules: null [2025-01-22T19:00:28.159Z] STF 19:00:28.063 - | [2025-01-22T19:00:28.159Z] STF 19:00:28.063 - 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_1/20250122-190025-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:28.159Z] STF 19:00:28.063 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_1/20250122-190025-UpgModPathTest/results/3.CMJ.stderr [2025-01-22T19:00:28.159Z] STF 19:00:28.063 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_1/20250122-190025-UpgModPathTest/results/3.CMJ.stdout [2025-01-22T19:00:28.159Z] STF 19:00:28.070 - Monitoring processes: CMJ [2025-01-22T19:00:28.487Z] STF 19:00:28.413 - Monitoring Report Summary: [2025-01-22T19:00:28.487Z] STF 19:00:28.413 - o Process CMJ ended with the expected exit code (0) [2025-01-22T19:00:28.487Z] STF 19:00:28.413 - Created modular jar: 3.com.helper.jar [2025-01-22T19:00:28.487Z] STF 19:00:28.413 - [2025-01-22T19:00:28.487Z] STF 19:00:28.413 - +------ Step 4 - Create com.discreet jar [2025-01-22T19:00:28.487Z] STF 19:00:28.413 - | Create modular jar [2025-01-22T19:00:28.487Z] STF 19:00:28.413 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-01-22T19:00:28.487Z] STF 19:00:28.413 - | ModuleVersion: null [2025-01-22T19:00:28.487Z] STF 19:00:28.413 - | MainClass: null [2025-01-22T19:00:28.487Z] STF 19:00:28.413 - | HashModules: null [2025-01-22T19:00:28.487Z] STF 19:00:28.413 - | [2025-01-22T19:00:28.487Z] STF 19:00:28.414 - 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_1/20250122-190025-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:28.487Z] STF 19:00:28.414 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_1/20250122-190025-UpgModPathTest/results/4.CMJ.stderr [2025-01-22T19:00:28.487Z] STF 19:00:28.414 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_1/20250122-190025-UpgModPathTest/results/4.CMJ.stdout [2025-01-22T19:00:28.487Z] STF 19:00:28.419 - Monitoring processes: CMJ [2025-01-22T19:00:28.815Z] STF 19:00:28.732 - Monitoring Report Summary: [2025-01-22T19:00:28.815Z] STF 19:00:28.732 - o Process CMJ ended with the expected exit code (0) [2025-01-22T19:00:28.815Z] STF 19:00:28.733 - Created modular jar: 4.com.discreet.jar [2025-01-22T19:00:28.815Z] STF 19:00:28.733 - [2025-01-22T19:00:28.815Z] STF 19:00:28.733 - +------ Step 5 - Create tests jar [2025-01-22T19:00:28.815Z] STF 19:00:28.733 - | Create modular jar [2025-01-22T19:00:28.815Z] STF 19:00:28.733 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-01-22T19:00:28.815Z] STF 19:00:28.733 - | ModuleVersion: null [2025-01-22T19:00:28.815Z] STF 19:00:28.733 - | MainClass: null [2025-01-22T19:00:28.815Z] STF 19:00:28.733 - | HashModules: null [2025-01-22T19:00:28.815Z] STF 19:00:28.733 - | [2025-01-22T19:00:28.815Z] STF 19:00:28.733 - 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_1/20250122-190025-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:28.815Z] STF 19:00:28.733 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_1/20250122-190025-UpgModPathTest/results/5.CMJ.stderr [2025-01-22T19:00:28.815Z] STF 19:00:28.733 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_1/20250122-190025-UpgModPathTest/results/5.CMJ.stdout [2025-01-22T19:00:28.815Z] STF 19:00:28.738 - Monitoring processes: CMJ [2025-01-22T19:00:29.146Z] STF 19:00:29.080 - Monitoring Report Summary: [2025-01-22T19:00:29.146Z] STF 19:00:29.080 - o Process CMJ ended with the expected exit code (0) [2025-01-22T19:00:29.146Z] STF 19:00:29.080 - Created modular jar: 5.com.test.jar [2025-01-22T19:00:29.146Z] STF 19:00:29.080 - [2025-01-22T19:00:29.146Z] STF 19:00:29.080 - +------ Step 6 - Create runtime image for upgrademodulepath test [2025-01-22T19:00:29.146Z] STF 19:00:29.080 - | Run jlink to create runtime image [2025-01-22T19:00:29.146Z] STF 19:00:29.080 - | ImageName: UpJVM [2025-01-22T19:00:29.146Z] STF 19:00:29.080 - | [2025-01-22T19:00:29.146Z] STF 19:00:29.080 - 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_1\20250122-190025-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_1\20250122-190025-UpgModPathTest\tmp\6.UpJVM [2025-01-22T19:00:29.146Z] STF 19:00:29.080 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_1/20250122-190025-UpgModPathTest/results/6.JLNK.stderr [2025-01-22T19:00:29.146Z] STF 19:00:29.080 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_1/20250122-190025-UpgModPathTest/results/6.JLNK.stdout [2025-01-22T19:00:29.146Z] STF 19:00:29.088 - Monitoring processes: JLNK [2025-01-22T19:00:32.033Z] STF 19:00:31.838 - Monitoring Report Summary: [2025-01-22T19:00:32.033Z] STF 19:00:31.838 - o Process JLNK ended with the expected exit code (0) [2025-01-22T19:00:32.033Z] STF 19:00:31.838 - [2025-01-22T19:00:32.033Z] STF 19:00:31.838 - +------ Step 7 - Create com.hello override jar [2025-01-22T19:00:32.033Z] STF 19:00:31.838 - | Create modular jar [2025-01-22T19:00:32.033Z] STF 19:00:31.838 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-01-22T19:00:32.033Z] STF 19:00:31.839 - | ModuleVersion: null [2025-01-22T19:00:32.033Z] STF 19:00:31.839 - | MainClass: null [2025-01-22T19:00:32.033Z] STF 19:00:31.839 - | HashModules: null [2025-01-22T19:00:32.033Z] STF 19:00:31.839 - | [2025-01-22T19:00:32.033Z] STF 19:00:31.839 - 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_1/20250122-190025-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:32.033Z] STF 19:00:31.839 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_1/20250122-190025-UpgModPathTest/results/7.CMJ.stderr [2025-01-22T19:00:32.033Z] STF 19:00:31.839 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_1/20250122-190025-UpgModPathTest/results/7.CMJ.stdout [2025-01-22T19:00:32.033Z] STF 19:00:31.847 - Monitoring processes: CMJ [2025-01-22T19:00:32.361Z] STF 19:00:32.184 - Monitoring Report Summary: [2025-01-22T19:00:32.361Z] STF 19:00:32.184 - o Process CMJ ended with the expected exit code (0) [2025-01-22T19:00:32.361Z] STF 19:00:32.185 - Created modular jar: 7.com.hello.jar [2025-01-22T19:00:32.361Z] STF 19:00:32.185 - [2025-01-22T19:00:32.361Z] STF 19:00:32.185 - +------ Step 8 - Create com.hello override jar [2025-01-22T19:00:32.361Z] STF 19:00:32.185 - | Create modular jar [2025-01-22T19:00:32.361Z] STF 19:00:32.185 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2025-01-22T19:00:32.361Z] STF 19:00:32.185 - | ModuleVersion: null [2025-01-22T19:00:32.361Z] STF 19:00:32.185 - | MainClass: null [2025-01-22T19:00:32.361Z] STF 19:00:32.185 - | HashModules: null [2025-01-22T19:00:32.361Z] STF 19:00:32.185 - | [2025-01-22T19:00:32.361Z] STF 19:00:32.185 - 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_1/20250122-190025-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:32.361Z] STF 19:00:32.185 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_1/20250122-190025-UpgModPathTest/results/8.CMJ.stderr [2025-01-22T19:00:32.361Z] STF 19:00:32.185 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_1/20250122-190025-UpgModPathTest/results/8.CMJ.stdout [2025-01-22T19:00:32.361Z] STF 19:00:32.192 - Monitoring processes: CMJ [2025-01-22T19:00:32.691Z] STF 19:00:32.503 - Monitoring Report Summary: [2025-01-22T19:00:32.691Z] STF 19:00:32.503 - o Process CMJ ended with the expected exit code (0) [2025-01-22T19:00:32.691Z] STF 19:00:32.504 - Created modular jar: 8.java.logging.jar [2025-01-22T19:00:32.691Z] STF 19:00:32.504 - [2025-01-22T19:00:32.691Z] STF 19:00:32.504 - +------ Step 9 - Override an application module using modularized jar [2025-01-22T19:00:32.691Z] STF 19:00:32.504 - | Run foreground process [2025-01-22T19:00:32.691Z] STF 19:00:32.504 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2025-01-22T19:00:32.691Z] STF 19:00:32.504 - | Mnemonic: OT21 [2025-01-22T19:00:32.691Z] STF 19:00:32.504 - | Echo: ECHO_ON [2025-01-22T19:00:32.691Z] STF 19:00:32.504 - | Expectation: CLEAN_RUN within 1m [2025-01-22T19:00:32.691Z] STF 19:00:32.504 - | [2025-01-22T19:00:32.691Z] STF 19:00:32.504 - 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_1/20250122-190025-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:32.691Z] STF 19:00:32.504 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_1/20250122-190025-UpgModPathTest/results/9.OT21.stderr [2025-01-22T19:00:32.691Z] STF 19:00:32.504 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_1/20250122-190025-UpgModPathTest/results/9.OT21.stdout [2025-01-22T19:00:32.691Z] STF 19:00:32.512 - Monitoring processes: OT21 [2025-01-22T19:00:33.020Z] OT21 JUnit version 4.12 [2025-01-22T19:00:33.020Z] OT21 . [2025-01-22T19:00:33.020Z] OT21 Time: 0.007 [2025-01-22T19:00:33.020Z] OT21 [2025-01-22T19:00:33.020Z] OT21 OK (1 test) [2025-01-22T19:00:33.020Z] OT21 [2025-01-22T19:00:33.020Z] STF 19:00:32.909 - Monitoring Report Summary: [2025-01-22T19:00:33.020Z] STF 19:00:32.909 - o Process OT21 ended with the expected exit code (0) [2025-01-22T19:00:33.020Z] STF 19:00:32.909 - [2025-01-22T19:00:33.020Z] STF 19:00:32.909 - +------ Step 10 - (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar [2025-01-22T19:00:33.020Z] STF 19:00:32.909 - | Run foreground process [2025-01-22T19:00:33.020Z] STF 19:00:32.909 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2025-01-22T19:00:33.020Z] STF 19:00:32.909 - | Mnemonic: OT24 [2025-01-22T19:00:33.021Z] STF 19:00:32.909 - | Echo: ECHO_ON [2025-01-22T19:00:33.021Z] STF 19:00:32.909 - | Expectation: NON_ZERO_EXIT [1] within 1m [2025-01-22T19:00:33.021Z] STF 19:00:32.909 - | [2025-01-22T19:00:33.021Z] STF 19:00:32.910 - 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_1/20250122-190025-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:33.021Z] STF 19:00:32.910 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_1/20250122-190025-UpgModPathTest/results/10.OT24.stderr [2025-01-22T19:00:33.021Z] STF 19:00:32.910 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_1/20250122-190025-UpgModPathTest/results/10.OT24.stdout [2025-01-22T19:00:33.021Z] STF 19:00:32.916 - Monitoring processes: OT24 [2025-01-22T19:00:33.351Z] OT24 Error occurred during initialization of boot layer [2025-01-22T19:00:33.351Z] OT24 java.lang.module.FindException: Hash of java.logging (b563d91fccb4d61c5547d134bd25b6f3a7031d9348bb4b767606106dccd884f1) differs to expected hash (90a547196b265faebf20af3ee0cdaa9a2de625b1b37c86766c57db95a68f0c71) recorded in java.base [2025-01-22T19:00:33.351Z] STF 19:00:33.195 - Monitoring Report Summary: [2025-01-22T19:00:33.351Z] STF 19:00:33.195 - o Process OT24 ended with the expected exit code (1) [2025-01-22T19:00:33.351Z] STF 19:00:33.195 - [2025-01-22T19:00:33.351Z] STF 19:00:33.195 - +------ Step 11 - Combine stderr and stdout files of process OT24 [2025-01-22T19:00:33.351Z] STF 19:00:33.195 - | Run foreground process [2025-01-22T19:00:33.351Z] STF 19:00:33.195 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2025-01-22T19:00:33.351Z] STF 19:00:33.195 - | Mnemonic: CO [2025-01-22T19:00:33.351Z] STF 19:00:33.195 - | Echo: ECHO_OFF [2025-01-22T19:00:33.351Z] STF 19:00:33.196 - | Expectation: NON_ZERO_EXIT [0] within 30s [2025-01-22T19:00:33.351Z] STF 19:00:33.196 - | [2025-01-22T19:00:33.351Z] STF 19:00:33.196 - 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_1/20250122-190025-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_1/20250122-190025-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_1\20250122-190025-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:33.351Z] STF 19:00:33.196 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_1/20250122-190025-UpgModPathTest/results/11.CO.stderr [2025-01-22T19:00:33.351Z] STF 19:00:33.196 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_1/20250122-190025-UpgModPathTest/results/11.CO.stdout [2025-01-22T19:00:33.351Z] STF 19:00:33.201 - Monitoring processes: CO [2025-01-22T19:00:33.682Z] STF 19:00:33.443 - Monitoring Report Summary: [2025-01-22T19:00:33.682Z] STF 19:00:33.443 - o Process CO ended with the expected exit code (0) [2025-01-22T19:00:33.682Z] STF 19:00:33.443 - [2025-01-22T19:00:33.682Z] STF 19:00:33.443 - +------ Step 12 - Check output [2025-01-22T19:00:33.682Z] STF 19:00:33.444 - | Count file matches [2025-01-22T19:00:33.682Z] STF 19:00:33.444 - | TargetFile: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/UpgModPath_Jar_1/20250122-190025-UpgModPathTest/results/combinedOT24.txt [2025-01-22T19:00:33.682Z] STF 19:00:33.444 - | ExpectedNumMatches: 1 [2025-01-22T19:00:33.682Z] STF 19:00:33.444 - | SearchStrings: ["FindException: Hash of java.logging"] [2025-01-22T19:00:33.682Z] STF 19:00:33.444 - | [2025-01-22T19:00:33.682Z] STF 19:00:33.445 - Found 1 instances of ["FindException: Hash of java.logging"] [2025-01-22T19:00:33.682Z] STF 19:00:33.445 - EXECUTE stage completed [2025-01-22T19:00:33.682Z] STF 19:00:33.522 - [2025-01-22T19:00:33.682Z] STF 19:00:33.522 - ==================== T E A R D O W N ==================== [2025-01-22T19:00:33.682Z] STF 19:00:33.522 - Running teardown: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17375703841411\UpgModPath_Jar_1/20250122-190025-UpgModPathTest/tearDown.pl [2025-01-22T19:00:33.993Z] STF 19:00:33.686 - TEARDOWN stage completed [2025-01-22T19:00:33.993Z] STF 19:00:33.705 - [2025-01-22T19:00:33.993Z] STF 19:00:33.705 - ===================== R E S U L T S ===================== [2025-01-22T19:00:33.993Z] STF 19:00:33.705 - Stage results: [2025-01-22T19:00:33.993Z] STF 19:00:33.705 - setUp: pass [2025-01-22T19:00:33.993Z] STF 19:00:33.705 - execute: pass [2025-01-22T19:00:33.993Z] STF 19:00:33.705 - teardown: pass [2025-01-22T19:00:33.993Z] STF 19:00:33.705 - [2025-01-22T19:00:33.993Z] STF 19:00:33.705 - Overall result: PASSED [2025-01-22T19:00:33.993Z] ----------------------------------- [2025-01-22T19:00:33.993Z] UpgModPath_Jar_1_PASSED [2025-01-22T19:00:33.993Z] ----------------------------------- [2025-01-22T19:00:33.993Z] [2025-01-22T19:00:33.993Z] TEST TEARDOWN: [2025-01-22T19:00:33.993Z] Nothing to be done for teardown. [2025-01-22T19:00:34.334Z] UpgModPath_Jar_1 Finish Time: Wed Jan 22 19:00:34 2025 Epoch Time (ms): 1737572434152