UpgModPath_Jar_1

[2024-08-17T06:08:42.888Z] Running test UpgModPath_Jar_1 ... [2024-08-17T06:08:43.277Z] =============================================== [2024-08-17T06:08:43.277Z] UpgModPath_Jar_1 Start Time: Sat Aug 17 06:08:43 2024 Epoch Time (ms): 1723874923169 [2024-08-17T06:08:43.676Z] variation: Mode650 [2024-08-17T06:08:43.676Z] JVM_OPTIONS: -XX:-UseCompressedOops [2024-08-17T06:08:44.094Z] { \ [2024-08-17T06:08:44.094Z] echo ""; echo "TEST SETUP:"; \ [2024-08-17T06:08:44.094Z] echo "Nothing to be done for setup."; \ [2024-08-17T06:08:44.094Z] mkdir -p "C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17238726624597\\UpgModPath_Jar_1"; \ [2024-08-17T06:08:44.094Z] cd "C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17238726624597\\UpgModPath_Jar_1"; \ [2024-08-17T06:08:44.094Z] echo ""; echo "TESTING:"; \ [2024-08-17T06:08:44.094Z] perl C:/workspace/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:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="c:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\\" -java-args=' -XX:-UseCompressedOops ' -results-root="C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17238726624597\\UpgModPath_Jar_1" -test=UpgModPathTest -test-args="variant=Jar"; \ [2024-08-17T06:08:44.094Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_Jar_1""_PASSED"; echo "-----------------------------------"; cd C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/; rm -f -r "C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17238726624597\\UpgModPath_Jar_1"; else echo "-----------------------------------"; echo "UpgModPath_Jar_1""_FAILED"; echo "-----------------------------------"; fi; \ [2024-08-17T06:08:44.094Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-08-17T06:08:44.094Z] echo "Nothing to be done for teardown."; \ [2024-08-17T06:08:44.094Z] } 2>&1 | tee -a "C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17238726624597\\TestTargetResult"; [2024-08-17T06:08:44.094Z] [2024-08-17T06:08:44.094Z] TEST SETUP: [2024-08-17T06:08:44.094Z] Nothing to be done for setup. [2024-08-17T06:08:44.094Z] [2024-08-17T06:08:44.094Z] TESTING: [2024-08-17T06:08:44.424Z] STF 06:08:44.105 - ========================= S T F ========================= [2024-08-17T06:08:44.424Z] systemtest-prereqs has been processed, and set to: c:/workspace/testDependency/system_libRetrieving amount of free space on drive containing C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17238726624597\UpgModPath_Jar_1 [2024-08-17T06:08:44.424Z] There is 107667 Mb free [2024-08-17T06:08:44.424Z] STF 06:08:44.166 - ================== G E N E R A T I O N ================== [2024-08-17T06:08:44.424Z] STF 06:08:44.169 - Checking JVM: c:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image [2024-08-17T06:08:44.424Z] STF 06:08:44.169 - Starting process to generate scripts: c:/workspace/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:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-api.jar;c:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/workspace/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:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17238726624597\UpgModPath_Jar_1/20240817-060844-UpgModPathTest/stf_parameters.properties, , C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17238726624597\UpgModPath_Jar_1/20240817-060844-UpgModPathTest" [2024-08-17T06:08:46.082Z] GEN 06:08:45.711 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: 'C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2024-08-17T06:08:46.082Z] GEN 06:08:45.743 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2024-08-17T06:08:46.413Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-08-17T06:08:46.413Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2024-08-17T06:08:46.413Z] GEN C:\workspace\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-17T06:08:46.413Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2024-08-17T06:08:46.413Z] GEN C:\workspace\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-17T06:08:46.413Z] GEN C:\workspace\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-17T06:08:46.413Z] GEN C:\workspace\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-17T06:08:46.413Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2024-08-17T06:08:46.413Z] GEN C:\workspace\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-17T06:08:46.413Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2024-08-17T06:08:46.413Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2024-08-17T06:08:46.413Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2024-08-17T06:08:46.413Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2024-08-17T06:08:46.413Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-08-17T06:08:46.413Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-08-17T06:08:46.413Z] GEN C:\\workspace\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-08-17T06:08:46.413Z] GEN C:\\workspace\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2024-08-17T06:08:46.413Z] GEN c:/workspace/testDependency/system_lib/log4j/log4j-api.jar [2024-08-17T06:08:46.413Z] GEN c:/workspace/testDependency/system_lib/log4j/log4j-core.jar [2024-08-17T06:08:46.413Z] GEN c:/workspace/testDependency/system_lib/junit/junit.jar [2024-08-17T06:08:46.413Z] GEN 06:08:46.099 - Using Mode NoOptions. Values = '' [2024-08-17T06:08:46.413Z] GEN 06:08:46.301 - [2024-08-17T06:08:46.413Z] GEN 06:08:46.301 - Test command summary: [2024-08-17T06:08:46.413Z] GEN 06:08:46.301 - Step Stage Command Description [2024-08-17T06:08:46.413Z] GEN 06:08:46.302 - -----+--------+-----------------+------------ [2024-08-17T06:08:46.413Z] GEN 06:08:46.302 - 1 execute jar Create com.hello jar [2024-08-17T06:08:46.413Z] GEN 06:08:46.302 - 2 execute jar Create com.hola jar [2024-08-17T06:08:46.413Z] GEN 06:08:46.302 - 3 execute jar Create com.helper jar [2024-08-17T06:08:46.413Z] GEN 06:08:46.302 - 4 execute jar Create com.discreet jar [2024-08-17T06:08:46.413Z] GEN 06:08:46.302 - 5 execute jar Create tests jar [2024-08-17T06:08:46.413Z] GEN 06:08:46.302 - 6 execute jlink Create runtime image for upgrademodulepath test [2024-08-17T06:08:46.413Z] GEN 06:08:46.302 - 7 execute jar Create com.hello override jar [2024-08-17T06:08:46.413Z] GEN 06:08:46.302 - 8 execute jar Create com.hello override jar [2024-08-17T06:08:46.413Z] GEN 06:08:46.302 - 9 execute Run java Override an application module using modularized jar [2024-08-17T06:08:46.413Z] GEN 06:08:46.302 - 10 execute Run java (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar [2024-08-17T06:08:46.413Z] GEN 06:08:46.303 - 11 execute Run java Combine stderr and stdout files of process OT24 [2024-08-17T06:08:46.413Z] GEN 06:08:46.303 - 12 execute count Check output [2024-08-17T06:08:46.413Z] STF 06:08:46.373 - [2024-08-17T06:08:46.413Z] STF 06:08:46.373 - Script generation completed [2024-08-17T06:08:46.413Z] STF 06:08:46.373 - [2024-08-17T06:08:46.413Z] STF 06:08:46.375 - [2024-08-17T06:08:46.413Z] STF 06:08:46.375 - ======================= S E T U P ======================= [2024-08-17T06:08:46.413Z] STF 06:08:46.375 - Running setup: perl C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17238726624597\UpgModPath_Jar_1/20240817-060844-UpgModPathTest/setUp.pl [2024-08-17T06:08:46.748Z] STF 06:08:46.547 - SETUP stage completed [2024-08-17T06:08:46.748Z] STF 06:08:46.561 - [2024-08-17T06:08:46.748Z] STF 06:08:46.561 - ==================== E X E C U T E - ==================== [2024-08-17T06:08:46.748Z] STF 06:08:46.561 - Running execute: perl C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17238726624597\UpgModPath_Jar_1/20240817-060844-UpgModPathTest/execute.pl [2024-08-17T06:08:47.083Z] STF 06:08:46.760 - [2024-08-17T06:08:47.083Z] STF 06:08:46.760 - Java version [2024-08-17T06:08:47.083Z] STF 06:08:46.760 - Running: c:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-08-17T06:08:47.083Z] openjdk version "11.0.25-beta" 2024-10-15 [2024-08-17T06:08:47.083Z] OpenJDK Runtime Environment Temurin-11.0.25+3-202408161637 (build 11.0.25-beta+3-ea) [2024-08-17T06:08:47.083Z] OpenJDK 64-Bit Server VM Temurin-11.0.25+3-202408161637 (build 11.0.25-beta+3-ea, mixed mode) [2024-08-17T06:08:47.083Z] STF 06:08:46.936 - [2024-08-17T06:08:47.083Z] STF 06:08:46.936 - +------ Step 1 - Create com.hello jar [2024-08-17T06:08:47.083Z] STF 06:08:46.936 - | Create modular jar [2024-08-17T06:08:47.083Z] STF 06:08:46.936 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-08-17T06:08:47.083Z] STF 06:08:46.936 - | ModuleVersion: null [2024-08-17T06:08:47.083Z] STF 06:08:46.936 - | MainClass: null [2024-08-17T06:08:47.083Z] STF 06:08:46.936 - | HashModules: null [2024-08-17T06:08:47.083Z] STF 06:08:46.937 - | [2024-08-17T06:08:47.083Z] STF 06:08:46.937 - Running command: c:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17238726624597/UpgModPath_Jar_1/20240817-060844-UpgModPathTest/modules/1.com.hello.jar -C C:\workspace\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-17T06:08:47.083Z] STF 06:08:46.937 - Redirecting stderr to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17238726624597/UpgModPath_Jar_1/20240817-060844-UpgModPathTest/results/1.CMJ.stderr [2024-08-17T06:08:47.083Z] STF 06:08:46.937 - Redirecting stdout to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17238726624597/UpgModPath_Jar_1/20240817-060844-UpgModPathTest/results/1.CMJ.stdout [2024-08-17T06:08:47.083Z] STF 06:08:46.975 - Monitoring processes: CMJ [2024-08-17T06:08:47.781Z] STF 06:08:47.429 - Monitoring Report Summary: [2024-08-17T06:08:47.781Z] STF 06:08:47.429 - o Process CMJ ended with the expected exit code (0) [2024-08-17T06:08:47.781Z] STF 06:08:47.429 - Created modular jar: 1.com.hello.jar [2024-08-17T06:08:47.781Z] STF 06:08:47.429 - [2024-08-17T06:08:47.781Z] STF 06:08:47.429 - +------ Step 2 - Create com.hola jar [2024-08-17T06:08:47.781Z] STF 06:08:47.429 - | Create modular jar [2024-08-17T06:08:47.781Z] STF 06:08:47.430 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-08-17T06:08:47.781Z] STF 06:08:47.430 - | ModuleVersion: null [2024-08-17T06:08:47.781Z] STF 06:08:47.430 - | MainClass: null [2024-08-17T06:08:47.781Z] STF 06:08:47.430 - | HashModules: null [2024-08-17T06:08:47.781Z] STF 06:08:47.430 - | [2024-08-17T06:08:47.781Z] STF 06:08:47.430 - Running command: c:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17238726624597/UpgModPath_Jar_1/20240817-060844-UpgModPathTest/modules/2.com.hola.jar -C C:\workspace\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-17T06:08:47.781Z] STF 06:08:47.430 - Redirecting stderr to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17238726624597/UpgModPath_Jar_1/20240817-060844-UpgModPathTest/results/2.CMJ.stderr [2024-08-17T06:08:47.781Z] STF 06:08:47.430 - Redirecting stdout to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17238726624597/UpgModPath_Jar_1/20240817-060844-UpgModPathTest/results/2.CMJ.stdout [2024-08-17T06:08:47.781Z] STF 06:08:47.438 - Monitoring processes: CMJ [2024-08-17T06:08:48.115Z] STF 06:08:47.874 - Monitoring Report Summary: [2024-08-17T06:08:48.115Z] STF 06:08:47.874 - o Process CMJ ended with the expected exit code (0) [2024-08-17T06:08:48.115Z] STF 06:08:47.875 - Created modular jar: 2.com.hola.jar [2024-08-17T06:08:48.115Z] STF 06:08:47.875 - [2024-08-17T06:08:48.115Z] STF 06:08:47.875 - +------ Step 3 - Create com.helper jar [2024-08-17T06:08:48.115Z] STF 06:08:47.875 - | Create modular jar [2024-08-17T06:08:48.115Z] STF 06:08:47.875 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-08-17T06:08:48.115Z] STF 06:08:47.875 - | ModuleVersion: null [2024-08-17T06:08:48.115Z] STF 06:08:47.875 - | MainClass: null [2024-08-17T06:08:48.115Z] STF 06:08:47.875 - | HashModules: null [2024-08-17T06:08:48.115Z] STF 06:08:47.875 - | [2024-08-17T06:08:48.115Z] STF 06:08:47.876 - Running command: c:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17238726624597/UpgModPath_Jar_1/20240817-060844-UpgModPathTest/modules/3.com.helper.jar -C C:\workspace\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-17T06:08:48.115Z] STF 06:08:47.876 - Redirecting stderr to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17238726624597/UpgModPath_Jar_1/20240817-060844-UpgModPathTest/results/3.CMJ.stderr [2024-08-17T06:08:48.115Z] STF 06:08:47.876 - Redirecting stdout to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17238726624597/UpgModPath_Jar_1/20240817-060844-UpgModPathTest/results/3.CMJ.stdout [2024-08-17T06:08:48.115Z] STF 06:08:47.884 - Monitoring processes: CMJ [2024-08-17T06:08:48.446Z] STF 06:08:48.316 - Monitoring Report Summary: [2024-08-17T06:08:48.446Z] STF 06:08:48.316 - o Process CMJ ended with the expected exit code (0) [2024-08-17T06:08:48.446Z] STF 06:08:48.316 - Created modular jar: 3.com.helper.jar [2024-08-17T06:08:48.446Z] STF 06:08:48.316 - [2024-08-17T06:08:48.446Z] STF 06:08:48.316 - +------ Step 4 - Create com.discreet jar [2024-08-17T06:08:48.446Z] STF 06:08:48.316 - | Create modular jar [2024-08-17T06:08:48.446Z] STF 06:08:48.316 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-08-17T06:08:48.446Z] STF 06:08:48.317 - | ModuleVersion: null [2024-08-17T06:08:48.446Z] STF 06:08:48.317 - | MainClass: null [2024-08-17T06:08:48.446Z] STF 06:08:48.317 - | HashModules: null [2024-08-17T06:08:48.446Z] STF 06:08:48.317 - | [2024-08-17T06:08:48.446Z] STF 06:08:48.317 - Running command: c:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17238726624597/UpgModPath_Jar_1/20240817-060844-UpgModPathTest/modules/4.com.discreet.jar -C C:\workspace\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-17T06:08:48.446Z] STF 06:08:48.317 - Redirecting stderr to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17238726624597/UpgModPath_Jar_1/20240817-060844-UpgModPathTest/results/4.CMJ.stderr [2024-08-17T06:08:48.446Z] STF 06:08:48.317 - Redirecting stdout to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17238726624597/UpgModPath_Jar_1/20240817-060844-UpgModPathTest/results/4.CMJ.stdout [2024-08-17T06:08:48.446Z] STF 06:08:48.324 - Monitoring processes: CMJ [2024-08-17T06:08:49.144Z] STF 06:08:48.767 - Monitoring Report Summary: [2024-08-17T06:08:49.144Z] STF 06:08:48.767 - o Process CMJ ended with the expected exit code (0) [2024-08-17T06:08:49.144Z] STF 06:08:48.768 - Created modular jar: 4.com.discreet.jar [2024-08-17T06:08:49.144Z] STF 06:08:48.768 - [2024-08-17T06:08:49.144Z] STF 06:08:48.768 - +------ Step 5 - Create tests jar [2024-08-17T06:08:49.145Z] STF 06:08:48.768 - | Create modular jar [2024-08-17T06:08:49.145Z] STF 06:08:48.768 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-08-17T06:08:49.145Z] STF 06:08:48.768 - | ModuleVersion: null [2024-08-17T06:08:49.145Z] STF 06:08:48.768 - | MainClass: null [2024-08-17T06:08:49.145Z] STF 06:08:48.768 - | HashModules: null [2024-08-17T06:08:49.145Z] STF 06:08:48.768 - | [2024-08-17T06:08:49.145Z] STF 06:08:48.769 - Running command: c:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17238726624597/UpgModPath_Jar_1/20240817-060844-UpgModPathTest/modules/5.com.test.jar -C C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2024-08-17T06:08:49.145Z] STF 06:08:48.769 - Redirecting stderr to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17238726624597/UpgModPath_Jar_1/20240817-060844-UpgModPathTest/results/5.CMJ.stderr [2024-08-17T06:08:49.145Z] STF 06:08:48.769 - Redirecting stdout to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17238726624597/UpgModPath_Jar_1/20240817-060844-UpgModPathTest/results/5.CMJ.stdout [2024-08-17T06:08:49.145Z] STF 06:08:48.776 - Monitoring processes: CMJ [2024-08-17T06:08:49.483Z] STF 06:08:49.233 - Monitoring Report Summary: [2024-08-17T06:08:49.483Z] STF 06:08:49.233 - o Process CMJ ended with the expected exit code (0) [2024-08-17T06:08:49.483Z] STF 06:08:49.233 - Created modular jar: 5.com.test.jar [2024-08-17T06:08:49.483Z] STF 06:08:49.233 - [2024-08-17T06:08:49.483Z] STF 06:08:49.233 - +------ Step 6 - Create runtime image for upgrademodulepath test [2024-08-17T06:08:49.483Z] STF 06:08:49.233 - | Run jlink to create runtime image [2024-08-17T06:08:49.483Z] STF 06:08:49.233 - | ImageName: UpJVM [2024-08-17T06:08:49.483Z] STF 06:08:49.233 - | [2024-08-17T06:08:49.483Z] STF 06:08:49.234 - Running command: c:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path c:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jdkbinary\j2sdk-image\jmods;C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17238726624597\UpgModPath_Jar_1\20240817-060844-UpgModPathTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17238726624597\UpgModPath_Jar_1\20240817-060844-UpgModPathTest\tmp\6.UpJVM [2024-08-17T06:08:49.483Z] STF 06:08:49.234 - Redirecting stderr to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17238726624597/UpgModPath_Jar_1/20240817-060844-UpgModPathTest/results/6.JLNK.stderr [2024-08-17T06:08:49.483Z] STF 06:08:49.234 - Redirecting stdout to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17238726624597/UpgModPath_Jar_1/20240817-060844-UpgModPathTest/results/6.JLNK.stdout [2024-08-17T06:08:49.483Z] STF 06:08:49.244 - Monitoring processes: JLNK [2024-08-17T06:08:53.219Z] STF 06:08:52.426 - Monitoring Report Summary: [2024-08-17T06:08:53.220Z] STF 06:08:52.426 - o Process JLNK ended with the expected exit code (0) [2024-08-17T06:08:53.220Z] STF 06:08:52.426 - [2024-08-17T06:08:53.220Z] STF 06:08:52.426 - +------ Step 7 - Create com.hello override jar [2024-08-17T06:08:53.220Z] STF 06:08:52.426 - | Create modular jar [2024-08-17T06:08:53.220Z] STF 06:08:52.427 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-08-17T06:08:53.220Z] STF 06:08:52.427 - | ModuleVersion: null [2024-08-17T06:08:53.220Z] STF 06:08:52.427 - | MainClass: null [2024-08-17T06:08:53.220Z] STF 06:08:52.427 - | HashModules: null [2024-08-17T06:08:53.220Z] STF 06:08:52.427 - | [2024-08-17T06:08:53.220Z] STF 06:08:52.427 - Running command: c:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17238726624597/UpgModPath_Jar_1/20240817-060844-UpgModPathTest/modules/7.com.hello.jar -C C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2024-08-17T06:08:53.220Z] STF 06:08:52.427 - Redirecting stderr to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17238726624597/UpgModPath_Jar_1/20240817-060844-UpgModPathTest/results/7.CMJ.stderr [2024-08-17T06:08:53.220Z] STF 06:08:52.427 - Redirecting stdout to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17238726624597/UpgModPath_Jar_1/20240817-060844-UpgModPathTest/results/7.CMJ.stdout [2024-08-17T06:08:53.220Z] STF 06:08:52.470 - Monitoring processes: CMJ [2024-08-17T06:08:53.220Z] STF 06:08:52.939 - Monitoring Report Summary: [2024-08-17T06:08:53.220Z] STF 06:08:52.939 - o Process CMJ ended with the expected exit code (0) [2024-08-17T06:08:53.220Z] STF 06:08:52.940 - Created modular jar: 7.com.hello.jar [2024-08-17T06:08:53.220Z] STF 06:08:52.940 - [2024-08-17T06:08:53.220Z] STF 06:08:52.940 - +------ Step 8 - Create com.hello override jar [2024-08-17T06:08:53.220Z] STF 06:08:52.940 - | Create modular jar [2024-08-17T06:08:53.220Z] STF 06:08:52.940 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2024-08-17T06:08:53.220Z] STF 06:08:52.940 - | ModuleVersion: null [2024-08-17T06:08:53.220Z] STF 06:08:52.940 - | MainClass: null [2024-08-17T06:08:53.220Z] STF 06:08:52.940 - | HashModules: null [2024-08-17T06:08:53.220Z] STF 06:08:52.940 - | [2024-08-17T06:08:53.220Z] STF 06:08:52.940 - Running command: c:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17238726624597/UpgModPath_Jar_1/20240817-060844-UpgModPathTest/modules/8.java.logging.jar -C C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.logging . [2024-08-17T06:08:53.220Z] STF 06:08:52.940 - Redirecting stderr to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17238726624597/UpgModPath_Jar_1/20240817-060844-UpgModPathTest/results/8.CMJ.stderr [2024-08-17T06:08:53.220Z] STF 06:08:52.940 - Redirecting stdout to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17238726624597/UpgModPath_Jar_1/20240817-060844-UpgModPathTest/results/8.CMJ.stdout [2024-08-17T06:08:53.220Z] STF 06:08:52.949 - Monitoring processes: CMJ [2024-08-17T06:08:53.552Z] STF 06:08:53.385 - Monitoring Report Summary: [2024-08-17T06:08:53.552Z] STF 06:08:53.385 - o Process CMJ ended with the expected exit code (0) [2024-08-17T06:08:53.552Z] STF 06:08:53.386 - Created modular jar: 8.java.logging.jar [2024-08-17T06:08:53.552Z] STF 06:08:53.386 - [2024-08-17T06:08:53.552Z] STF 06:08:53.386 - +------ Step 9 - Override an application module using modularized jar [2024-08-17T06:08:53.552Z] STF 06:08:53.386 - | Run foreground process [2024-08-17T06:08:53.552Z] STF 06:08:53.386 - | Program: c:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-08-17T06:08:53.552Z] STF 06:08:53.386 - | Mnemonic: OT21 [2024-08-17T06:08:53.552Z] STF 06:08:53.386 - | Echo: ECHO_ON [2024-08-17T06:08:53.552Z] STF 06:08:53.386 - | Expectation: CLEAN_RUN within 1m [2024-08-17T06:08:53.552Z] STF 06:08:53.386 - | [2024-08-17T06:08:53.552Z] STF 06:08:53.386 - Running command: c:/workspace/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:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --upgrade-module-path C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17238726624597/UpgModPath_Jar_1/20240817-060844-UpgModPathTest/modules/7.com.hello.jar --add-modules=com.test -XX:-UseCompressedOops -classpath c:/workspace/testDependency/system_lib/junit/junit.jar;c:/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2024-08-17T06:08:53.552Z] STF 06:08:53.386 - Redirecting stderr to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17238726624597/UpgModPath_Jar_1/20240817-060844-UpgModPathTest/results/9.OT21.stderr [2024-08-17T06:08:53.552Z] STF 06:08:53.386 - Redirecting stdout to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17238726624597/UpgModPath_Jar_1/20240817-060844-UpgModPathTest/results/9.OT21.stdout [2024-08-17T06:08:53.552Z] STF 06:08:53.394 - Monitoring processes: OT21 [2024-08-17T06:08:53.882Z] OT21 JUnit version 4.12 [2024-08-17T06:08:54.214Z] OT21 . [2024-08-17T06:08:54.214Z] OT21 Time: 0.009 [2024-08-17T06:08:54.214Z] OT21 [2024-08-17T06:08:54.215Z] OT21 OK (1 test) [2024-08-17T06:08:54.215Z] OT21 [2024-08-17T06:08:54.215Z] STF 06:08:53.856 - Monitoring Report Summary: [2024-08-17T06:08:54.215Z] STF 06:08:53.857 - o Process OT21 ended with the expected exit code (0) [2024-08-17T06:08:54.215Z] STF 06:08:53.857 - [2024-08-17T06:08:54.215Z] STF 06:08:53.857 - +------ Step 10 - (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar [2024-08-17T06:08:54.215Z] STF 06:08:53.857 - | Run foreground process [2024-08-17T06:08:54.215Z] STF 06:08:53.857 - | Program: c:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-08-17T06:08:54.215Z] STF 06:08:53.857 - | Mnemonic: OT24 [2024-08-17T06:08:54.215Z] STF 06:08:53.857 - | Echo: ECHO_ON [2024-08-17T06:08:54.215Z] STF 06:08:53.857 - | Expectation: NON_ZERO_EXIT [1] within 1m [2024-08-17T06:08:54.215Z] STF 06:08:53.857 - | [2024-08-17T06:08:54.215Z] STF 06:08:53.857 - Running command: c:/workspace/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:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --upgrade-module-path C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17238726624597/UpgModPath_Jar_1/20240817-060844-UpgModPathTest/modules/8.java.logging.jar --add-modules=com.test -XX:-UseCompressedOops -classpath c:/workspace/testDependency/system_lib/junit/junit.jar;c:/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingNonUpgradablePlatformModule [2024-08-17T06:08:54.215Z] STF 06:08:53.857 - Redirecting stderr to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17238726624597/UpgModPath_Jar_1/20240817-060844-UpgModPathTest/results/10.OT24.stderr [2024-08-17T06:08:54.215Z] STF 06:08:53.857 - Redirecting stdout to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17238726624597/UpgModPath_Jar_1/20240817-060844-UpgModPathTest/results/10.OT24.stdout [2024-08-17T06:08:54.215Z] STF 06:08:53.865 - Monitoring processes: OT24 [2024-08-17T06:08:54.544Z] OT24 Error occurred during initialization of boot layer [2024-08-17T06:08:54.544Z] OT24 java.lang.module.FindException: Hash of java.logging (6538e4329dfd0a3379d9797216f91349929c40c383aa5df89f209224446ef6fb) differs to expected hash (9b88281c6d4861701a3749d5fb2db6e88f56df955512fce0e700af9602c7195e) recorded in java.base [2024-08-17T06:08:54.544Z] STF 06:08:54.185 - Monitoring Report Summary: [2024-08-17T06:08:54.544Z] STF 06:08:54.185 - o Process OT24 ended with the expected exit code (1) [2024-08-17T06:08:54.544Z] STF 06:08:54.186 - [2024-08-17T06:08:54.544Z] STF 06:08:54.186 - +------ Step 11 - Combine stderr and stdout files of process OT24 [2024-08-17T06:08:54.544Z] STF 06:08:54.186 - | Run foreground process [2024-08-17T06:08:54.544Z] STF 06:08:54.186 - | Program: c:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-08-17T06:08:54.544Z] STF 06:08:54.186 - | Mnemonic: CO [2024-08-17T06:08:54.544Z] STF 06:08:54.186 - | Echo: ECHO_OFF [2024-08-17T06:08:54.544Z] STF 06:08:54.186 - | Expectation: NON_ZERO_EXIT [0] within 30s [2024-08-17T06:08:54.544Z] STF 06:08:54.186 - | [2024-08-17T06:08:54.544Z] STF 06:08:54.186 - Running command: c:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -Dfile1=C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17238726624597/UpgModPath_Jar_1/20240817-060844-UpgModPathTest/results/10.OT24.stdout -Dfile2=C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17238726624597/UpgModPath_Jar_1/20240817-060844-UpgModPathTest/results/10.OT24.stderr -Dfinal.file=C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17238726624597\UpgModPath_Jar_1\20240817-060844-UpgModPathTest\results\combinedOT24.txt -XX:-UseCompressedOops -classpath C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\STF\stf.core\bin;C:\workspace\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-17T06:08:54.544Z] STF 06:08:54.186 - Redirecting stderr to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17238726624597/UpgModPath_Jar_1/20240817-060844-UpgModPathTest/results/11.CO.stderr [2024-08-17T06:08:54.544Z] STF 06:08:54.186 - Redirecting stdout to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17238726624597/UpgModPath_Jar_1/20240817-060844-UpgModPathTest/results/11.CO.stdout [2024-08-17T06:08:54.544Z] STF 06:08:54.193 - Monitoring processes: CO [2024-08-17T06:08:54.945Z] STF 06:08:54.473 - Monitoring Report Summary: [2024-08-17T06:08:54.945Z] STF 06:08:54.473 - o Process CO ended with the expected exit code (0) [2024-08-17T06:08:54.945Z] STF 06:08:54.473 - [2024-08-17T06:08:54.945Z] STF 06:08:54.473 - +------ Step 12 - Check output [2024-08-17T06:08:54.945Z] STF 06:08:54.473 - | Count file matches [2024-08-17T06:08:54.945Z] STF 06:08:54.473 - | TargetFile: C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17238726624597/UpgModPath_Jar_1/20240817-060844-UpgModPathTest/results/combinedOT24.txt [2024-08-17T06:08:54.945Z] STF 06:08:54.473 - | ExpectedNumMatches: 1 [2024-08-17T06:08:54.945Z] STF 06:08:54.473 - | SearchStrings: ["FindException: Hash of java.logging"] [2024-08-17T06:08:54.945Z] STF 06:08:54.473 - | [2024-08-17T06:08:54.945Z] STF 06:08:54.488 - Found 1 instances of ["FindException: Hash of java.logging"] [2024-08-17T06:08:54.945Z] STF 06:08:54.488 - EXECUTE stage completed [2024-08-17T06:08:54.945Z] STF 06:08:54.562 - [2024-08-17T06:08:54.945Z] STF 06:08:54.562 - ==================== T E A R D O W N ==================== [2024-08-17T06:08:54.945Z] STF 06:08:54.562 - Running teardown: perl C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17238726624597\UpgModPath_Jar_1/20240817-060844-UpgModPathTest/tearDown.pl [2024-08-17T06:08:54.945Z] STF 06:08:54.732 - TEARDOWN stage completed [2024-08-17T06:08:54.945Z] STF 06:08:54.748 - [2024-08-17T06:08:54.945Z] STF 06:08:54.748 - ===================== R E S U L T S ===================== [2024-08-17T06:08:54.945Z] STF 06:08:54.748 - Stage results: [2024-08-17T06:08:54.945Z] STF 06:08:54.748 - setUp: pass [2024-08-17T06:08:54.945Z] STF 06:08:54.748 - execute: pass [2024-08-17T06:08:54.945Z] STF 06:08:54.748 - teardown: pass [2024-08-17T06:08:54.945Z] STF 06:08:54.748 - [2024-08-17T06:08:54.945Z] STF 06:08:54.748 - Overall result: PASSED [2024-08-17T06:08:54.945Z] ----------------------------------- [2024-08-17T06:08:54.945Z] UpgModPath_Jar_1_PASSED [2024-08-17T06:08:54.945Z] ----------------------------------- [2024-08-17T06:08:55.354Z] [2024-08-17T06:08:55.354Z] TEST TEARDOWN: [2024-08-17T06:08:55.354Z] Nothing to be done for teardown. [2024-08-17T06:08:55.354Z] UpgModPath_Jar_1 Finish Time: Sat Aug 17 06:08:55 2024 Epoch Time (ms): 1723874935231