UpgModPath_Jar_1

[2024-08-08T08:48:58.126Z] Running test UpgModPath_Jar_1 ... [2024-08-08T08:48:58.513Z] =============================================== [2024-08-08T08:48:58.513Z] UpgModPath_Jar_1 Start Time: Thu Aug 8 08:48:58 2024 Epoch Time (ms): 1723106938376 [2024-08-08T08:48:58.882Z] variation: Mode650 [2024-08-08T08:48:59.275Z] JVM_OPTIONS: -XX:-UseCompressedOops [2024-08-08T08:48:59.275Z] { \ [2024-08-08T08:48:59.275Z] echo ""; echo "TEST SETUP:"; \ [2024-08-08T08:48:59.275Z] echo "Nothing to be done for setup."; \ [2024-08-08T08:48:59.275Z] mkdir -p "C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17231047108780\\UpgModPath_Jar_1"; \ [2024-08-08T08:48:59.275Z] cd "C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17231047108780\\UpgModPath_Jar_1"; \ [2024-08-08T08:48:59.275Z] echo ""; echo "TESTING:"; \ [2024-08-08T08:48:59.275Z] 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_17231047108780\\UpgModPath_Jar_1" -test=UpgModPathTest -test-args="variant=Jar"; \ [2024-08-08T08:48:59.275Z] 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_17231047108780\\UpgModPath_Jar_1"; else echo "-----------------------------------"; echo "UpgModPath_Jar_1""_FAILED"; echo "-----------------------------------"; fi; \ [2024-08-08T08:48:59.275Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-08-08T08:48:59.275Z] echo "Nothing to be done for teardown."; \ [2024-08-08T08:48:59.275Z] } 2>&1 | tee -a "C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17231047108780\\TestTargetResult"; [2024-08-08T08:48:59.275Z] [2024-08-08T08:48:59.275Z] TEST SETUP: [2024-08-08T08:48:59.275Z] Nothing to be done for setup. [2024-08-08T08:48:59.275Z] [2024-08-08T08:48:59.275Z] TESTING: [2024-08-08T08:48:59.600Z] STF 08:48:59.310 - ========================= S T F ========================= [2024-08-08T08:48:59.600Z] 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_17231047108780\UpgModPath_Jar_1 [2024-08-08T08:48:59.600Z] There is 107091 Mb free [2024-08-08T08:48:59.600Z] STF 08:48:59.377 - ================== G E N E R A T I O N ================== [2024-08-08T08:48:59.600Z] STF 08:48:59.380 - Checking JVM: c:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image [2024-08-08T08:48:59.600Z] STF 08:48:59.380 - 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_17231047108780\UpgModPath_Jar_1/20240808-084859-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_17231047108780\UpgModPath_Jar_1/20240808-084859-UpgModPathTest" [2024-08-08T08:49:01.204Z] GEN 08:49:00.935 - 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-08T08:49:01.205Z] GEN 08:49:00.956 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2024-08-08T08:49:01.539Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-08-08T08:49:01.540Z] 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-08T08:49:01.540Z] 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-08T08:49:01.540Z] 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-08T08:49:01.540Z] 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-08T08:49:01.540Z] 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-08T08:49:01.540Z] 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-08T08:49:01.540Z] 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-08T08:49:01.540Z] 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-08T08:49:01.540Z] 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-08T08:49:01.540Z] 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-08T08:49:01.540Z] 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-08T08:49:01.540Z] 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-08T08:49:01.540Z] 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-08T08:49:01.540Z] 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-08T08:49:01.540Z] GEN C:\\workspace\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-08-08T08:49:01.540Z] GEN C:\\workspace\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2024-08-08T08:49:01.540Z] GEN c:/workspace/testDependency/system_lib/log4j/log4j-api.jar [2024-08-08T08:49:01.540Z] GEN c:/workspace/testDependency/system_lib/log4j/log4j-core.jar [2024-08-08T08:49:01.540Z] GEN c:/workspace/testDependency/system_lib/junit/junit.jar [2024-08-08T08:49:01.540Z] GEN 08:49:01.320 - Using Mode NoOptions. Values = '' [2024-08-08T08:49:01.867Z] GEN 08:49:01.518 - [2024-08-08T08:49:01.867Z] GEN 08:49:01.518 - Test command summary: [2024-08-08T08:49:01.867Z] GEN 08:49:01.519 - Step Stage Command Description [2024-08-08T08:49:01.867Z] GEN 08:49:01.519 - -----+--------+-----------------+------------ [2024-08-08T08:49:01.867Z] GEN 08:49:01.519 - 1 execute jar Create com.hello jar [2024-08-08T08:49:01.867Z] GEN 08:49:01.520 - 2 execute jar Create com.hola jar [2024-08-08T08:49:01.867Z] GEN 08:49:01.520 - 3 execute jar Create com.helper jar [2024-08-08T08:49:01.867Z] GEN 08:49:01.520 - 4 execute jar Create com.discreet jar [2024-08-08T08:49:01.867Z] GEN 08:49:01.520 - 5 execute jar Create tests jar [2024-08-08T08:49:01.867Z] GEN 08:49:01.520 - 6 execute jlink Create runtime image for upgrademodulepath test [2024-08-08T08:49:01.867Z] GEN 08:49:01.520 - 7 execute jar Create com.hello override jar [2024-08-08T08:49:01.867Z] GEN 08:49:01.520 - 8 execute jar Create com.hello override jar [2024-08-08T08:49:01.867Z] GEN 08:49:01.520 - 9 execute Run java Override an application module using modularized jar [2024-08-08T08:49:01.867Z] GEN 08:49:01.520 - 10 execute Run java (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar [2024-08-08T08:49:01.867Z] GEN 08:49:01.521 - 11 execute Run java Combine stderr and stdout files of process OT24 [2024-08-08T08:49:01.867Z] GEN 08:49:01.521 - 12 execute count Check output [2024-08-08T08:49:01.867Z] STF 08:49:01.559 - [2024-08-08T08:49:01.867Z] STF 08:49:01.559 - Script generation completed [2024-08-08T08:49:01.867Z] STF 08:49:01.559 - [2024-08-08T08:49:01.867Z] STF 08:49:01.560 - [2024-08-08T08:49:01.867Z] STF 08:49:01.560 - ======================= S E T U P ======================= [2024-08-08T08:49:01.867Z] STF 08:49:01.560 - Running setup: perl C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17231047108780\UpgModPath_Jar_1/20240808-084859-UpgModPathTest/setUp.pl [2024-08-08T08:49:01.867Z] STF 08:49:01.739 - SETUP stage completed [2024-08-08T08:49:01.867Z] STF 08:49:01.758 - [2024-08-08T08:49:01.867Z] STF 08:49:01.758 - ==================== E X E C U T E - ==================== [2024-08-08T08:49:01.867Z] STF 08:49:01.758 - Running execute: perl C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17231047108780\UpgModPath_Jar_1/20240808-084859-UpgModPathTest/execute.pl [2024-08-08T08:49:02.198Z] STF 08:49:01.945 - [2024-08-08T08:49:02.198Z] STF 08:49:01.946 - Java version [2024-08-08T08:49:02.198Z] STF 08:49:01.946 - Running: c:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-08-08T08:49:02.198Z] openjdk version "11.0.25-beta" 2024-10-15 [2024-08-08T08:49:02.198Z] OpenJDK Runtime Environment Temurin-11.0.25+2-202408072222 (build 11.0.25-beta+2-ea) [2024-08-08T08:49:02.198Z] OpenJDK 64-Bit Server VM Temurin-11.0.25+2-202408072222 (build 11.0.25-beta+2-ea, mixed mode) [2024-08-08T08:49:02.198Z] STF 08:49:02.124 - [2024-08-08T08:49:02.198Z] STF 08:49:02.124 - +------ Step 1 - Create com.hello jar [2024-08-08T08:49:02.198Z] STF 08:49:02.124 - | Create modular jar [2024-08-08T08:49:02.198Z] STF 08:49:02.125 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-08-08T08:49:02.198Z] STF 08:49:02.125 - | ModuleVersion: null [2024-08-08T08:49:02.198Z] STF 08:49:02.125 - | MainClass: null [2024-08-08T08:49:02.198Z] STF 08:49:02.125 - | HashModules: null [2024-08-08T08:49:02.198Z] STF 08:49:02.125 - | [2024-08-08T08:49:02.198Z] STF 08:49:02.125 - 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_17231047108780/UpgModPath_Jar_1/20240808-084859-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-08T08:49:02.198Z] STF 08:49:02.126 - Redirecting stderr to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17231047108780/UpgModPath_Jar_1/20240808-084859-UpgModPathTest/results/1.CMJ.stderr [2024-08-08T08:49:02.198Z] STF 08:49:02.126 - Redirecting stdout to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17231047108780/UpgModPath_Jar_1/20240808-084859-UpgModPathTest/results/1.CMJ.stdout [2024-08-08T08:49:02.524Z] STF 08:49:02.161 - Monitoring processes: CMJ [2024-08-08T08:49:02.850Z] STF 08:49:02.605 - Monitoring Report Summary: [2024-08-08T08:49:02.850Z] STF 08:49:02.605 - o Process CMJ ended with the expected exit code (0) [2024-08-08T08:49:02.850Z] STF 08:49:02.606 - Created modular jar: 1.com.hello.jar [2024-08-08T08:49:02.850Z] STF 08:49:02.606 - [2024-08-08T08:49:02.850Z] STF 08:49:02.606 - +------ Step 2 - Create com.hola jar [2024-08-08T08:49:02.850Z] STF 08:49:02.606 - | Create modular jar [2024-08-08T08:49:02.850Z] STF 08:49:02.606 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-08-08T08:49:02.850Z] STF 08:49:02.606 - | ModuleVersion: null [2024-08-08T08:49:02.850Z] STF 08:49:02.606 - | MainClass: null [2024-08-08T08:49:02.850Z] STF 08:49:02.606 - | HashModules: null [2024-08-08T08:49:02.850Z] STF 08:49:02.606 - | [2024-08-08T08:49:02.850Z] STF 08:49:02.606 - 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_17231047108780/UpgModPath_Jar_1/20240808-084859-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-08T08:49:02.850Z] STF 08:49:02.606 - Redirecting stderr to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17231047108780/UpgModPath_Jar_1/20240808-084859-UpgModPathTest/results/2.CMJ.stderr [2024-08-08T08:49:02.850Z] STF 08:49:02.606 - Redirecting stdout to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17231047108780/UpgModPath_Jar_1/20240808-084859-UpgModPathTest/results/2.CMJ.stdout [2024-08-08T08:49:02.850Z] STF 08:49:02.614 - Monitoring processes: CMJ [2024-08-08T08:49:03.174Z] STF 08:49:03.056 - Monitoring Report Summary: [2024-08-08T08:49:03.174Z] STF 08:49:03.056 - o Process CMJ ended with the expected exit code (0) [2024-08-08T08:49:03.174Z] STF 08:49:03.056 - Created modular jar: 2.com.hola.jar [2024-08-08T08:49:03.174Z] STF 08:49:03.056 - [2024-08-08T08:49:03.174Z] STF 08:49:03.056 - +------ Step 3 - Create com.helper jar [2024-08-08T08:49:03.174Z] STF 08:49:03.056 - | Create modular jar [2024-08-08T08:49:03.174Z] STF 08:49:03.056 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-08-08T08:49:03.174Z] STF 08:49:03.056 - | ModuleVersion: null [2024-08-08T08:49:03.174Z] STF 08:49:03.056 - | MainClass: null [2024-08-08T08:49:03.174Z] STF 08:49:03.056 - | HashModules: null [2024-08-08T08:49:03.174Z] STF 08:49:03.056 - | [2024-08-08T08:49:03.175Z] STF 08:49:03.057 - 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_17231047108780/UpgModPath_Jar_1/20240808-084859-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-08T08:49:03.175Z] STF 08:49:03.057 - Redirecting stderr to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17231047108780/UpgModPath_Jar_1/20240808-084859-UpgModPathTest/results/3.CMJ.stderr [2024-08-08T08:49:03.175Z] STF 08:49:03.057 - Redirecting stdout to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17231047108780/UpgModPath_Jar_1/20240808-084859-UpgModPathTest/results/3.CMJ.stdout [2024-08-08T08:49:03.175Z] STF 08:49:03.064 - Monitoring processes: CMJ [2024-08-08T08:49:03.849Z] STF 08:49:03.506 - Monitoring Report Summary: [2024-08-08T08:49:03.849Z] STF 08:49:03.506 - o Process CMJ ended with the expected exit code (0) [2024-08-08T08:49:03.849Z] STF 08:49:03.506 - Created modular jar: 3.com.helper.jar [2024-08-08T08:49:03.849Z] STF 08:49:03.506 - [2024-08-08T08:49:03.849Z] STF 08:49:03.506 - +------ Step 4 - Create com.discreet jar [2024-08-08T08:49:03.849Z] STF 08:49:03.506 - | Create modular jar [2024-08-08T08:49:03.849Z] STF 08:49:03.506 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-08-08T08:49:03.849Z] STF 08:49:03.506 - | ModuleVersion: null [2024-08-08T08:49:03.849Z] STF 08:49:03.506 - | MainClass: null [2024-08-08T08:49:03.849Z] STF 08:49:03.506 - | HashModules: null [2024-08-08T08:49:03.849Z] STF 08:49:03.507 - | [2024-08-08T08:49:03.849Z] STF 08:49:03.507 - 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_17231047108780/UpgModPath_Jar_1/20240808-084859-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-08T08:49:03.849Z] STF 08:49:03.507 - Redirecting stderr to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17231047108780/UpgModPath_Jar_1/20240808-084859-UpgModPathTest/results/4.CMJ.stderr [2024-08-08T08:49:03.849Z] STF 08:49:03.507 - Redirecting stdout to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17231047108780/UpgModPath_Jar_1/20240808-084859-UpgModPathTest/results/4.CMJ.stdout [2024-08-08T08:49:03.849Z] STF 08:49:03.514 - Monitoring processes: CMJ [2024-08-08T08:49:04.173Z] STF 08:49:03.972 - Monitoring Report Summary: [2024-08-08T08:49:04.173Z] STF 08:49:03.972 - o Process CMJ ended with the expected exit code (0) [2024-08-08T08:49:04.173Z] STF 08:49:03.972 - Created modular jar: 4.com.discreet.jar [2024-08-08T08:49:04.173Z] STF 08:49:03.972 - [2024-08-08T08:49:04.173Z] STF 08:49:03.972 - +------ Step 5 - Create tests jar [2024-08-08T08:49:04.173Z] STF 08:49:03.972 - | Create modular jar [2024-08-08T08:49:04.173Z] STF 08:49:03.973 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-08-08T08:49:04.173Z] STF 08:49:03.973 - | ModuleVersion: null [2024-08-08T08:49:04.173Z] STF 08:49:03.973 - | MainClass: null [2024-08-08T08:49:04.173Z] STF 08:49:03.973 - | HashModules: null [2024-08-08T08:49:04.173Z] STF 08:49:03.973 - | [2024-08-08T08:49:04.173Z] STF 08:49:03.973 - 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_17231047108780/UpgModPath_Jar_1/20240808-084859-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-08T08:49:04.173Z] STF 08:49:03.973 - Redirecting stderr to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17231047108780/UpgModPath_Jar_1/20240808-084859-UpgModPathTest/results/5.CMJ.stderr [2024-08-08T08:49:04.173Z] STF 08:49:03.973 - Redirecting stdout to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17231047108780/UpgModPath_Jar_1/20240808-084859-UpgModPathTest/results/5.CMJ.stdout [2024-08-08T08:49:04.173Z] STF 08:49:03.983 - Monitoring processes: CMJ [2024-08-08T08:49:04.496Z] STF 08:49:04.424 - Monitoring Report Summary: [2024-08-08T08:49:04.497Z] STF 08:49:04.424 - o Process CMJ ended with the expected exit code (0) [2024-08-08T08:49:04.497Z] STF 08:49:04.424 - Created modular jar: 5.com.test.jar [2024-08-08T08:49:04.497Z] STF 08:49:04.424 - [2024-08-08T08:49:04.497Z] STF 08:49:04.424 - +------ Step 6 - Create runtime image for upgrademodulepath test [2024-08-08T08:49:04.497Z] STF 08:49:04.424 - | Run jlink to create runtime image [2024-08-08T08:49:04.497Z] STF 08:49:04.424 - | ImageName: UpJVM [2024-08-08T08:49:04.497Z] STF 08:49:04.424 - | [2024-08-08T08:49:04.497Z] STF 08:49:04.425 - 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_17231047108780\UpgModPath_Jar_1\20240808-084859-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_17231047108780\UpgModPath_Jar_1\20240808-084859-UpgModPathTest\tmp\6.UpJVM [2024-08-08T08:49:04.497Z] STF 08:49:04.425 - Redirecting stderr to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17231047108780/UpgModPath_Jar_1/20240808-084859-UpgModPathTest/results/6.JLNK.stderr [2024-08-08T08:49:04.497Z] STF 08:49:04.425 - Redirecting stdout to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17231047108780/UpgModPath_Jar_1/20240808-084859-UpgModPathTest/results/6.JLNK.stdout [2024-08-08T08:49:04.497Z] STF 08:49:04.433 - Monitoring processes: JLNK [2024-08-08T08:49:08.232Z] STF 08:49:07.701 - Monitoring Report Summary: [2024-08-08T08:49:08.232Z] STF 08:49:07.701 - o Process JLNK ended with the expected exit code (0) [2024-08-08T08:49:08.232Z] STF 08:49:07.701 - [2024-08-08T08:49:08.232Z] STF 08:49:07.701 - +------ Step 7 - Create com.hello override jar [2024-08-08T08:49:08.232Z] STF 08:49:07.701 - | Create modular jar [2024-08-08T08:49:08.232Z] STF 08:49:07.701 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-08-08T08:49:08.232Z] STF 08:49:07.701 - | ModuleVersion: null [2024-08-08T08:49:08.232Z] STF 08:49:07.701 - | MainClass: null [2024-08-08T08:49:08.232Z] STF 08:49:07.701 - | HashModules: null [2024-08-08T08:49:08.232Z] STF 08:49:07.701 - | [2024-08-08T08:49:08.232Z] STF 08:49:07.702 - 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_17231047108780/UpgModPath_Jar_1/20240808-084859-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-08T08:49:08.232Z] STF 08:49:07.702 - Redirecting stderr to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17231047108780/UpgModPath_Jar_1/20240808-084859-UpgModPathTest/results/7.CMJ.stderr [2024-08-08T08:49:08.232Z] STF 08:49:07.702 - Redirecting stdout to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17231047108780/UpgModPath_Jar_1/20240808-084859-UpgModPathTest/results/7.CMJ.stdout [2024-08-08T08:49:08.232Z] STF 08:49:07.712 - Monitoring processes: CMJ [2024-08-08T08:49:08.556Z] STF 08:49:08.325 - Monitoring Report Summary: [2024-08-08T08:49:08.556Z] STF 08:49:08.325 - o Process CMJ ended with the expected exit code (0) [2024-08-08T08:49:08.556Z] STF 08:49:08.325 - Created modular jar: 7.com.hello.jar [2024-08-08T08:49:08.556Z] STF 08:49:08.325 - [2024-08-08T08:49:08.556Z] STF 08:49:08.325 - +------ Step 8 - Create com.hello override jar [2024-08-08T08:49:08.556Z] STF 08:49:08.325 - | Create modular jar [2024-08-08T08:49:08.556Z] STF 08:49:08.325 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2024-08-08T08:49:08.556Z] STF 08:49:08.325 - | ModuleVersion: null [2024-08-08T08:49:08.556Z] STF 08:49:08.325 - | MainClass: null [2024-08-08T08:49:08.556Z] STF 08:49:08.325 - | HashModules: null [2024-08-08T08:49:08.556Z] STF 08:49:08.325 - | [2024-08-08T08:49:08.556Z] STF 08:49:08.326 - 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_17231047108780/UpgModPath_Jar_1/20240808-084859-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-08T08:49:08.556Z] STF 08:49:08.326 - Redirecting stderr to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17231047108780/UpgModPath_Jar_1/20240808-084859-UpgModPathTest/results/8.CMJ.stderr [2024-08-08T08:49:08.556Z] STF 08:49:08.326 - Redirecting stdout to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17231047108780/UpgModPath_Jar_1/20240808-084859-UpgModPathTest/results/8.CMJ.stdout [2024-08-08T08:49:08.556Z] STF 08:49:08.335 - Monitoring processes: CMJ [2024-08-08T08:49:08.878Z] STF 08:49:08.764 - Monitoring Report Summary: [2024-08-08T08:49:08.878Z] STF 08:49:08.764 - o Process CMJ ended with the expected exit code (0) [2024-08-08T08:49:08.878Z] STF 08:49:08.764 - Created modular jar: 8.java.logging.jar [2024-08-08T08:49:08.878Z] STF 08:49:08.764 - [2024-08-08T08:49:08.878Z] STF 08:49:08.764 - +------ Step 9 - Override an application module using modularized jar [2024-08-08T08:49:08.878Z] STF 08:49:08.764 - | Run foreground process [2024-08-08T08:49:08.878Z] STF 08:49:08.764 - | Program: c:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-08-08T08:49:08.878Z] STF 08:49:08.764 - | Mnemonic: OT21 [2024-08-08T08:49:08.878Z] STF 08:49:08.764 - | Echo: ECHO_ON [2024-08-08T08:49:08.878Z] STF 08:49:08.764 - | Expectation: CLEAN_RUN within 1m [2024-08-08T08:49:08.878Z] STF 08:49:08.764 - | [2024-08-08T08:49:08.878Z] STF 08:49:08.765 - 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_17231047108780/UpgModPath_Jar_1/20240808-084859-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-08T08:49:08.878Z] STF 08:49:08.765 - Redirecting stderr to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17231047108780/UpgModPath_Jar_1/20240808-084859-UpgModPathTest/results/9.OT21.stderr [2024-08-08T08:49:08.878Z] STF 08:49:08.765 - Redirecting stdout to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17231047108780/UpgModPath_Jar_1/20240808-084859-UpgModPathTest/results/9.OT21.stdout [2024-08-08T08:49:08.878Z] STF 08:49:08.772 - Monitoring processes: OT21 [2024-08-08T08:49:09.203Z] OT21 JUnit version 4.12 [2024-08-08T08:49:09.527Z] OT21 . [2024-08-08T08:49:09.527Z] OT21 Time: 0.008 [2024-08-08T08:49:09.527Z] OT21 [2024-08-08T08:49:09.527Z] OT21 OK (1 test) [2024-08-08T08:49:09.527Z] OT21 [2024-08-08T08:49:09.527Z] STF 08:49:09.244 - Monitoring Report Summary: [2024-08-08T08:49:09.527Z] STF 08:49:09.244 - o Process OT21 ended with the expected exit code (0) [2024-08-08T08:49:09.527Z] STF 08:49:09.244 - [2024-08-08T08:49:09.527Z] STF 08:49:09.245 - +------ Step 10 - (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar [2024-08-08T08:49:09.527Z] STF 08:49:09.245 - | Run foreground process [2024-08-08T08:49:09.527Z] STF 08:49:09.245 - | Program: c:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-08-08T08:49:09.527Z] STF 08:49:09.245 - | Mnemonic: OT24 [2024-08-08T08:49:09.527Z] STF 08:49:09.245 - | Echo: ECHO_ON [2024-08-08T08:49:09.527Z] STF 08:49:09.245 - | Expectation: NON_ZERO_EXIT [1] within 1m [2024-08-08T08:49:09.527Z] STF 08:49:09.245 - | [2024-08-08T08:49:09.527Z] STF 08:49:09.245 - 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_17231047108780/UpgModPath_Jar_1/20240808-084859-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-08T08:49:09.527Z] STF 08:49:09.245 - Redirecting stderr to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17231047108780/UpgModPath_Jar_1/20240808-084859-UpgModPathTest/results/10.OT24.stderr [2024-08-08T08:49:09.527Z] STF 08:49:09.245 - Redirecting stdout to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17231047108780/UpgModPath_Jar_1/20240808-084859-UpgModPathTest/results/10.OT24.stdout [2024-08-08T08:49:09.527Z] STF 08:49:09.252 - Monitoring processes: OT24 [2024-08-08T08:49:09.851Z] OT24 Error occurred during initialization of boot layer [2024-08-08T08:49:09.851Z] OT24 java.lang.module.FindException: Hash of java.logging (6538e4329dfd0a3379d9797216f91349929c40c383aa5df89f209224446ef6fb) differs to expected hash (9b88281c6d4861701a3749d5fb2db6e88f56df955512fce0e700af9602c7195e) recorded in java.base [2024-08-08T08:49:09.851Z] STF 08:49:09.571 - Monitoring Report Summary: [2024-08-08T08:49:09.851Z] STF 08:49:09.571 - o Process OT24 ended with the expected exit code (1) [2024-08-08T08:49:09.851Z] STF 08:49:09.571 - [2024-08-08T08:49:09.851Z] STF 08:49:09.571 - +------ Step 11 - Combine stderr and stdout files of process OT24 [2024-08-08T08:49:09.851Z] STF 08:49:09.571 - | Run foreground process [2024-08-08T08:49:09.851Z] STF 08:49:09.571 - | Program: c:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-08-08T08:49:09.851Z] STF 08:49:09.571 - | Mnemonic: CO [2024-08-08T08:49:09.851Z] STF 08:49:09.571 - | Echo: ECHO_OFF [2024-08-08T08:49:09.851Z] STF 08:49:09.571 - | Expectation: NON_ZERO_EXIT [0] within 30s [2024-08-08T08:49:09.851Z] STF 08:49:09.571 - | [2024-08-08T08:49:09.851Z] STF 08:49:09.572 - 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_17231047108780/UpgModPath_Jar_1/20240808-084859-UpgModPathTest/results/10.OT24.stdout -Dfile2=C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17231047108780/UpgModPath_Jar_1/20240808-084859-UpgModPathTest/results/10.OT24.stderr -Dfinal.file=C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17231047108780\UpgModPath_Jar_1\20240808-084859-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-08T08:49:09.851Z] STF 08:49:09.572 - Redirecting stderr to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17231047108780/UpgModPath_Jar_1/20240808-084859-UpgModPathTest/results/11.CO.stderr [2024-08-08T08:49:09.851Z] STF 08:49:09.572 - Redirecting stdout to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17231047108780/UpgModPath_Jar_1/20240808-084859-UpgModPathTest/results/11.CO.stdout [2024-08-08T08:49:09.851Z] STF 08:49:09.579 - Monitoring processes: CO [2024-08-08T08:49:10.245Z] STF 08:49:09.850 - Monitoring Report Summary: [2024-08-08T08:49:10.245Z] STF 08:49:09.850 - o Process CO ended with the expected exit code (0) [2024-08-08T08:49:10.245Z] STF 08:49:09.850 - [2024-08-08T08:49:10.246Z] STF 08:49:09.850 - +------ Step 12 - Check output [2024-08-08T08:49:10.246Z] STF 08:49:09.850 - | Count file matches [2024-08-08T08:49:10.246Z] STF 08:49:09.850 - | TargetFile: C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17231047108780/UpgModPath_Jar_1/20240808-084859-UpgModPathTest/results/combinedOT24.txt [2024-08-08T08:49:10.246Z] STF 08:49:09.850 - | ExpectedNumMatches: 1 [2024-08-08T08:49:10.246Z] STF 08:49:09.850 - | SearchStrings: ["FindException: Hash of java.logging"] [2024-08-08T08:49:10.246Z] STF 08:49:09.850 - | [2024-08-08T08:49:10.246Z] STF 08:49:09.852 - Found 1 instances of ["FindException: Hash of java.logging"] [2024-08-08T08:49:10.246Z] STF 08:49:09.852 - EXECUTE stage completed [2024-08-08T08:49:10.246Z] STF 08:49:09.879 - [2024-08-08T08:49:10.246Z] STF 08:49:09.880 - ==================== T E A R D O W N ==================== [2024-08-08T08:49:10.246Z] STF 08:49:09.880 - Running teardown: perl C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17231047108780\UpgModPath_Jar_1/20240808-084859-UpgModPathTest/tearDown.pl [2024-08-08T08:49:10.246Z] STF 08:49:10.088 - TEARDOWN stage completed [2024-08-08T08:49:10.246Z] STF 08:49:10.104 - [2024-08-08T08:49:10.246Z] STF 08:49:10.104 - ===================== R E S U L T S ===================== [2024-08-08T08:49:10.246Z] STF 08:49:10.104 - Stage results: [2024-08-08T08:49:10.246Z] STF 08:49:10.104 - setUp: pass [2024-08-08T08:49:10.246Z] STF 08:49:10.104 - execute: pass [2024-08-08T08:49:10.246Z] STF 08:49:10.104 - teardown: pass [2024-08-08T08:49:10.246Z] STF 08:49:10.104 - [2024-08-08T08:49:10.246Z] STF 08:49:10.104 - Overall result: PASSED [2024-08-08T08:49:10.246Z] ----------------------------------- [2024-08-08T08:49:10.246Z] UpgModPath_Jar_1_PASSED [2024-08-08T08:49:10.246Z] ----------------------------------- [2024-08-08T08:49:10.638Z] [2024-08-08T08:49:10.638Z] TEST TEARDOWN: [2024-08-08T08:49:10.638Z] Nothing to be done for teardown. [2024-08-08T08:49:10.638Z] UpgModPath_Jar_1 Finish Time: Thu Aug 8 08:49:10 2024 Epoch Time (ms): 1723106950537