UpgModPath_Exp_0

[2024-08-01T05:57:45.542Z] Running test UpgModPath_Exp_0 ... [2024-08-01T05:57:45.897Z] =============================================== [2024-08-01T05:57:45.897Z] UpgModPath_Exp_0 Start Time: Thu Aug 1 05:57:45 2024 Epoch Time (ms): 1722491865812 [2024-08-01T05:57:46.207Z] variation: Mode150 [2024-08-01T05:57:46.551Z] JVM_OPTIONS: -XX:+UseCompressedOops [2024-08-01T05:57:46.551Z] { \ [2024-08-01T05:57:46.551Z] echo ""; echo "TEST SETUP:"; \ [2024-08-01T05:57:46.551Z] echo "Nothing to be done for setup."; \ [2024-08-01T05:57:46.551Z] mkdir -p "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17224898821066\\UpgModPath_Exp_0"; \ [2024-08-01T05:57:46.551Z] cd "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17224898821066\\UpgModPath_Exp_0"; \ [2024-08-01T05:57:46.551Z] echo ""; echo "TESTING:"; \ [2024-08-01T05:57:46.551Z] 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_17224898821066\\UpgModPath_Exp_0" -test=UpgModPathTest -test-args="variant=Exp"; \ [2024-08-01T05:57:46.551Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_Exp_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_17224898821066\\UpgModPath_Exp_0"; else echo "-----------------------------------"; echo "UpgModPath_Exp_0""_FAILED"; echo "-----------------------------------"; fi; \ [2024-08-01T05:57:46.551Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-08-01T05:57:46.551Z] echo "Nothing to be done for teardown."; \ [2024-08-01T05:57:46.551Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17224898821066\\TestTargetResult"; [2024-08-01T05:57:46.551Z] [2024-08-01T05:57:46.551Z] TEST SETUP: [2024-08-01T05:57:46.551Z] Nothing to be done for setup. [2024-08-01T05:57:46.551Z] [2024-08-01T05:57:46.551Z] TESTING: [2024-08-01T05:57:46.873Z] STF 05:57:46.603 - ========================= S T F ========================= [2024-08-01T05:57:46.873Z] 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_17224898821066\UpgModPath_Exp_0 [2024-08-01T05:57:46.873Z] There is 94702 Mb free [2024-08-01T05:57:46.873Z] STF 05:57:46.648 - ================== G E N E R A T I O N ================== [2024-08-01T05:57:46.873Z] STF 05:57:46.650 - Checking JVM: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image [2024-08-01T05:57:46.873Z] STF 05:57:46.651 - 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_17224898821066\UpgModPath_Exp_0/20240801-055746-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_17224898821066\UpgModPath_Exp_0/20240801-055746-UpgModPathTest" [2024-08-01T05:57:47.971Z] GEN 05:57:47.703 - 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-08-01T05:57:47.971Z] GEN 05:57:47.726 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2024-08-01T05:57:48.292Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-08-01T05:57:48.292Z] 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-08-01T05:57:48.292Z] 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-08-01T05:57:48.292Z] 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-08-01T05:57:48.292Z] 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-08-01T05:57:48.293Z] 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-08-01T05:57:48.293Z] 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-08-01T05:57:48.293Z] 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-08-01T05:57:48.293Z] 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-08-01T05:57:48.293Z] 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-08-01T05:57:48.293Z] 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-08-01T05:57:48.293Z] 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-08-01T05:57:48.293Z] 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-08-01T05:57:48.293Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-08-01T05:57:48.293Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-08-01T05:57:48.293Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-08-01T05:57:48.293Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2024-08-01T05:57:48.293Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-08-01T05:57:48.293Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-08-01T05:57:48.293Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar [2024-08-01T05:57:48.293Z] GEN 05:57:48.009 - Using Mode NoOptions. Values = '' [2024-08-01T05:57:48.293Z] GEN 05:57:48.160 - [2024-08-01T05:57:48.293Z] GEN 05:57:48.160 - Test command summary: [2024-08-01T05:57:48.293Z] GEN 05:57:48.161 - Step Stage Command Description [2024-08-01T05:57:48.293Z] GEN 05:57:48.161 - -----+--------+-----------------+------------ [2024-08-01T05:57:48.293Z] GEN 05:57:48.161 - 1 execute jar Create com.hello jar [2024-08-01T05:57:48.293Z] GEN 05:57:48.161 - 2 execute jar Create com.hola jar [2024-08-01T05:57:48.293Z] GEN 05:57:48.161 - 3 execute jar Create com.helper jar [2024-08-01T05:57:48.293Z] GEN 05:57:48.161 - 4 execute jar Create com.discreet jar [2024-08-01T05:57:48.293Z] GEN 05:57:48.161 - 5 execute jar Create tests jar [2024-08-01T05:57:48.293Z] GEN 05:57:48.161 - 6 execute jlink Create runtime image for upgrademodulepath test [2024-08-01T05:57:48.293Z] GEN 05:57:48.161 - 7 execute Run java Override an application module [2024-08-01T05:57:48.293Z] GEN 05:57:48.161 - 8 execute Run java (Negative test) Override a non-upgradable platform module [2024-08-01T05:57:48.293Z] GEN 05:57:48.161 - 9 execute Run java Combine stderr and stdout files of process OT13 [2024-08-01T05:57:48.293Z] GEN 05:57:48.161 - 10 execute count Check output [2024-08-01T05:57:48.293Z] STF 05:57:48.221 - [2024-08-01T05:57:48.293Z] STF 05:57:48.221 - Script generation completed [2024-08-01T05:57:48.293Z] STF 05:57:48.221 - [2024-08-01T05:57:48.293Z] STF 05:57:48.227 - [2024-08-01T05:57:48.293Z] STF 05:57:48.227 - ======================= S E T U P ======================= [2024-08-01T05:57:48.293Z] STF 05:57:48.227 - Running setup: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17224898821066\UpgModPath_Exp_0/20240801-055746-UpgModPathTest/setUp.pl [2024-08-01T05:57:48.612Z] STF 05:57:48.356 - SETUP stage completed [2024-08-01T05:57:48.612Z] STF 05:57:48.367 - [2024-08-01T05:57:48.612Z] STF 05:57:48.367 - ==================== E X E C U T E - ==================== [2024-08-01T05:57:48.612Z] STF 05:57:48.367 - Running execute: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17224898821066\UpgModPath_Exp_0/20240801-055746-UpgModPathTest/execute.pl [2024-08-01T05:57:48.612Z] STF 05:57:48.490 - [2024-08-01T05:57:48.612Z] STF 05:57:48.490 - Java version [2024-08-01T05:57:48.612Z] STF 05:57:48.490 - Running: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-08-01T05:57:48.933Z] openjdk version "11.0.25-beta" 2024-10-15 [2024-08-01T05:57:48.933Z] OpenJDK Runtime Environment Temurin-11.0.25+1-202407312210 (build 11.0.25-beta+1-ea) [2024-08-01T05:57:48.933Z] OpenJDK 64-Bit Server VM Temurin-11.0.25+1-202407312210 (build 11.0.25-beta+1-ea, mixed mode) [2024-08-01T05:57:48.933Z] STF 05:57:48.601 - [2024-08-01T05:57:48.934Z] STF 05:57:48.601 - +------ Step 1 - Create com.hello jar [2024-08-01T05:57:48.934Z] STF 05:57:48.601 - | Create modular jar [2024-08-01T05:57:48.934Z] STF 05:57:48.601 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-08-01T05:57:48.934Z] STF 05:57:48.601 - | ModuleVersion: null [2024-08-01T05:57:48.934Z] STF 05:57:48.601 - | MainClass: null [2024-08-01T05:57:48.934Z] STF 05:57:48.601 - | HashModules: null [2024-08-01T05:57:48.934Z] STF 05:57:48.601 - | [2024-08-01T05:57:48.934Z] STF 05:57:48.601 - 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_17224898821066/UpgModPath_Exp_0/20240801-055746-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-08-01T05:57:48.934Z] STF 05:57:48.602 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17224898821066/UpgModPath_Exp_0/20240801-055746-UpgModPathTest/results/1.CMJ.stderr [2024-08-01T05:57:48.934Z] STF 05:57:48.602 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17224898821066/UpgModPath_Exp_0/20240801-055746-UpgModPathTest/results/1.CMJ.stdout [2024-08-01T05:57:48.934Z] STF 05:57:48.630 - Monitoring processes: CMJ [2024-08-01T05:57:49.244Z] STF 05:57:48.914 - Monitoring Report Summary: [2024-08-01T05:57:49.244Z] STF 05:57:48.914 - o Process CMJ ended with the expected exit code (0) [2024-08-01T05:57:49.244Z] STF 05:57:48.915 - Created modular jar: 1.com.hello.jar [2024-08-01T05:57:49.244Z] STF 05:57:48.915 - [2024-08-01T05:57:49.244Z] STF 05:57:48.915 - +------ Step 2 - Create com.hola jar [2024-08-01T05:57:49.244Z] STF 05:57:48.915 - | Create modular jar [2024-08-01T05:57:49.244Z] STF 05:57:48.915 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-08-01T05:57:49.244Z] STF 05:57:48.915 - | ModuleVersion: null [2024-08-01T05:57:49.244Z] STF 05:57:48.915 - | MainClass: null [2024-08-01T05:57:49.244Z] STF 05:57:48.915 - | HashModules: null [2024-08-01T05:57:49.244Z] STF 05:57:48.915 - | [2024-08-01T05:57:49.244Z] STF 05:57:48.915 - 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_17224898821066/UpgModPath_Exp_0/20240801-055746-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-08-01T05:57:49.244Z] STF 05:57:48.915 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17224898821066/UpgModPath_Exp_0/20240801-055746-UpgModPathTest/results/2.CMJ.stderr [2024-08-01T05:57:49.244Z] STF 05:57:48.915 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17224898821066/UpgModPath_Exp_0/20240801-055746-UpgModPathTest/results/2.CMJ.stdout [2024-08-01T05:57:49.244Z] STF 05:57:48.922 - Monitoring processes: CMJ [2024-08-01T05:57:49.567Z] STF 05:57:49.223 - Monitoring Report Summary: [2024-08-01T05:57:49.567Z] STF 05:57:49.223 - o Process CMJ ended with the expected exit code (0) [2024-08-01T05:57:49.567Z] STF 05:57:49.224 - Created modular jar: 2.com.hola.jar [2024-08-01T05:57:49.567Z] STF 05:57:49.224 - [2024-08-01T05:57:49.567Z] STF 05:57:49.224 - +------ Step 3 - Create com.helper jar [2024-08-01T05:57:49.567Z] STF 05:57:49.224 - | Create modular jar [2024-08-01T05:57:49.567Z] STF 05:57:49.224 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-08-01T05:57:49.567Z] STF 05:57:49.224 - | ModuleVersion: null [2024-08-01T05:57:49.567Z] STF 05:57:49.224 - | MainClass: null [2024-08-01T05:57:49.567Z] STF 05:57:49.224 - | HashModules: null [2024-08-01T05:57:49.567Z] STF 05:57:49.224 - | [2024-08-01T05:57:49.567Z] STF 05:57:49.224 - 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_17224898821066/UpgModPath_Exp_0/20240801-055746-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-08-01T05:57:49.567Z] STF 05:57:49.224 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17224898821066/UpgModPath_Exp_0/20240801-055746-UpgModPathTest/results/3.CMJ.stderr [2024-08-01T05:57:49.567Z] STF 05:57:49.224 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17224898821066/UpgModPath_Exp_0/20240801-055746-UpgModPathTest/results/3.CMJ.stdout [2024-08-01T05:57:49.567Z] STF 05:57:49.229 - Monitoring processes: CMJ [2024-08-01T05:57:49.567Z] STF 05:57:49.508 - Monitoring Report Summary: [2024-08-01T05:57:49.567Z] STF 05:57:49.508 - o Process CMJ ended with the expected exit code (0) [2024-08-01T05:57:49.567Z] STF 05:57:49.509 - Created modular jar: 3.com.helper.jar [2024-08-01T05:57:49.567Z] STF 05:57:49.509 - [2024-08-01T05:57:49.567Z] STF 05:57:49.509 - +------ Step 4 - Create com.discreet jar [2024-08-01T05:57:49.567Z] STF 05:57:49.509 - | Create modular jar [2024-08-01T05:57:49.567Z] STF 05:57:49.509 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-08-01T05:57:49.567Z] STF 05:57:49.509 - | ModuleVersion: null [2024-08-01T05:57:49.567Z] STF 05:57:49.509 - | MainClass: null [2024-08-01T05:57:49.567Z] STF 05:57:49.509 - | HashModules: null [2024-08-01T05:57:49.567Z] STF 05:57:49.509 - | [2024-08-01T05:57:49.567Z] STF 05:57:49.509 - 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_17224898821066/UpgModPath_Exp_0/20240801-055746-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-08-01T05:57:49.567Z] STF 05:57:49.509 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17224898821066/UpgModPath_Exp_0/20240801-055746-UpgModPathTest/results/4.CMJ.stderr [2024-08-01T05:57:49.567Z] STF 05:57:49.509 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17224898821066/UpgModPath_Exp_0/20240801-055746-UpgModPathTest/results/4.CMJ.stdout [2024-08-01T05:57:49.567Z] STF 05:57:49.514 - Monitoring processes: CMJ [2024-08-01T05:57:49.885Z] STF 05:57:49.802 - Monitoring Report Summary: [2024-08-01T05:57:49.885Z] STF 05:57:49.802 - o Process CMJ ended with the expected exit code (0) [2024-08-01T05:57:49.885Z] STF 05:57:49.803 - Created modular jar: 4.com.discreet.jar [2024-08-01T05:57:49.885Z] STF 05:57:49.803 - [2024-08-01T05:57:49.885Z] STF 05:57:49.803 - +------ Step 5 - Create tests jar [2024-08-01T05:57:49.885Z] STF 05:57:49.803 - | Create modular jar [2024-08-01T05:57:49.885Z] STF 05:57:49.803 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-08-01T05:57:49.885Z] STF 05:57:49.803 - | ModuleVersion: null [2024-08-01T05:57:49.885Z] STF 05:57:49.803 - | MainClass: null [2024-08-01T05:57:49.885Z] STF 05:57:49.803 - | HashModules: null [2024-08-01T05:57:49.885Z] STF 05:57:49.803 - | [2024-08-01T05:57:49.885Z] STF 05:57:49.803 - 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_17224898821066/UpgModPath_Exp_0/20240801-055746-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-08-01T05:57:49.885Z] STF 05:57:49.803 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17224898821066/UpgModPath_Exp_0/20240801-055746-UpgModPathTest/results/5.CMJ.stderr [2024-08-01T05:57:49.885Z] STF 05:57:49.803 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17224898821066/UpgModPath_Exp_0/20240801-055746-UpgModPathTest/results/5.CMJ.stdout [2024-08-01T05:57:49.885Z] STF 05:57:49.808 - Monitoring processes: CMJ [2024-08-01T05:57:50.205Z] STF 05:57:50.105 - Monitoring Report Summary: [2024-08-01T05:57:50.205Z] STF 05:57:50.105 - o Process CMJ ended with the expected exit code (0) [2024-08-01T05:57:50.205Z] STF 05:57:50.106 - Created modular jar: 5.com.test.jar [2024-08-01T05:57:50.205Z] STF 05:57:50.106 - [2024-08-01T05:57:50.205Z] STF 05:57:50.106 - +------ Step 6 - Create runtime image for upgrademodulepath test [2024-08-01T05:57:50.205Z] STF 05:57:50.106 - | Run jlink to create runtime image [2024-08-01T05:57:50.205Z] STF 05:57:50.106 - | ImageName: UpJVM [2024-08-01T05:57:50.205Z] STF 05:57:50.106 - | [2024-08-01T05:57:50.205Z] STF 05:57:50.106 - 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_17224898821066\UpgModPath_Exp_0\20240801-055746-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_17224898821066\UpgModPath_Exp_0\20240801-055746-UpgModPathTest\tmp\6.UpJVM [2024-08-01T05:57:50.205Z] STF 05:57:50.106 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17224898821066/UpgModPath_Exp_0/20240801-055746-UpgModPathTest/results/6.JLNK.stderr [2024-08-01T05:57:50.205Z] STF 05:57:50.106 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17224898821066/UpgModPath_Exp_0/20240801-055746-UpgModPathTest/results/6.JLNK.stdout [2024-08-01T05:57:50.205Z] STF 05:57:50.113 - Monitoring processes: JLNK [2024-08-01T05:57:53.086Z] STF 05:57:52.473 - Monitoring Report Summary: [2024-08-01T05:57:53.086Z] STF 05:57:52.473 - o Process JLNK ended with the expected exit code (0) [2024-08-01T05:57:53.086Z] STF 05:57:52.473 - [2024-08-01T05:57:53.086Z] STF 05:57:52.473 - +------ Step 7 - Override an application module [2024-08-01T05:57:53.086Z] STF 05:57:52.473 - | Run foreground process [2024-08-01T05:57:53.086Z] STF 05:57:52.473 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-08-01T05:57:53.086Z] STF 05:57:52.473 - | Mnemonic: OT11 [2024-08-01T05:57:53.086Z] STF 05:57:52.473 - | Echo: ECHO_ON [2024-08-01T05:57:53.086Z] STF 05:57:52.473 - | Expectation: CLEAN_RUN within 1m [2024-08-01T05:57:53.086Z] STF 05:57:52.473 - | [2024-08-01T05:57:53.086Z] STF 05:57:52.475 - 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\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello --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 [2024-08-01T05:57:53.086Z] STF 05:57:52.475 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17224898821066/UpgModPath_Exp_0/20240801-055746-UpgModPathTest/results/7.OT11.stderr [2024-08-01T05:57:53.086Z] STF 05:57:52.475 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17224898821066/UpgModPath_Exp_0/20240801-055746-UpgModPathTest/results/7.OT11.stdout [2024-08-01T05:57:53.086Z] STF 05:57:52.488 - Monitoring processes: OT11 [2024-08-01T05:57:53.086Z] OT11 JUnit version 4.12 [2024-08-01T05:57:53.086Z] OT11 . [2024-08-01T05:57:53.086Z] OT11 Time: 0.004 [2024-08-01T05:57:53.086Z] OT11 [2024-08-01T05:57:53.086Z] OT11 OK (1 test) [2024-08-01T05:57:53.086Z] OT11 [2024-08-01T05:57:53.086Z] STF 05:57:52.924 - Monitoring Report Summary: [2024-08-01T05:57:53.086Z] STF 05:57:52.924 - o Process OT11 ended with the expected exit code (0) [2024-08-01T05:57:53.086Z] STF 05:57:52.925 - [2024-08-01T05:57:53.086Z] STF 05:57:52.925 - +------ Step 8 - (Negative test) Override a non-upgradable platform module [2024-08-01T05:57:53.086Z] STF 05:57:52.925 - | Run foreground process [2024-08-01T05:57:53.086Z] STF 05:57:52.925 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-08-01T05:57:53.086Z] STF 05:57:52.925 - | Mnemonic: OT13 [2024-08-01T05:57:53.086Z] STF 05:57:52.925 - | Echo: ECHO_ON [2024-08-01T05:57:53.086Z] STF 05:57:52.925 - | Expectation: NON_ZERO_EXIT [1] within 1m [2024-08-01T05:57:53.086Z] STF 05:57:52.925 - | [2024-08-01T05:57:53.086Z] STF 05:57:52.925 - 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\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.logging --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 [2024-08-01T05:57:53.086Z] STF 05:57:52.925 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17224898821066/UpgModPath_Exp_0/20240801-055746-UpgModPathTest/results/8.OT13.stderr [2024-08-01T05:57:53.086Z] STF 05:57:52.925 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17224898821066/UpgModPath_Exp_0/20240801-055746-UpgModPathTest/results/8.OT13.stdout [2024-08-01T05:57:53.086Z] STF 05:57:52.930 - Monitoring processes: OT13 [2024-08-01T05:57:53.407Z] OT13 Error occurred during initialization of boot layer [2024-08-01T05:57:53.407Z] OT13 java.lang.module.FindException: Unable to compute the hash of module java.logging [2024-08-01T05:57:53.407Z] STF 05:57:53.140 - Monitoring Report Summary: [2024-08-01T05:57:53.407Z] STF 05:57:53.140 - o Process OT13 ended with the expected exit code (1) [2024-08-01T05:57:53.407Z] STF 05:57:53.140 - [2024-08-01T05:57:53.407Z] STF 05:57:53.140 - +------ Step 9 - Combine stderr and stdout files of process OT13 [2024-08-01T05:57:53.407Z] STF 05:57:53.140 - | Run foreground process [2024-08-01T05:57:53.407Z] STF 05:57:53.140 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-08-01T05:57:53.407Z] STF 05:57:53.140 - | Mnemonic: CO [2024-08-01T05:57:53.407Z] STF 05:57:53.140 - | Echo: ECHO_OFF [2024-08-01T05:57:53.407Z] STF 05:57:53.140 - | Expectation: NON_ZERO_EXIT [0] within 30s [2024-08-01T05:57:53.407Z] STF 05:57:53.140 - | [2024-08-01T05:57:53.407Z] STF 05:57:53.141 - 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_17224898821066/UpgModPath_Exp_0/20240801-055746-UpgModPathTest/results/8.OT13.stdout -Dfile2=C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17224898821066/UpgModPath_Exp_0/20240801-055746-UpgModPathTest/results/8.OT13.stderr -Dfinal.file=C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17224898821066\UpgModPath_Exp_0\20240801-055746-UpgModPathTest\results\combinedOT13.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-08-01T05:57:53.407Z] STF 05:57:53.141 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17224898821066/UpgModPath_Exp_0/20240801-055746-UpgModPathTest/results/9.CO.stderr [2024-08-01T05:57:53.407Z] STF 05:57:53.141 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17224898821066/UpgModPath_Exp_0/20240801-055746-UpgModPathTest/results/9.CO.stdout [2024-08-01T05:57:53.407Z] STF 05:57:53.146 - Monitoring processes: CO [2024-08-01T05:57:53.407Z] STF 05:57:53.339 - Monitoring Report Summary: [2024-08-01T05:57:53.407Z] STF 05:57:53.339 - o Process CO ended with the expected exit code (0) [2024-08-01T05:57:53.407Z] STF 05:57:53.340 - [2024-08-01T05:57:53.407Z] STF 05:57:53.340 - +------ Step 10 - Check output [2024-08-01T05:57:53.407Z] STF 05:57:53.340 - | Count file matches [2024-08-01T05:57:53.407Z] STF 05:57:53.340 - | TargetFile: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17224898821066/UpgModPath_Exp_0/20240801-055746-UpgModPathTest/results/combinedOT13.txt [2024-08-01T05:57:53.407Z] STF 05:57:53.340 - | ExpectedNumMatches: 1 [2024-08-01T05:57:53.407Z] STF 05:57:53.340 - | SearchStrings: ["FindException: Unable to compute the hash of module java.logging"] [2024-08-01T05:57:53.407Z] STF 05:57:53.340 - | [2024-08-01T05:57:53.765Z] STF 05:57:53.352 - Found 1 instances of ["FindException: Unable to compute the hash of module java.logging"] [2024-08-01T05:57:53.765Z] STF 05:57:53.352 - EXECUTE stage completed [2024-08-01T05:57:53.765Z] STF 05:57:53.410 - [2024-08-01T05:57:53.765Z] STF 05:57:53.410 - ==================== T E A R D O W N ==================== [2024-08-01T05:57:53.765Z] STF 05:57:53.410 - Running teardown: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17224898821066\UpgModPath_Exp_0/20240801-055746-UpgModPathTest/tearDown.pl [2024-08-01T05:57:53.766Z] STF 05:57:53.540 - TEARDOWN stage completed [2024-08-01T05:57:53.766Z] STF 05:57:53.552 - [2024-08-01T05:57:53.766Z] STF 05:57:53.552 - ===================== R E S U L T S ===================== [2024-08-01T05:57:53.766Z] STF 05:57:53.552 - Stage results: [2024-08-01T05:57:53.766Z] STF 05:57:53.552 - setUp: pass [2024-08-01T05:57:53.766Z] STF 05:57:53.552 - execute: pass [2024-08-01T05:57:53.766Z] STF 05:57:53.552 - teardown: pass [2024-08-01T05:57:53.766Z] STF 05:57:53.552 - [2024-08-01T05:57:53.766Z] STF 05:57:53.552 - Overall result: PASSED [2024-08-01T05:57:53.766Z] ----------------------------------- [2024-08-01T05:57:53.766Z] UpgModPath_Exp_0_PASSED [2024-08-01T05:57:53.766Z] ----------------------------------- [2024-08-01T05:57:54.108Z] [2024-08-01T05:57:54.108Z] TEST TEARDOWN: [2024-08-01T05:57:54.108Z] Nothing to be done for teardown. [2024-08-01T05:57:54.108Z] UpgModPath_Exp_0 Finish Time: Thu Aug 1 05:57:53 2024 Epoch Time (ms): 1722491873855