UpgModPath_JarImg_2

[2024-09-26T04:14:10.904Z] Running test UpgModPath_JarImg_2 ... [2024-09-26T04:14:11.221Z] =============================================== [2024-09-26T04:14:11.221Z] UpgModPath_JarImg_2 Start Time: Thu Sep 26 04:14:11 2024 Epoch Time (ms): 1727324051027 [2024-09-26T04:14:11.221Z] variation: Mode1000 [2024-09-26T04:14:11.221Z] JVM_OPTIONS: [2024-09-26T04:14:11.221Z] { \ [2024-09-26T04:14:11.221Z] echo ""; echo "TEST SETUP:"; \ [2024-09-26T04:14:11.221Z] echo "Nothing to be done for setup."; \ [2024-09-26T04:14:11.221Z] mkdir -p "F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17273201016149\\UpgModPath_JarImg_2"; \ [2024-09-26T04:14:11.221Z] cd "F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17273201016149\\UpgModPath_JarImg_2"; \ [2024-09-26T04:14:11.221Z] echo ""; echo "TESTING:"; \ [2024-09-26T04:14:11.221Z] perl F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/../../testDependency/system_lib\\" -java-args=' ' -results-root="F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17273201016149\\UpgModPath_JarImg_2" -test=UpgModPathTest -test-args="variant=JarImg"; \ [2024-09-26T04:14:11.222Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_JarImg_2""_PASSED"; echo "-----------------------------------"; cd F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/; rm -f -r "F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17273201016149\\UpgModPath_JarImg_2"; else echo "-----------------------------------"; echo "UpgModPath_JarImg_2""_FAILED"; echo "-----------------------------------"; fi; \ [2024-09-26T04:14:11.222Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-09-26T04:14:11.222Z] echo "Nothing to be done for teardown."; \ [2024-09-26T04:14:11.222Z] } 2>&1 | tee -a "F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17273201016149\\TestTargetResult"; [2024-09-26T04:14:11.537Z] [2024-09-26T04:14:11.537Z] TEST SETUP: [2024-09-26T04:14:11.537Z] Nothing to be done for setup. [2024-09-26T04:14:11.537Z] [2024-09-26T04:14:11.537Z] TESTING: [2024-09-26T04:14:11.866Z] STF 04:14:11.550 - ========================= S T F ========================= [2024-09-26T04:14:11.866Z] 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/aqa-tests/\TKG\output_17273201016149\UpgModPath_JarImg_2 [2024-09-26T04:14:11.866Z] There is 111342 Mb free [2024-09-26T04:14:11.866Z] STF 04:14:11.582 - ================== G E N E R A T I O N ================== [2024-09-26T04:14:11.866Z] STF 04:14:11.588 - Checking JVM: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image [2024-09-26T04:14:11.866Z] STF 04:14:11.588 - Starting process to generate scripts: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/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/../../testDependency/system_lib\/log4j/log4j-api.jar;F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/../../testDependency/system_lib\/log4j/log4j-core.jar;F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17273201016149\UpgModPath_JarImg_2/20240926-041411-UpgModPathTest/stf_parameters.properties, , F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17273201016149\UpgModPath_JarImg_2/20240926-041411-UpgModPathTest" [2024-09-26T04:14:12.539Z] GEN 04:14:12.459 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: 'F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2024-09-26T04:14:12.539Z] GEN 04:14:12.469 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2024-09-26T04:14:12.852Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-09-26T04:14:12.852Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2024-09-26T04:14:12.852Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2024-09-26T04:14:12.852Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2024-09-26T04:14:12.852Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2024-09-26T04:14:12.852Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2024-09-26T04:14:12.852Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2024-09-26T04:14:12.852Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2024-09-26T04:14:12.852Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2024-09-26T04:14:12.852Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2024-09-26T04:14:12.852Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2024-09-26T04:14:12.852Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2024-09-26T04:14:12.853Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2024-09-26T04:14:12.853Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-09-26T04:14:12.853Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-09-26T04:14:12.853Z] GEN F:\\workspace\\workspace\\Test_openjdk11_hs_sanity.system_x86-32_windows\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-09-26T04:14:12.853Z] GEN F:\\workspace\\workspace\\Test_openjdk11_hs_sanity.system_x86-32_windows\\jvmtest\\system\\STF\\stf.core\\bin [2024-09-26T04:14:12.853Z] GEN F:/workspace/testDependency/system_lib/log4j/log4j-api.jar [2024-09-26T04:14:12.853Z] GEN F:/workspace/testDependency/system_lib/log4j/log4j-core.jar [2024-09-26T04:14:12.853Z] GEN F:/workspace/testDependency/system_lib/junit/junit.jar [2024-09-26T04:14:12.853Z] GEN 04:14:12.683 - Using Mode NoOptions. Values = '' [2024-09-26T04:14:12.853Z] GEN 04:14:12.782 - [2024-09-26T04:14:12.853Z] GEN 04:14:12.782 - Test command summary: [2024-09-26T04:14:12.853Z] GEN 04:14:12.782 - Step Stage Command Description [2024-09-26T04:14:12.853Z] GEN 04:14:12.783 - -----+--------+-----------------+------------ [2024-09-26T04:14:12.853Z] GEN 04:14:12.783 - 1 execute jar Create com.hello jar [2024-09-26T04:14:12.853Z] GEN 04:14:12.783 - 2 execute jar Create com.hola jar [2024-09-26T04:14:12.853Z] GEN 04:14:12.783 - 3 execute jar Create com.helper jar [2024-09-26T04:14:12.853Z] GEN 04:14:12.783 - 4 execute jar Create com.discreet jar [2024-09-26T04:14:12.853Z] GEN 04:14:12.783 - 5 execute jar Create tests jar [2024-09-26T04:14:12.853Z] GEN 04:14:12.783 - 6 execute jlink Create runtime image for upgrademodulepath test [2024-09-26T04:14:12.853Z] GEN 04:14:12.783 - 7 execute jar Create com.hello override jar [2024-09-26T04:14:12.853Z] GEN 04:14:12.783 - 8 execute jar Create com.hello override jar [2024-09-26T04:14:12.853Z] GEN 04:14:12.783 - 9 execute Run java Override an application module using a custom runtime image where the overriding module is in a modularized jar [2024-09-26T04:14:12.853Z] GEN 04:14:12.783 - 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-09-26T04:14:12.853Z] GEN 04:14:12.783 - 11 execute Run java Combine stderr and stdout files of process OT27 [2024-09-26T04:14:12.853Z] GEN 04:14:12.783 - 12 execute count Check output [2024-09-26T04:14:12.853Z] STF 04:14:12.799 - [2024-09-26T04:14:12.853Z] STF 04:14:12.799 - Script generation completed [2024-09-26T04:14:12.853Z] STF 04:14:12.799 - [2024-09-26T04:14:12.853Z] STF 04:14:12.799 - [2024-09-26T04:14:12.853Z] STF 04:14:12.799 - ======================= S E T U P ======================= [2024-09-26T04:14:12.853Z] STF 04:14:12.799 - Running setup: perl F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17273201016149\UpgModPath_JarImg_2/20240926-041411-UpgModPathTest/setUp.pl [2024-09-26T04:14:13.175Z] STF 04:14:12.940 - SETUP stage completed [2024-09-26T04:14:13.175Z] STF 04:14:12.951 - [2024-09-26T04:14:13.175Z] STF 04:14:12.951 - ==================== E X E C U T E - ==================== [2024-09-26T04:14:13.175Z] STF 04:14:12.951 - Running execute: perl F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17273201016149\UpgModPath_JarImg_2/20240926-041411-UpgModPathTest/execute.pl [2024-09-26T04:14:13.175Z] STF 04:14:13.085 - [2024-09-26T04:14:13.175Z] STF 04:14:13.085 - Java version [2024-09-26T04:14:13.175Z] STF 04:14:13.085 - Running: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/java -version [2024-09-26T04:14:13.487Z] openjdk version "11.0.25-beta" 2024-10-15 [2024-09-26T04:14:13.487Z] OpenJDK Runtime Environment Temurin-11.0.25+7-202409252112 (build 11.0.25-beta+7-ea) [2024-09-26T04:14:13.487Z] OpenJDK Client VM Temurin-11.0.25+7-202409252112 (build 11.0.25-beta+7-ea, mixed mode) [2024-09-26T04:14:13.487Z] STF 04:14:13.186 - [2024-09-26T04:14:13.487Z] STF 04:14:13.186 - +------ Step 1 - Create com.hello jar [2024-09-26T04:14:13.487Z] STF 04:14:13.186 - | Create modular jar [2024-09-26T04:14:13.487Z] STF 04:14:13.186 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-09-26T04:14:13.487Z] STF 04:14:13.186 - | ModuleVersion: null [2024-09-26T04:14:13.487Z] STF 04:14:13.186 - | MainClass: null [2024-09-26T04:14:13.487Z] STF 04:14:13.187 - | HashModules: null [2024-09-26T04:14:13.487Z] STF 04:14:13.187 - | [2024-09-26T04:14:13.487Z] STF 04:14:13.187 - Running command: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17273201016149/UpgModPath_JarImg_2/20240926-041411-UpgModPathTest/modules/1.com.hello.jar -C F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2024-09-26T04:14:13.487Z] STF 04:14:13.189 - Redirecting stderr to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17273201016149/UpgModPath_JarImg_2/20240926-041411-UpgModPathTest/results/1.CMJ.stderr [2024-09-26T04:14:13.487Z] STF 04:14:13.189 - Redirecting stdout to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17273201016149/UpgModPath_JarImg_2/20240926-041411-UpgModPathTest/results/1.CMJ.stdout [2024-09-26T04:14:13.487Z] STF 04:14:13.216 - Monitoring processes: CMJ [2024-09-26T04:14:13.798Z] STF 04:14:13.478 - Monitoring Report Summary: [2024-09-26T04:14:13.798Z] STF 04:14:13.478 - o Process CMJ ended with the expected exit code (0) [2024-09-26T04:14:13.798Z] STF 04:14:13.478 - Created modular jar: 1.com.hello.jar [2024-09-26T04:14:13.798Z] STF 04:14:13.478 - [2024-09-26T04:14:13.798Z] STF 04:14:13.478 - +------ Step 2 - Create com.hola jar [2024-09-26T04:14:13.798Z] STF 04:14:13.478 - | Create modular jar [2024-09-26T04:14:13.798Z] STF 04:14:13.478 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-09-26T04:14:13.798Z] STF 04:14:13.478 - | ModuleVersion: null [2024-09-26T04:14:13.798Z] STF 04:14:13.478 - | MainClass: null [2024-09-26T04:14:13.798Z] STF 04:14:13.478 - | HashModules: null [2024-09-26T04:14:13.798Z] STF 04:14:13.478 - | [2024-09-26T04:14:13.798Z] STF 04:14:13.478 - Running command: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17273201016149/UpgModPath_JarImg_2/20240926-041411-UpgModPathTest/modules/2.com.hola.jar -C F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2024-09-26T04:14:13.798Z] STF 04:14:13.478 - Redirecting stderr to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17273201016149/UpgModPath_JarImg_2/20240926-041411-UpgModPathTest/results/2.CMJ.stderr [2024-09-26T04:14:13.798Z] STF 04:14:13.478 - Redirecting stdout to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17273201016149/UpgModPath_JarImg_2/20240926-041411-UpgModPathTest/results/2.CMJ.stdout [2024-09-26T04:14:13.799Z] STF 04:14:13.481 - Monitoring processes: CMJ [2024-09-26T04:14:13.799Z] STF 04:14:13.748 - Monitoring Report Summary: [2024-09-26T04:14:13.799Z] STF 04:14:13.748 - o Process CMJ ended with the expected exit code (0) [2024-09-26T04:14:13.799Z] STF 04:14:13.748 - Created modular jar: 2.com.hola.jar [2024-09-26T04:14:13.799Z] STF 04:14:13.748 - [2024-09-26T04:14:13.799Z] STF 04:14:13.748 - +------ Step 3 - Create com.helper jar [2024-09-26T04:14:13.799Z] STF 04:14:13.748 - | Create modular jar [2024-09-26T04:14:13.799Z] STF 04:14:13.748 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-09-26T04:14:13.799Z] STF 04:14:13.748 - | ModuleVersion: null [2024-09-26T04:14:13.799Z] STF 04:14:13.748 - | MainClass: null [2024-09-26T04:14:13.799Z] STF 04:14:13.748 - | HashModules: null [2024-09-26T04:14:13.799Z] STF 04:14:13.748 - | [2024-09-26T04:14:13.799Z] STF 04:14:13.749 - Running command: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17273201016149/UpgModPath_JarImg_2/20240926-041411-UpgModPathTest/modules/3.com.helper.jar -C F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2024-09-26T04:14:13.799Z] STF 04:14:13.749 - Redirecting stderr to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17273201016149/UpgModPath_JarImg_2/20240926-041411-UpgModPathTest/results/3.CMJ.stderr [2024-09-26T04:14:13.799Z] STF 04:14:13.749 - Redirecting stdout to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17273201016149/UpgModPath_JarImg_2/20240926-041411-UpgModPathTest/results/3.CMJ.stdout [2024-09-26T04:14:13.799Z] STF 04:14:13.752 - Monitoring processes: CMJ [2024-09-26T04:14:14.111Z] STF 04:14:14.023 - Monitoring Report Summary: [2024-09-26T04:14:14.111Z] STF 04:14:14.023 - o Process CMJ ended with the expected exit code (0) [2024-09-26T04:14:14.111Z] STF 04:14:14.023 - Created modular jar: 3.com.helper.jar [2024-09-26T04:14:14.111Z] STF 04:14:14.023 - [2024-09-26T04:14:14.111Z] STF 04:14:14.023 - +------ Step 4 - Create com.discreet jar [2024-09-26T04:14:14.111Z] STF 04:14:14.023 - | Create modular jar [2024-09-26T04:14:14.111Z] STF 04:14:14.023 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-09-26T04:14:14.111Z] STF 04:14:14.023 - | ModuleVersion: null [2024-09-26T04:14:14.111Z] STF 04:14:14.023 - | MainClass: null [2024-09-26T04:14:14.111Z] STF 04:14:14.023 - | HashModules: null [2024-09-26T04:14:14.111Z] STF 04:14:14.023 - | [2024-09-26T04:14:14.111Z] STF 04:14:14.024 - Running command: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17273201016149/UpgModPath_JarImg_2/20240926-041411-UpgModPathTest/modules/4.com.discreet.jar -C F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2024-09-26T04:14:14.111Z] STF 04:14:14.024 - Redirecting stderr to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17273201016149/UpgModPath_JarImg_2/20240926-041411-UpgModPathTest/results/4.CMJ.stderr [2024-09-26T04:14:14.111Z] STF 04:14:14.024 - Redirecting stdout to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17273201016149/UpgModPath_JarImg_2/20240926-041411-UpgModPathTest/results/4.CMJ.stdout [2024-09-26T04:14:14.111Z] STF 04:14:14.028 - Monitoring processes: CMJ [2024-09-26T04:14:14.427Z] STF 04:14:14.288 - Monitoring Report Summary: [2024-09-26T04:14:14.427Z] STF 04:14:14.288 - o Process CMJ ended with the expected exit code (0) [2024-09-26T04:14:14.427Z] STF 04:14:14.288 - Created modular jar: 4.com.discreet.jar [2024-09-26T04:14:14.427Z] STF 04:14:14.288 - [2024-09-26T04:14:14.427Z] STF 04:14:14.288 - +------ Step 5 - Create tests jar [2024-09-26T04:14:14.427Z] STF 04:14:14.288 - | Create modular jar [2024-09-26T04:14:14.427Z] STF 04:14:14.288 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-09-26T04:14:14.427Z] STF 04:14:14.288 - | ModuleVersion: null [2024-09-26T04:14:14.427Z] STF 04:14:14.288 - | MainClass: null [2024-09-26T04:14:14.427Z] STF 04:14:14.288 - | HashModules: null [2024-09-26T04:14:14.427Z] STF 04:14:14.288 - | [2024-09-26T04:14:14.427Z] STF 04:14:14.288 - Running command: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17273201016149/UpgModPath_JarImg_2/20240926-041411-UpgModPathTest/modules/5.com.test.jar -C F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2024-09-26T04:14:14.427Z] STF 04:14:14.288 - Redirecting stderr to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17273201016149/UpgModPath_JarImg_2/20240926-041411-UpgModPathTest/results/5.CMJ.stderr [2024-09-26T04:14:14.427Z] STF 04:14:14.288 - Redirecting stdout to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17273201016149/UpgModPath_JarImg_2/20240926-041411-UpgModPathTest/results/5.CMJ.stdout [2024-09-26T04:14:14.427Z] STF 04:14:14.291 - Monitoring processes: CMJ [2024-09-26T04:14:14.740Z] STF 04:14:14.550 - Monitoring Report Summary: [2024-09-26T04:14:14.740Z] STF 04:14:14.550 - o Process CMJ ended with the expected exit code (0) [2024-09-26T04:14:14.740Z] STF 04:14:14.550 - Created modular jar: 5.com.test.jar [2024-09-26T04:14:14.740Z] STF 04:14:14.550 - [2024-09-26T04:14:14.740Z] STF 04:14:14.550 - +------ Step 6 - Create runtime image for upgrademodulepath test [2024-09-26T04:14:14.740Z] STF 04:14:14.550 - | Run jlink to create runtime image [2024-09-26T04:14:14.740Z] STF 04:14:14.550 - | ImageName: UpJVM [2024-09-26T04:14:14.740Z] STF 04:14:14.550 - | [2024-09-26T04:14:14.740Z] STF 04:14:14.551 - Running command: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jlink --module-path F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jdkbinary\j2sdk-image\jmods;F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\aqa-tests\TKG\output_17273201016149\UpgModPath_JarImg_2\20240926-041411-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\aqa-tests\TKG\output_17273201016149\UpgModPath_JarImg_2\20240926-041411-UpgModPathTest\tmp\6.UpJVM [2024-09-26T04:14:14.740Z] STF 04:14:14.551 - Redirecting stderr to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17273201016149/UpgModPath_JarImg_2/20240926-041411-UpgModPathTest/results/6.JLNK.stderr [2024-09-26T04:14:14.740Z] STF 04:14:14.551 - Redirecting stdout to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17273201016149/UpgModPath_JarImg_2/20240926-041411-UpgModPathTest/results/6.JLNK.stdout [2024-09-26T04:14:14.740Z] STF 04:14:14.553 - Monitoring processes: JLNK [2024-09-26T04:14:16.910Z] STF 04:14:16.485 - Monitoring Report Summary: [2024-09-26T04:14:16.910Z] STF 04:14:16.485 - o Process JLNK ended with the expected exit code (0) [2024-09-26T04:14:16.910Z] STF 04:14:16.486 - [2024-09-26T04:14:16.910Z] STF 04:14:16.486 - +------ Step 7 - Create com.hello override jar [2024-09-26T04:14:16.910Z] STF 04:14:16.486 - | Create modular jar [2024-09-26T04:14:16.910Z] STF 04:14:16.486 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-09-26T04:14:16.910Z] STF 04:14:16.486 - | ModuleVersion: null [2024-09-26T04:14:16.910Z] STF 04:14:16.486 - | MainClass: null [2024-09-26T04:14:16.910Z] STF 04:14:16.486 - | HashModules: null [2024-09-26T04:14:16.910Z] STF 04:14:16.486 - | [2024-09-26T04:14:16.910Z] STF 04:14:16.486 - Running command: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17273201016149/UpgModPath_JarImg_2/20240926-041411-UpgModPathTest/modules/7.com.hello.jar -C F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2024-09-26T04:14:16.910Z] STF 04:14:16.486 - Redirecting stderr to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17273201016149/UpgModPath_JarImg_2/20240926-041411-UpgModPathTest/results/7.CMJ.stderr [2024-09-26T04:14:16.910Z] STF 04:14:16.486 - Redirecting stdout to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17273201016149/UpgModPath_JarImg_2/20240926-041411-UpgModPathTest/results/7.CMJ.stdout [2024-09-26T04:14:16.910Z] STF 04:14:16.489 - Monitoring processes: CMJ [2024-09-26T04:14:16.910Z] STF 04:14:16.748 - Monitoring Report Summary: [2024-09-26T04:14:16.910Z] STF 04:14:16.748 - o Process CMJ ended with the expected exit code (0) [2024-09-26T04:14:16.910Z] STF 04:14:16.749 - Created modular jar: 7.com.hello.jar [2024-09-26T04:14:16.910Z] STF 04:14:16.749 - [2024-09-26T04:14:16.910Z] STF 04:14:16.749 - +------ Step 8 - Create com.hello override jar [2024-09-26T04:14:16.910Z] STF 04:14:16.749 - | Create modular jar [2024-09-26T04:14:16.911Z] STF 04:14:16.749 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2024-09-26T04:14:16.911Z] STF 04:14:16.749 - | ModuleVersion: null [2024-09-26T04:14:16.911Z] STF 04:14:16.749 - | MainClass: null [2024-09-26T04:14:16.911Z] STF 04:14:16.749 - | HashModules: null [2024-09-26T04:14:16.911Z] STF 04:14:16.749 - | [2024-09-26T04:14:16.911Z] STF 04:14:16.749 - Running command: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17273201016149/UpgModPath_JarImg_2/20240926-041411-UpgModPathTest/modules/8.java.logging.jar -C F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.logging . [2024-09-26T04:14:16.911Z] STF 04:14:16.749 - Redirecting stderr to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17273201016149/UpgModPath_JarImg_2/20240926-041411-UpgModPathTest/results/8.CMJ.stderr [2024-09-26T04:14:16.911Z] STF 04:14:16.749 - Redirecting stdout to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17273201016149/UpgModPath_JarImg_2/20240926-041411-UpgModPathTest/results/8.CMJ.stdout [2024-09-26T04:14:16.911Z] STF 04:14:16.752 - Monitoring processes: CMJ [2024-09-26T04:14:17.222Z] STF 04:14:17.009 - Monitoring Report Summary: [2024-09-26T04:14:17.222Z] STF 04:14:17.009 - o Process CMJ ended with the expected exit code (0) [2024-09-26T04:14:17.222Z] STF 04:14:17.009 - Created modular jar: 8.java.logging.jar [2024-09-26T04:14:17.222Z] STF 04:14:17.009 - [2024-09-26T04:14:17.222Z] STF 04:14:17.009 - +------ Step 9 - Override an application module using a custom runtime image where the overriding module is in a modularized jar [2024-09-26T04:14:17.222Z] STF 04:14:17.010 - | Run foreground process [2024-09-26T04:14:17.222Z] STF 04:14:17.010 - | Program: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17273201016149/UpgModPath_JarImg_2/20240926-041411-UpgModPathTest/tmp/6.UpJVM/bin/java [2024-09-26T04:14:17.222Z] STF 04:14:17.010 - | Mnemonic: OT25 [2024-09-26T04:14:17.222Z] STF 04:14:17.010 - | Echo: ECHO_ON [2024-09-26T04:14:17.222Z] STF 04:14:17.010 - | Expectation: CLEAN_RUN within 1m [2024-09-26T04:14:17.222Z] STF 04:14:17.010 - | [2024-09-26T04:14:17.222Z] STF 04:14:17.010 - Running command: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17273201016149/UpgModPath_JarImg_2/20240926-041411-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/aqa-tests/TKG/output_17273201016149/UpgModPath_JarImg_2/20240926-041411-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-09-26T04:14:17.222Z] STF 04:14:17.010 - Redirecting stderr to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17273201016149/UpgModPath_JarImg_2/20240926-041411-UpgModPathTest/results/9.OT25.stderr [2024-09-26T04:14:17.222Z] STF 04:14:17.010 - Redirecting stdout to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17273201016149/UpgModPath_JarImg_2/20240926-041411-UpgModPathTest/results/9.OT25.stdout [2024-09-26T04:14:17.222Z] STF 04:14:17.022 - Monitoring processes: OT25 [2024-09-26T04:14:17.533Z] OT25 JUnit version 4.12 [2024-09-26T04:14:17.533Z] OT25 . [2024-09-26T04:14:17.533Z] OT25 Time: 0.005 [2024-09-26T04:14:17.533Z] OT25 [2024-09-26T04:14:17.533Z] OT25 OK (1 test) [2024-09-26T04:14:17.533Z] OT25 [2024-09-26T04:14:17.533Z] STF 04:14:17.332 - Monitoring Report Summary: [2024-09-26T04:14:17.533Z] STF 04:14:17.332 - o Process OT25 ended with the expected exit code (0) [2024-09-26T04:14:17.533Z] STF 04:14:17.333 - [2024-09-26T04:14:17.533Z] STF 04:14:17.333 - +------ Step 10 - (Negative test) Override a non-upgradable platform module using a custom runtime imagewhere the overriding module is in a modularized jar [2024-09-26T04:14:17.533Z] STF 04:14:17.333 - | Run foreground process [2024-09-26T04:14:17.533Z] STF 04:14:17.333 - | Program: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17273201016149/UpgModPath_JarImg_2/20240926-041411-UpgModPathTest/tmp/6.UpJVM/bin/java [2024-09-26T04:14:17.533Z] STF 04:14:17.333 - | Mnemonic: OT27 [2024-09-26T04:14:17.533Z] STF 04:14:17.333 - | Echo: ECHO_ON [2024-09-26T04:14:17.533Z] STF 04:14:17.333 - | Expectation: NON_ZERO_EXIT [1] within 1m [2024-09-26T04:14:17.533Z] STF 04:14:17.333 - | [2024-09-26T04:14:17.533Z] STF 04:14:17.333 - Running command: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17273201016149/UpgModPath_JarImg_2/20240926-041411-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/aqa-tests/TKG/output_17273201016149/UpgModPath_JarImg_2/20240926-041411-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-09-26T04:14:17.533Z] STF 04:14:17.333 - Redirecting stderr to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17273201016149/UpgModPath_JarImg_2/20240926-041411-UpgModPathTest/results/10.OT27.stderr [2024-09-26T04:14:17.533Z] STF 04:14:17.333 - Redirecting stdout to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17273201016149/UpgModPath_JarImg_2/20240926-041411-UpgModPathTest/results/10.OT27.stdout [2024-09-26T04:14:17.533Z] STF 04:14:17.339 - Monitoring processes: OT27 [2024-09-26T04:14:17.844Z] OT27 Error occurred during initialization of boot layer [2024-09-26T04:14:17.844Z] OT27 java.lang.module.FindException: Hash of java.logging (6538e4329dfd0a3379d9797216f91349929c40c383aa5df89f209224446ef6fb) differs to expected hash (fb574a7422ae3df776185e636556d67afa2b325b921b1fd18c8858e236ed909d) recorded in java.base [2024-09-26T04:14:17.844Z] STF 04:14:17.509 - Monitoring Report Summary: [2024-09-26T04:14:17.844Z] STF 04:14:17.509 - o Process OT27 ended with the expected exit code (1) [2024-09-26T04:14:17.844Z] STF 04:14:17.510 - [2024-09-26T04:14:17.844Z] STF 04:14:17.510 - +------ Step 11 - Combine stderr and stdout files of process OT27 [2024-09-26T04:14:17.844Z] STF 04:14:17.510 - | Run foreground process [2024-09-26T04:14:17.844Z] STF 04:14:17.510 - | Program: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/java [2024-09-26T04:14:17.844Z] STF 04:14:17.510 - | Mnemonic: CO [2024-09-26T04:14:17.844Z] STF 04:14:17.510 - | Echo: ECHO_OFF [2024-09-26T04:14:17.844Z] STF 04:14:17.510 - | Expectation: NON_ZERO_EXIT [0] within 30s [2024-09-26T04:14:17.844Z] STF 04:14:17.510 - | [2024-09-26T04:14:17.845Z] STF 04:14:17.510 - Running command: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/java -Dfile1=F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17273201016149/UpgModPath_JarImg_2/20240926-041411-UpgModPathTest/results/10.OT27.stdout -Dfile2=F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17273201016149/UpgModPath_JarImg_2/20240926-041411-UpgModPathTest/results/10.OT27.stderr -Dfinal.file=F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\aqa-tests\TKG\output_17273201016149\UpgModPath_JarImg_2\20240926-041411-UpgModPathTest\results\combinedOT27.txt -classpath F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\STF\stf.core\bin;F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin net.adoptopenjdk.test.modularity.TestUtil [2024-09-26T04:14:17.845Z] STF 04:14:17.510 - Redirecting stderr to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17273201016149/UpgModPath_JarImg_2/20240926-041411-UpgModPathTest/results/11.CO.stderr [2024-09-26T04:14:17.845Z] STF 04:14:17.510 - Redirecting stdout to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17273201016149/UpgModPath_JarImg_2/20240926-041411-UpgModPathTest/results/11.CO.stdout [2024-09-26T04:14:17.845Z] STF 04:14:17.516 - Monitoring processes: CO [2024-09-26T04:14:17.845Z] STF 04:14:17.691 - Monitoring Report Summary: [2024-09-26T04:14:17.845Z] STF 04:14:17.691 - o Process CO ended with the expected exit code (0) [2024-09-26T04:14:17.845Z] STF 04:14:17.692 - [2024-09-26T04:14:17.845Z] STF 04:14:17.692 - +------ Step 12 - Check output [2024-09-26T04:14:17.845Z] STF 04:14:17.692 - | Count file matches [2024-09-26T04:14:17.845Z] STF 04:14:17.692 - | TargetFile: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17273201016149/UpgModPath_JarImg_2/20240926-041411-UpgModPathTest/results/combinedOT27.txt [2024-09-26T04:14:17.845Z] STF 04:14:17.692 - | ExpectedNumMatches: 1 [2024-09-26T04:14:17.845Z] STF 04:14:17.692 - | SearchStrings: ["FindException: Hash of java.logging"] [2024-09-26T04:14:17.845Z] STF 04:14:17.692 - | [2024-09-26T04:14:17.845Z] STF 04:14:17.692 - Found 1 instances of ["FindException: Hash of java.logging"] [2024-09-26T04:14:17.845Z] STF 04:14:17.692 - EXECUTE stage completed [2024-09-26T04:14:17.845Z] STF 04:14:17.706 - [2024-09-26T04:14:17.845Z] STF 04:14:17.706 - ==================== T E A R D O W N ==================== [2024-09-26T04:14:17.845Z] STF 04:14:17.706 - Running teardown: perl F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17273201016149\UpgModPath_JarImg_2/20240926-041411-UpgModPathTest/tearDown.pl [2024-09-26T04:14:18.157Z] STF 04:14:17.835 - TEARDOWN stage completed [2024-09-26T04:14:18.157Z] STF 04:14:17.848 - [2024-09-26T04:14:18.157Z] STF 04:14:17.848 - ===================== R E S U L T S ===================== [2024-09-26T04:14:18.157Z] STF 04:14:17.848 - Stage results: [2024-09-26T04:14:18.157Z] STF 04:14:17.848 - setUp: pass [2024-09-26T04:14:18.157Z] STF 04:14:17.848 - execute: pass [2024-09-26T04:14:18.157Z] STF 04:14:17.848 - teardown: pass [2024-09-26T04:14:18.157Z] STF 04:14:17.848 - [2024-09-26T04:14:18.157Z] STF 04:14:17.848 - Overall result: PASSED [2024-09-26T04:14:18.157Z] ----------------------------------- [2024-09-26T04:14:18.157Z] UpgModPath_JarImg_2_PASSED [2024-09-26T04:14:18.157Z] ----------------------------------- [2024-09-26T04:14:18.157Z] [2024-09-26T04:14:18.157Z] TEST TEARDOWN: [2024-09-26T04:14:18.157Z] Nothing to be done for teardown. [2024-09-26T04:14:18.157Z] UpgModPath_JarImg_2 Finish Time: Thu Sep 26 04:14:18 2024 Epoch Time (ms): 1727324058095