UpgModPath_JarImg_2

[2024-08-01T10:15:03.169Z] Running test UpgModPath_JarImg_2 ... [2024-08-01T10:15:03.169Z] =============================================== [2024-08-01T10:15:03.169Z] UpgModPath_JarImg_2 Start Time: Thu Aug 1 10:15:03 2024 Epoch Time (ms): 1722507303015 [2024-08-01T10:15:03.169Z] variation: Mode1000 [2024-08-01T10:15:03.481Z] JVM_OPTIONS: [2024-08-01T10:15:03.481Z] { \ [2024-08-01T10:15:03.481Z] echo ""; echo "TEST SETUP:"; \ [2024-08-01T10:15:03.481Z] echo "Nothing to be done for setup."; \ [2024-08-01T10:15:03.481Z] mkdir -p "F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17225033243813\\UpgModPath_JarImg_2"; \ [2024-08-01T10:15:03.481Z] cd "F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17225033243813\\UpgModPath_JarImg_2"; \ [2024-08-01T10:15:03.481Z] echo ""; echo "TESTING:"; \ [2024-08-01T10:15:03.481Z] perl F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/../../testDependency/system_lib\\" -java-args=' ' -results-root="F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17225033243813\\UpgModPath_JarImg_2" -test=UpgModPathTest -test-args="variant=JarImg"; \ [2024-08-01T10:15:03.481Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_JarImg_2""_PASSED"; echo "-----------------------------------"; cd F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/; rm -f -r "F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17225033243813\\UpgModPath_JarImg_2"; else echo "-----------------------------------"; echo "UpgModPath_JarImg_2""_FAILED"; echo "-----------------------------------"; fi; \ [2024-08-01T10:15:03.481Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-08-01T10:15:03.481Z] echo "Nothing to be done for teardown."; \ [2024-08-01T10:15:03.481Z] } 2>&1 | tee -a "F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17225033243813\\TestTargetResult"; [2024-08-01T10:15:03.481Z] [2024-08-01T10:15:03.481Z] TEST SETUP: [2024-08-01T10:15:03.481Z] Nothing to be done for setup. [2024-08-01T10:15:03.481Z] [2024-08-01T10:15:03.481Z] TESTING: [2024-08-01T10:15:03.481Z] STF 10:15:03.421 - ========================= S T F ========================= [2024-08-01T10:15:03.481Z] systemtest-prereqs has been processed, and set to: F:/workspace/testDependency/system_libRetrieving amount of free space on drive containing F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17225033243813\UpgModPath_JarImg_2 [2024-08-01T10:15:03.793Z] There is 113204 Mb free [2024-08-01T10:15:03.793Z] STF 10:15:03.450 - ================== G E N E R A T I O N ================== [2024-08-01T10:15:03.793Z] STF 10:15:03.454 - Checking JVM: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image [2024-08-01T10:15:03.793Z] STF 10:15:03.454 - Starting process to generate scripts: F:/workspace/workspace/Test_openjdk11_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 F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/../../testDependency/system_lib\/log4j/log4j-api.jar;F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/../../testDependency/system_lib\/log4j/log4j-core.jar;F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17225033243813\UpgModPath_JarImg_2/20240801-101503-UpgModPathTest/stf_parameters.properties, , F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17225033243813\UpgModPath_JarImg_2/20240801-101503-UpgModPathTest" [2024-08-01T10:15:04.470Z] GEN 10:15:04.361 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: 'F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2024-08-01T10:15:04.470Z] GEN 10:15:04.370 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2024-08-01T10:15:04.782Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-08-01T10:15:04.782Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2024-08-01T10:15:04.782Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2024-08-01T10:15:04.782Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2024-08-01T10:15:04.782Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2024-08-01T10:15:04.782Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2024-08-01T10:15:04.782Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2024-08-01T10:15:04.782Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2024-08-01T10:15:04.782Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2024-08-01T10:15:04.782Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2024-08-01T10:15:04.782Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2024-08-01T10:15:04.782Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2024-08-01T10:15:04.782Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2024-08-01T10:15:04.782Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-08-01T10:15:04.782Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-08-01T10:15:04.782Z] GEN F:\\workspace\\workspace\\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-08-01T10:15:04.782Z] GEN F:\\workspace\\workspace\\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\\jvmtest\\system\\STF\\stf.core\\bin [2024-08-01T10:15:04.782Z] GEN F:/workspace/testDependency/system_lib/log4j/log4j-api.jar [2024-08-01T10:15:04.782Z] GEN F:/workspace/testDependency/system_lib/log4j/log4j-core.jar [2024-08-01T10:15:04.782Z] GEN F:/workspace/testDependency/system_lib/junit/junit.jar [2024-08-01T10:15:04.782Z] GEN 10:15:04.579 - Using Mode NoOptions. Values = '' [2024-08-01T10:15:04.782Z] GEN 10:15:04.679 - [2024-08-01T10:15:04.782Z] GEN 10:15:04.679 - Test command summary: [2024-08-01T10:15:04.782Z] GEN 10:15:04.679 - Step Stage Command Description [2024-08-01T10:15:04.782Z] GEN 10:15:04.679 - -----+--------+-----------------+------------ [2024-08-01T10:15:04.782Z] GEN 10:15:04.679 - 1 execute jar Create com.hello jar [2024-08-01T10:15:04.782Z] GEN 10:15:04.680 - 2 execute jar Create com.hola jar [2024-08-01T10:15:04.782Z] GEN 10:15:04.680 - 3 execute jar Create com.helper jar [2024-08-01T10:15:04.782Z] GEN 10:15:04.680 - 4 execute jar Create com.discreet jar [2024-08-01T10:15:04.782Z] GEN 10:15:04.680 - 5 execute jar Create tests jar [2024-08-01T10:15:04.782Z] GEN 10:15:04.680 - 6 execute jlink Create runtime image for upgrademodulepath test [2024-08-01T10:15:04.782Z] GEN 10:15:04.680 - 7 execute jar Create com.hello override jar [2024-08-01T10:15:04.782Z] GEN 10:15:04.680 - 8 execute jar Create com.hello override jar [2024-08-01T10:15:04.782Z] GEN 10:15:04.680 - 9 execute Run java Override an application module using a custom runtime image where the overriding module is in a modularized jar [2024-08-01T10:15:04.782Z] GEN 10:15:04.680 - 10 execute Run java (Negative test) Override a non-upgradable platform module using a custom runtime imagewhere the overriding module is in a modularized jar [2024-08-01T10:15:04.782Z] GEN 10:15:04.680 - 11 execute Run java Combine stderr and stdout files of process OT27 [2024-08-01T10:15:04.782Z] GEN 10:15:04.680 - 12 execute count Check output [2024-08-01T10:15:04.782Z] STF 10:15:04.696 - [2024-08-01T10:15:04.782Z] STF 10:15:04.696 - Script generation completed [2024-08-01T10:15:04.782Z] STF 10:15:04.696 - [2024-08-01T10:15:04.782Z] STF 10:15:04.697 - [2024-08-01T10:15:04.782Z] STF 10:15:04.697 - ======================= S E T U P ======================= [2024-08-01T10:15:04.782Z] STF 10:15:04.697 - Running setup: perl F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17225033243813\UpgModPath_JarImg_2/20240801-101503-UpgModPathTest/setUp.pl [2024-08-01T10:15:05.093Z] STF 10:15:04.841 - SETUP stage completed [2024-08-01T10:15:05.093Z] STF 10:15:04.855 - [2024-08-01T10:15:05.093Z] STF 10:15:04.855 - ==================== E X E C U T E - ==================== [2024-08-01T10:15:05.093Z] STF 10:15:04.855 - Running execute: perl F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17225033243813\UpgModPath_JarImg_2/20240801-101503-UpgModPathTest/execute.pl [2024-08-01T10:15:05.093Z] STF 10:15:04.992 - [2024-08-01T10:15:05.093Z] STF 10:15:04.992 - Java version [2024-08-01T10:15:05.093Z] STF 10:15:04.992 - Running: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java -version [2024-08-01T10:15:05.404Z] openjdk version "11.0.25-beta" 2024-10-15 [2024-08-01T10:15:05.404Z] OpenJDK Runtime Environment Temurin-11.0.25+1-202407312219 (build 11.0.25-beta+1-ea) [2024-08-01T10:15:05.404Z] OpenJDK Client VM Temurin-11.0.25+1-202407312219 (build 11.0.25-beta+1-ea, mixed mode) [2024-08-01T10:15:05.404Z] STF 10:15:05.096 - [2024-08-01T10:15:05.404Z] STF 10:15:05.096 - +------ Step 1 - Create com.hello jar [2024-08-01T10:15:05.404Z] STF 10:15:05.096 - | Create modular jar [2024-08-01T10:15:05.404Z] STF 10:15:05.096 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-08-01T10:15:05.404Z] STF 10:15:05.096 - | ModuleVersion: null [2024-08-01T10:15:05.404Z] STF 10:15:05.096 - | MainClass: null [2024-08-01T10:15:05.404Z] STF 10:15:05.096 - | HashModules: null [2024-08-01T10:15:05.404Z] STF 10:15:05.096 - | [2024-08-01T10:15:05.404Z] STF 10:15:05.096 - Running command: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/UpgModPath_JarImg_2/20240801-101503-UpgModPathTest/modules/1.com.hello.jar -C F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2024-08-01T10:15:05.404Z] STF 10:15:05.098 - Redirecting stderr to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/UpgModPath_JarImg_2/20240801-101503-UpgModPathTest/results/1.CMJ.stderr [2024-08-01T10:15:05.404Z] STF 10:15:05.098 - Redirecting stdout to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/UpgModPath_JarImg_2/20240801-101503-UpgModPathTest/results/1.CMJ.stdout [2024-08-01T10:15:05.404Z] STF 10:15:05.124 - Monitoring processes: CMJ [2024-08-01T10:15:05.404Z] STF 10:15:05.384 - Monitoring Report Summary: [2024-08-01T10:15:05.404Z] STF 10:15:05.384 - o Process CMJ ended with the expected exit code (0) [2024-08-01T10:15:05.404Z] STF 10:15:05.385 - Created modular jar: 1.com.hello.jar [2024-08-01T10:15:05.404Z] STF 10:15:05.385 - [2024-08-01T10:15:05.404Z] STF 10:15:05.385 - +------ Step 2 - Create com.hola jar [2024-08-01T10:15:05.404Z] STF 10:15:05.385 - | Create modular jar [2024-08-01T10:15:05.404Z] STF 10:15:05.385 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-08-01T10:15:05.404Z] STF 10:15:05.385 - | ModuleVersion: null [2024-08-01T10:15:05.404Z] STF 10:15:05.385 - | MainClass: null [2024-08-01T10:15:05.404Z] STF 10:15:05.385 - | HashModules: null [2024-08-01T10:15:05.404Z] STF 10:15:05.385 - | [2024-08-01T10:15:05.404Z] STF 10:15:05.385 - Running command: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/UpgModPath_JarImg_2/20240801-101503-UpgModPathTest/modules/2.com.hola.jar -C F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2024-08-01T10:15:05.404Z] STF 10:15:05.385 - Redirecting stderr to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/UpgModPath_JarImg_2/20240801-101503-UpgModPathTest/results/2.CMJ.stderr [2024-08-01T10:15:05.404Z] STF 10:15:05.385 - Redirecting stdout to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/UpgModPath_JarImg_2/20240801-101503-UpgModPathTest/results/2.CMJ.stdout [2024-08-01T10:15:05.404Z] STF 10:15:05.388 - Monitoring processes: CMJ [2024-08-01T10:15:05.716Z] STF 10:15:05.651 - Monitoring Report Summary: [2024-08-01T10:15:05.717Z] STF 10:15:05.651 - o Process CMJ ended with the expected exit code (0) [2024-08-01T10:15:05.717Z] STF 10:15:05.651 - Created modular jar: 2.com.hola.jar [2024-08-01T10:15:05.717Z] STF 10:15:05.651 - [2024-08-01T10:15:05.717Z] STF 10:15:05.651 - +------ Step 3 - Create com.helper jar [2024-08-01T10:15:05.717Z] STF 10:15:05.651 - | Create modular jar [2024-08-01T10:15:05.717Z] STF 10:15:05.651 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-08-01T10:15:05.717Z] STF 10:15:05.651 - | ModuleVersion: null [2024-08-01T10:15:05.717Z] STF 10:15:05.651 - | MainClass: null [2024-08-01T10:15:05.717Z] STF 10:15:05.651 - | HashModules: null [2024-08-01T10:15:05.717Z] STF 10:15:05.651 - | [2024-08-01T10:15:05.717Z] STF 10:15:05.652 - Running command: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/UpgModPath_JarImg_2/20240801-101503-UpgModPathTest/modules/3.com.helper.jar -C F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2024-08-01T10:15:05.717Z] STF 10:15:05.652 - Redirecting stderr to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/UpgModPath_JarImg_2/20240801-101503-UpgModPathTest/results/3.CMJ.stderr [2024-08-01T10:15:05.717Z] STF 10:15:05.652 - Redirecting stdout to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/UpgModPath_JarImg_2/20240801-101503-UpgModPathTest/results/3.CMJ.stdout [2024-08-01T10:15:05.717Z] STF 10:15:05.655 - Monitoring processes: CMJ [2024-08-01T10:15:06.029Z] STF 10:15:05.917 - Monitoring Report Summary: [2024-08-01T10:15:06.029Z] STF 10:15:05.917 - o Process CMJ ended with the expected exit code (0) [2024-08-01T10:15:06.029Z] STF 10:15:05.917 - Created modular jar: 3.com.helper.jar [2024-08-01T10:15:06.029Z] STF 10:15:05.917 - [2024-08-01T10:15:06.029Z] STF 10:15:05.917 - +------ Step 4 - Create com.discreet jar [2024-08-01T10:15:06.029Z] STF 10:15:05.917 - | Create modular jar [2024-08-01T10:15:06.029Z] STF 10:15:05.917 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-08-01T10:15:06.029Z] STF 10:15:05.917 - | ModuleVersion: null [2024-08-01T10:15:06.029Z] STF 10:15:05.917 - | MainClass: null [2024-08-01T10:15:06.029Z] STF 10:15:05.917 - | HashModules: null [2024-08-01T10:15:06.029Z] STF 10:15:05.917 - | [2024-08-01T10:15:06.029Z] STF 10:15:05.918 - Running command: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/UpgModPath_JarImg_2/20240801-101503-UpgModPathTest/modules/4.com.discreet.jar -C F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2024-08-01T10:15:06.029Z] STF 10:15:05.918 - Redirecting stderr to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/UpgModPath_JarImg_2/20240801-101503-UpgModPathTest/results/4.CMJ.stderr [2024-08-01T10:15:06.029Z] STF 10:15:05.918 - Redirecting stdout to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/UpgModPath_JarImg_2/20240801-101503-UpgModPathTest/results/4.CMJ.stdout [2024-08-01T10:15:06.029Z] STF 10:15:05.922 - Monitoring processes: CMJ [2024-08-01T10:15:06.342Z] STF 10:15:06.181 - Monitoring Report Summary: [2024-08-01T10:15:06.342Z] STF 10:15:06.181 - o Process CMJ ended with the expected exit code (0) [2024-08-01T10:15:06.342Z] STF 10:15:06.181 - Created modular jar: 4.com.discreet.jar [2024-08-01T10:15:06.342Z] STF 10:15:06.182 - [2024-08-01T10:15:06.342Z] STF 10:15:06.182 - +------ Step 5 - Create tests jar [2024-08-01T10:15:06.342Z] STF 10:15:06.182 - | Create modular jar [2024-08-01T10:15:06.342Z] STF 10:15:06.182 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-08-01T10:15:06.342Z] STF 10:15:06.182 - | ModuleVersion: null [2024-08-01T10:15:06.342Z] STF 10:15:06.182 - | MainClass: null [2024-08-01T10:15:06.342Z] STF 10:15:06.182 - | HashModules: null [2024-08-01T10:15:06.342Z] STF 10:15:06.182 - | [2024-08-01T10:15:06.342Z] STF 10:15:06.182 - Running command: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/UpgModPath_JarImg_2/20240801-101503-UpgModPathTest/modules/5.com.test.jar -C F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2024-08-01T10:15:06.342Z] STF 10:15:06.182 - Redirecting stderr to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/UpgModPath_JarImg_2/20240801-101503-UpgModPathTest/results/5.CMJ.stderr [2024-08-01T10:15:06.342Z] STF 10:15:06.182 - Redirecting stdout to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/UpgModPath_JarImg_2/20240801-101503-UpgModPathTest/results/5.CMJ.stdout [2024-08-01T10:15:06.342Z] STF 10:15:06.185 - Monitoring processes: CMJ [2024-08-01T10:15:06.655Z] STF 10:15:06.448 - Monitoring Report Summary: [2024-08-01T10:15:06.655Z] STF 10:15:06.448 - o Process CMJ ended with the expected exit code (0) [2024-08-01T10:15:06.655Z] STF 10:15:06.448 - Created modular jar: 5.com.test.jar [2024-08-01T10:15:06.655Z] STF 10:15:06.448 - [2024-08-01T10:15:06.655Z] STF 10:15:06.448 - +------ Step 6 - Create runtime image for upgrademodulepath test [2024-08-01T10:15:06.655Z] STF 10:15:06.448 - | Run jlink to create runtime image [2024-08-01T10:15:06.655Z] STF 10:15:06.449 - | ImageName: UpJVM [2024-08-01T10:15:06.655Z] STF 10:15:06.449 - | [2024-08-01T10:15:06.655Z] STF 10:15:06.449 - Running command: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jlink --module-path F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jdkbinary\j2sdk-image\jmods;F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\aqa-tests\TKG\output_17225033243813\UpgModPath_JarImg_2\20240801-101503-UpgModPathTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\aqa-tests\TKG\output_17225033243813\UpgModPath_JarImg_2\20240801-101503-UpgModPathTest\tmp\6.UpJVM [2024-08-01T10:15:06.655Z] STF 10:15:06.449 - Redirecting stderr to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/UpgModPath_JarImg_2/20240801-101503-UpgModPathTest/results/6.JLNK.stderr [2024-08-01T10:15:06.655Z] STF 10:15:06.449 - Redirecting stdout to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/UpgModPath_JarImg_2/20240801-101503-UpgModPathTest/results/6.JLNK.stdout [2024-08-01T10:15:06.655Z] STF 10:15:06.452 - Monitoring processes: JLNK [2024-08-01T10:15:08.823Z] STF 10:15:08.391 - Monitoring Report Summary: [2024-08-01T10:15:08.823Z] STF 10:15:08.391 - o Process JLNK ended with the expected exit code (0) [2024-08-01T10:15:08.823Z] STF 10:15:08.392 - [2024-08-01T10:15:08.823Z] STF 10:15:08.392 - +------ Step 7 - Create com.hello override jar [2024-08-01T10:15:08.823Z] STF 10:15:08.392 - | Create modular jar [2024-08-01T10:15:08.823Z] STF 10:15:08.392 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-08-01T10:15:08.823Z] STF 10:15:08.392 - | ModuleVersion: null [2024-08-01T10:15:08.823Z] STF 10:15:08.392 - | MainClass: null [2024-08-01T10:15:08.823Z] STF 10:15:08.392 - | HashModules: null [2024-08-01T10:15:08.823Z] STF 10:15:08.392 - | [2024-08-01T10:15:08.823Z] STF 10:15:08.392 - Running command: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/UpgModPath_JarImg_2/20240801-101503-UpgModPathTest/modules/7.com.hello.jar -C F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2024-08-01T10:15:08.823Z] STF 10:15:08.392 - Redirecting stderr to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/UpgModPath_JarImg_2/20240801-101503-UpgModPathTest/results/7.CMJ.stderr [2024-08-01T10:15:08.823Z] STF 10:15:08.392 - Redirecting stdout to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/UpgModPath_JarImg_2/20240801-101503-UpgModPathTest/results/7.CMJ.stdout [2024-08-01T10:15:08.823Z] STF 10:15:08.395 - Monitoring processes: CMJ [2024-08-01T10:15:08.823Z] STF 10:15:08.657 - Monitoring Report Summary: [2024-08-01T10:15:08.823Z] STF 10:15:08.657 - o Process CMJ ended with the expected exit code (0) [2024-08-01T10:15:08.823Z] STF 10:15:08.657 - Created modular jar: 7.com.hello.jar [2024-08-01T10:15:08.823Z] STF 10:15:08.657 - [2024-08-01T10:15:08.823Z] STF 10:15:08.657 - +------ Step 8 - Create com.hello override jar [2024-08-01T10:15:08.823Z] STF 10:15:08.658 - | Create modular jar [2024-08-01T10:15:08.823Z] STF 10:15:08.658 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2024-08-01T10:15:08.823Z] STF 10:15:08.658 - | ModuleVersion: null [2024-08-01T10:15:08.823Z] STF 10:15:08.658 - | MainClass: null [2024-08-01T10:15:08.823Z] STF 10:15:08.658 - | HashModules: null [2024-08-01T10:15:08.823Z] STF 10:15:08.658 - | [2024-08-01T10:15:08.823Z] STF 10:15:08.658 - Running command: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/UpgModPath_JarImg_2/20240801-101503-UpgModPathTest/modules/8.java.logging.jar -C F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.logging . [2024-08-01T10:15:08.823Z] STF 10:15:08.658 - Redirecting stderr to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/UpgModPath_JarImg_2/20240801-101503-UpgModPathTest/results/8.CMJ.stderr [2024-08-01T10:15:08.824Z] STF 10:15:08.658 - Redirecting stdout to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/UpgModPath_JarImg_2/20240801-101503-UpgModPathTest/results/8.CMJ.stdout [2024-08-01T10:15:08.824Z] STF 10:15:08.661 - Monitoring processes: CMJ [2024-08-01T10:15:09.135Z] STF 10:15:08.919 - Monitoring Report Summary: [2024-08-01T10:15:09.135Z] STF 10:15:08.919 - o Process CMJ ended with the expected exit code (0) [2024-08-01T10:15:09.135Z] STF 10:15:08.919 - Created modular jar: 8.java.logging.jar [2024-08-01T10:15:09.135Z] STF 10:15:08.919 - [2024-08-01T10:15:09.135Z] STF 10:15:08.919 - +------ Step 9 - Override an application module using a custom runtime image where the overriding module is in a modularized jar [2024-08-01T10:15:09.135Z] STF 10:15:08.919 - | Run foreground process [2024-08-01T10:15:09.135Z] STF 10:15:08.919 - | Program: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/UpgModPath_JarImg_2/20240801-101503-UpgModPathTest/tmp/6.UpJVM/bin/java [2024-08-01T10:15:09.135Z] STF 10:15:08.919 - | Mnemonic: OT25 [2024-08-01T10:15:09.135Z] STF 10:15:08.919 - | Echo: ECHO_ON [2024-08-01T10:15:09.135Z] STF 10:15:08.919 - | Expectation: CLEAN_RUN within 1m [2024-08-01T10:15:09.135Z] STF 10:15:08.919 - | [2024-08-01T10:15:09.135Z] STF 10:15:08.920 - Running command: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/UpgModPath_JarImg_2/20240801-101503-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/UpgModPath_JarImg_2/20240801-101503-UpgModPathTest/modules/7.com.hello.jar -classpath F:/workspace/testDependency/system_lib/junit/junit.jar;F:/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2024-08-01T10:15:09.135Z] STF 10:15:08.920 - Redirecting stderr to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/UpgModPath_JarImg_2/20240801-101503-UpgModPathTest/results/9.OT25.stderr [2024-08-01T10:15:09.135Z] STF 10:15:08.920 - Redirecting stdout to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/UpgModPath_JarImg_2/20240801-101503-UpgModPathTest/results/9.OT25.stdout [2024-08-01T10:15:09.135Z] STF 10:15:08.932 - Monitoring processes: OT25 [2024-08-01T10:15:09.449Z] OT25 JUnit version 4.12 [2024-08-01T10:15:09.449Z] OT25 . [2024-08-01T10:15:09.449Z] OT25 Time: 0.005 [2024-08-01T10:15:09.449Z] OT25 [2024-08-01T10:15:09.449Z] OT25 OK (1 test) [2024-08-01T10:15:09.449Z] OT25 [2024-08-01T10:15:09.449Z] STF 10:15:09.244 - Monitoring Report Summary: [2024-08-01T10:15:09.449Z] STF 10:15:09.244 - o Process OT25 ended with the expected exit code (0) [2024-08-01T10:15:09.449Z] STF 10:15:09.244 - [2024-08-01T10:15:09.449Z] STF 10:15:09.245 - +------ Step 10 - (Negative test) Override a non-upgradable platform module using a custom runtime imagewhere the overriding module is in a modularized jar [2024-08-01T10:15:09.449Z] STF 10:15:09.245 - | Run foreground process [2024-08-01T10:15:09.449Z] STF 10:15:09.245 - | Program: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/UpgModPath_JarImg_2/20240801-101503-UpgModPathTest/tmp/6.UpJVM/bin/java [2024-08-01T10:15:09.449Z] STF 10:15:09.245 - | Mnemonic: OT27 [2024-08-01T10:15:09.449Z] STF 10:15:09.245 - | Echo: ECHO_ON [2024-08-01T10:15:09.449Z] STF 10:15:09.245 - | Expectation: NON_ZERO_EXIT [1] within 1m [2024-08-01T10:15:09.449Z] STF 10:15:09.245 - | [2024-08-01T10:15:09.449Z] STF 10:15:09.245 - Running command: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/UpgModPath_JarImg_2/20240801-101503-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/UpgModPath_JarImg_2/20240801-101503-UpgModPathTest/modules/8.java.logging.jar -classpath F:/workspace/testDependency/system_lib/junit/junit.jar;F:/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingNonUpgradablePlatformModule [2024-08-01T10:15:09.449Z] STF 10:15:09.245 - Redirecting stderr to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/UpgModPath_JarImg_2/20240801-101503-UpgModPathTest/results/10.OT27.stderr [2024-08-01T10:15:09.449Z] STF 10:15:09.245 - Redirecting stdout to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/UpgModPath_JarImg_2/20240801-101503-UpgModPathTest/results/10.OT27.stdout [2024-08-01T10:15:09.449Z] STF 10:15:09.251 - Monitoring processes: OT27 [2024-08-01T10:15:09.761Z] OT27 Error occurred during initialization of boot layer [2024-08-01T10:15:09.762Z] OT27 java.lang.module.FindException: Hash of java.logging (6538e4329dfd0a3379d9797216f91349929c40c383aa5df89f209224446ef6fb) differs to expected hash (fb574a7422ae3df776185e636556d67afa2b325b921b1fd18c8858e236ed909d) recorded in java.base [2024-08-01T10:15:09.762Z] STF 10:15:09.423 - Monitoring Report Summary: [2024-08-01T10:15:09.762Z] STF 10:15:09.423 - o Process OT27 ended with the expected exit code (1) [2024-08-01T10:15:09.762Z] STF 10:15:09.423 - [2024-08-01T10:15:09.762Z] STF 10:15:09.424 - +------ Step 11 - Combine stderr and stdout files of process OT27 [2024-08-01T10:15:09.762Z] STF 10:15:09.424 - | Run foreground process [2024-08-01T10:15:09.762Z] STF 10:15:09.424 - | Program: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java [2024-08-01T10:15:09.762Z] STF 10:15:09.424 - | Mnemonic: CO [2024-08-01T10:15:09.762Z] STF 10:15:09.424 - | Echo: ECHO_OFF [2024-08-01T10:15:09.762Z] STF 10:15:09.424 - | Expectation: NON_ZERO_EXIT [0] within 30s [2024-08-01T10:15:09.762Z] STF 10:15:09.424 - | [2024-08-01T10:15:09.762Z] STF 10:15:09.424 - Running command: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java -Dfile1=F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/UpgModPath_JarImg_2/20240801-101503-UpgModPathTest/results/10.OT27.stdout -Dfile2=F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/UpgModPath_JarImg_2/20240801-101503-UpgModPathTest/results/10.OT27.stderr -Dfinal.file=F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\aqa-tests\TKG\output_17225033243813\UpgModPath_JarImg_2\20240801-101503-UpgModPathTest\results\combinedOT27.txt -classpath F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\STF\stf.core\bin;F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin net.adoptopenjdk.test.modularity.TestUtil [2024-08-01T10:15:09.762Z] STF 10:15:09.424 - Redirecting stderr to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/UpgModPath_JarImg_2/20240801-101503-UpgModPathTest/results/11.CO.stderr [2024-08-01T10:15:09.762Z] STF 10:15:09.424 - Redirecting stdout to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/UpgModPath_JarImg_2/20240801-101503-UpgModPathTest/results/11.CO.stdout [2024-08-01T10:15:09.762Z] STF 10:15:09.429 - Monitoring processes: CO [2024-08-01T10:15:09.762Z] STF 10:15:09.603 - Monitoring Report Summary: [2024-08-01T10:15:09.762Z] STF 10:15:09.603 - o Process CO ended with the expected exit code (0) [2024-08-01T10:15:09.762Z] STF 10:15:09.603 - [2024-08-01T10:15:09.762Z] STF 10:15:09.603 - +------ Step 12 - Check output [2024-08-01T10:15:09.762Z] STF 10:15:09.603 - | Count file matches [2024-08-01T10:15:09.762Z] STF 10:15:09.604 - | TargetFile: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/UpgModPath_JarImg_2/20240801-101503-UpgModPathTest/results/combinedOT27.txt [2024-08-01T10:15:09.762Z] STF 10:15:09.604 - | ExpectedNumMatches: 1 [2024-08-01T10:15:09.762Z] STF 10:15:09.604 - | SearchStrings: ["FindException: Hash of java.logging"] [2024-08-01T10:15:09.762Z] STF 10:15:09.604 - | [2024-08-01T10:15:09.762Z] STF 10:15:09.604 - Found 1 instances of ["FindException: Hash of java.logging"] [2024-08-01T10:15:09.762Z] STF 10:15:09.604 - EXECUTE stage completed [2024-08-01T10:15:09.762Z] STF 10:15:09.660 - [2024-08-01T10:15:09.762Z] STF 10:15:09.660 - ==================== T E A R D O W N ==================== [2024-08-01T10:15:09.762Z] STF 10:15:09.660 - Running teardown: perl F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17225033243813\UpgModPath_JarImg_2/20240801-101503-UpgModPathTest/tearDown.pl [2024-08-01T10:15:10.073Z] STF 10:15:09.790 - TEARDOWN stage completed [2024-08-01T10:15:10.073Z] STF 10:15:09.801 - [2024-08-01T10:15:10.073Z] STF 10:15:09.801 - ===================== R E S U L T S ===================== [2024-08-01T10:15:10.073Z] STF 10:15:09.801 - Stage results: [2024-08-01T10:15:10.073Z] STF 10:15:09.801 - setUp: pass [2024-08-01T10:15:10.073Z] STF 10:15:09.801 - execute: pass [2024-08-01T10:15:10.073Z] STF 10:15:09.801 - teardown: pass [2024-08-01T10:15:10.073Z] STF 10:15:09.801 - [2024-08-01T10:15:10.073Z] STF 10:15:09.801 - Overall result: PASSED [2024-08-01T10:15:10.074Z] ----------------------------------- [2024-08-01T10:15:10.074Z] UpgModPath_JarImg_2_PASSED [2024-08-01T10:15:10.074Z] ----------------------------------- [2024-08-01T10:15:10.074Z] [2024-08-01T10:15:10.074Z] TEST TEARDOWN: [2024-08-01T10:15:10.074Z] Nothing to be done for teardown. [2024-08-01T10:15:10.074Z] UpgModPath_JarImg_2 Finish Time: Thu Aug 1 10:15:10 2024 Epoch Time (ms): 1722507310049