UpgModPath_JarImg_2

[2024-11-15T11:53:32.722Z] Running test UpgModPath_JarImg_2 ... [2024-11-15T11:53:33.034Z] =============================================== [2024-11-15T11:53:33.381Z] UpgModPath_JarImg_2 Start Time: Fri Nov 15 11:53:33 2024 Epoch Time (ms): 1731671613027 [2024-11-15T11:53:33.381Z] variation: Mode1000 [2024-11-15T11:53:33.695Z] JVM_OPTIONS: [2024-11-15T11:53:33.695Z] { \ [2024-11-15T11:53:33.695Z] echo ""; echo "TEST SETUP:"; \ [2024-11-15T11:53:33.695Z] echo "Nothing to be done for setup."; \ [2024-11-15T11:53:33.695Z] mkdir -p "C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17316673602909\\UpgModPath_JarImg_2"; \ [2024-11-15T11:53:33.695Z] cd "C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17316673602909\\UpgModPath_JarImg_2"; \ [2024-11-15T11:53:33.695Z] echo ""; echo "TESTING:"; \ [2024-11-15T11:53:33.695Z] perl C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/../../testDependency/system_lib\\" -java-args=' ' -results-root="C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17316673602909\\UpgModPath_JarImg_2" -test=UpgModPathTest -test-args="variant=JarImg"; \ [2024-11-15T11:53:33.695Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_JarImg_2""_PASSED"; echo "-----------------------------------"; cd C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/; rm -f -r "C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17316673602909\\UpgModPath_JarImg_2"; else echo "-----------------------------------"; echo "UpgModPath_JarImg_2""_FAILED"; echo "-----------------------------------"; fi; \ [2024-11-15T11:53:33.695Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-11-15T11:53:33.695Z] echo "Nothing to be done for teardown."; \ [2024-11-15T11:53:33.695Z] } 2>&1 | tee -a "C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17316673602909\\TestTargetResult"; [2024-11-15T11:53:34.111Z] [2024-11-15T11:53:34.111Z] TEST SETUP: [2024-11-15T11:53:34.111Z] Nothing to be done for setup. [2024-11-15T11:53:34.111Z] [2024-11-15T11:53:34.111Z] TESTING: [2024-11-15T11:53:34.111Z] STF 11:53:33.926 - ========================= S T F ========================= [2024-11-15T11:53:34.111Z] systemtest-prereqs has been processed, and set to: c:/workspace/testDependency/system_libRetrieving amount of free space on drive containing C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17316673602909\UpgModPath_JarImg_2 [2024-11-15T11:53:34.436Z] There is 97549 Mb free [2024-11-15T11:53:34.436Z] STF 11:53:33.988 - ================== G E N E R A T I O N ================== [2024-11-15T11:53:34.436Z] STF 11:53:33.991 - Checking JVM: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image [2024-11-15T11:53:34.436Z] STF 11:53:33.991 - Starting process to generate scripts: c:/workspace/workspace/Test_openjdk17_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_openjdk17_hs_sanity.system_x86-32_windows/../../testDependency/system_lib\/log4j/log4j-api.jar;c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17316673602909\UpgModPath_JarImg_2/20241115-115333-UpgModPathTest/stf_parameters.properties, , C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17316673602909\UpgModPath_JarImg_2/20241115-115333-UpgModPathTest" [2024-11-15T11:53:35.124Z] GEN 11:53:34.960 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: 'C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2024-11-15T11:53:35.124Z] GEN 11:53:34.973 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2024-11-15T11:53:35.447Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-11-15T11:53:35.447Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2024-11-15T11:53:35.447Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2024-11-15T11:53:35.447Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2024-11-15T11:53:35.447Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2024-11-15T11:53:35.447Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2024-11-15T11:53:35.447Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2024-11-15T11:53:35.447Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2024-11-15T11:53:35.447Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2024-11-15T11:53:35.447Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2024-11-15T11:53:35.447Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2024-11-15T11:53:35.447Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2024-11-15T11:53:35.447Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2024-11-15T11:53:35.447Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-11-15T11:53:35.447Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-11-15T11:53:35.447Z] GEN C:\\workspace\\workspace\\Test_openjdk17_hs_sanity.system_x86-32_windows\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-11-15T11:53:35.447Z] GEN C:\\workspace\\workspace\\Test_openjdk17_hs_sanity.system_x86-32_windows\\jvmtest\\system\\STF\\stf.core\\bin [2024-11-15T11:53:35.447Z] GEN c:/workspace/testDependency/system_lib/log4j/log4j-api.jar [2024-11-15T11:53:35.447Z] GEN c:/workspace/testDependency/system_lib/log4j/log4j-core.jar [2024-11-15T11:53:35.447Z] GEN c:/workspace/testDependency/system_lib/junit/junit.jar [2024-11-15T11:53:35.447Z] GEN 11:53:35.234 - Using Mode NoOptions. Values = '' [2024-11-15T11:53:35.447Z] GEN 11:53:35.336 - [2024-11-15T11:53:35.447Z] GEN 11:53:35.336 - Test command summary: [2024-11-15T11:53:35.447Z] GEN 11:53:35.337 - Step Stage Command Description [2024-11-15T11:53:35.447Z] GEN 11:53:35.337 - -----+--------+-----------------+------------ [2024-11-15T11:53:35.447Z] GEN 11:53:35.337 - 1 execute jar Create com.hello jar [2024-11-15T11:53:35.447Z] GEN 11:53:35.337 - 2 execute jar Create com.hola jar [2024-11-15T11:53:35.447Z] GEN 11:53:35.337 - 3 execute jar Create com.helper jar [2024-11-15T11:53:35.447Z] GEN 11:53:35.337 - 4 execute jar Create com.discreet jar [2024-11-15T11:53:35.448Z] GEN 11:53:35.337 - 5 execute jar Create tests jar [2024-11-15T11:53:35.448Z] GEN 11:53:35.337 - 6 execute jlink Create runtime image for upgrademodulepath test [2024-11-15T11:53:35.448Z] GEN 11:53:35.337 - 7 execute jar Create com.hello override jar [2024-11-15T11:53:35.448Z] GEN 11:53:35.337 - 8 execute jar Create com.hello override jar [2024-11-15T11:53:35.448Z] GEN 11:53:35.337 - 9 execute Run java Override an application module using a custom runtime image where the overriding module is in a modularized jar [2024-11-15T11:53:35.448Z] GEN 11:53:35.337 - 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-15T11:53:35.448Z] GEN 11:53:35.337 - 11 execute Run java Combine stderr and stdout files of process OT27 [2024-11-15T11:53:35.448Z] GEN 11:53:35.337 - 12 execute count Check output [2024-11-15T11:53:35.448Z] STF 11:53:35.358 - [2024-11-15T11:53:35.448Z] STF 11:53:35.358 - Script generation completed [2024-11-15T11:53:35.448Z] STF 11:53:35.358 - [2024-11-15T11:53:35.448Z] STF 11:53:35.360 - [2024-11-15T11:53:35.448Z] STF 11:53:35.360 - ======================= S E T U P ======================= [2024-11-15T11:53:35.448Z] STF 11:53:35.360 - Running setup: perl C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17316673602909\UpgModPath_JarImg_2/20241115-115333-UpgModPathTest/setUp.pl [2024-11-15T11:53:35.777Z] STF 11:53:35.528 - SETUP stage completed [2024-11-15T11:53:35.777Z] STF 11:53:35.545 - [2024-11-15T11:53:35.777Z] STF 11:53:35.545 - ==================== E X E C U T E - ==================== [2024-11-15T11:53:35.777Z] STF 11:53:35.545 - Running execute: perl C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17316673602909\UpgModPath_JarImg_2/20241115-115333-UpgModPathTest/execute.pl [2024-11-15T11:53:35.777Z] STF 11:53:35.714 - [2024-11-15T11:53:35.777Z] STF 11:53:35.714 - Java version [2024-11-15T11:53:35.777Z] STF 11:53:35.714 - Running: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/java -version [2024-11-15T11:53:36.090Z] openjdk version "17.0.14-beta" 2025-01-21 [2024-11-15T11:53:36.090Z] OpenJDK Runtime Environment Temurin-17.0.14+3-202411132308 (build 17.0.14-beta+3-ea) [2024-11-15T11:53:36.090Z] OpenJDK Client VM Temurin-17.0.14+3-202411132308 (build 17.0.14-beta+3-ea, mixed mode, emulated-client) [2024-11-15T11:53:36.090Z] STF 11:53:35.856 - [2024-11-15T11:53:36.090Z] STF 11:53:35.856 - +------ Step 1 - Create com.hello jar [2024-11-15T11:53:36.090Z] STF 11:53:35.856 - | Create modular jar [2024-11-15T11:53:36.090Z] STF 11:53:35.856 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-11-15T11:53:36.090Z] STF 11:53:35.856 - | ModuleVersion: null [2024-11-15T11:53:36.090Z] STF 11:53:35.856 - | MainClass: null [2024-11-15T11:53:36.090Z] STF 11:53:35.856 - | HashModules: null [2024-11-15T11:53:36.090Z] STF 11:53:35.856 - | [2024-11-15T11:53:36.090Z] STF 11:53:35.857 - Running command: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316673602909/UpgModPath_JarImg_2/20241115-115333-UpgModPathTest/modules/1.com.hello.jar -C C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2024-11-15T11:53:36.090Z] STF 11:53:35.857 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316673602909/UpgModPath_JarImg_2/20241115-115333-UpgModPathTest/results/1.CMJ.stderr [2024-11-15T11:53:36.090Z] STF 11:53:35.857 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316673602909/UpgModPath_JarImg_2/20241115-115333-UpgModPathTest/results/1.CMJ.stdout [2024-11-15T11:53:36.090Z] STF 11:53:35.893 - Monitoring processes: CMJ [2024-11-15T11:53:36.418Z] STF 11:53:36.307 - Monitoring Report Summary: [2024-11-15T11:53:36.418Z] STF 11:53:36.307 - o Process CMJ ended with the expected exit code (0) [2024-11-15T11:53:36.418Z] STF 11:53:36.307 - Created modular jar: 1.com.hello.jar [2024-11-15T11:53:36.418Z] STF 11:53:36.307 - [2024-11-15T11:53:36.418Z] STF 11:53:36.307 - +------ Step 2 - Create com.hola jar [2024-11-15T11:53:36.418Z] STF 11:53:36.307 - | Create modular jar [2024-11-15T11:53:36.418Z] STF 11:53:36.307 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-11-15T11:53:36.418Z] STF 11:53:36.307 - | ModuleVersion: null [2024-11-15T11:53:36.418Z] STF 11:53:36.307 - | MainClass: null [2024-11-15T11:53:36.418Z] STF 11:53:36.307 - | HashModules: null [2024-11-15T11:53:36.418Z] STF 11:53:36.307 - | [2024-11-15T11:53:36.418Z] STF 11:53:36.308 - Running command: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316673602909/UpgModPath_JarImg_2/20241115-115333-UpgModPathTest/modules/2.com.hola.jar -C C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2024-11-15T11:53:36.418Z] STF 11:53:36.308 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316673602909/UpgModPath_JarImg_2/20241115-115333-UpgModPathTest/results/2.CMJ.stderr [2024-11-15T11:53:36.418Z] STF 11:53:36.308 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316673602909/UpgModPath_JarImg_2/20241115-115333-UpgModPathTest/results/2.CMJ.stdout [2024-11-15T11:53:36.418Z] STF 11:53:36.315 - Monitoring processes: CMJ [2024-11-15T11:53:37.105Z] STF 11:53:36.713 - Monitoring Report Summary: [2024-11-15T11:53:37.105Z] STF 11:53:36.714 - o Process CMJ ended with the expected exit code (0) [2024-11-15T11:53:37.105Z] STF 11:53:36.714 - Created modular jar: 2.com.hola.jar [2024-11-15T11:53:37.105Z] STF 11:53:36.714 - [2024-11-15T11:53:37.105Z] STF 11:53:36.714 - +------ Step 3 - Create com.helper jar [2024-11-15T11:53:37.105Z] STF 11:53:36.714 - | Create modular jar [2024-11-15T11:53:37.105Z] STF 11:53:36.714 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-11-15T11:53:37.105Z] STF 11:53:36.714 - | ModuleVersion: null [2024-11-15T11:53:37.105Z] STF 11:53:36.714 - | MainClass: null [2024-11-15T11:53:37.105Z] STF 11:53:36.714 - | HashModules: null [2024-11-15T11:53:37.105Z] STF 11:53:36.714 - | [2024-11-15T11:53:37.105Z] STF 11:53:36.715 - Running command: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316673602909/UpgModPath_JarImg_2/20241115-115333-UpgModPathTest/modules/3.com.helper.jar -C C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2024-11-15T11:53:37.105Z] STF 11:53:36.715 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316673602909/UpgModPath_JarImg_2/20241115-115333-UpgModPathTest/results/3.CMJ.stderr [2024-11-15T11:53:37.105Z] STF 11:53:36.715 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316673602909/UpgModPath_JarImg_2/20241115-115333-UpgModPathTest/results/3.CMJ.stdout [2024-11-15T11:53:37.105Z] STF 11:53:36.724 - Monitoring processes: CMJ [2024-11-15T11:53:37.430Z] STF 11:53:37.113 - Monitoring Report Summary: [2024-11-15T11:53:37.430Z] STF 11:53:37.113 - o Process CMJ ended with the expected exit code (0) [2024-11-15T11:53:37.430Z] STF 11:53:37.113 - Created modular jar: 3.com.helper.jar [2024-11-15T11:53:37.430Z] STF 11:53:37.113 - [2024-11-15T11:53:37.430Z] STF 11:53:37.113 - +------ Step 4 - Create com.discreet jar [2024-11-15T11:53:37.430Z] STF 11:53:37.113 - | Create modular jar [2024-11-15T11:53:37.430Z] STF 11:53:37.113 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-11-15T11:53:37.430Z] STF 11:53:37.113 - | ModuleVersion: null [2024-11-15T11:53:37.430Z] STF 11:53:37.113 - | MainClass: null [2024-11-15T11:53:37.430Z] STF 11:53:37.113 - | HashModules: null [2024-11-15T11:53:37.430Z] STF 11:53:37.113 - | [2024-11-15T11:53:37.430Z] STF 11:53:37.113 - Running command: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316673602909/UpgModPath_JarImg_2/20241115-115333-UpgModPathTest/modules/4.com.discreet.jar -C C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2024-11-15T11:53:37.430Z] STF 11:53:37.113 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316673602909/UpgModPath_JarImg_2/20241115-115333-UpgModPathTest/results/4.CMJ.stderr [2024-11-15T11:53:37.430Z] STF 11:53:37.113 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316673602909/UpgModPath_JarImg_2/20241115-115333-UpgModPathTest/results/4.CMJ.stdout [2024-11-15T11:53:37.430Z] STF 11:53:37.121 - Monitoring processes: CMJ [2024-11-15T11:53:37.756Z] STF 11:53:37.505 - Monitoring Report Summary: [2024-11-15T11:53:37.756Z] STF 11:53:37.505 - o Process CMJ ended with the expected exit code (0) [2024-11-15T11:53:37.756Z] STF 11:53:37.505 - Created modular jar: 4.com.discreet.jar [2024-11-15T11:53:37.756Z] STF 11:53:37.505 - [2024-11-15T11:53:37.756Z] STF 11:53:37.505 - +------ Step 5 - Create tests jar [2024-11-15T11:53:37.756Z] STF 11:53:37.505 - | Create modular jar [2024-11-15T11:53:37.756Z] STF 11:53:37.505 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-11-15T11:53:37.756Z] STF 11:53:37.505 - | ModuleVersion: null [2024-11-15T11:53:37.756Z] STF 11:53:37.505 - | MainClass: null [2024-11-15T11:53:37.756Z] STF 11:53:37.505 - | HashModules: null [2024-11-15T11:53:37.756Z] STF 11:53:37.505 - | [2024-11-15T11:53:37.756Z] STF 11:53:37.506 - Running command: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316673602909/UpgModPath_JarImg_2/20241115-115333-UpgModPathTest/modules/5.com.test.jar -C C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2024-11-15T11:53:37.756Z] STF 11:53:37.506 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316673602909/UpgModPath_JarImg_2/20241115-115333-UpgModPathTest/results/5.CMJ.stderr [2024-11-15T11:53:37.756Z] STF 11:53:37.506 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316673602909/UpgModPath_JarImg_2/20241115-115333-UpgModPathTest/results/5.CMJ.stdout [2024-11-15T11:53:37.756Z] STF 11:53:37.513 - Monitoring processes: CMJ [2024-11-15T11:53:38.083Z] STF 11:53:37.906 - Monitoring Report Summary: [2024-11-15T11:53:38.083Z] STF 11:53:37.906 - o Process CMJ ended with the expected exit code (0) [2024-11-15T11:53:38.083Z] STF 11:53:37.906 - Created modular jar: 5.com.test.jar [2024-11-15T11:53:38.083Z] STF 11:53:37.906 - [2024-11-15T11:53:38.083Z] STF 11:53:37.906 - +------ Step 6 - Create runtime image for upgrademodulepath test [2024-11-15T11:53:38.083Z] STF 11:53:37.906 - | Run jlink to create runtime image [2024-11-15T11:53:38.083Z] STF 11:53:37.906 - | ImageName: UpJVM [2024-11-15T11:53:38.083Z] STF 11:53:37.906 - | [2024-11-15T11:53:38.084Z] STF 11:53:37.907 - Running command: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jlink --module-path c:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jdkbinary\j2sdk-image\jmods;C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\aqa-tests\TKG\output_17316673602909\UpgModPath_JarImg_2\20241115-115333-UpgModPathTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\aqa-tests\TKG\output_17316673602909\UpgModPath_JarImg_2\20241115-115333-UpgModPathTest\tmp\6.UpJVM [2024-11-15T11:53:38.084Z] STF 11:53:37.907 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316673602909/UpgModPath_JarImg_2/20241115-115333-UpgModPathTest/results/6.JLNK.stderr [2024-11-15T11:53:38.084Z] STF 11:53:37.907 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316673602909/UpgModPath_JarImg_2/20241115-115333-UpgModPathTest/results/6.JLNK.stdout [2024-11-15T11:53:38.084Z] STF 11:53:37.914 - Monitoring processes: JLNK [2024-11-15T11:53:40.952Z] STF 11:53:40.420 - Monitoring Report Summary: [2024-11-15T11:53:40.952Z] STF 11:53:40.420 - o Process JLNK ended with the expected exit code (0) [2024-11-15T11:53:40.952Z] STF 11:53:40.421 - [2024-11-15T11:53:40.952Z] STF 11:53:40.421 - +------ Step 7 - Create com.hello override jar [2024-11-15T11:53:40.952Z] STF 11:53:40.421 - | Create modular jar [2024-11-15T11:53:40.952Z] STF 11:53:40.421 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-11-15T11:53:40.952Z] STF 11:53:40.421 - | ModuleVersion: null [2024-11-15T11:53:40.952Z] STF 11:53:40.421 - | MainClass: null [2024-11-15T11:53:40.952Z] STF 11:53:40.421 - | HashModules: null [2024-11-15T11:53:40.952Z] STF 11:53:40.421 - | [2024-11-15T11:53:40.952Z] STF 11:53:40.422 - Running command: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316673602909/UpgModPath_JarImg_2/20241115-115333-UpgModPathTest/modules/7.com.hello.jar -C C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2024-11-15T11:53:40.952Z] STF 11:53:40.422 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316673602909/UpgModPath_JarImg_2/20241115-115333-UpgModPathTest/results/7.CMJ.stderr [2024-11-15T11:53:40.952Z] STF 11:53:40.422 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316673602909/UpgModPath_JarImg_2/20241115-115333-UpgModPathTest/results/7.CMJ.stdout [2024-11-15T11:53:40.952Z] STF 11:53:40.431 - Monitoring processes: CMJ [2024-11-15T11:53:40.952Z] STF 11:53:40.812 - Monitoring Report Summary: [2024-11-15T11:53:40.952Z] STF 11:53:40.812 - o Process CMJ ended with the expected exit code (0) [2024-11-15T11:53:40.952Z] STF 11:53:40.812 - Created modular jar: 7.com.hello.jar [2024-11-15T11:53:40.952Z] STF 11:53:40.812 - [2024-11-15T11:53:40.952Z] STF 11:53:40.812 - +------ Step 8 - Create com.hello override jar [2024-11-15T11:53:40.952Z] STF 11:53:40.812 - | Create modular jar [2024-11-15T11:53:40.952Z] STF 11:53:40.812 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2024-11-15T11:53:40.952Z] STF 11:53:40.812 - | ModuleVersion: null [2024-11-15T11:53:40.952Z] STF 11:53:40.812 - | MainClass: null [2024-11-15T11:53:40.952Z] STF 11:53:40.812 - | HashModules: null [2024-11-15T11:53:40.952Z] STF 11:53:40.812 - | [2024-11-15T11:53:40.952Z] STF 11:53:40.813 - Running command: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316673602909/UpgModPath_JarImg_2/20241115-115333-UpgModPathTest/modules/8.java.logging.jar -C C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.logging . [2024-11-15T11:53:40.952Z] STF 11:53:40.813 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316673602909/UpgModPath_JarImg_2/20241115-115333-UpgModPathTest/results/8.CMJ.stderr [2024-11-15T11:53:40.952Z] STF 11:53:40.813 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316673602909/UpgModPath_JarImg_2/20241115-115333-UpgModPathTest/results/8.CMJ.stdout [2024-11-15T11:53:40.952Z] STF 11:53:40.820 - Monitoring processes: CMJ [2024-11-15T11:53:41.642Z] STF 11:53:41.212 - Monitoring Report Summary: [2024-11-15T11:53:41.642Z] STF 11:53:41.212 - o Process CMJ ended with the expected exit code (0) [2024-11-15T11:53:41.642Z] STF 11:53:41.212 - Created modular jar: 8.java.logging.jar [2024-11-15T11:53:41.642Z] STF 11:53:41.212 - [2024-11-15T11:53:41.642Z] STF 11:53:41.212 - +------ Step 9 - Override an application module using a custom runtime image where the overriding module is in a modularized jar [2024-11-15T11:53:41.642Z] STF 11:53:41.212 - | Run foreground process [2024-11-15T11:53:41.642Z] STF 11:53:41.212 - | Program: C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316673602909/UpgModPath_JarImg_2/20241115-115333-UpgModPathTest/tmp/6.UpJVM/bin/java [2024-11-15T11:53:41.642Z] STF 11:53:41.212 - | Mnemonic: OT25 [2024-11-15T11:53:41.642Z] STF 11:53:41.212 - | Echo: ECHO_ON [2024-11-15T11:53:41.642Z] STF 11:53:41.212 - | Expectation: CLEAN_RUN within 1m [2024-11-15T11:53:41.642Z] STF 11:53:41.212 - | [2024-11-15T11:53:41.642Z] STF 11:53:41.213 - Running command: C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316673602909/UpgModPath_JarImg_2/20241115-115333-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316673602909/UpgModPath_JarImg_2/20241115-115333-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-15T11:53:41.642Z] STF 11:53:41.213 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316673602909/UpgModPath_JarImg_2/20241115-115333-UpgModPathTest/results/9.OT25.stderr [2024-11-15T11:53:41.642Z] STF 11:53:41.213 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316673602909/UpgModPath_JarImg_2/20241115-115333-UpgModPathTest/results/9.OT25.stdout [2024-11-15T11:53:41.642Z] STF 11:53:41.254 - Monitoring processes: OT25 [2024-11-15T11:53:41.642Z] OT25 JUnit version 4.12 [2024-11-15T11:53:41.965Z] OT25 . [2024-11-15T11:53:41.965Z] OT25 Time: 0.006 [2024-11-15T11:53:41.965Z] OT25 [2024-11-15T11:53:41.965Z] OT25 OK (1 test) [2024-11-15T11:53:41.965Z] OT25 [2024-11-15T11:53:41.965Z] STF 11:53:41.637 - Monitoring Report Summary: [2024-11-15T11:53:41.965Z] STF 11:53:41.637 - o Process OT25 ended with the expected exit code (0) [2024-11-15T11:53:41.965Z] STF 11:53:41.637 - [2024-11-15T11:53:41.965Z] STF 11:53:41.637 - +------ 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-15T11:53:41.965Z] STF 11:53:41.637 - | Run foreground process [2024-11-15T11:53:41.965Z] STF 11:53:41.637 - | Program: C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316673602909/UpgModPath_JarImg_2/20241115-115333-UpgModPathTest/tmp/6.UpJVM/bin/java [2024-11-15T11:53:41.965Z] STF 11:53:41.637 - | Mnemonic: OT27 [2024-11-15T11:53:41.965Z] STF 11:53:41.637 - | Echo: ECHO_ON [2024-11-15T11:53:41.965Z] STF 11:53:41.637 - | Expectation: NON_ZERO_EXIT [1] within 1m [2024-11-15T11:53:41.965Z] STF 11:53:41.637 - | [2024-11-15T11:53:41.965Z] STF 11:53:41.638 - Running command: C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316673602909/UpgModPath_JarImg_2/20241115-115333-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316673602909/UpgModPath_JarImg_2/20241115-115333-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-15T11:53:41.965Z] STF 11:53:41.638 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316673602909/UpgModPath_JarImg_2/20241115-115333-UpgModPathTest/results/10.OT27.stderr [2024-11-15T11:53:41.965Z] STF 11:53:41.638 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316673602909/UpgModPath_JarImg_2/20241115-115333-UpgModPathTest/results/10.OT27.stdout [2024-11-15T11:53:41.965Z] STF 11:53:41.650 - Monitoring processes: OT27 [2024-11-15T11:53:41.965Z] OT27 Error occurred during initialization of boot layer [2024-11-15T11:53:41.965Z] OT27 java.lang.module.FindException: Hash of java.logging (512250f1143c7166516e3296bd8823a2d12234bb335dc708c52eb0684cf15c53) differs to expected hash (faf3e6b21ad08477b12a79ff7bedb4f25684cf79b2dfa62b576ef26ec2bee288) recorded in java.base [2024-11-15T11:53:41.965Z] STF 11:53:41.895 - Monitoring Report Summary: [2024-11-15T11:53:41.965Z] STF 11:53:41.895 - o Process OT27 ended with the expected exit code (1) [2024-11-15T11:53:41.965Z] STF 11:53:41.895 - [2024-11-15T11:53:41.965Z] STF 11:53:41.895 - +------ Step 11 - Combine stderr and stdout files of process OT27 [2024-11-15T11:53:41.965Z] STF 11:53:41.895 - | Run foreground process [2024-11-15T11:53:41.965Z] STF 11:53:41.895 - | Program: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/java [2024-11-15T11:53:41.965Z] STF 11:53:41.895 - | Mnemonic: CO [2024-11-15T11:53:41.965Z] STF 11:53:41.895 - | Echo: ECHO_OFF [2024-11-15T11:53:41.965Z] STF 11:53:41.895 - | Expectation: NON_ZERO_EXIT [0] within 30s [2024-11-15T11:53:41.965Z] STF 11:53:41.895 - | [2024-11-15T11:53:41.965Z] STF 11:53:41.896 - Running command: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/java -Dfile1=C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316673602909/UpgModPath_JarImg_2/20241115-115333-UpgModPathTest/results/10.OT27.stdout -Dfile2=C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316673602909/UpgModPath_JarImg_2/20241115-115333-UpgModPathTest/results/10.OT27.stderr -Dfinal.file=C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\aqa-tests\TKG\output_17316673602909\UpgModPath_JarImg_2\20241115-115333-UpgModPathTest\results\combinedOT27.txt -classpath C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\STF\stf.core\bin;C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin net.adoptopenjdk.test.modularity.TestUtil [2024-11-15T11:53:41.966Z] STF 11:53:41.896 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316673602909/UpgModPath_JarImg_2/20241115-115333-UpgModPathTest/results/11.CO.stderr [2024-11-15T11:53:41.966Z] STF 11:53:41.896 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316673602909/UpgModPath_JarImg_2/20241115-115333-UpgModPathTest/results/11.CO.stdout [2024-11-15T11:53:41.966Z] STF 11:53:41.909 - Monitoring processes: CO [2024-11-15T11:53:42.291Z] STF 11:53:42.151 - Monitoring Report Summary: [2024-11-15T11:53:42.291Z] STF 11:53:42.151 - o Process CO ended with the expected exit code (0) [2024-11-15T11:53:42.291Z] STF 11:53:42.151 - [2024-11-15T11:53:42.291Z] STF 11:53:42.151 - +------ Step 12 - Check output [2024-11-15T11:53:42.291Z] STF 11:53:42.151 - | Count file matches [2024-11-15T11:53:42.291Z] STF 11:53:42.151 - | TargetFile: C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17316673602909/UpgModPath_JarImg_2/20241115-115333-UpgModPathTest/results/combinedOT27.txt [2024-11-15T11:53:42.291Z] STF 11:53:42.151 - | ExpectedNumMatches: 1 [2024-11-15T11:53:42.291Z] STF 11:53:42.151 - | SearchStrings: ["FindException: Hash of java.logging"] [2024-11-15T11:53:42.291Z] STF 11:53:42.151 - | [2024-11-15T11:53:42.291Z] STF 11:53:42.153 - Found 1 instances of ["FindException: Hash of java.logging"] [2024-11-15T11:53:42.291Z] STF 11:53:42.153 - EXECUTE stage completed [2024-11-15T11:53:42.291Z] STF 11:53:42.216 - [2024-11-15T11:53:42.291Z] STF 11:53:42.216 - ==================== T E A R D O W N ==================== [2024-11-15T11:53:42.291Z] STF 11:53:42.216 - Running teardown: perl C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17316673602909\UpgModPath_JarImg_2/20241115-115333-UpgModPathTest/tearDown.pl [2024-11-15T11:53:42.706Z] STF 11:53:42.423 - TEARDOWN stage completed [2024-11-15T11:53:42.706Z] STF 11:53:42.438 - [2024-11-15T11:53:42.706Z] STF 11:53:42.438 - ===================== R E S U L T S ===================== [2024-11-15T11:53:42.706Z] STF 11:53:42.438 - Stage results: [2024-11-15T11:53:42.706Z] STF 11:53:42.438 - setUp: pass [2024-11-15T11:53:42.706Z] STF 11:53:42.438 - execute: pass [2024-11-15T11:53:42.706Z] STF 11:53:42.438 - teardown: pass [2024-11-15T11:53:42.706Z] STF 11:53:42.438 - [2024-11-15T11:53:42.706Z] STF 11:53:42.438 - Overall result: PASSED [2024-11-15T11:53:42.706Z] ----------------------------------- [2024-11-15T11:53:42.706Z] UpgModPath_JarImg_2_PASSED [2024-11-15T11:53:42.706Z] ----------------------------------- [2024-11-15T11:53:42.706Z] [2024-11-15T11:53:42.706Z] TEST TEARDOWN: [2024-11-15T11:53:42.706Z] Nothing to be done for teardown. [2024-11-15T11:53:43.019Z] UpgModPath_JarImg_2 Finish Time: Fri Nov 15 11:53:42 2024 Epoch Time (ms): 1731671622778