UpgModPath_JarImg_1

[2024-10-03T09:12:55.195Z] Running test UpgModPath_JarImg_1 ... [2024-10-03T09:12:55.516Z] =============================================== [2024-10-03T09:12:55.516Z] UpgModPath_JarImg_1 Start Time: Thu Oct 3 09:12:55 2024 Epoch Time (ms): 1727946775430 [2024-10-03T09:12:55.830Z] variation: Mode650 [2024-10-03T09:12:55.830Z] JVM_OPTIONS: -XX:-UseCompressedOops [2024-10-03T09:12:55.830Z] { \ [2024-10-03T09:12:55.830Z] echo ""; echo "TEST SETUP:"; \ [2024-10-03T09:12:55.830Z] echo "Nothing to be done for setup."; \ [2024-10-03T09:12:55.830Z] mkdir -p "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17279447837285\\UpgModPath_JarImg_1"; \ [2024-10-03T09:12:55.830Z] cd "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17279447837285\\UpgModPath_JarImg_1"; \ [2024-10-03T09:12:55.830Z] echo ""; echo "TESTING:"; \ [2024-10-03T09:12:55.830Z] 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_17279447837285\\UpgModPath_JarImg_1" -test=UpgModPathTest -test-args="variant=JarImg"; \ [2024-10-03T09:12:55.830Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_JarImg_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_17279447837285\\UpgModPath_JarImg_1"; else echo "-----------------------------------"; echo "UpgModPath_JarImg_1""_FAILED"; echo "-----------------------------------"; fi; \ [2024-10-03T09:12:55.830Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-10-03T09:12:55.830Z] echo "Nothing to be done for teardown."; \ [2024-10-03T09:12:55.830Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17279447837285\\TestTargetResult"; [2024-10-03T09:12:56.152Z] [2024-10-03T09:12:56.152Z] TEST SETUP: [2024-10-03T09:12:56.152Z] Nothing to be done for setup. [2024-10-03T09:12:56.152Z] [2024-10-03T09:12:56.152Z] TESTING: [2024-10-03T09:12:56.152Z] STF 09:12:55.970 - ========================= S T F ========================= [2024-10-03T09:12:56.152Z] 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_17279447837285\UpgModPath_JarImg_1 [2024-10-03T09:12:56.152Z] There is 97101 Mb free [2024-10-03T09:12:56.152Z] STF 09:12:56.018 - ================== G E N E R A T I O N ================== [2024-10-03T09:12:56.152Z] STF 09:12:56.021 - Checking JVM: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image [2024-10-03T09:12:56.152Z] STF 09:12:56.022 - 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_17279447837285\UpgModPath_JarImg_1/20241003-091255-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_17279447837285\UpgModPath_JarImg_1/20241003-091255-UpgModPathTest" [2024-10-03T09:12:57.261Z] GEN 09:12:57.054 - 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' [2024-10-03T09:12:57.261Z] GEN 09:12:57.077 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2024-10-03T09:12:57.584Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-10-03T09:12:57.584Z] 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 [2024-10-03T09:12:57.584Z] 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 [2024-10-03T09:12:57.584Z] 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 [2024-10-03T09:12:57.584Z] 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 [2024-10-03T09:12:57.584Z] 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 [2024-10-03T09:12:57.584Z] 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 [2024-10-03T09:12:57.584Z] 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 [2024-10-03T09:12:57.584Z] 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 [2024-10-03T09:12:57.584Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2024-10-03T09:12:57.584Z] 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 [2024-10-03T09:12:57.584Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2024-10-03T09:12:57.584Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2024-10-03T09:12:57.584Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-10-03T09:12:57.584Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-10-03T09:12:57.585Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-10-03T09:12:57.585Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2024-10-03T09:12:57.585Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-10-03T09:12:57.585Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-10-03T09:12:57.585Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar [2024-10-03T09:12:57.585Z] GEN 09:12:57.349 - Using Mode NoOptions. Values = '' [2024-10-03T09:12:57.585Z] GEN 09:12:57.487 - [2024-10-03T09:12:57.585Z] GEN 09:12:57.487 - Test command summary: [2024-10-03T09:12:57.585Z] GEN 09:12:57.487 - Step Stage Command Description [2024-10-03T09:12:57.585Z] GEN 09:12:57.488 - -----+--------+-----------------+------------ [2024-10-03T09:12:57.585Z] GEN 09:12:57.488 - 1 execute jar Create com.hello jar [2024-10-03T09:12:57.585Z] GEN 09:12:57.488 - 2 execute jar Create com.hola jar [2024-10-03T09:12:57.585Z] GEN 09:12:57.488 - 3 execute jar Create com.helper jar [2024-10-03T09:12:57.585Z] GEN 09:12:57.488 - 4 execute jar Create com.discreet jar [2024-10-03T09:12:57.585Z] GEN 09:12:57.488 - 5 execute jar Create tests jar [2024-10-03T09:12:57.585Z] GEN 09:12:57.488 - 6 execute jlink Create runtime image for upgrademodulepath test [2024-10-03T09:12:57.585Z] GEN 09:12:57.488 - 7 execute jar Create com.hello override jar [2024-10-03T09:12:57.585Z] GEN 09:12:57.488 - 8 execute jar Create com.hello override jar [2024-10-03T09:12:57.585Z] GEN 09:12:57.488 - 9 execute Run java Override an application module using a custom runtime image where the overriding module is in a modularized jar [2024-10-03T09:12:57.585Z] GEN 09:12:57.488 - 10 execute Run java (Negative test) Override a non-upgradable platform module using a custom runtime imagewhere the overriding module is in a modularized jar [2024-10-03T09:12:57.585Z] GEN 09:12:57.488 - 11 execute Run java Combine stderr and stdout files of process OT27 [2024-10-03T09:12:57.585Z] GEN 09:12:57.488 - 12 execute count Check output [2024-10-03T09:12:57.585Z] STF 09:12:57.531 - [2024-10-03T09:12:57.585Z] STF 09:12:57.531 - Script generation completed [2024-10-03T09:12:57.585Z] STF 09:12:57.531 - [2024-10-03T09:12:57.585Z] STF 09:12:57.532 - [2024-10-03T09:12:57.585Z] STF 09:12:57.532 - ======================= S E T U P ======================= [2024-10-03T09:12:57.585Z] STF 09:12:57.532 - Running setup: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17279447837285\UpgModPath_JarImg_1/20241003-091255-UpgModPathTest/setUp.pl [2024-10-03T09:12:57.909Z] STF 09:12:57.661 - SETUP stage completed [2024-10-03T09:12:57.909Z] STF 09:12:57.672 - [2024-10-03T09:12:57.909Z] STF 09:12:57.672 - ==================== E X E C U T E - ==================== [2024-10-03T09:12:57.909Z] STF 09:12:57.672 - Running execute: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17279447837285\UpgModPath_JarImg_1/20241003-091255-UpgModPathTest/execute.pl [2024-10-03T09:12:57.909Z] STF 09:12:57.805 - [2024-10-03T09:12:57.909Z] STF 09:12:57.805 - Java version [2024-10-03T09:12:57.909Z] STF 09:12:57.805 - Running: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-10-03T09:12:58.233Z] openjdk version "11.0.25-beta" 2024-10-15 [2024-10-03T09:12:58.233Z] OpenJDK Runtime Environment Temurin-11.0.25+8-202410022214 (build 11.0.25-beta+8-ea) [2024-10-03T09:12:58.233Z] OpenJDK 64-Bit Server VM Temurin-11.0.25+8-202410022214 (build 11.0.25-beta+8-ea, mixed mode) [2024-10-03T09:12:58.233Z] STF 09:12:57.919 - [2024-10-03T09:12:58.233Z] STF 09:12:57.919 - +------ Step 1 - Create com.hello jar [2024-10-03T09:12:58.233Z] STF 09:12:57.919 - | Create modular jar [2024-10-03T09:12:58.233Z] STF 09:12:57.919 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-10-03T09:12:58.233Z] STF 09:12:57.919 - | ModuleVersion: null [2024-10-03T09:12:58.233Z] STF 09:12:57.919 - | MainClass: null [2024-10-03T09:12:58.233Z] STF 09:12:57.919 - | HashModules: null [2024-10-03T09:12:58.233Z] STF 09:12:57.919 - | [2024-10-03T09:12:58.233Z] STF 09:12:57.920 - 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_17279447837285/UpgModPath_JarImg_1/20241003-091255-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 . [2024-10-03T09:12:58.233Z] STF 09:12:57.920 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/UpgModPath_JarImg_1/20241003-091255-UpgModPathTest/results/1.CMJ.stderr [2024-10-03T09:12:58.233Z] STF 09:12:57.920 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/UpgModPath_JarImg_1/20241003-091255-UpgModPathTest/results/1.CMJ.stdout [2024-10-03T09:12:58.233Z] STF 09:12:57.948 - Monitoring processes: CMJ [2024-10-03T09:12:58.553Z] STF 09:12:58.216 - Monitoring Report Summary: [2024-10-03T09:12:58.553Z] STF 09:12:58.216 - o Process CMJ ended with the expected exit code (0) [2024-10-03T09:12:58.553Z] STF 09:12:58.216 - Created modular jar: 1.com.hello.jar [2024-10-03T09:12:58.553Z] STF 09:12:58.216 - [2024-10-03T09:12:58.553Z] STF 09:12:58.216 - +------ Step 2 - Create com.hola jar [2024-10-03T09:12:58.553Z] STF 09:12:58.216 - | Create modular jar [2024-10-03T09:12:58.553Z] STF 09:12:58.216 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-10-03T09:12:58.553Z] STF 09:12:58.216 - | ModuleVersion: null [2024-10-03T09:12:58.553Z] STF 09:12:58.216 - | MainClass: null [2024-10-03T09:12:58.553Z] STF 09:12:58.216 - | HashModules: null [2024-10-03T09:12:58.553Z] STF 09:12:58.216 - | [2024-10-03T09:12:58.553Z] STF 09:12:58.217 - 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_17279447837285/UpgModPath_JarImg_1/20241003-091255-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 . [2024-10-03T09:12:58.553Z] STF 09:12:58.217 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/UpgModPath_JarImg_1/20241003-091255-UpgModPathTest/results/2.CMJ.stderr [2024-10-03T09:12:58.553Z] STF 09:12:58.217 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/UpgModPath_JarImg_1/20241003-091255-UpgModPathTest/results/2.CMJ.stdout [2024-10-03T09:12:58.553Z] STF 09:12:58.224 - Monitoring processes: CMJ [2024-10-03T09:12:58.553Z] STF 09:12:58.500 - Monitoring Report Summary: [2024-10-03T09:12:58.553Z] STF 09:12:58.500 - o Process CMJ ended with the expected exit code (0) [2024-10-03T09:12:58.553Z] STF 09:12:58.500 - Created modular jar: 2.com.hola.jar [2024-10-03T09:12:58.553Z] STF 09:12:58.500 - [2024-10-03T09:12:58.553Z] STF 09:12:58.500 - +------ Step 3 - Create com.helper jar [2024-10-03T09:12:58.553Z] STF 09:12:58.500 - | Create modular jar [2024-10-03T09:12:58.553Z] STF 09:12:58.500 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-10-03T09:12:58.553Z] STF 09:12:58.500 - | ModuleVersion: null [2024-10-03T09:12:58.553Z] STF 09:12:58.500 - | MainClass: null [2024-10-03T09:12:58.553Z] STF 09:12:58.500 - | HashModules: null [2024-10-03T09:12:58.553Z] STF 09:12:58.500 - | [2024-10-03T09:12:58.553Z] STF 09:12:58.500 - 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_17279447837285/UpgModPath_JarImg_1/20241003-091255-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 . [2024-10-03T09:12:58.553Z] STF 09:12:58.501 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/UpgModPath_JarImg_1/20241003-091255-UpgModPathTest/results/3.CMJ.stderr [2024-10-03T09:12:58.553Z] STF 09:12:58.501 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/UpgModPath_JarImg_1/20241003-091255-UpgModPathTest/results/3.CMJ.stdout [2024-10-03T09:12:58.553Z] STF 09:12:58.507 - Monitoring processes: CMJ [2024-10-03T09:12:58.874Z] STF 09:12:58.784 - Monitoring Report Summary: [2024-10-03T09:12:58.874Z] STF 09:12:58.784 - o Process CMJ ended with the expected exit code (0) [2024-10-03T09:12:58.874Z] STF 09:12:58.784 - Created modular jar: 3.com.helper.jar [2024-10-03T09:12:58.874Z] STF 09:12:58.784 - [2024-10-03T09:12:58.874Z] STF 09:12:58.784 - +------ Step 4 - Create com.discreet jar [2024-10-03T09:12:58.874Z] STF 09:12:58.784 - | Create modular jar [2024-10-03T09:12:58.874Z] STF 09:12:58.784 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-10-03T09:12:58.874Z] STF 09:12:58.785 - | ModuleVersion: null [2024-10-03T09:12:58.874Z] STF 09:12:58.785 - | MainClass: null [2024-10-03T09:12:58.874Z] STF 09:12:58.785 - | HashModules: null [2024-10-03T09:12:58.874Z] STF 09:12:58.785 - | [2024-10-03T09:12:58.874Z] STF 09:12:58.785 - 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_17279447837285/UpgModPath_JarImg_1/20241003-091255-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 . [2024-10-03T09:12:58.874Z] STF 09:12:58.785 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/UpgModPath_JarImg_1/20241003-091255-UpgModPathTest/results/4.CMJ.stderr [2024-10-03T09:12:58.874Z] STF 09:12:58.785 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/UpgModPath_JarImg_1/20241003-091255-UpgModPathTest/results/4.CMJ.stdout [2024-10-03T09:12:58.874Z] STF 09:12:58.790 - Monitoring processes: CMJ [2024-10-03T09:12:59.198Z] STF 09:12:59.074 - Monitoring Report Summary: [2024-10-03T09:12:59.198Z] STF 09:12:59.074 - o Process CMJ ended with the expected exit code (0) [2024-10-03T09:12:59.198Z] STF 09:12:59.074 - Created modular jar: 4.com.discreet.jar [2024-10-03T09:12:59.198Z] STF 09:12:59.074 - [2024-10-03T09:12:59.198Z] STF 09:12:59.074 - +------ Step 5 - Create tests jar [2024-10-03T09:12:59.198Z] STF 09:12:59.074 - | Create modular jar [2024-10-03T09:12:59.198Z] STF 09:12:59.074 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-10-03T09:12:59.198Z] STF 09:12:59.074 - | ModuleVersion: null [2024-10-03T09:12:59.198Z] STF 09:12:59.074 - | MainClass: null [2024-10-03T09:12:59.198Z] STF 09:12:59.074 - | HashModules: null [2024-10-03T09:12:59.198Z] STF 09:12:59.074 - | [2024-10-03T09:12:59.198Z] STF 09:12:59.074 - 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_17279447837285/UpgModPath_JarImg_1/20241003-091255-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 . [2024-10-03T09:12:59.198Z] STF 09:12:59.075 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/UpgModPath_JarImg_1/20241003-091255-UpgModPathTest/results/5.CMJ.stderr [2024-10-03T09:12:59.198Z] STF 09:12:59.075 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/UpgModPath_JarImg_1/20241003-091255-UpgModPathTest/results/5.CMJ.stdout [2024-10-03T09:12:59.198Z] STF 09:12:59.080 - Monitoring processes: CMJ [2024-10-03T09:12:59.528Z] STF 09:12:59.370 - Monitoring Report Summary: [2024-10-03T09:12:59.528Z] STF 09:12:59.370 - o Process CMJ ended with the expected exit code (0) [2024-10-03T09:12:59.528Z] STF 09:12:59.370 - Created modular jar: 5.com.test.jar [2024-10-03T09:12:59.528Z] STF 09:12:59.370 - [2024-10-03T09:12:59.528Z] STF 09:12:59.370 - +------ Step 6 - Create runtime image for upgrademodulepath test [2024-10-03T09:12:59.528Z] STF 09:12:59.370 - | Run jlink to create runtime image [2024-10-03T09:12:59.528Z] STF 09:12:59.370 - | ImageName: UpJVM [2024-10-03T09:12:59.528Z] STF 09:12:59.370 - | [2024-10-03T09:12:59.528Z] STF 09:12:59.371 - 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_17279447837285\UpgModPath_JarImg_1\20241003-091255-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_17279447837285\UpgModPath_JarImg_1\20241003-091255-UpgModPathTest\tmp\6.UpJVM [2024-10-03T09:12:59.528Z] STF 09:12:59.371 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/UpgModPath_JarImg_1/20241003-091255-UpgModPathTest/results/6.JLNK.stderr [2024-10-03T09:12:59.528Z] STF 09:12:59.371 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/UpgModPath_JarImg_1/20241003-091255-UpgModPathTest/results/6.JLNK.stdout [2024-10-03T09:12:59.528Z] STF 09:12:59.376 - Monitoring processes: JLNK [2024-10-03T09:13:02.401Z] STF 09:13:01.647 - Monitoring Report Summary: [2024-10-03T09:13:02.401Z] STF 09:13:01.647 - o Process JLNK ended with the expected exit code (0) [2024-10-03T09:13:02.401Z] STF 09:13:01.648 - [2024-10-03T09:13:02.401Z] STF 09:13:01.648 - +------ Step 7 - Create com.hello override jar [2024-10-03T09:13:02.401Z] STF 09:13:01.648 - | Create modular jar [2024-10-03T09:13:02.401Z] STF 09:13:01.648 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-10-03T09:13:02.401Z] STF 09:13:01.648 - | ModuleVersion: null [2024-10-03T09:13:02.401Z] STF 09:13:01.648 - | MainClass: null [2024-10-03T09:13:02.401Z] STF 09:13:01.648 - | HashModules: null [2024-10-03T09:13:02.401Z] STF 09:13:01.648 - | [2024-10-03T09:13:02.402Z] STF 09:13:01.648 - 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_17279447837285/UpgModPath_JarImg_1/20241003-091255-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 . [2024-10-03T09:13:02.402Z] STF 09:13:01.648 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/UpgModPath_JarImg_1/20241003-091255-UpgModPathTest/results/7.CMJ.stderr [2024-10-03T09:13:02.402Z] STF 09:13:01.648 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/UpgModPath_JarImg_1/20241003-091255-UpgModPathTest/results/7.CMJ.stdout [2024-10-03T09:13:02.402Z] STF 09:13:01.663 - Monitoring processes: CMJ [2024-10-03T09:13:02.402Z] STF 09:13:02.068 - Monitoring Report Summary: [2024-10-03T09:13:02.402Z] STF 09:13:02.068 - o Process CMJ ended with the expected exit code (0) [2024-10-03T09:13:02.402Z] STF 09:13:02.068 - Created modular jar: 7.com.hello.jar [2024-10-03T09:13:02.402Z] STF 09:13:02.068 - [2024-10-03T09:13:02.402Z] STF 09:13:02.068 - +------ Step 8 - Create com.hello override jar [2024-10-03T09:13:02.402Z] STF 09:13:02.068 - | Create modular jar [2024-10-03T09:13:02.402Z] STF 09:13:02.068 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2024-10-03T09:13:02.402Z] STF 09:13:02.068 - | ModuleVersion: null [2024-10-03T09:13:02.402Z] STF 09:13:02.068 - | MainClass: null [2024-10-03T09:13:02.402Z] STF 09:13:02.068 - | HashModules: null [2024-10-03T09:13:02.402Z] STF 09:13:02.068 - | [2024-10-03T09:13:02.402Z] STF 09:13:02.069 - 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_17279447837285/UpgModPath_JarImg_1/20241003-091255-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 . [2024-10-03T09:13:02.402Z] STF 09:13:02.069 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/UpgModPath_JarImg_1/20241003-091255-UpgModPathTest/results/8.CMJ.stderr [2024-10-03T09:13:02.402Z] STF 09:13:02.069 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/UpgModPath_JarImg_1/20241003-091255-UpgModPathTest/results/8.CMJ.stdout [2024-10-03T09:13:02.402Z] STF 09:13:02.076 - Monitoring processes: CMJ [2024-10-03T09:13:02.402Z] STF 09:13:02.356 - Monitoring Report Summary: [2024-10-03T09:13:02.402Z] STF 09:13:02.356 - o Process CMJ ended with the expected exit code (0) [2024-10-03T09:13:02.402Z] STF 09:13:02.357 - Created modular jar: 8.java.logging.jar [2024-10-03T09:13:02.402Z] STF 09:13:02.357 - [2024-10-03T09:13:02.402Z] STF 09:13:02.357 - +------ Step 9 - Override an application module using a custom runtime image where the overriding module is in a modularized jar [2024-10-03T09:13:02.402Z] STF 09:13:02.357 - | Run foreground process [2024-10-03T09:13:02.402Z] STF 09:13:02.357 - | Program: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/UpgModPath_JarImg_1/20241003-091255-UpgModPathTest/tmp/6.UpJVM/bin/java [2024-10-03T09:13:02.402Z] STF 09:13:02.357 - | Mnemonic: OT25 [2024-10-03T09:13:02.402Z] STF 09:13:02.357 - | Echo: ECHO_ON [2024-10-03T09:13:02.402Z] STF 09:13:02.357 - | Expectation: CLEAN_RUN within 1m [2024-10-03T09:13:02.402Z] STF 09:13:02.357 - | [2024-10-03T09:13:02.402Z] STF 09:13:02.357 - Running command: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/UpgModPath_JarImg_1/20241003-091255-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/UpgModPath_JarImg_1/20241003-091255-UpgModPathTest/modules/7.com.hello.jar -XX:-UseCompressedOops -classpath c:/jenkins/testDependency/system_lib/junit/junit.jar;c:/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2024-10-03T09:13:02.402Z] STF 09:13:02.357 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/UpgModPath_JarImg_1/20241003-091255-UpgModPathTest/results/9.OT25.stderr [2024-10-03T09:13:02.402Z] STF 09:13:02.357 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/UpgModPath_JarImg_1/20241003-091255-UpgModPathTest/results/9.OT25.stdout [2024-10-03T09:13:02.729Z] STF 09:13:02.398 - Monitoring processes: OT25 [2024-10-03T09:13:02.729Z] OT25 JUnit version 4.12 [2024-10-03T09:13:02.729Z] OT25 . [2024-10-03T09:13:03.051Z] OT25 Time: 0.006 [2024-10-03T09:13:03.051Z] OT25 [2024-10-03T09:13:03.051Z] OT25 OK (1 test) [2024-10-03T09:13:03.051Z] OT25 [2024-10-03T09:13:03.051Z] STF 09:13:02.671 - Monitoring Report Summary: [2024-10-03T09:13:03.051Z] STF 09:13:02.671 - o Process OT25 ended with the expected exit code (0) [2024-10-03T09:13:03.051Z] STF 09:13:02.672 - [2024-10-03T09:13:03.051Z] STF 09:13:02.672 - +------ Step 10 - (Negative test) Override a non-upgradable platform module using a custom runtime imagewhere the overriding module is in a modularized jar [2024-10-03T09:13:03.051Z] STF 09:13:02.672 - | Run foreground process [2024-10-03T09:13:03.051Z] STF 09:13:02.672 - | Program: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/UpgModPath_JarImg_1/20241003-091255-UpgModPathTest/tmp/6.UpJVM/bin/java [2024-10-03T09:13:03.051Z] STF 09:13:02.672 - | Mnemonic: OT27 [2024-10-03T09:13:03.051Z] STF 09:13:02.672 - | Echo: ECHO_ON [2024-10-03T09:13:03.051Z] STF 09:13:02.672 - | Expectation: NON_ZERO_EXIT [1] within 1m [2024-10-03T09:13:03.051Z] STF 09:13:02.672 - | [2024-10-03T09:13:03.051Z] STF 09:13:02.672 - Running command: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/UpgModPath_JarImg_1/20241003-091255-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/UpgModPath_JarImg_1/20241003-091255-UpgModPathTest/modules/8.java.logging.jar -XX:-UseCompressedOops -classpath c:/jenkins/testDependency/system_lib/junit/junit.jar;c:/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingNonUpgradablePlatformModule [2024-10-03T09:13:03.051Z] STF 09:13:02.672 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/UpgModPath_JarImg_1/20241003-091255-UpgModPathTest/results/10.OT27.stderr [2024-10-03T09:13:03.051Z] STF 09:13:02.672 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/UpgModPath_JarImg_1/20241003-091255-UpgModPathTest/results/10.OT27.stdout [2024-10-03T09:13:03.051Z] STF 09:13:02.678 - Monitoring processes: OT27 [2024-10-03T09:13:03.051Z] OT27 Error occurred during initialization of boot layer [2024-10-03T09:13:03.051Z] OT27 java.lang.module.FindException: Hash of java.logging (6538e4329dfd0a3379d9797216f91349929c40c383aa5df89f209224446ef6fb) differs to expected hash (9b88281c6d4861701a3749d5fb2db6e88f56df955512fce0e700af9602c7195e) recorded in java.base [2024-10-03T09:13:03.051Z] STF 09:13:02.866 - Monitoring Report Summary: [2024-10-03T09:13:03.051Z] STF 09:13:02.866 - o Process OT27 ended with the expected exit code (1) [2024-10-03T09:13:03.051Z] STF 09:13:02.866 - [2024-10-03T09:13:03.051Z] STF 09:13:02.866 - +------ Step 11 - Combine stderr and stdout files of process OT27 [2024-10-03T09:13:03.051Z] STF 09:13:02.866 - | Run foreground process [2024-10-03T09:13:03.051Z] STF 09:13:02.866 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-10-03T09:13:03.051Z] STF 09:13:02.866 - | Mnemonic: CO [2024-10-03T09:13:03.051Z] STF 09:13:02.866 - | Echo: ECHO_OFF [2024-10-03T09:13:03.051Z] STF 09:13:02.866 - | Expectation: NON_ZERO_EXIT [0] within 30s [2024-10-03T09:13:03.051Z] STF 09:13:02.866 - | [2024-10-03T09:13:03.052Z] STF 09:13:02.867 - 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_17279447837285/UpgModPath_JarImg_1/20241003-091255-UpgModPathTest/results/10.OT27.stdout -Dfile2=C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/UpgModPath_JarImg_1/20241003-091255-UpgModPathTest/results/10.OT27.stderr -Dfinal.file=C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17279447837285\UpgModPath_JarImg_1\20241003-091255-UpgModPathTest\results\combinedOT27.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 [2024-10-03T09:13:03.052Z] STF 09:13:02.867 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/UpgModPath_JarImg_1/20241003-091255-UpgModPathTest/results/11.CO.stderr [2024-10-03T09:13:03.052Z] STF 09:13:02.867 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/UpgModPath_JarImg_1/20241003-091255-UpgModPathTest/results/11.CO.stdout [2024-10-03T09:13:03.052Z] STF 09:13:02.872 - Monitoring processes: CO [2024-10-03T09:13:03.417Z] STF 09:13:03.063 - Monitoring Report Summary: [2024-10-03T09:13:03.417Z] STF 09:13:03.063 - o Process CO ended with the expected exit code (0) [2024-10-03T09:13:03.417Z] STF 09:13:03.063 - [2024-10-03T09:13:03.417Z] STF 09:13:03.063 - +------ Step 12 - Check output [2024-10-03T09:13:03.417Z] STF 09:13:03.063 - | Count file matches [2024-10-03T09:13:03.417Z] STF 09:13:03.063 - | TargetFile: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279447837285/UpgModPath_JarImg_1/20241003-091255-UpgModPathTest/results/combinedOT27.txt [2024-10-03T09:13:03.417Z] STF 09:13:03.063 - | ExpectedNumMatches: 1 [2024-10-03T09:13:03.417Z] STF 09:13:03.063 - | SearchStrings: ["FindException: Hash of java.logging"] [2024-10-03T09:13:03.417Z] STF 09:13:03.063 - | [2024-10-03T09:13:03.417Z] STF 09:13:03.065 - Found 1 instances of ["FindException: Hash of java.logging"] [2024-10-03T09:13:03.417Z] STF 09:13:03.065 - EXECUTE stage completed [2024-10-03T09:13:03.417Z] STF 09:13:03.121 - [2024-10-03T09:13:03.417Z] STF 09:13:03.121 - ==================== T E A R D O W N ==================== [2024-10-03T09:13:03.417Z] STF 09:13:03.121 - Running teardown: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17279447837285\UpgModPath_JarImg_1/20241003-091255-UpgModPathTest/tearDown.pl [2024-10-03T09:13:03.417Z] STF 09:13:03.250 - TEARDOWN stage completed [2024-10-03T09:13:03.417Z] STF 09:13:03.261 - [2024-10-03T09:13:03.417Z] STF 09:13:03.261 - ===================== R E S U L T S ===================== [2024-10-03T09:13:03.417Z] STF 09:13:03.262 - Stage results: [2024-10-03T09:13:03.417Z] STF 09:13:03.262 - setUp: pass [2024-10-03T09:13:03.417Z] STF 09:13:03.262 - execute: pass [2024-10-03T09:13:03.417Z] STF 09:13:03.262 - teardown: pass [2024-10-03T09:13:03.417Z] STF 09:13:03.262 - [2024-10-03T09:13:03.417Z] STF 09:13:03.262 - Overall result: PASSED [2024-10-03T09:13:03.417Z] ----------------------------------- [2024-10-03T09:13:03.417Z] UpgModPath_JarImg_1_PASSED [2024-10-03T09:13:03.417Z] ----------------------------------- [2024-10-03T09:13:03.763Z] [2024-10-03T09:13:03.763Z] TEST TEARDOWN: [2024-10-03T09:13:03.763Z] Nothing to be done for teardown. [2024-10-03T09:13:03.763Z] UpgModPath_JarImg_1 Finish Time: Thu Oct 3 09:13:03 2024 Epoch Time (ms): 1727946783497