UpgModPath_ExpImg_1

[2024-06-08T04:47:11.454Z] Running test UpgModPath_ExpImg_1 ... [2024-06-08T04:47:11.454Z] =============================================== [2024-06-08T04:47:11.764Z] UpgModPath_ExpImg_1 Start Time: Sat Jun 8 04:47:11 2024 Epoch Time (ms): 1717822031489 [2024-06-08T04:47:11.764Z] variation: Mode650 [2024-06-08T04:47:12.108Z] JVM_OPTIONS: -XX:-UseCompressedOops [2024-06-08T04:47:12.108Z] { \ [2024-06-08T04:47:12.108Z] echo ""; echo "TEST SETUP:"; \ [2024-06-08T04:47:12.108Z] echo "Nothing to be done for setup."; \ [2024-06-08T04:47:12.108Z] mkdir -p "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17178197589102\\UpgModPath_ExpImg_1"; \ [2024-06-08T04:47:12.109Z] cd "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17178197589102\\UpgModPath_ExpImg_1"; \ [2024-06-08T04:47:12.109Z] echo ""; echo "TESTING:"; \ [2024-06-08T04:47:12.109Z] 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/aqa-tests///..//jvmtest\\system\\modularity/../\\systemtest_prereqs" -java-args=' -XX:-UseCompressedOops ' -results-root="C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17178197589102\\UpgModPath_ExpImg_1" -test=UpgModPathTest -test-args="variant=ExpImg"; \ [2024-06-08T04:47:12.109Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_ExpImg_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_17178197589102\\UpgModPath_ExpImg_1"; else echo "-----------------------------------"; echo "UpgModPath_ExpImg_1""_FAILED"; echo "-----------------------------------"; fi; \ [2024-06-08T04:47:12.109Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-06-08T04:47:12.109Z] echo "Nothing to be done for teardown."; \ [2024-06-08T04:47:12.109Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17178197589102\\TestTargetResult"; [2024-06-08T04:47:12.109Z] [2024-06-08T04:47:12.109Z] TEST SETUP: [2024-06-08T04:47:12.109Z] Nothing to be done for setup. [2024-06-08T04:47:12.109Z] [2024-06-08T04:47:12.109Z] TESTING: [2024-06-08T04:47:12.427Z] STF 04:47:12.155 - ========================= S T F ========================= [2024-06-08T04:47:12.427Z] systemtest-prereqs has been processed, and set to: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/systemtest_prereqsRetrieving amount of free space on drive containing C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17178197589102\UpgModPath_ExpImg_1 [2024-06-08T04:47:12.427Z] There is 124481 Mb free [2024-06-08T04:47:12.427Z] STF 04:47:12.195 - ================== G E N E R A T I O N ================== [2024-06-08T04:47:12.427Z] STF 04:47:12.197 - Checking JVM: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image [2024-06-08T04:47:12.427Z] STF 04:47:12.198 - 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/aqa-tests///..//jvmtest\system\modularity/../\systemtest_prereqs/log4j/log4j-api.jar;C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\system\modularity/../\systemtest_prereqs/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_17178197589102\UpgModPath_ExpImg_1/20240608-044712-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_17178197589102\UpgModPath_ExpImg_1/20240608-044712-UpgModPathTest" [2024-06-08T04:47:13.508Z] GEN 04:47:13.289 - 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-06-08T04:47:13.508Z] GEN 04:47:13.311 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2024-06-08T04:47:13.823Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-06-08T04:47:13.823Z] 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-06-08T04:47:13.823Z] 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-06-08T04:47:13.823Z] 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-06-08T04:47:13.823Z] 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-06-08T04:47:13.823Z] 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-06-08T04:47:13.823Z] 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-06-08T04:47:13.823Z] 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-06-08T04:47:13.823Z] 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-06-08T04:47:13.823Z] 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-06-08T04:47:13.823Z] 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-06-08T04:47:13.823Z] 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-06-08T04:47:13.823Z] 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-06-08T04:47:13.823Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-06-08T04:47:13.823Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-06-08T04:47:13.823Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-06-08T04:47:13.823Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2024-06-08T04:47:13.823Z] GEN C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/systemtest_prereqs/log4j/log4j-api.jar [2024-06-08T04:47:13.823Z] GEN C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/systemtest_prereqs/log4j/log4j-core.jar [2024-06-08T04:47:13.823Z] GEN C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/systemtest_prereqs/junit/junit.jar [2024-06-08T04:47:13.823Z] GEN 04:47:13.610 - Using Mode NoOptions. Values = '' [2024-06-08T04:47:13.823Z] GEN 04:47:13.744 - [2024-06-08T04:47:13.823Z] GEN 04:47:13.744 - Test command summary: [2024-06-08T04:47:13.823Z] GEN 04:47:13.745 - Step Stage Command Description [2024-06-08T04:47:13.823Z] GEN 04:47:13.745 - -----+--------+-----------------+------------ [2024-06-08T04:47:13.823Z] GEN 04:47:13.745 - 1 execute jar Create com.hello jar [2024-06-08T04:47:13.823Z] GEN 04:47:13.745 - 2 execute jar Create com.hola jar [2024-06-08T04:47:13.823Z] GEN 04:47:13.745 - 3 execute jar Create com.helper jar [2024-06-08T04:47:13.823Z] GEN 04:47:13.745 - 4 execute jar Create com.discreet jar [2024-06-08T04:47:13.823Z] GEN 04:47:13.745 - 5 execute jar Create tests jar [2024-06-08T04:47:13.823Z] GEN 04:47:13.745 - 6 execute jlink Create runtime image for upgrademodulepath test [2024-06-08T04:47:13.823Z] GEN 04:47:13.745 - 7 execute Run java Override an application module using a custom runtime image [2024-06-08T04:47:13.823Z] GEN 04:47:13.746 - 8 execute Run java (Negative test) Override a non-upgradable platform module using a custom runtime image [2024-06-08T04:47:13.823Z] GEN 04:47:13.746 - 9 execute Run java Combine stderr and stdout files of process OT16 [2024-06-08T04:47:13.823Z] GEN 04:47:13.746 - 10 execute count Check output [2024-06-08T04:47:13.823Z] STF 04:47:13.787 - [2024-06-08T04:47:13.823Z] STF 04:47:13.787 - Script generation completed [2024-06-08T04:47:13.823Z] STF 04:47:13.787 - [2024-06-08T04:47:13.823Z] STF 04:47:13.788 - [2024-06-08T04:47:13.823Z] STF 04:47:13.788 - ======================= S E T U P ======================= [2024-06-08T04:47:13.823Z] STF 04:47:13.788 - Running setup: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17178197589102\UpgModPath_ExpImg_1/20240608-044712-UpgModPathTest/setUp.pl [2024-06-08T04:47:14.142Z] STF 04:47:13.912 - SETUP stage completed [2024-06-08T04:47:14.142Z] STF 04:47:13.923 - [2024-06-08T04:47:14.142Z] STF 04:47:13.923 - ==================== E X E C U T E - ==================== [2024-06-08T04:47:14.142Z] STF 04:47:13.923 - Running execute: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17178197589102\UpgModPath_ExpImg_1/20240608-044712-UpgModPathTest/execute.pl [2024-06-08T04:47:14.142Z] STF 04:47:14.053 - [2024-06-08T04:47:14.142Z] STF 04:47:14.053 - Java version [2024-06-08T04:47:14.142Z] STF 04:47:14.053 - Running: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-06-08T04:47:14.476Z] openjdk version "11.0.24-beta" 2024-07-16 [2024-06-08T04:47:14.477Z] OpenJDK Runtime Environment Temurin-11.0.24+6-202406072132 (build 11.0.24-beta+6-ea) [2024-06-08T04:47:14.477Z] OpenJDK 64-Bit Server VM Temurin-11.0.24+6-202406072132 (build 11.0.24-beta+6-ea, mixed mode) [2024-06-08T04:47:14.477Z] STF 04:47:14.171 - [2024-06-08T04:47:14.477Z] STF 04:47:14.171 - +------ Step 1 - Create com.hello jar [2024-06-08T04:47:14.477Z] STF 04:47:14.171 - | Create modular jar [2024-06-08T04:47:14.477Z] STF 04:47:14.171 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-06-08T04:47:14.477Z] STF 04:47:14.171 - | ModuleVersion: null [2024-06-08T04:47:14.477Z] STF 04:47:14.171 - | MainClass: null [2024-06-08T04:47:14.477Z] STF 04:47:14.171 - | HashModules: null [2024-06-08T04:47:14.477Z] STF 04:47:14.171 - | [2024-06-08T04:47:14.477Z] STF 04:47:14.172 - 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_17178197589102/UpgModPath_ExpImg_1/20240608-044712-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-06-08T04:47:14.477Z] STF 04:47:14.172 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/UpgModPath_ExpImg_1/20240608-044712-UpgModPathTest/results/1.CMJ.stderr [2024-06-08T04:47:14.477Z] STF 04:47:14.172 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/UpgModPath_ExpImg_1/20240608-044712-UpgModPathTest/results/1.CMJ.stdout [2024-06-08T04:47:14.477Z] STF 04:47:14.201 - Monitoring processes: CMJ [2024-06-08T04:47:14.794Z] STF 04:47:14.530 - Monitoring Report Summary: [2024-06-08T04:47:14.794Z] STF 04:47:14.530 - o Process CMJ ended with the expected exit code (0) [2024-06-08T04:47:14.794Z] STF 04:47:14.530 - Created modular jar: 1.com.hello.jar [2024-06-08T04:47:14.794Z] STF 04:47:14.530 - [2024-06-08T04:47:14.794Z] STF 04:47:14.530 - +------ Step 2 - Create com.hola jar [2024-06-08T04:47:14.794Z] STF 04:47:14.530 - | Create modular jar [2024-06-08T04:47:14.794Z] STF 04:47:14.531 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-06-08T04:47:14.794Z] STF 04:47:14.531 - | ModuleVersion: null [2024-06-08T04:47:14.794Z] STF 04:47:14.531 - | MainClass: null [2024-06-08T04:47:14.794Z] STF 04:47:14.531 - | HashModules: null [2024-06-08T04:47:14.794Z] STF 04:47:14.531 - | [2024-06-08T04:47:14.794Z] STF 04:47:14.531 - 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_17178197589102/UpgModPath_ExpImg_1/20240608-044712-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-06-08T04:47:14.794Z] STF 04:47:14.531 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/UpgModPath_ExpImg_1/20240608-044712-UpgModPathTest/results/2.CMJ.stderr [2024-06-08T04:47:14.794Z] STF 04:47:14.531 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/UpgModPath_ExpImg_1/20240608-044712-UpgModPathTest/results/2.CMJ.stdout [2024-06-08T04:47:14.794Z] STF 04:47:14.538 - Monitoring processes: CMJ [2024-06-08T04:47:15.109Z] STF 04:47:14.842 - Monitoring Report Summary: [2024-06-08T04:47:15.109Z] STF 04:47:14.842 - o Process CMJ ended with the expected exit code (0) [2024-06-08T04:47:15.109Z] STF 04:47:14.842 - Created modular jar: 2.com.hola.jar [2024-06-08T04:47:15.109Z] STF 04:47:14.842 - [2024-06-08T04:47:15.109Z] STF 04:47:14.842 - +------ Step 3 - Create com.helper jar [2024-06-08T04:47:15.109Z] STF 04:47:14.842 - | Create modular jar [2024-06-08T04:47:15.109Z] STF 04:47:14.842 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-06-08T04:47:15.109Z] STF 04:47:14.842 - | ModuleVersion: null [2024-06-08T04:47:15.109Z] STF 04:47:14.842 - | MainClass: null [2024-06-08T04:47:15.109Z] STF 04:47:14.842 - | HashModules: null [2024-06-08T04:47:15.109Z] STF 04:47:14.842 - | [2024-06-08T04:47:15.109Z] STF 04:47:14.842 - 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_17178197589102/UpgModPath_ExpImg_1/20240608-044712-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-06-08T04:47:15.109Z] STF 04:47:14.843 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/UpgModPath_ExpImg_1/20240608-044712-UpgModPathTest/results/3.CMJ.stderr [2024-06-08T04:47:15.109Z] STF 04:47:14.843 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/UpgModPath_ExpImg_1/20240608-044712-UpgModPathTest/results/3.CMJ.stdout [2024-06-08T04:47:15.109Z] STF 04:47:14.848 - Monitoring processes: CMJ [2024-06-08T04:47:15.427Z] STF 04:47:15.135 - Monitoring Report Summary: [2024-06-08T04:47:15.427Z] STF 04:47:15.135 - o Process CMJ ended with the expected exit code (0) [2024-06-08T04:47:15.427Z] STF 04:47:15.135 - Created modular jar: 3.com.helper.jar [2024-06-08T04:47:15.427Z] STF 04:47:15.135 - [2024-06-08T04:47:15.427Z] STF 04:47:15.135 - +------ Step 4 - Create com.discreet jar [2024-06-08T04:47:15.427Z] STF 04:47:15.135 - | Create modular jar [2024-06-08T04:47:15.427Z] STF 04:47:15.135 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-06-08T04:47:15.427Z] STF 04:47:15.135 - | ModuleVersion: null [2024-06-08T04:47:15.427Z] STF 04:47:15.135 - | MainClass: null [2024-06-08T04:47:15.427Z] STF 04:47:15.135 - | HashModules: null [2024-06-08T04:47:15.427Z] STF 04:47:15.135 - | [2024-06-08T04:47:15.427Z] STF 04:47:15.135 - 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_17178197589102/UpgModPath_ExpImg_1/20240608-044712-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-06-08T04:47:15.427Z] STF 04:47:15.135 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/UpgModPath_ExpImg_1/20240608-044712-UpgModPathTest/results/4.CMJ.stderr [2024-06-08T04:47:15.427Z] STF 04:47:15.135 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/UpgModPath_ExpImg_1/20240608-044712-UpgModPathTest/results/4.CMJ.stdout [2024-06-08T04:47:15.427Z] STF 04:47:15.141 - Monitoring processes: CMJ [2024-06-08T04:47:15.746Z] STF 04:47:15.440 - Monitoring Report Summary: [2024-06-08T04:47:15.746Z] STF 04:47:15.440 - o Process CMJ ended with the expected exit code (0) [2024-06-08T04:47:15.746Z] STF 04:47:15.440 - Created modular jar: 4.com.discreet.jar [2024-06-08T04:47:15.746Z] STF 04:47:15.440 - [2024-06-08T04:47:15.746Z] STF 04:47:15.440 - +------ Step 5 - Create tests jar [2024-06-08T04:47:15.746Z] STF 04:47:15.440 - | Create modular jar [2024-06-08T04:47:15.746Z] STF 04:47:15.440 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-06-08T04:47:15.746Z] STF 04:47:15.440 - | ModuleVersion: null [2024-06-08T04:47:15.746Z] STF 04:47:15.440 - | MainClass: null [2024-06-08T04:47:15.746Z] STF 04:47:15.440 - | HashModules: null [2024-06-08T04:47:15.746Z] STF 04:47:15.440 - | [2024-06-08T04:47:15.746Z] STF 04:47:15.440 - 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_17178197589102/UpgModPath_ExpImg_1/20240608-044712-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-06-08T04:47:15.746Z] STF 04:47:15.440 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/UpgModPath_ExpImg_1/20240608-044712-UpgModPathTest/results/5.CMJ.stderr [2024-06-08T04:47:15.746Z] STF 04:47:15.440 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/UpgModPath_ExpImg_1/20240608-044712-UpgModPathTest/results/5.CMJ.stdout [2024-06-08T04:47:15.746Z] STF 04:47:15.446 - Monitoring processes: CMJ [2024-06-08T04:47:16.063Z] STF 04:47:15.743 - Monitoring Report Summary: [2024-06-08T04:47:16.063Z] STF 04:47:15.743 - o Process CMJ ended with the expected exit code (0) [2024-06-08T04:47:16.063Z] STF 04:47:15.744 - Created modular jar: 5.com.test.jar [2024-06-08T04:47:16.063Z] STF 04:47:15.744 - [2024-06-08T04:47:16.063Z] STF 04:47:15.744 - +------ Step 6 - Create runtime image for upgrademodulepath test [2024-06-08T04:47:16.063Z] STF 04:47:15.744 - | Run jlink to create runtime image [2024-06-08T04:47:16.063Z] STF 04:47:15.744 - | ImageName: UpJVM [2024-06-08T04:47:16.063Z] STF 04:47:15.744 - | [2024-06-08T04:47:16.063Z] STF 04:47:15.744 - 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_17178197589102\UpgModPath_ExpImg_1\20240608-044712-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_17178197589102\UpgModPath_ExpImg_1\20240608-044712-UpgModPathTest\tmp\6.UpJVM [2024-06-08T04:47:16.063Z] STF 04:47:15.744 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/UpgModPath_ExpImg_1/20240608-044712-UpgModPathTest/results/6.JLNK.stderr [2024-06-08T04:47:16.063Z] STF 04:47:15.744 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/UpgModPath_ExpImg_1/20240608-044712-UpgModPathTest/results/6.JLNK.stdout [2024-06-08T04:47:16.063Z] STF 04:47:15.750 - Monitoring processes: JLNK [2024-06-08T04:47:18.222Z] STF 04:47:18.135 - Monitoring Report Summary: [2024-06-08T04:47:18.222Z] STF 04:47:18.135 - o Process JLNK ended with the expected exit code (0) [2024-06-08T04:47:18.222Z] STF 04:47:18.135 - [2024-06-08T04:47:18.222Z] STF 04:47:18.135 - +------ Step 7 - Override an application module using a custom runtime image [2024-06-08T04:47:18.222Z] STF 04:47:18.135 - | Run foreground process [2024-06-08T04:47:18.222Z] STF 04:47:18.135 - | Program: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/UpgModPath_ExpImg_1/20240608-044712-UpgModPathTest/tmp/6.UpJVM/bin/java [2024-06-08T04:47:18.222Z] STF 04:47:18.135 - | Mnemonic: OT14 [2024-06-08T04:47:18.222Z] STF 04:47:18.135 - | Echo: ECHO_ON [2024-06-08T04:47:18.222Z] STF 04:47:18.135 - | Expectation: CLEAN_RUN within 1m [2024-06-08T04:47:18.222Z] STF 04:47:18.135 - | [2024-06-08T04:47:18.222Z] STF 04:47:18.136 - Running command: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/UpgModPath_ExpImg_1/20240608-044712-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\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello -XX:-UseCompressedOops -classpath C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/systemtest_prereqs/junit/junit.jar;C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/systemtest_prereqs/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2024-06-08T04:47:18.222Z] STF 04:47:18.136 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/UpgModPath_ExpImg_1/20240608-044712-UpgModPathTest/results/7.OT14.stderr [2024-06-08T04:47:18.223Z] STF 04:47:18.136 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/UpgModPath_ExpImg_1/20240608-044712-UpgModPathTest/results/7.OT14.stdout [2024-06-08T04:47:18.540Z] STF 04:47:18.187 - Monitoring processes: OT14 [2024-06-08T04:47:18.859Z] OT14 JUnit version 4.12 [2024-06-08T04:47:19.175Z] OT14 . [2024-06-08T04:47:19.175Z] OT14 Time: 0.004 [2024-06-08T04:47:19.175Z] OT14 [2024-06-08T04:47:19.175Z] OT14 OK (1 test) [2024-06-08T04:47:19.175Z] OT14 [2024-06-08T04:47:19.175Z] STF 04:47:18.871 - Monitoring Report Summary: [2024-06-08T04:47:19.176Z] STF 04:47:18.871 - o Process OT14 ended with the expected exit code (0) [2024-06-08T04:47:19.176Z] STF 04:47:18.872 - [2024-06-08T04:47:19.176Z] STF 04:47:18.872 - +------ Step 8 - (Negative test) Override a non-upgradable platform module using a custom runtime image [2024-06-08T04:47:19.176Z] STF 04:47:18.872 - | Run foreground process [2024-06-08T04:47:19.176Z] STF 04:47:18.872 - | Program: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/UpgModPath_ExpImg_1/20240608-044712-UpgModPathTest/tmp/6.UpJVM/bin/java [2024-06-08T04:47:19.176Z] STF 04:47:18.872 - | Mnemonic: OT16 [2024-06-08T04:47:19.176Z] STF 04:47:18.872 - | Echo: ECHO_ON [2024-06-08T04:47:19.176Z] STF 04:47:18.872 - | Expectation: NON_ZERO_EXIT [1] within 1m [2024-06-08T04:47:19.176Z] STF 04:47:18.872 - | [2024-06-08T04:47:19.176Z] STF 04:47:18.872 - Running command: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/UpgModPath_ExpImg_1/20240608-044712-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\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.logging -XX:-UseCompressedOops -classpath C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/systemtest_prereqs/junit/junit.jar;C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/systemtest_prereqs/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingNonUpgradablePlatformModule [2024-06-08T04:47:19.176Z] STF 04:47:18.872 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/UpgModPath_ExpImg_1/20240608-044712-UpgModPathTest/results/8.OT16.stderr [2024-06-08T04:47:19.176Z] STF 04:47:18.872 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/UpgModPath_ExpImg_1/20240608-044712-UpgModPathTest/results/8.OT16.stdout [2024-06-08T04:47:19.176Z] STF 04:47:18.878 - Monitoring processes: OT16 [2024-06-08T04:47:19.176Z] OT16 Error occurred during initialization of boot layer [2024-06-08T04:47:19.176Z] OT16 java.lang.module.FindException: Unable to compute the hash of module java.logging [2024-06-08T04:47:19.176Z] STF 04:47:19.036 - Monitoring Report Summary: [2024-06-08T04:47:19.176Z] STF 04:47:19.036 - o Process OT16 ended with the expected exit code (1) [2024-06-08T04:47:19.176Z] STF 04:47:19.036 - [2024-06-08T04:47:19.176Z] STF 04:47:19.036 - +------ Step 9 - Combine stderr and stdout files of process OT16 [2024-06-08T04:47:19.176Z] STF 04:47:19.036 - | Run foreground process [2024-06-08T04:47:19.176Z] STF 04:47:19.036 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-06-08T04:47:19.176Z] STF 04:47:19.036 - | Mnemonic: CO [2024-06-08T04:47:19.176Z] STF 04:47:19.036 - | Echo: ECHO_OFF [2024-06-08T04:47:19.176Z] STF 04:47:19.036 - | Expectation: NON_ZERO_EXIT [0] within 5m [2024-06-08T04:47:19.176Z] STF 04:47:19.036 - | [2024-06-08T04:47:19.176Z] STF 04:47:19.037 - 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_17178197589102/UpgModPath_ExpImg_1/20240608-044712-UpgModPathTest/results/8.OT16.stdout -Dfile2=C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/UpgModPath_ExpImg_1/20240608-044712-UpgModPathTest/results/8.OT16.stderr -Dfinal.file=C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17178197589102\UpgModPath_ExpImg_1\20240608-044712-UpgModPathTest\results\combinedOT16.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-06-08T04:47:19.176Z] STF 04:47:19.037 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/UpgModPath_ExpImg_1/20240608-044712-UpgModPathTest/results/9.CO.stderr [2024-06-08T04:47:19.176Z] STF 04:47:19.037 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/UpgModPath_ExpImg_1/20240608-044712-UpgModPathTest/results/9.CO.stdout [2024-06-08T04:47:19.176Z] STF 04:47:19.042 - Monitoring processes: CO [2024-06-08T04:47:19.526Z] STF 04:47:19.245 - Monitoring Report Summary: [2024-06-08T04:47:19.526Z] STF 04:47:19.245 - o Process CO ended with the expected exit code (0) [2024-06-08T04:47:19.526Z] STF 04:47:19.246 - [2024-06-08T04:47:19.526Z] STF 04:47:19.246 - +------ Step 10 - Check output [2024-06-08T04:47:19.526Z] STF 04:47:19.246 - | Count file matches [2024-06-08T04:47:19.526Z] STF 04:47:19.246 - | TargetFile: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/UpgModPath_ExpImg_1/20240608-044712-UpgModPathTest/results/combinedOT16.txt [2024-06-08T04:47:19.526Z] STF 04:47:19.246 - | ExpectedNumMatches: 1 [2024-06-08T04:47:19.526Z] STF 04:47:19.246 - | SearchStrings: ["FindException: Unable to compute the hash of module java.logging"] [2024-06-08T04:47:19.526Z] STF 04:47:19.246 - | [2024-06-08T04:47:19.526Z] STF 04:47:19.247 - Found 1 instances of ["FindException: Unable to compute the hash of module java.logging"] [2024-06-08T04:47:19.526Z] STF 04:47:19.247 - EXECUTE stage completed [2024-06-08T04:47:19.526Z] STF 04:47:19.261 - [2024-06-08T04:47:19.526Z] STF 04:47:19.261 - ==================== T E A R D O W N ==================== [2024-06-08T04:47:19.526Z] STF 04:47:19.261 - Running teardown: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17178197589102\UpgModPath_ExpImg_1/20240608-044712-UpgModPathTest/tearDown.pl [2024-06-08T04:47:19.526Z] STF 04:47:19.383 - TEARDOWN stage completed [2024-06-08T04:47:19.526Z] STF 04:47:19.395 - [2024-06-08T04:47:19.526Z] STF 04:47:19.395 - ===================== R E S U L T S ===================== [2024-06-08T04:47:19.526Z] STF 04:47:19.395 - Stage results: [2024-06-08T04:47:19.526Z] STF 04:47:19.395 - setUp: pass [2024-06-08T04:47:19.526Z] STF 04:47:19.395 - execute: pass [2024-06-08T04:47:19.526Z] STF 04:47:19.395 - teardown: pass [2024-06-08T04:47:19.526Z] STF 04:47:19.395 - [2024-06-08T04:47:19.526Z] STF 04:47:19.395 - Overall result: PASSED [2024-06-08T04:47:19.526Z] ----------------------------------- [2024-06-08T04:47:19.526Z] UpgModPath_ExpImg_1_PASSED [2024-06-08T04:47:19.526Z] ----------------------------------- [2024-06-08T04:47:19.526Z] [2024-06-08T04:47:19.526Z] TEST TEARDOWN: [2024-06-08T04:47:19.526Z] Nothing to be done for teardown. [2024-06-08T04:47:19.870Z] UpgModPath_ExpImg_1 Finish Time: Sat Jun 8 04:47:19 2024 Epoch Time (ms): 1717822039577