UpgModPath_JarImg_2

[2024-11-15T15:21:53.067Z] Running test UpgModPath_JarImg_2 ... [2024-11-15T15:21:53.067Z] =============================================== [2024-11-15T15:21:53.379Z] UpgModPath_JarImg_2 Start Time: Fri Nov 15 15:21:53 2024 Epoch Time (ms): 1731684113138 [2024-11-15T15:21:53.776Z] variation: Mode1000 [2024-11-15T15:21:53.776Z] JVM_OPTIONS: [2024-11-15T15:21:53.776Z] { \ [2024-11-15T15:21:53.776Z] echo ""; echo "TEST SETUP:"; \ [2024-11-15T15:21:53.776Z] echo "Nothing to be done for setup."; \ [2024-11-15T15:21:53.776Z] mkdir -p "C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17316799798033\\UpgModPath_JarImg_2"; \ [2024-11-15T15:21:53.776Z] cd "C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17316799798033\\UpgModPath_JarImg_2"; \ [2024-11-15T15:21:53.776Z] echo ""; echo "TESTING:"; \ [2024-11-15T15:21:53.776Z] perl C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="c:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/../../testDependency/system_lib\\" -java-args=' ' -results-root="C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17316799798033\\UpgModPath_JarImg_2" -test=UpgModPathTest -test-args="variant=JarImg"; \ [2024-11-15T15:21:53.776Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_JarImg_2""_PASSED"; echo "-----------------------------------"; cd C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/; rm -f -r "C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17316799798033\\UpgModPath_JarImg_2"; else echo "-----------------------------------"; echo "UpgModPath_JarImg_2""_FAILED"; echo "-----------------------------------"; fi; \ [2024-11-15T15:21:53.776Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-11-15T15:21:53.776Z] echo "Nothing to be done for teardown."; \ [2024-11-15T15:21:53.776Z] } 2>&1 | tee -a "C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17316799798033\\TestTargetResult"; [2024-11-15T15:21:54.233Z] [2024-11-15T15:21:54.233Z] TEST SETUP: [2024-11-15T15:21:54.233Z] Nothing to be done for setup. [2024-11-15T15:21:54.233Z] [2024-11-15T15:21:54.233Z] TESTING: [2024-11-15T15:21:54.233Z] STF 15:21:54.017 - ========================= S T F ========================= [2024-11-15T15:21:54.233Z] systemtest-prereqs has been processed, and set to: c:/workspace/testDependency/system_libRetrieving amount of free space on drive containing C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17316799798033\UpgModPath_JarImg_2 [2024-11-15T15:21:54.543Z] There is 97370 Mb free [2024-11-15T15:21:54.543Z] STF 15:21:54.080 - ================== G E N E R A T I O N ================== [2024-11-15T15:21:54.543Z] STF 15:21:54.083 - Checking JVM: c:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image [2024-11-15T15:21:54.543Z] STF 15:21:54.083 - Starting process to generate scripts: c:/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 c:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/../../testDependency/system_lib\/log4j/log4j-api.jar;c:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17316799798033\UpgModPath_JarImg_2/20241115-152154-UpgModPathTest/stf_parameters.properties, , C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17316799798033\UpgModPath_JarImg_2/20241115-152154-UpgModPathTest" [2024-11-15T15:21:55.646Z] GEN 15:21:55.308 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: 'C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2024-11-15T15:21:55.646Z] GEN 15:21:55.322 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2024-11-15T15:21:55.646Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-11-15T15:21:55.646Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2024-11-15T15:21:55.646Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2024-11-15T15:21:55.646Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2024-11-15T15:21:55.646Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2024-11-15T15:21:55.646Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2024-11-15T15:21:55.646Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2024-11-15T15:21:55.646Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2024-11-15T15:21:55.646Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2024-11-15T15:21:55.646Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2024-11-15T15:21:55.646Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2024-11-15T15:21:55.647Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2024-11-15T15:21:55.647Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2024-11-15T15:21:55.647Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-11-15T15:21:55.647Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-11-15T15:21:55.647Z] GEN C:\\workspace\\workspace\\Test_openjdk11_hs_sanity.system_x86-32_windows\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-11-15T15:21:55.647Z] GEN C:\\workspace\\workspace\\Test_openjdk11_hs_sanity.system_x86-32_windows\\jvmtest\\system\\STF\\stf.core\\bin [2024-11-15T15:21:55.647Z] GEN c:/workspace/testDependency/system_lib/log4j/log4j-api.jar [2024-11-15T15:21:55.647Z] GEN c:/workspace/testDependency/system_lib/log4j/log4j-core.jar [2024-11-15T15:21:55.647Z] GEN c:/workspace/testDependency/system_lib/junit/junit.jar [2024-11-15T15:21:55.977Z] GEN 15:21:55.615 - Using Mode NoOptions. Values = '' [2024-11-15T15:21:55.978Z] GEN 15:21:55.748 - [2024-11-15T15:21:55.978Z] GEN 15:21:55.748 - Test command summary: [2024-11-15T15:21:55.978Z] GEN 15:21:55.748 - Step Stage Command Description [2024-11-15T15:21:55.978Z] GEN 15:21:55.748 - -----+--------+-----------------+------------ [2024-11-15T15:21:55.978Z] GEN 15:21:55.748 - 1 execute jar Create com.hello jar [2024-11-15T15:21:55.978Z] GEN 15:21:55.749 - 2 execute jar Create com.hola jar [2024-11-15T15:21:55.978Z] GEN 15:21:55.749 - 3 execute jar Create com.helper jar [2024-11-15T15:21:55.978Z] GEN 15:21:55.749 - 4 execute jar Create com.discreet jar [2024-11-15T15:21:55.978Z] GEN 15:21:55.749 - 5 execute jar Create tests jar [2024-11-15T15:21:55.978Z] GEN 15:21:55.749 - 6 execute jlink Create runtime image for upgrademodulepath test [2024-11-15T15:21:55.978Z] GEN 15:21:55.749 - 7 execute jar Create com.hello override jar [2024-11-15T15:21:55.978Z] GEN 15:21:55.749 - 8 execute jar Create com.hello override jar [2024-11-15T15:21:55.978Z] GEN 15:21:55.749 - 9 execute Run java Override an application module using a custom runtime image where the overriding module is in a modularized jar [2024-11-15T15:21:55.978Z] GEN 15:21:55.749 - 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-11-15T15:21:55.978Z] GEN 15:21:55.749 - 11 execute Run java Combine stderr and stdout files of process OT27 [2024-11-15T15:21:55.978Z] GEN 15:21:55.749 - 12 execute count Check output [2024-11-15T15:21:55.978Z] STF 15:21:55.775 - [2024-11-15T15:21:55.978Z] STF 15:21:55.775 - Script generation completed [2024-11-15T15:21:55.978Z] STF 15:21:55.775 - [2024-11-15T15:21:55.978Z] STF 15:21:55.777 - [2024-11-15T15:21:55.978Z] STF 15:21:55.777 - ======================= S E T U P ======================= [2024-11-15T15:21:55.978Z] STF 15:21:55.777 - Running setup: perl C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17316799798033\UpgModPath_JarImg_2/20241115-152154-UpgModPathTest/setUp.pl [2024-11-15T15:21:56.305Z] STF 15:21:55.956 - SETUP stage completed [2024-11-15T15:21:56.305Z] STF 15:21:55.978 - [2024-11-15T15:21:56.305Z] STF 15:21:55.978 - ==================== E X E C U T E - ==================== [2024-11-15T15:21:56.305Z] STF 15:21:55.978 - Running execute: perl C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17316799798033\UpgModPath_JarImg_2/20241115-152154-UpgModPathTest/execute.pl [2024-11-15T15:21:56.305Z] STF 15:21:56.163 - [2024-11-15T15:21:56.305Z] STF 15:21:56.163 - Java version [2024-11-15T15:21:56.305Z] STF 15:21:56.163 - Running: c:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/java -version [2024-11-15T15:21:56.633Z] openjdk version "11.0.26-beta" 2025-01-21 [2024-11-15T15:21:56.633Z] OpenJDK Runtime Environment Temurin-11.0.26+1-202411140033 (build 11.0.26-beta+1-ea) [2024-11-15T15:21:56.633Z] OpenJDK Client VM Temurin-11.0.26+1-202411140033 (build 11.0.26-beta+1-ea, mixed mode) [2024-11-15T15:21:56.633Z] STF 15:21:56.316 - [2024-11-15T15:21:56.633Z] STF 15:21:56.316 - +------ Step 1 - Create com.hello jar [2024-11-15T15:21:56.633Z] STF 15:21:56.316 - | Create modular jar [2024-11-15T15:21:56.633Z] STF 15:21:56.316 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-11-15T15:21:56.633Z] STF 15:21:56.316 - | ModuleVersion: null [2024-11-15T15:21:56.633Z] STF 15:21:56.316 - | MainClass: null [2024-11-15T15:21:56.633Z] STF 15:21:56.316 - | HashModules: null [2024-11-15T15:21:56.633Z] STF 15:21:56.316 - | [2024-11-15T15:21:56.633Z] STF 15:21:56.317 - Running command: c:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316799798033/UpgModPath_JarImg_2/20241115-152154-UpgModPathTest/modules/1.com.hello.jar -C C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2024-11-15T15:21:56.633Z] STF 15:21:56.317 - Redirecting stderr to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316799798033/UpgModPath_JarImg_2/20241115-152154-UpgModPathTest/results/1.CMJ.stderr [2024-11-15T15:21:56.633Z] STF 15:21:56.317 - Redirecting stdout to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316799798033/UpgModPath_JarImg_2/20241115-152154-UpgModPathTest/results/1.CMJ.stdout [2024-11-15T15:21:56.633Z] STF 15:21:56.357 - Monitoring processes: CMJ [2024-11-15T15:21:56.967Z] STF 15:21:56.777 - Monitoring Report Summary: [2024-11-15T15:21:56.967Z] STF 15:21:56.777 - o Process CMJ ended with the expected exit code (0) [2024-11-15T15:21:56.967Z] STF 15:21:56.778 - Created modular jar: 1.com.hello.jar [2024-11-15T15:21:56.967Z] STF 15:21:56.778 - [2024-11-15T15:21:56.967Z] STF 15:21:56.778 - +------ Step 2 - Create com.hola jar [2024-11-15T15:21:56.967Z] STF 15:21:56.778 - | Create modular jar [2024-11-15T15:21:56.967Z] STF 15:21:56.778 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-11-15T15:21:56.967Z] STF 15:21:56.778 - | ModuleVersion: null [2024-11-15T15:21:56.967Z] STF 15:21:56.778 - | MainClass: null [2024-11-15T15:21:56.967Z] STF 15:21:56.778 - | HashModules: null [2024-11-15T15:21:56.967Z] STF 15:21:56.778 - | [2024-11-15T15:21:56.967Z] STF 15:21:56.778 - Running command: c:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316799798033/UpgModPath_JarImg_2/20241115-152154-UpgModPathTest/modules/2.com.hola.jar -C C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2024-11-15T15:21:56.967Z] STF 15:21:56.778 - Redirecting stderr to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316799798033/UpgModPath_JarImg_2/20241115-152154-UpgModPathTest/results/2.CMJ.stderr [2024-11-15T15:21:56.967Z] STF 15:21:56.778 - Redirecting stdout to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316799798033/UpgModPath_JarImg_2/20241115-152154-UpgModPathTest/results/2.CMJ.stdout [2024-11-15T15:21:56.967Z] STF 15:21:56.786 - Monitoring processes: CMJ [2024-11-15T15:21:57.297Z] STF 15:21:57.206 - Monitoring Report Summary: [2024-11-15T15:21:57.297Z] STF 15:21:57.206 - o Process CMJ ended with the expected exit code (0) [2024-11-15T15:21:57.297Z] STF 15:21:57.206 - Created modular jar: 2.com.hola.jar [2024-11-15T15:21:57.297Z] STF 15:21:57.206 - [2024-11-15T15:21:57.297Z] STF 15:21:57.206 - +------ Step 3 - Create com.helper jar [2024-11-15T15:21:57.297Z] STF 15:21:57.206 - | Create modular jar [2024-11-15T15:21:57.297Z] STF 15:21:57.206 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-11-15T15:21:57.297Z] STF 15:21:57.206 - | ModuleVersion: null [2024-11-15T15:21:57.297Z] STF 15:21:57.206 - | MainClass: null [2024-11-15T15:21:57.297Z] STF 15:21:57.206 - | HashModules: null [2024-11-15T15:21:57.297Z] STF 15:21:57.206 - | [2024-11-15T15:21:57.297Z] STF 15:21:57.207 - Running command: c:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316799798033/UpgModPath_JarImg_2/20241115-152154-UpgModPathTest/modules/3.com.helper.jar -C C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2024-11-15T15:21:57.297Z] STF 15:21:57.207 - Redirecting stderr to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316799798033/UpgModPath_JarImg_2/20241115-152154-UpgModPathTest/results/3.CMJ.stderr [2024-11-15T15:21:57.297Z] STF 15:21:57.207 - Redirecting stdout to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316799798033/UpgModPath_JarImg_2/20241115-152154-UpgModPathTest/results/3.CMJ.stdout [2024-11-15T15:21:57.297Z] STF 15:21:57.216 - Monitoring processes: CMJ [2024-11-15T15:21:57.981Z] STF 15:21:57.656 - Monitoring Report Summary: [2024-11-15T15:21:57.981Z] STF 15:21:57.656 - o Process CMJ ended with the expected exit code (0) [2024-11-15T15:21:57.981Z] STF 15:21:57.657 - Created modular jar: 3.com.helper.jar [2024-11-15T15:21:57.981Z] STF 15:21:57.657 - [2024-11-15T15:21:57.981Z] STF 15:21:57.657 - +------ Step 4 - Create com.discreet jar [2024-11-15T15:21:57.981Z] STF 15:21:57.657 - | Create modular jar [2024-11-15T15:21:57.981Z] STF 15:21:57.657 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-11-15T15:21:57.981Z] STF 15:21:57.657 - | ModuleVersion: null [2024-11-15T15:21:57.981Z] STF 15:21:57.657 - | MainClass: null [2024-11-15T15:21:57.981Z] STF 15:21:57.657 - | HashModules: null [2024-11-15T15:21:57.981Z] STF 15:21:57.657 - | [2024-11-15T15:21:57.981Z] STF 15:21:57.657 - Running command: c:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316799798033/UpgModPath_JarImg_2/20241115-152154-UpgModPathTest/modules/4.com.discreet.jar -C C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2024-11-15T15:21:57.981Z] STF 15:21:57.657 - Redirecting stderr to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316799798033/UpgModPath_JarImg_2/20241115-152154-UpgModPathTest/results/4.CMJ.stderr [2024-11-15T15:21:57.981Z] STF 15:21:57.657 - Redirecting stdout to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316799798033/UpgModPath_JarImg_2/20241115-152154-UpgModPathTest/results/4.CMJ.stdout [2024-11-15T15:21:57.981Z] STF 15:21:57.665 - Monitoring processes: CMJ [2024-11-15T15:21:58.310Z] STF 15:21:58.065 - Monitoring Report Summary: [2024-11-15T15:21:58.311Z] STF 15:21:58.065 - o Process CMJ ended with the expected exit code (0) [2024-11-15T15:21:58.311Z] STF 15:21:58.065 - Created modular jar: 4.com.discreet.jar [2024-11-15T15:21:58.311Z] STF 15:21:58.065 - [2024-11-15T15:21:58.311Z] STF 15:21:58.065 - +------ Step 5 - Create tests jar [2024-11-15T15:21:58.311Z] STF 15:21:58.065 - | Create modular jar [2024-11-15T15:21:58.311Z] STF 15:21:58.065 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-11-15T15:21:58.311Z] STF 15:21:58.065 - | ModuleVersion: null [2024-11-15T15:21:58.311Z] STF 15:21:58.065 - | MainClass: null [2024-11-15T15:21:58.311Z] STF 15:21:58.066 - | HashModules: null [2024-11-15T15:21:58.311Z] STF 15:21:58.066 - | [2024-11-15T15:21:58.311Z] STF 15:21:58.066 - Running command: c:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316799798033/UpgModPath_JarImg_2/20241115-152154-UpgModPathTest/modules/5.com.test.jar -C C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2024-11-15T15:21:58.311Z] STF 15:21:58.066 - Redirecting stderr to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316799798033/UpgModPath_JarImg_2/20241115-152154-UpgModPathTest/results/5.CMJ.stderr [2024-11-15T15:21:58.311Z] STF 15:21:58.066 - Redirecting stdout to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316799798033/UpgModPath_JarImg_2/20241115-152154-UpgModPathTest/results/5.CMJ.stdout [2024-11-15T15:21:58.311Z] STF 15:21:58.075 - Monitoring processes: CMJ [2024-11-15T15:21:58.636Z] STF 15:21:58.512 - Monitoring Report Summary: [2024-11-15T15:21:58.636Z] STF 15:21:58.512 - o Process CMJ ended with the expected exit code (0) [2024-11-15T15:21:58.636Z] STF 15:21:58.513 - Created modular jar: 5.com.test.jar [2024-11-15T15:21:58.636Z] STF 15:21:58.513 - [2024-11-15T15:21:58.636Z] STF 15:21:58.513 - +------ Step 6 - Create runtime image for upgrademodulepath test [2024-11-15T15:21:58.636Z] STF 15:21:58.513 - | Run jlink to create runtime image [2024-11-15T15:21:58.636Z] STF 15:21:58.513 - | ImageName: UpJVM [2024-11-15T15:21:58.636Z] STF 15:21:58.513 - | [2024-11-15T15:21:58.636Z] STF 15:21:58.513 - Running command: c:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jlink --module-path c:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jdkbinary\j2sdk-image\jmods;C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\aqa-tests\TKG\output_17316799798033\UpgModPath_JarImg_2\20241115-152154-UpgModPathTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\aqa-tests\TKG\output_17316799798033\UpgModPath_JarImg_2\20241115-152154-UpgModPathTest\tmp\6.UpJVM [2024-11-15T15:21:58.636Z] STF 15:21:58.514 - Redirecting stderr to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316799798033/UpgModPath_JarImg_2/20241115-152154-UpgModPathTest/results/6.JLNK.stderr [2024-11-15T15:21:58.636Z] STF 15:21:58.514 - Redirecting stdout to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316799798033/UpgModPath_JarImg_2/20241115-152154-UpgModPathTest/results/6.JLNK.stdout [2024-11-15T15:21:58.636Z] STF 15:21:58.522 - Monitoring processes: JLNK [2024-11-15T15:22:01.514Z] STF 15:22:01.071 - Monitoring Report Summary: [2024-11-15T15:22:01.514Z] STF 15:22:01.071 - o Process JLNK ended with the expected exit code (0) [2024-11-15T15:22:01.514Z] STF 15:22:01.071 - [2024-11-15T15:22:01.514Z] STF 15:22:01.071 - +------ Step 7 - Create com.hello override jar [2024-11-15T15:22:01.514Z] STF 15:22:01.071 - | Create modular jar [2024-11-15T15:22:01.514Z] STF 15:22:01.071 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-11-15T15:22:01.514Z] STF 15:22:01.071 - | ModuleVersion: null [2024-11-15T15:22:01.514Z] STF 15:22:01.071 - | MainClass: null [2024-11-15T15:22:01.514Z] STF 15:22:01.071 - | HashModules: null [2024-11-15T15:22:01.514Z] STF 15:22:01.072 - | [2024-11-15T15:22:01.514Z] STF 15:22:01.072 - Running command: c:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316799798033/UpgModPath_JarImg_2/20241115-152154-UpgModPathTest/modules/7.com.hello.jar -C C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2024-11-15T15:22:01.514Z] STF 15:22:01.072 - Redirecting stderr to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316799798033/UpgModPath_JarImg_2/20241115-152154-UpgModPathTest/results/7.CMJ.stderr [2024-11-15T15:22:01.514Z] STF 15:22:01.072 - Redirecting stdout to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316799798033/UpgModPath_JarImg_2/20241115-152154-UpgModPathTest/results/7.CMJ.stdout [2024-11-15T15:22:01.514Z] STF 15:22:01.081 - Monitoring processes: CMJ [2024-11-15T15:22:01.849Z] STF 15:22:01.472 - Monitoring Report Summary: [2024-11-15T15:22:01.849Z] STF 15:22:01.472 - o Process CMJ ended with the expected exit code (0) [2024-11-15T15:22:01.849Z] STF 15:22:01.473 - Created modular jar: 7.com.hello.jar [2024-11-15T15:22:01.849Z] STF 15:22:01.473 - [2024-11-15T15:22:01.849Z] STF 15:22:01.473 - +------ Step 8 - Create com.hello override jar [2024-11-15T15:22:01.849Z] STF 15:22:01.473 - | Create modular jar [2024-11-15T15:22:01.849Z] STF 15:22:01.473 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2024-11-15T15:22:01.849Z] STF 15:22:01.473 - | ModuleVersion: null [2024-11-15T15:22:01.849Z] STF 15:22:01.473 - | MainClass: null [2024-11-15T15:22:01.849Z] STF 15:22:01.473 - | HashModules: null [2024-11-15T15:22:01.849Z] STF 15:22:01.473 - | [2024-11-15T15:22:01.849Z] STF 15:22:01.473 - Running command: c:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316799798033/UpgModPath_JarImg_2/20241115-152154-UpgModPathTest/modules/8.java.logging.jar -C C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.logging . [2024-11-15T15:22:01.849Z] STF 15:22:01.473 - Redirecting stderr to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316799798033/UpgModPath_JarImg_2/20241115-152154-UpgModPathTest/results/8.CMJ.stderr [2024-11-15T15:22:01.849Z] STF 15:22:01.473 - Redirecting stdout to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316799798033/UpgModPath_JarImg_2/20241115-152154-UpgModPathTest/results/8.CMJ.stdout [2024-11-15T15:22:01.849Z] STF 15:22:01.481 - Monitoring processes: CMJ [2024-11-15T15:22:02.177Z] STF 15:22:01.903 - Monitoring Report Summary: [2024-11-15T15:22:02.177Z] STF 15:22:01.904 - o Process CMJ ended with the expected exit code (0) [2024-11-15T15:22:02.177Z] STF 15:22:01.904 - Created modular jar: 8.java.logging.jar [2024-11-15T15:22:02.177Z] STF 15:22:01.904 - [2024-11-15T15:22:02.177Z] STF 15:22:01.904 - +------ Step 9 - Override an application module using a custom runtime image where the overriding module is in a modularized jar [2024-11-15T15:22:02.177Z] STF 15:22:01.904 - | Run foreground process [2024-11-15T15:22:02.177Z] STF 15:22:01.904 - | Program: C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316799798033/UpgModPath_JarImg_2/20241115-152154-UpgModPathTest/tmp/6.UpJVM/bin/java [2024-11-15T15:22:02.177Z] STF 15:22:01.904 - | Mnemonic: OT25 [2024-11-15T15:22:02.177Z] STF 15:22:01.904 - | Echo: ECHO_ON [2024-11-15T15:22:02.177Z] STF 15:22:01.904 - | Expectation: CLEAN_RUN within 1m [2024-11-15T15:22:02.177Z] STF 15:22:01.904 - | [2024-11-15T15:22:02.177Z] STF 15:22:01.905 - Running command: C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316799798033/UpgModPath_JarImg_2/20241115-152154-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316799798033/UpgModPath_JarImg_2/20241115-152154-UpgModPathTest/modules/7.com.hello.jar -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-11-15T15:22:02.177Z] STF 15:22:01.905 - Redirecting stderr to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316799798033/UpgModPath_JarImg_2/20241115-152154-UpgModPathTest/results/9.OT25.stderr [2024-11-15T15:22:02.177Z] STF 15:22:01.905 - Redirecting stdout to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316799798033/UpgModPath_JarImg_2/20241115-152154-UpgModPathTest/results/9.OT25.stdout [2024-11-15T15:22:02.177Z] STF 15:22:01.951 - Monitoring processes: OT25 [2024-11-15T15:22:02.504Z] OT25 JUnit version 4.12 [2024-11-15T15:22:02.504Z] OT25 . [2024-11-15T15:22:02.504Z] OT25 Time: 0.005 [2024-11-15T15:22:02.504Z] OT25 [2024-11-15T15:22:02.504Z] OT25 OK (1 test) [2024-11-15T15:22:02.504Z] OT25 [2024-11-15T15:22:02.504Z] STF 15:22:02.291 - Monitoring Report Summary: [2024-11-15T15:22:02.504Z] STF 15:22:02.291 - o Process OT25 ended with the expected exit code (0) [2024-11-15T15:22:02.504Z] STF 15:22:02.292 - [2024-11-15T15:22:02.504Z] STF 15:22:02.292 - +------ Step 10 - (Negative test) Override a non-upgradable platform module using a custom runtime imagewhere the overriding module is in a modularized jar [2024-11-15T15:22:02.504Z] STF 15:22:02.292 - | Run foreground process [2024-11-15T15:22:02.504Z] STF 15:22:02.292 - | Program: C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316799798033/UpgModPath_JarImg_2/20241115-152154-UpgModPathTest/tmp/6.UpJVM/bin/java [2024-11-15T15:22:02.504Z] STF 15:22:02.292 - | Mnemonic: OT27 [2024-11-15T15:22:02.504Z] STF 15:22:02.292 - | Echo: ECHO_ON [2024-11-15T15:22:02.504Z] STF 15:22:02.292 - | Expectation: NON_ZERO_EXIT [1] within 1m [2024-11-15T15:22:02.504Z] STF 15:22:02.292 - | [2024-11-15T15:22:02.505Z] STF 15:22:02.292 - Running command: C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316799798033/UpgModPath_JarImg_2/20241115-152154-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316799798033/UpgModPath_JarImg_2/20241115-152154-UpgModPathTest/modules/8.java.logging.jar -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-11-15T15:22:02.505Z] STF 15:22:02.292 - Redirecting stderr to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316799798033/UpgModPath_JarImg_2/20241115-152154-UpgModPathTest/results/10.OT27.stderr [2024-11-15T15:22:02.505Z] STF 15:22:02.292 - Redirecting stdout to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316799798033/UpgModPath_JarImg_2/20241115-152154-UpgModPathTest/results/10.OT27.stdout [2024-11-15T15:22:02.505Z] STF 15:22:02.304 - Monitoring processes: OT27 [2024-11-15T15:22:02.828Z] OT27 Error occurred during initialization of boot layer [2024-11-15T15:22:02.828Z] OT27 java.lang.module.FindException: Hash of java.logging (bedcf9f9b016de9d6965aeb813d1aa5a7ba4bf40e659f94655f933323eb12783) differs to expected hash (60256a62c6efd709c656f0c3e03a97ed6375519a28c3310359d41193e8565f7b) recorded in java.base [2024-11-15T15:22:02.828Z] STF 15:22:02.558 - Monitoring Report Summary: [2024-11-15T15:22:02.828Z] STF 15:22:02.558 - o Process OT27 ended with the expected exit code (1) [2024-11-15T15:22:02.828Z] STF 15:22:02.559 - [2024-11-15T15:22:02.828Z] STF 15:22:02.559 - +------ Step 11 - Combine stderr and stdout files of process OT27 [2024-11-15T15:22:02.828Z] STF 15:22:02.559 - | Run foreground process [2024-11-15T15:22:02.828Z] STF 15:22:02.559 - | Program: c:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/java [2024-11-15T15:22:02.828Z] STF 15:22:02.559 - | Mnemonic: CO [2024-11-15T15:22:02.828Z] STF 15:22:02.559 - | Echo: ECHO_OFF [2024-11-15T15:22:02.828Z] STF 15:22:02.559 - | Expectation: NON_ZERO_EXIT [0] within 30s [2024-11-15T15:22:02.828Z] STF 15:22:02.559 - | [2024-11-15T15:22:02.829Z] STF 15:22:02.559 - Running command: c:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/java -Dfile1=C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316799798033/UpgModPath_JarImg_2/20241115-152154-UpgModPathTest/results/10.OT27.stdout -Dfile2=C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316799798033/UpgModPath_JarImg_2/20241115-152154-UpgModPathTest/results/10.OT27.stderr -Dfinal.file=C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\aqa-tests\TKG\output_17316799798033\UpgModPath_JarImg_2\20241115-152154-UpgModPathTest\results\combinedOT27.txt -classpath C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\STF\stf.core\bin;C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin net.adoptopenjdk.test.modularity.TestUtil [2024-11-15T15:22:02.829Z] STF 15:22:02.559 - Redirecting stderr to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316799798033/UpgModPath_JarImg_2/20241115-152154-UpgModPathTest/results/11.CO.stderr [2024-11-15T15:22:02.829Z] STF 15:22:02.559 - Redirecting stdout to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316799798033/UpgModPath_JarImg_2/20241115-152154-UpgModPathTest/results/11.CO.stdout [2024-11-15T15:22:02.829Z] STF 15:22:02.570 - Monitoring processes: CO [2024-11-15T15:22:03.262Z] STF 15:22:02.787 - Monitoring Report Summary: [2024-11-15T15:22:03.262Z] STF 15:22:02.787 - o Process CO ended with the expected exit code (0) [2024-11-15T15:22:03.262Z] STF 15:22:02.787 - [2024-11-15T15:22:03.262Z] STF 15:22:02.787 - +------ Step 12 - Check output [2024-11-15T15:22:03.262Z] STF 15:22:02.787 - | Count file matches [2024-11-15T15:22:03.262Z] STF 15:22:02.787 - | TargetFile: C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316799798033/UpgModPath_JarImg_2/20241115-152154-UpgModPathTest/results/combinedOT27.txt [2024-11-15T15:22:03.262Z] STF 15:22:02.787 - | ExpectedNumMatches: 1 [2024-11-15T15:22:03.262Z] STF 15:22:02.787 - | SearchStrings: ["FindException: Hash of java.logging"] [2024-11-15T15:22:03.262Z] STF 15:22:02.787 - | [2024-11-15T15:22:03.262Z] STF 15:22:02.788 - Found 1 instances of ["FindException: Hash of java.logging"] [2024-11-15T15:22:03.262Z] STF 15:22:02.789 - EXECUTE stage completed [2024-11-15T15:22:03.262Z] STF 15:22:02.838 - [2024-11-15T15:22:03.262Z] STF 15:22:02.839 - ==================== T E A R D O W N ==================== [2024-11-15T15:22:03.262Z] STF 15:22:02.839 - Running teardown: perl C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17316799798033\UpgModPath_JarImg_2/20241115-152154-UpgModPathTest/tearDown.pl [2024-11-15T15:22:03.262Z] STF 15:22:03.009 - TEARDOWN stage completed [2024-11-15T15:22:03.262Z] STF 15:22:03.024 - [2024-11-15T15:22:03.262Z] STF 15:22:03.024 - ===================== R E S U L T S ===================== [2024-11-15T15:22:03.262Z] STF 15:22:03.024 - Stage results: [2024-11-15T15:22:03.262Z] STF 15:22:03.024 - setUp: pass [2024-11-15T15:22:03.262Z] STF 15:22:03.024 - execute: pass [2024-11-15T15:22:03.262Z] STF 15:22:03.024 - teardown: pass [2024-11-15T15:22:03.262Z] STF 15:22:03.024 - [2024-11-15T15:22:03.262Z] STF 15:22:03.024 - Overall result: PASSED [2024-11-15T15:22:03.262Z] ----------------------------------- [2024-11-15T15:22:03.262Z] UpgModPath_JarImg_2_PASSED [2024-11-15T15:22:03.262Z] ----------------------------------- [2024-11-15T15:22:03.575Z] [2024-11-15T15:22:03.575Z] TEST TEARDOWN: [2024-11-15T15:22:03.575Z] Nothing to be done for teardown. [2024-11-15T15:22:03.575Z] UpgModPath_JarImg_2 Finish Time: Fri Nov 15 15:22:03 2024 Epoch Time (ms): 1731684123425