UpgModPath_Jar_2

[2024-08-01T06:28:16.239Z] Running test UpgModPath_Jar_2 ... [2024-08-01T06:28:16.556Z] =============================================== [2024-08-01T06:28:16.873Z] UpgModPath_Jar_2 Start Time: Thu Aug 1 06:28:16 2024 Epoch Time (ms): 1722493696599 [2024-08-01T06:28:17.189Z] variation: Mode1000 [2024-08-01T06:28:17.510Z] JVM_OPTIONS: [2024-08-01T06:28:17.510Z] { \ [2024-08-01T06:28:17.510Z] echo ""; echo "TEST SETUP:"; \ [2024-08-01T06:28:17.510Z] echo "Nothing to be done for setup."; \ [2024-08-01T06:28:17.510Z] mkdir -p "C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17224893758471\\UpgModPath_Jar_2"; \ [2024-08-01T06:28:17.510Z] cd "C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17224893758471\\UpgModPath_Jar_2"; \ [2024-08-01T06:28:17.510Z] echo ""; echo "TESTING:"; \ [2024-08-01T06:28:17.510Z] perl C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/../../testDependency/system_lib\\" -java-args=' ' -results-root="C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17224893758471\\UpgModPath_Jar_2" -test=UpgModPathTest -test-args="variant=Jar"; \ [2024-08-01T06:28:17.510Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_Jar_2""_PASSED"; echo "-----------------------------------"; cd C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/; rm -f -r "C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17224893758471\\UpgModPath_Jar_2"; else echo "-----------------------------------"; echo "UpgModPath_Jar_2""_FAILED"; echo "-----------------------------------"; fi; \ [2024-08-01T06:28:17.510Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-08-01T06:28:17.510Z] echo "Nothing to be done for teardown."; \ [2024-08-01T06:28:17.510Z] } 2>&1 | tee -a "C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17224893758471\\TestTargetResult"; [2024-08-01T06:28:17.882Z] [2024-08-01T06:28:17.882Z] TEST SETUP: [2024-08-01T06:28:17.883Z] Nothing to be done for setup. [2024-08-01T06:28:17.883Z] [2024-08-01T06:28:17.883Z] TESTING: [2024-08-01T06:28:17.883Z] STF 06:28:17.702 - ========================= S T F ========================= [2024-08-01T06:28:17.883Z] systemtest-prereqs has been processed, and set to: c:/workspace/testDependency/system_libRetrieving amount of free space on drive containing C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17224893758471\UpgModPath_Jar_2 [2024-08-01T06:28:17.883Z] There is 103188 Mb free [2024-08-01T06:28:17.883Z] STF 06:28:17.764 - ================== G E N E R A T I O N ================== [2024-08-01T06:28:17.883Z] STF 06:28:17.768 - Checking JVM: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image [2024-08-01T06:28:17.883Z] STF 06:28:17.768 - Starting process to generate scripts: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/../../testDependency/system_lib\/log4j/log4j-api.jar;c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17224893758471\UpgModPath_Jar_2/20240801-062817-UpgModPathTest/stf_parameters.properties, , C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17224893758471\UpgModPath_Jar_2/20240801-062817-UpgModPathTest" [2024-08-01T06:28:19.019Z] GEN 06:28:18.771 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: 'C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2024-08-01T06:28:19.019Z] GEN 06:28:18.785 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2024-08-01T06:28:19.350Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-08-01T06:28:19.350Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2024-08-01T06:28:19.350Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2024-08-01T06:28:19.350Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2024-08-01T06:28:19.351Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2024-08-01T06:28:19.351Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2024-08-01T06:28:19.351Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2024-08-01T06:28:19.351Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2024-08-01T06:28:19.351Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2024-08-01T06:28:19.351Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2024-08-01T06:28:19.351Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2024-08-01T06:28:19.351Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2024-08-01T06:28:19.351Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2024-08-01T06:28:19.351Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-08-01T06:28:19.351Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-08-01T06:28:19.351Z] GEN C:\\workspace\\workspace\\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-08-01T06:28:19.351Z] GEN C:\\workspace\\workspace\\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\\jvmtest\\system\\STF\\stf.core\\bin [2024-08-01T06:28:19.351Z] GEN c:/workspace/testDependency/system_lib/log4j/log4j-api.jar [2024-08-01T06:28:19.351Z] GEN c:/workspace/testDependency/system_lib/log4j/log4j-core.jar [2024-08-01T06:28:19.351Z] GEN c:/workspace/testDependency/system_lib/junit/junit.jar [2024-08-01T06:28:19.351Z] GEN 06:28:19.077 - Using Mode NoOptions. Values = '' [2024-08-01T06:28:19.351Z] GEN 06:28:19.179 - [2024-08-01T06:28:19.351Z] GEN 06:28:19.179 - Test command summary: [2024-08-01T06:28:19.351Z] GEN 06:28:19.180 - Step Stage Command Description [2024-08-01T06:28:19.351Z] GEN 06:28:19.180 - -----+--------+-----------------+------------ [2024-08-01T06:28:19.351Z] GEN 06:28:19.180 - 1 execute jar Create com.hello jar [2024-08-01T06:28:19.351Z] GEN 06:28:19.180 - 2 execute jar Create com.hola jar [2024-08-01T06:28:19.351Z] GEN 06:28:19.180 - 3 execute jar Create com.helper jar [2024-08-01T06:28:19.351Z] GEN 06:28:19.180 - 4 execute jar Create com.discreet jar [2024-08-01T06:28:19.351Z] GEN 06:28:19.180 - 5 execute jar Create tests jar [2024-08-01T06:28:19.351Z] GEN 06:28:19.180 - 6 execute jlink Create runtime image for upgrademodulepath test [2024-08-01T06:28:19.351Z] GEN 06:28:19.180 - 7 execute jar Create com.hello override jar [2024-08-01T06:28:19.351Z] GEN 06:28:19.180 - 8 execute jar Create com.hello override jar [2024-08-01T06:28:19.351Z] GEN 06:28:19.181 - 9 execute Run java Override an application module using modularized jar [2024-08-01T06:28:19.351Z] GEN 06:28:19.181 - 10 execute Run java (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar [2024-08-01T06:28:19.351Z] GEN 06:28:19.181 - 11 execute Run java Combine stderr and stdout files of process OT24 [2024-08-01T06:28:19.351Z] GEN 06:28:19.181 - 12 execute count Check output [2024-08-01T06:28:19.351Z] STF 06:28:19.211 - [2024-08-01T06:28:19.351Z] STF 06:28:19.211 - Script generation completed [2024-08-01T06:28:19.351Z] STF 06:28:19.211 - [2024-08-01T06:28:19.351Z] STF 06:28:19.213 - [2024-08-01T06:28:19.351Z] STF 06:28:19.213 - ======================= S E T U P ======================= [2024-08-01T06:28:19.351Z] STF 06:28:19.213 - Running setup: perl C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17224893758471\UpgModPath_Jar_2/20240801-062817-UpgModPathTest/setUp.pl [2024-08-01T06:28:19.682Z] STF 06:28:19.399 - SETUP stage completed [2024-08-01T06:28:19.682Z] STF 06:28:19.416 - [2024-08-01T06:28:19.682Z] STF 06:28:19.416 - ==================== E X E C U T E - ==================== [2024-08-01T06:28:19.682Z] STF 06:28:19.416 - Running execute: perl C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17224893758471\UpgModPath_Jar_2/20240801-062817-UpgModPathTest/execute.pl [2024-08-01T06:28:19.682Z] STF 06:28:19.600 - [2024-08-01T06:28:19.682Z] STF 06:28:19.601 - Java version [2024-08-01T06:28:19.682Z] STF 06:28:19.601 - Running: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java -version [2024-08-01T06:28:20.019Z] openjdk version "17.0.13-beta" 2024-10-15 [2024-08-01T06:28:20.019Z] OpenJDK Runtime Environment Temurin-17.0.13+1-202407312059 (build 17.0.13-beta+1-ea) [2024-08-01T06:28:20.019Z] OpenJDK Client VM Temurin-17.0.13+1-202407312059 (build 17.0.13-beta+1-ea, mixed mode, emulated-client) [2024-08-01T06:28:20.019Z] STF 06:28:19.751 - [2024-08-01T06:28:20.019Z] STF 06:28:19.751 - +------ Step 1 - Create com.hello jar [2024-08-01T06:28:20.019Z] STF 06:28:19.751 - | Create modular jar [2024-08-01T06:28:20.019Z] STF 06:28:19.751 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-08-01T06:28:20.019Z] STF 06:28:19.751 - | ModuleVersion: null [2024-08-01T06:28:20.019Z] STF 06:28:19.751 - | MainClass: null [2024-08-01T06:28:20.019Z] STF 06:28:19.751 - | HashModules: null [2024-08-01T06:28:20.019Z] STF 06:28:19.751 - | [2024-08-01T06:28:20.019Z] STF 06:28:19.752 - Running command: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17224893758471/UpgModPath_Jar_2/20240801-062817-UpgModPathTest/modules/1.com.hello.jar -C C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2024-08-01T06:28:20.019Z] STF 06:28:19.753 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17224893758471/UpgModPath_Jar_2/20240801-062817-UpgModPathTest/results/1.CMJ.stderr [2024-08-01T06:28:20.019Z] STF 06:28:19.753 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17224893758471/UpgModPath_Jar_2/20240801-062817-UpgModPathTest/results/1.CMJ.stdout [2024-08-01T06:28:20.019Z] STF 06:28:19.794 - Monitoring processes: CMJ [2024-08-01T06:28:20.351Z] STF 06:28:20.222 - Monitoring Report Summary: [2024-08-01T06:28:20.351Z] STF 06:28:20.222 - o Process CMJ ended with the expected exit code (0) [2024-08-01T06:28:20.351Z] STF 06:28:20.222 - Created modular jar: 1.com.hello.jar [2024-08-01T06:28:20.351Z] STF 06:28:20.222 - [2024-08-01T06:28:20.351Z] STF 06:28:20.222 - +------ Step 2 - Create com.hola jar [2024-08-01T06:28:20.351Z] STF 06:28:20.222 - | Create modular jar [2024-08-01T06:28:20.351Z] STF 06:28:20.222 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-08-01T06:28:20.351Z] STF 06:28:20.222 - | ModuleVersion: null [2024-08-01T06:28:20.351Z] STF 06:28:20.222 - | MainClass: null [2024-08-01T06:28:20.351Z] STF 06:28:20.222 - | HashModules: null [2024-08-01T06:28:20.351Z] STF 06:28:20.222 - | [2024-08-01T06:28:20.351Z] STF 06:28:20.223 - Running command: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17224893758471/UpgModPath_Jar_2/20240801-062817-UpgModPathTest/modules/2.com.hola.jar -C C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2024-08-01T06:28:20.351Z] STF 06:28:20.223 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17224893758471/UpgModPath_Jar_2/20240801-062817-UpgModPathTest/results/2.CMJ.stderr [2024-08-01T06:28:20.351Z] STF 06:28:20.223 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17224893758471/UpgModPath_Jar_2/20240801-062817-UpgModPathTest/results/2.CMJ.stdout [2024-08-01T06:28:20.351Z] STF 06:28:20.230 - Monitoring processes: CMJ [2024-08-01T06:28:21.051Z] STF 06:28:20.647 - Monitoring Report Summary: [2024-08-01T06:28:21.051Z] STF 06:28:20.647 - o Process CMJ ended with the expected exit code (0) [2024-08-01T06:28:21.051Z] STF 06:28:20.648 - Created modular jar: 2.com.hola.jar [2024-08-01T06:28:21.051Z] STF 06:28:20.648 - [2024-08-01T06:28:21.051Z] STF 06:28:20.648 - +------ Step 3 - Create com.helper jar [2024-08-01T06:28:21.051Z] STF 06:28:20.648 - | Create modular jar [2024-08-01T06:28:21.051Z] STF 06:28:20.648 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-08-01T06:28:21.051Z] STF 06:28:20.648 - | ModuleVersion: null [2024-08-01T06:28:21.051Z] STF 06:28:20.648 - | MainClass: null [2024-08-01T06:28:21.051Z] STF 06:28:20.648 - | HashModules: null [2024-08-01T06:28:21.051Z] STF 06:28:20.648 - | [2024-08-01T06:28:21.051Z] STF 06:28:20.648 - Running command: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17224893758471/UpgModPath_Jar_2/20240801-062817-UpgModPathTest/modules/3.com.helper.jar -C C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2024-08-01T06:28:21.051Z] STF 06:28:20.648 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17224893758471/UpgModPath_Jar_2/20240801-062817-UpgModPathTest/results/3.CMJ.stderr [2024-08-01T06:28:21.051Z] STF 06:28:20.648 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17224893758471/UpgModPath_Jar_2/20240801-062817-UpgModPathTest/results/3.CMJ.stdout [2024-08-01T06:28:21.051Z] STF 06:28:20.657 - Monitoring processes: CMJ [2024-08-01T06:28:21.381Z] STF 06:28:21.046 - Monitoring Report Summary: [2024-08-01T06:28:21.381Z] STF 06:28:21.046 - o Process CMJ ended with the expected exit code (0) [2024-08-01T06:28:21.381Z] STF 06:28:21.046 - Created modular jar: 3.com.helper.jar [2024-08-01T06:28:21.381Z] STF 06:28:21.046 - [2024-08-01T06:28:21.381Z] STF 06:28:21.046 - +------ Step 4 - Create com.discreet jar [2024-08-01T06:28:21.381Z] STF 06:28:21.046 - | Create modular jar [2024-08-01T06:28:21.381Z] STF 06:28:21.046 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-08-01T06:28:21.381Z] STF 06:28:21.046 - | ModuleVersion: null [2024-08-01T06:28:21.381Z] STF 06:28:21.046 - | MainClass: null [2024-08-01T06:28:21.381Z] STF 06:28:21.046 - | HashModules: null [2024-08-01T06:28:21.381Z] STF 06:28:21.046 - | [2024-08-01T06:28:21.381Z] STF 06:28:21.047 - Running command: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17224893758471/UpgModPath_Jar_2/20240801-062817-UpgModPathTest/modules/4.com.discreet.jar -C C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2024-08-01T06:28:21.381Z] STF 06:28:21.047 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17224893758471/UpgModPath_Jar_2/20240801-062817-UpgModPathTest/results/4.CMJ.stderr [2024-08-01T06:28:21.381Z] STF 06:28:21.047 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17224893758471/UpgModPath_Jar_2/20240801-062817-UpgModPathTest/results/4.CMJ.stdout [2024-08-01T06:28:21.381Z] STF 06:28:21.054 - Monitoring processes: CMJ [2024-08-01T06:28:21.716Z] STF 06:28:21.441 - Monitoring Report Summary: [2024-08-01T06:28:21.716Z] STF 06:28:21.442 - o Process CMJ ended with the expected exit code (0) [2024-08-01T06:28:21.716Z] STF 06:28:21.442 - Created modular jar: 4.com.discreet.jar [2024-08-01T06:28:21.716Z] STF 06:28:21.442 - [2024-08-01T06:28:21.716Z] STF 06:28:21.442 - +------ Step 5 - Create tests jar [2024-08-01T06:28:21.716Z] STF 06:28:21.442 - | Create modular jar [2024-08-01T06:28:21.716Z] STF 06:28:21.442 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-08-01T06:28:21.716Z] STF 06:28:21.442 - | ModuleVersion: null [2024-08-01T06:28:21.716Z] STF 06:28:21.442 - | MainClass: null [2024-08-01T06:28:21.716Z] STF 06:28:21.442 - | HashModules: null [2024-08-01T06:28:21.716Z] STF 06:28:21.442 - | [2024-08-01T06:28:21.716Z] STF 06:28:21.442 - Running command: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17224893758471/UpgModPath_Jar_2/20240801-062817-UpgModPathTest/modules/5.com.test.jar -C C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2024-08-01T06:28:21.716Z] STF 06:28:21.442 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17224893758471/UpgModPath_Jar_2/20240801-062817-UpgModPathTest/results/5.CMJ.stderr [2024-08-01T06:28:21.716Z] STF 06:28:21.442 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17224893758471/UpgModPath_Jar_2/20240801-062817-UpgModPathTest/results/5.CMJ.stdout [2024-08-01T06:28:21.716Z] STF 06:28:21.451 - Monitoring processes: CMJ [2024-08-01T06:28:22.048Z] STF 06:28:21.841 - Monitoring Report Summary: [2024-08-01T06:28:22.048Z] STF 06:28:21.841 - o Process CMJ ended with the expected exit code (0) [2024-08-01T06:28:22.048Z] STF 06:28:21.841 - Created modular jar: 5.com.test.jar [2024-08-01T06:28:22.048Z] STF 06:28:21.841 - [2024-08-01T06:28:22.048Z] STF 06:28:21.841 - +------ Step 6 - Create runtime image for upgrademodulepath test [2024-08-01T06:28:22.048Z] STF 06:28:21.841 - | Run jlink to create runtime image [2024-08-01T06:28:22.048Z] STF 06:28:21.841 - | ImageName: UpJVM [2024-08-01T06:28:22.048Z] STF 06:28:21.841 - | [2024-08-01T06:28:22.048Z] STF 06:28:21.842 - Running command: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jlink --module-path c:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jdkbinary\j2sdk-image\jmods;C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\aqa-tests\TKG\output_17224893758471\UpgModPath_Jar_2\20240801-062817-UpgModPathTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\aqa-tests\TKG\output_17224893758471\UpgModPath_Jar_2\20240801-062817-UpgModPathTest\tmp\6.UpJVM [2024-08-01T06:28:22.048Z] STF 06:28:21.842 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17224893758471/UpgModPath_Jar_2/20240801-062817-UpgModPathTest/results/6.JLNK.stderr [2024-08-01T06:28:22.048Z] STF 06:28:21.842 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17224893758471/UpgModPath_Jar_2/20240801-062817-UpgModPathTest/results/6.JLNK.stdout [2024-08-01T06:28:22.048Z] STF 06:28:21.851 - Monitoring processes: JLNK [2024-08-01T06:28:24.951Z] STF 06:28:24.306 - Monitoring Report Summary: [2024-08-01T06:28:24.951Z] STF 06:28:24.306 - o Process JLNK ended with the expected exit code (0) [2024-08-01T06:28:24.951Z] STF 06:28:24.307 - [2024-08-01T06:28:24.951Z] STF 06:28:24.307 - +------ Step 7 - Create com.hello override jar [2024-08-01T06:28:24.951Z] STF 06:28:24.307 - | Create modular jar [2024-08-01T06:28:24.951Z] STF 06:28:24.307 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-08-01T06:28:24.951Z] STF 06:28:24.307 - | ModuleVersion: null [2024-08-01T06:28:24.951Z] STF 06:28:24.307 - | MainClass: null [2024-08-01T06:28:24.951Z] STF 06:28:24.307 - | HashModules: null [2024-08-01T06:28:24.951Z] STF 06:28:24.307 - | [2024-08-01T06:28:24.951Z] STF 06:28:24.307 - Running command: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17224893758471/UpgModPath_Jar_2/20240801-062817-UpgModPathTest/modules/7.com.hello.jar -C C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2024-08-01T06:28:24.951Z] STF 06:28:24.307 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17224893758471/UpgModPath_Jar_2/20240801-062817-UpgModPathTest/results/7.CMJ.stderr [2024-08-01T06:28:24.951Z] STF 06:28:24.307 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17224893758471/UpgModPath_Jar_2/20240801-062817-UpgModPathTest/results/7.CMJ.stdout [2024-08-01T06:28:24.951Z] STF 06:28:24.323 - Monitoring processes: CMJ [2024-08-01T06:28:24.951Z] STF 06:28:24.804 - Monitoring Report Summary: [2024-08-01T06:28:24.951Z] STF 06:28:24.804 - o Process CMJ ended with the expected exit code (0) [2024-08-01T06:28:24.951Z] STF 06:28:24.805 - Created modular jar: 7.com.hello.jar [2024-08-01T06:28:24.951Z] STF 06:28:24.805 - [2024-08-01T06:28:24.951Z] STF 06:28:24.805 - +------ Step 8 - Create com.hello override jar [2024-08-01T06:28:24.951Z] STF 06:28:24.805 - | Create modular jar [2024-08-01T06:28:24.951Z] STF 06:28:24.805 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2024-08-01T06:28:24.951Z] STF 06:28:24.805 - | ModuleVersion: null [2024-08-01T06:28:24.951Z] STF 06:28:24.805 - | MainClass: null [2024-08-01T06:28:24.951Z] STF 06:28:24.805 - | HashModules: null [2024-08-01T06:28:24.951Z] STF 06:28:24.805 - | [2024-08-01T06:28:24.951Z] STF 06:28:24.805 - Running command: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17224893758471/UpgModPath_Jar_2/20240801-062817-UpgModPathTest/modules/8.java.logging.jar -C C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.logging . [2024-08-01T06:28:24.951Z] STF 06:28:24.805 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17224893758471/UpgModPath_Jar_2/20240801-062817-UpgModPathTest/results/8.CMJ.stderr [2024-08-01T06:28:24.951Z] STF 06:28:24.805 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17224893758471/UpgModPath_Jar_2/20240801-062817-UpgModPathTest/results/8.CMJ.stdout [2024-08-01T06:28:24.951Z] STF 06:28:24.815 - Monitoring processes: CMJ [2024-08-01T06:28:25.649Z] STF 06:28:25.219 - Monitoring Report Summary: [2024-08-01T06:28:25.649Z] STF 06:28:25.219 - o Process CMJ ended with the expected exit code (0) [2024-08-01T06:28:25.649Z] STF 06:28:25.219 - Created modular jar: 8.java.logging.jar [2024-08-01T06:28:25.649Z] STF 06:28:25.219 - [2024-08-01T06:28:25.649Z] STF 06:28:25.219 - +------ Step 9 - Override an application module using modularized jar [2024-08-01T06:28:25.649Z] STF 06:28:25.219 - | Run foreground process [2024-08-01T06:28:25.649Z] STF 06:28:25.219 - | Program: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java [2024-08-01T06:28:25.649Z] STF 06:28:25.219 - | Mnemonic: OT21 [2024-08-01T06:28:25.649Z] STF 06:28:25.219 - | Echo: ECHO_ON [2024-08-01T06:28:25.649Z] STF 06:28:25.219 - | Expectation: CLEAN_RUN within 1m [2024-08-01T06:28:25.649Z] STF 06:28:25.219 - | [2024-08-01T06:28:25.649Z] STF 06:28:25.220 - Running command: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --upgrade-module-path C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17224893758471/UpgModPath_Jar_2/20240801-062817-UpgModPathTest/modules/7.com.hello.jar --add-modules=com.test -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-01T06:28:25.649Z] STF 06:28:25.220 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17224893758471/UpgModPath_Jar_2/20240801-062817-UpgModPathTest/results/9.OT21.stderr [2024-08-01T06:28:25.649Z] STF 06:28:25.220 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17224893758471/UpgModPath_Jar_2/20240801-062817-UpgModPathTest/results/9.OT21.stdout [2024-08-01T06:28:25.649Z] STF 06:28:25.235 - Monitoring processes: OT21 [2024-08-01T06:28:25.649Z] OT21 JUnit version 4.12 [2024-08-01T06:28:25.978Z] OT21 . [2024-08-01T06:28:25.978Z] OT21 Time: 0.01 [2024-08-01T06:28:25.978Z] OT21 [2024-08-01T06:28:25.978Z] OT21 OK (1 test) [2024-08-01T06:28:25.978Z] OT21 [2024-08-01T06:28:25.978Z] STF 06:28:25.621 - Monitoring Report Summary: [2024-08-01T06:28:25.978Z] STF 06:28:25.621 - o Process OT21 ended with the expected exit code (0) [2024-08-01T06:28:25.978Z] STF 06:28:25.621 - [2024-08-01T06:28:25.978Z] STF 06:28:25.621 - +------ Step 10 - (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar [2024-08-01T06:28:25.978Z] STF 06:28:25.621 - | Run foreground process [2024-08-01T06:28:25.978Z] STF 06:28:25.621 - | Program: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java [2024-08-01T06:28:25.978Z] STF 06:28:25.621 - | Mnemonic: OT24 [2024-08-01T06:28:25.978Z] STF 06:28:25.621 - | Echo: ECHO_ON [2024-08-01T06:28:25.978Z] STF 06:28:25.621 - | Expectation: NON_ZERO_EXIT [1] within 1m [2024-08-01T06:28:25.978Z] STF 06:28:25.621 - | [2024-08-01T06:28:25.978Z] STF 06:28:25.622 - Running command: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --upgrade-module-path C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17224893758471/UpgModPath_Jar_2/20240801-062817-UpgModPathTest/modules/8.java.logging.jar --add-modules=com.test -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-01T06:28:25.978Z] STF 06:28:25.622 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17224893758471/UpgModPath_Jar_2/20240801-062817-UpgModPathTest/results/10.OT24.stderr [2024-08-01T06:28:25.978Z] STF 06:28:25.622 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17224893758471/UpgModPath_Jar_2/20240801-062817-UpgModPathTest/results/10.OT24.stdout [2024-08-01T06:28:25.978Z] STF 06:28:25.636 - Monitoring processes: OT24 [2024-08-01T06:28:26.306Z] OT24 Error occurred during initialization of boot layer [2024-08-01T06:28:26.306Z] OT24 java.lang.module.FindException: Hash of java.logging (09083ef2c66555ea1e13583273de9d136467210fdfe5b05056f5118909f51840) differs to expected hash (2a4c4a0e16d7373368e9fef021ff0a70e8bfc8891897446db67716b7b0012e3b) recorded in java.base [2024-08-01T06:28:26.306Z] STF 06:28:25.921 - Monitoring Report Summary: [2024-08-01T06:28:26.306Z] STF 06:28:25.921 - o Process OT24 ended with the expected exit code (1) [2024-08-01T06:28:26.306Z] STF 06:28:25.921 - [2024-08-01T06:28:26.306Z] STF 06:28:25.921 - +------ Step 11 - Combine stderr and stdout files of process OT24 [2024-08-01T06:28:26.306Z] STF 06:28:25.921 - | Run foreground process [2024-08-01T06:28:26.306Z] STF 06:28:25.921 - | Program: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java [2024-08-01T06:28:26.306Z] STF 06:28:25.921 - | Mnemonic: CO [2024-08-01T06:28:26.306Z] STF 06:28:25.921 - | Echo: ECHO_OFF [2024-08-01T06:28:26.306Z] STF 06:28:25.921 - | Expectation: NON_ZERO_EXIT [0] within 30s [2024-08-01T06:28:26.307Z] STF 06:28:25.921 - | [2024-08-01T06:28:26.307Z] STF 06:28:25.922 - Running command: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java -Dfile1=C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17224893758471/UpgModPath_Jar_2/20240801-062817-UpgModPathTest/results/10.OT24.stdout -Dfile2=C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17224893758471/UpgModPath_Jar_2/20240801-062817-UpgModPathTest/results/10.OT24.stderr -Dfinal.file=C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\aqa-tests\TKG\output_17224893758471\UpgModPath_Jar_2\20240801-062817-UpgModPathTest\results\combinedOT24.txt -classpath C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\STF\stf.core\bin;C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin net.adoptopenjdk.test.modularity.TestUtil [2024-08-01T06:28:26.307Z] STF 06:28:25.922 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17224893758471/UpgModPath_Jar_2/20240801-062817-UpgModPathTest/results/11.CO.stderr [2024-08-01T06:28:26.307Z] STF 06:28:25.922 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17224893758471/UpgModPath_Jar_2/20240801-062817-UpgModPathTest/results/11.CO.stdout [2024-08-01T06:28:26.307Z] STF 06:28:25.933 - Monitoring processes: CO [2024-08-01T06:28:26.307Z] STF 06:28:26.174 - Monitoring Report Summary: [2024-08-01T06:28:26.307Z] STF 06:28:26.174 - o Process CO ended with the expected exit code (0) [2024-08-01T06:28:26.307Z] STF 06:28:26.175 - [2024-08-01T06:28:26.307Z] STF 06:28:26.175 - +------ Step 12 - Check output [2024-08-01T06:28:26.307Z] STF 06:28:26.175 - | Count file matches [2024-08-01T06:28:26.307Z] STF 06:28:26.175 - | TargetFile: C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17224893758471/UpgModPath_Jar_2/20240801-062817-UpgModPathTest/results/combinedOT24.txt [2024-08-01T06:28:26.307Z] STF 06:28:26.175 - | ExpectedNumMatches: 1 [2024-08-01T06:28:26.307Z] STF 06:28:26.175 - | SearchStrings: ["FindException: Hash of java.logging"] [2024-08-01T06:28:26.307Z] STF 06:28:26.175 - | [2024-08-01T06:28:26.307Z] STF 06:28:26.190 - Found 1 instances of ["FindException: Hash of java.logging"] [2024-08-01T06:28:26.307Z] STF 06:28:26.190 - EXECUTE stage completed [2024-08-01T06:28:26.741Z] STF 06:28:26.287 - [2024-08-01T06:28:26.741Z] STF 06:28:26.287 - ==================== T E A R D O W N ==================== [2024-08-01T06:28:26.741Z] STF 06:28:26.287 - Running teardown: perl C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17224893758471\UpgModPath_Jar_2/20240801-062817-UpgModPathTest/tearDown.pl [2024-08-01T06:28:26.741Z] STF 06:28:26.462 - TEARDOWN stage completed [2024-08-01T06:28:26.741Z] STF 06:28:26.483 - [2024-08-01T06:28:26.741Z] STF 06:28:26.483 - ===================== R E S U L T S ===================== [2024-08-01T06:28:26.741Z] STF 06:28:26.483 - Stage results: [2024-08-01T06:28:26.741Z] STF 06:28:26.483 - setUp: pass [2024-08-01T06:28:26.741Z] STF 06:28:26.483 - execute: pass [2024-08-01T06:28:26.741Z] STF 06:28:26.483 - teardown: pass [2024-08-01T06:28:26.741Z] STF 06:28:26.483 - [2024-08-01T06:28:26.741Z] STF 06:28:26.483 - Overall result: PASSED [2024-08-01T06:28:26.741Z] ----------------------------------- [2024-08-01T06:28:26.741Z] UpgModPath_Jar_2_PASSED [2024-08-01T06:28:26.741Z] ----------------------------------- [2024-08-01T06:28:26.741Z] [2024-08-01T06:28:26.741Z] TEST TEARDOWN: [2024-08-01T06:28:26.741Z] Nothing to be done for teardown. [2024-08-01T06:28:27.177Z] UpgModPath_Jar_2 Finish Time: Thu Aug 1 06:28:26 2024 Epoch Time (ms): 1722493706818