UpgModPath_Jar_2

[2024-08-16T23:08:27.786Z] Running test UpgModPath_Jar_2 ... [2024-08-16T23:08:28.095Z] =============================================== [2024-08-16T23:08:28.405Z] UpgModPath_Jar_2 Start Time: Fri Aug 16 23:08:28 2024 Epoch Time (ms): 1723849708086 [2024-08-16T23:08:28.716Z] variation: Mode1000 [2024-08-16T23:08:29.080Z] JVM_OPTIONS: [2024-08-16T23:08:29.080Z] { \ [2024-08-16T23:08:29.080Z] echo ""; echo "TEST SETUP:"; \ [2024-08-16T23:08:29.080Z] echo "Nothing to be done for setup."; \ [2024-08-16T23:08:29.080Z] mkdir -p "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17238456494518\\UpgModPath_Jar_2"; \ [2024-08-16T23:08:29.080Z] cd "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17238456494518\\UpgModPath_Jar_2"; \ [2024-08-16T23:08:29.080Z] echo ""; echo "TESTING:"; \ [2024-08-16T23:08:29.081Z] perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/../../testDependency/system_lib\\" -java-args=' ' -results-root="C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17238456494518\\UpgModPath_Jar_2" -test=UpgModPathTest -test-args="variant=Jar"; \ [2024-08-16T23:08:29.081Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_Jar_2""_PASSED"; echo "-----------------------------------"; cd C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/; rm -f -r "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17238456494518\\UpgModPath_Jar_2"; else echo "-----------------------------------"; echo "UpgModPath_Jar_2""_FAILED"; echo "-----------------------------------"; fi; \ [2024-08-16T23:08:29.081Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-08-16T23:08:29.081Z] echo "Nothing to be done for teardown."; \ [2024-08-16T23:08:29.081Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17238456494518\\TestTargetResult"; [2024-08-16T23:08:29.432Z] [2024-08-16T23:08:29.432Z] TEST SETUP: [2024-08-16T23:08:29.432Z] Nothing to be done for setup. [2024-08-16T23:08:29.432Z] [2024-08-16T23:08:29.432Z] TESTING: [2024-08-16T23:08:29.750Z] STF 23:08:29.464 - ========================= S T F ========================= [2024-08-16T23:08:29.750Z] systemtest-prereqs has been processed, and set to: c:/jenkins/testDependency/system_libRetrieving amount of free space on drive containing C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17238456494518\UpgModPath_Jar_2 [2024-08-16T23:08:29.750Z] There is 111612 Mb free [2024-08-16T23:08:29.750Z] STF 23:08:29.506 - ================== G E N E R A T I O N ================== [2024-08-16T23:08:29.750Z] STF 23:08:29.508 - Checking JVM: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image [2024-08-16T23:08:29.750Z] STF 23:08:29.508 - Starting process to generate scripts: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/../../testDependency/system_lib\/log4j/log4j-api.jar;c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17238456494518\UpgModPath_Jar_2/20240816-230829-UpgModPathTest/stf_parameters.properties, , C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17238456494518\UpgModPath_Jar_2/20240816-230829-UpgModPathTest" [2024-08-16T23:08:30.431Z] GEN 23:08:30.265 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: 'C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2024-08-16T23:08:30.431Z] GEN 23:08:30.279 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2024-08-16T23:08:30.753Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-08-16T23:08:30.753Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2024-08-16T23:08:30.753Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2024-08-16T23:08:30.753Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2024-08-16T23:08:30.753Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2024-08-16T23:08:30.753Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2024-08-16T23:08:30.753Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2024-08-16T23:08:30.753Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2024-08-16T23:08:30.753Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2024-08-16T23:08:30.753Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2024-08-16T23:08:30.753Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2024-08-16T23:08:30.753Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2024-08-16T23:08:30.753Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2024-08-16T23:08:30.753Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-08-16T23:08:30.753Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-08-16T23:08:30.754Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-08-16T23:08:30.754Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\\jvmtest\\system\\STF\\stf.core\\bin [2024-08-16T23:08:30.754Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-08-16T23:08:30.754Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-08-16T23:08:30.754Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar [2024-08-16T23:08:30.754Z] GEN 23:08:30.467 - Using Mode NoOptions. Values = '' [2024-08-16T23:08:30.754Z] GEN 23:08:30.562 - [2024-08-16T23:08:30.754Z] GEN 23:08:30.562 - Test command summary: [2024-08-16T23:08:30.754Z] GEN 23:08:30.562 - Step Stage Command Description [2024-08-16T23:08:30.754Z] GEN 23:08:30.562 - -----+--------+-----------------+------------ [2024-08-16T23:08:30.754Z] GEN 23:08:30.562 - 1 execute jar Create com.hello jar [2024-08-16T23:08:30.754Z] GEN 23:08:30.562 - 2 execute jar Create com.hola jar [2024-08-16T23:08:30.754Z] GEN 23:08:30.562 - 3 execute jar Create com.helper jar [2024-08-16T23:08:30.754Z] GEN 23:08:30.562 - 4 execute jar Create com.discreet jar [2024-08-16T23:08:30.754Z] GEN 23:08:30.563 - 5 execute jar Create tests jar [2024-08-16T23:08:30.754Z] GEN 23:08:30.563 - 6 execute jlink Create runtime image for upgrademodulepath test [2024-08-16T23:08:30.754Z] GEN 23:08:30.563 - 7 execute jar Create com.hello override jar [2024-08-16T23:08:30.754Z] GEN 23:08:30.563 - 8 execute jar Create com.hello override jar [2024-08-16T23:08:30.754Z] GEN 23:08:30.563 - 9 execute Run java Override an application module using modularized jar [2024-08-16T23:08:30.754Z] GEN 23:08:30.563 - 10 execute Run java (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar [2024-08-16T23:08:30.754Z] GEN 23:08:30.563 - 11 execute Run java Combine stderr and stdout files of process OT24 [2024-08-16T23:08:30.754Z] GEN 23:08:30.563 - 12 execute count Check output [2024-08-16T23:08:30.754Z] STF 23:08:30.589 - [2024-08-16T23:08:30.754Z] STF 23:08:30.589 - Script generation completed [2024-08-16T23:08:30.754Z] STF 23:08:30.589 - [2024-08-16T23:08:30.754Z] STF 23:08:30.594 - [2024-08-16T23:08:30.754Z] STF 23:08:30.594 - ======================= S E T U P ======================= [2024-08-16T23:08:30.754Z] STF 23:08:30.594 - Running setup: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17238456494518\UpgModPath_Jar_2/20240816-230829-UpgModPathTest/setUp.pl [2024-08-16T23:08:30.754Z] STF 23:08:30.717 - SETUP stage completed [2024-08-16T23:08:30.754Z] STF 23:08:30.727 - [2024-08-16T23:08:30.754Z] STF 23:08:30.727 - ==================== E X E C U T E - ==================== [2024-08-16T23:08:30.754Z] STF 23:08:30.727 - Running execute: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17238456494518\UpgModPath_Jar_2/20240816-230829-UpgModPathTest/execute.pl [2024-08-16T23:08:31.072Z] STF 23:08:30.849 - [2024-08-16T23:08:31.072Z] STF 23:08:30.849 - Java version [2024-08-16T23:08:31.072Z] STF 23:08:30.849 - Running: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java -version [2024-08-16T23:08:31.072Z] openjdk version "11.0.25-beta" 2024-10-15 [2024-08-16T23:08:31.072Z] OpenJDK Runtime Environment Temurin-11.0.25+3-202408161501 (build 11.0.25-beta+3-ea) [2024-08-16T23:08:31.072Z] OpenJDK Client VM Temurin-11.0.25+3-202408161501 (build 11.0.25-beta+3-ea, mixed mode) [2024-08-16T23:08:31.073Z] STF 23:08:30.944 - [2024-08-16T23:08:31.073Z] STF 23:08:30.944 - +------ Step 1 - Create com.hello jar [2024-08-16T23:08:31.073Z] STF 23:08:30.944 - | Create modular jar [2024-08-16T23:08:31.073Z] STF 23:08:30.944 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-08-16T23:08:31.073Z] STF 23:08:30.944 - | ModuleVersion: null [2024-08-16T23:08:31.073Z] STF 23:08:30.944 - | MainClass: null [2024-08-16T23:08:31.073Z] STF 23:08:30.944 - | HashModules: null [2024-08-16T23:08:31.073Z] STF 23:08:30.944 - | [2024-08-16T23:08:31.073Z] STF 23:08:30.944 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17238456494518/UpgModPath_Jar_2/20240816-230829-UpgModPathTest/modules/1.com.hello.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2024-08-16T23:08:31.073Z] STF 23:08:30.945 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17238456494518/UpgModPath_Jar_2/20240816-230829-UpgModPathTest/results/1.CMJ.stderr [2024-08-16T23:08:31.073Z] STF 23:08:30.945 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17238456494518/UpgModPath_Jar_2/20240816-230829-UpgModPathTest/results/1.CMJ.stdout [2024-08-16T23:08:31.073Z] STF 23:08:30.970 - Monitoring processes: CMJ [2024-08-16T23:08:31.395Z] STF 23:08:31.197 - Monitoring Report Summary: [2024-08-16T23:08:31.395Z] STF 23:08:31.197 - o Process CMJ ended with the expected exit code (0) [2024-08-16T23:08:31.395Z] STF 23:08:31.197 - Created modular jar: 1.com.hello.jar [2024-08-16T23:08:31.395Z] STF 23:08:31.197 - [2024-08-16T23:08:31.395Z] STF 23:08:31.197 - +------ Step 2 - Create com.hola jar [2024-08-16T23:08:31.395Z] STF 23:08:31.197 - | Create modular jar [2024-08-16T23:08:31.395Z] STF 23:08:31.197 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-08-16T23:08:31.395Z] STF 23:08:31.197 - | ModuleVersion: null [2024-08-16T23:08:31.395Z] STF 23:08:31.197 - | MainClass: null [2024-08-16T23:08:31.395Z] STF 23:08:31.197 - | HashModules: null [2024-08-16T23:08:31.395Z] STF 23:08:31.197 - | [2024-08-16T23:08:31.395Z] STF 23:08:31.198 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17238456494518/UpgModPath_Jar_2/20240816-230829-UpgModPathTest/modules/2.com.hola.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2024-08-16T23:08:31.395Z] STF 23:08:31.198 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17238456494518/UpgModPath_Jar_2/20240816-230829-UpgModPathTest/results/2.CMJ.stderr [2024-08-16T23:08:31.395Z] STF 23:08:31.198 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17238456494518/UpgModPath_Jar_2/20240816-230829-UpgModPathTest/results/2.CMJ.stdout [2024-08-16T23:08:31.395Z] STF 23:08:31.204 - Monitoring processes: CMJ [2024-08-16T23:08:31.712Z] STF 23:08:31.439 - Monitoring Report Summary: [2024-08-16T23:08:31.712Z] STF 23:08:31.439 - o Process CMJ ended with the expected exit code (0) [2024-08-16T23:08:31.712Z] STF 23:08:31.439 - Created modular jar: 2.com.hola.jar [2024-08-16T23:08:31.712Z] STF 23:08:31.439 - [2024-08-16T23:08:31.712Z] STF 23:08:31.439 - +------ Step 3 - Create com.helper jar [2024-08-16T23:08:31.712Z] STF 23:08:31.439 - | Create modular jar [2024-08-16T23:08:31.712Z] STF 23:08:31.439 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-08-16T23:08:31.712Z] STF 23:08:31.439 - | ModuleVersion: null [2024-08-16T23:08:31.712Z] STF 23:08:31.439 - | MainClass: null [2024-08-16T23:08:31.712Z] STF 23:08:31.439 - | HashModules: null [2024-08-16T23:08:31.712Z] STF 23:08:31.439 - | [2024-08-16T23:08:31.712Z] STF 23:08:31.439 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17238456494518/UpgModPath_Jar_2/20240816-230829-UpgModPathTest/modules/3.com.helper.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2024-08-16T23:08:31.712Z] STF 23:08:31.439 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17238456494518/UpgModPath_Jar_2/20240816-230829-UpgModPathTest/results/3.CMJ.stderr [2024-08-16T23:08:31.712Z] STF 23:08:31.439 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17238456494518/UpgModPath_Jar_2/20240816-230829-UpgModPathTest/results/3.CMJ.stdout [2024-08-16T23:08:31.712Z] STF 23:08:31.444 - Monitoring processes: CMJ [2024-08-16T23:08:31.712Z] STF 23:08:31.670 - Monitoring Report Summary: [2024-08-16T23:08:31.712Z] STF 23:08:31.670 - o Process CMJ ended with the expected exit code (0) [2024-08-16T23:08:31.712Z] STF 23:08:31.670 - Created modular jar: 3.com.helper.jar [2024-08-16T23:08:31.712Z] STF 23:08:31.670 - [2024-08-16T23:08:31.713Z] STF 23:08:31.670 - +------ Step 4 - Create com.discreet jar [2024-08-16T23:08:31.713Z] STF 23:08:31.670 - | Create modular jar [2024-08-16T23:08:31.713Z] STF 23:08:31.670 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-08-16T23:08:31.713Z] STF 23:08:31.670 - | ModuleVersion: null [2024-08-16T23:08:31.713Z] STF 23:08:31.670 - | MainClass: null [2024-08-16T23:08:31.713Z] STF 23:08:31.670 - | HashModules: null [2024-08-16T23:08:31.713Z] STF 23:08:31.670 - | [2024-08-16T23:08:31.713Z] STF 23:08:31.671 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17238456494518/UpgModPath_Jar_2/20240816-230829-UpgModPathTest/modules/4.com.discreet.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2024-08-16T23:08:31.713Z] STF 23:08:31.671 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17238456494518/UpgModPath_Jar_2/20240816-230829-UpgModPathTest/results/4.CMJ.stderr [2024-08-16T23:08:31.713Z] STF 23:08:31.671 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17238456494518/UpgModPath_Jar_2/20240816-230829-UpgModPathTest/results/4.CMJ.stdout [2024-08-16T23:08:31.713Z] STF 23:08:31.677 - Monitoring processes: CMJ [2024-08-16T23:08:32.031Z] STF 23:08:31.910 - Monitoring Report Summary: [2024-08-16T23:08:32.031Z] STF 23:08:31.910 - o Process CMJ ended with the expected exit code (0) [2024-08-16T23:08:32.031Z] STF 23:08:31.910 - Created modular jar: 4.com.discreet.jar [2024-08-16T23:08:32.031Z] STF 23:08:31.910 - [2024-08-16T23:08:32.031Z] STF 23:08:31.910 - +------ Step 5 - Create tests jar [2024-08-16T23:08:32.031Z] STF 23:08:31.910 - | Create modular jar [2024-08-16T23:08:32.031Z] STF 23:08:31.910 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-08-16T23:08:32.031Z] STF 23:08:31.910 - | ModuleVersion: null [2024-08-16T23:08:32.031Z] STF 23:08:31.910 - | MainClass: null [2024-08-16T23:08:32.031Z] STF 23:08:31.910 - | HashModules: null [2024-08-16T23:08:32.031Z] STF 23:08:31.910 - | [2024-08-16T23:08:32.031Z] STF 23:08:31.911 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17238456494518/UpgModPath_Jar_2/20240816-230829-UpgModPathTest/modules/5.com.test.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2024-08-16T23:08:32.031Z] STF 23:08:31.911 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17238456494518/UpgModPath_Jar_2/20240816-230829-UpgModPathTest/results/5.CMJ.stderr [2024-08-16T23:08:32.031Z] STF 23:08:31.911 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17238456494518/UpgModPath_Jar_2/20240816-230829-UpgModPathTest/results/5.CMJ.stdout [2024-08-16T23:08:32.031Z] STF 23:08:31.916 - Monitoring processes: CMJ [2024-08-16T23:08:32.352Z] STF 23:08:32.153 - Monitoring Report Summary: [2024-08-16T23:08:32.352Z] STF 23:08:32.153 - o Process CMJ ended with the expected exit code (0) [2024-08-16T23:08:32.352Z] STF 23:08:32.153 - Created modular jar: 5.com.test.jar [2024-08-16T23:08:32.352Z] STF 23:08:32.153 - [2024-08-16T23:08:32.352Z] STF 23:08:32.153 - +------ Step 6 - Create runtime image for upgrademodulepath test [2024-08-16T23:08:32.352Z] STF 23:08:32.153 - | Run jlink to create runtime image [2024-08-16T23:08:32.352Z] STF 23:08:32.153 - | ImageName: UpJVM [2024-08-16T23:08:32.352Z] STF 23:08:32.153 - | [2024-08-16T23:08:32.352Z] STF 23:08:32.154 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jlink --module-path c:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jdkbinary\j2sdk-image\jmods;C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\aqa-tests\TKG\output_17238456494518\UpgModPath_Jar_2\20240816-230829-UpgModPathTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\aqa-tests\TKG\output_17238456494518\UpgModPath_Jar_2\20240816-230829-UpgModPathTest\tmp\6.UpJVM [2024-08-16T23:08:32.352Z] STF 23:08:32.154 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17238456494518/UpgModPath_Jar_2/20240816-230829-UpgModPathTest/results/6.JLNK.stderr [2024-08-16T23:08:32.352Z] STF 23:08:32.154 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17238456494518/UpgModPath_Jar_2/20240816-230829-UpgModPathTest/results/6.JLNK.stdout [2024-08-16T23:08:32.352Z] STF 23:08:32.159 - Monitoring processes: JLNK [2024-08-16T23:08:34.520Z] STF 23:08:33.885 - Monitoring Report Summary: [2024-08-16T23:08:34.520Z] STF 23:08:33.885 - o Process JLNK ended with the expected exit code (0) [2024-08-16T23:08:34.520Z] STF 23:08:33.885 - [2024-08-16T23:08:34.520Z] STF 23:08:33.885 - +------ Step 7 - Create com.hello override jar [2024-08-16T23:08:34.520Z] STF 23:08:33.885 - | Create modular jar [2024-08-16T23:08:34.520Z] STF 23:08:33.885 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-08-16T23:08:34.520Z] STF 23:08:33.885 - | ModuleVersion: null [2024-08-16T23:08:34.520Z] STF 23:08:33.885 - | MainClass: null [2024-08-16T23:08:34.520Z] STF 23:08:33.885 - | HashModules: null [2024-08-16T23:08:34.520Z] STF 23:08:33.885 - | [2024-08-16T23:08:34.521Z] STF 23:08:33.886 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17238456494518/UpgModPath_Jar_2/20240816-230829-UpgModPathTest/modules/7.com.hello.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2024-08-16T23:08:34.521Z] STF 23:08:33.886 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17238456494518/UpgModPath_Jar_2/20240816-230829-UpgModPathTest/results/7.CMJ.stderr [2024-08-16T23:08:34.521Z] STF 23:08:33.886 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17238456494518/UpgModPath_Jar_2/20240816-230829-UpgModPathTest/results/7.CMJ.stdout [2024-08-16T23:08:34.521Z] STF 23:08:33.899 - Monitoring processes: CMJ [2024-08-16T23:08:34.521Z] STF 23:08:34.190 - Monitoring Report Summary: [2024-08-16T23:08:34.521Z] STF 23:08:34.190 - o Process CMJ ended with the expected exit code (0) [2024-08-16T23:08:34.521Z] STF 23:08:34.191 - Created modular jar: 7.com.hello.jar [2024-08-16T23:08:34.521Z] STF 23:08:34.191 - [2024-08-16T23:08:34.521Z] STF 23:08:34.191 - +------ Step 8 - Create com.hello override jar [2024-08-16T23:08:34.521Z] STF 23:08:34.191 - | Create modular jar [2024-08-16T23:08:34.521Z] STF 23:08:34.191 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2024-08-16T23:08:34.521Z] STF 23:08:34.191 - | ModuleVersion: null [2024-08-16T23:08:34.521Z] STF 23:08:34.191 - | MainClass: null [2024-08-16T23:08:34.521Z] STF 23:08:34.191 - | HashModules: null [2024-08-16T23:08:34.521Z] STF 23:08:34.191 - | [2024-08-16T23:08:34.521Z] STF 23:08:34.191 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17238456494518/UpgModPath_Jar_2/20240816-230829-UpgModPathTest/modules/8.java.logging.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.logging . [2024-08-16T23:08:34.521Z] STF 23:08:34.191 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17238456494518/UpgModPath_Jar_2/20240816-230829-UpgModPathTest/results/8.CMJ.stderr [2024-08-16T23:08:34.521Z] STF 23:08:34.191 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17238456494518/UpgModPath_Jar_2/20240816-230829-UpgModPathTest/results/8.CMJ.stdout [2024-08-16T23:08:34.521Z] STF 23:08:34.197 - Monitoring processes: CMJ [2024-08-16T23:08:34.521Z] STF 23:08:34.421 - Monitoring Report Summary: [2024-08-16T23:08:34.521Z] STF 23:08:34.421 - o Process CMJ ended with the expected exit code (0) [2024-08-16T23:08:34.521Z] STF 23:08:34.421 - Created modular jar: 8.java.logging.jar [2024-08-16T23:08:34.521Z] STF 23:08:34.421 - [2024-08-16T23:08:34.521Z] STF 23:08:34.421 - +------ Step 9 - Override an application module using modularized jar [2024-08-16T23:08:34.521Z] STF 23:08:34.421 - | Run foreground process [2024-08-16T23:08:34.521Z] STF 23:08:34.421 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java [2024-08-16T23:08:34.521Z] STF 23:08:34.421 - | Mnemonic: OT21 [2024-08-16T23:08:34.521Z] STF 23:08:34.421 - | Echo: ECHO_ON [2024-08-16T23:08:34.521Z] STF 23:08:34.421 - | Expectation: CLEAN_RUN within 1m [2024-08-16T23:08:34.521Z] STF 23:08:34.421 - | [2024-08-16T23:08:34.521Z] STF 23:08:34.422 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --upgrade-module-path C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17238456494518/UpgModPath_Jar_2/20240816-230829-UpgModPathTest/modules/7.com.hello.jar --add-modules=com.test -classpath c:/jenkins/testDependency/system_lib/junit/junit.jar;c:/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2024-08-16T23:08:34.521Z] STF 23:08:34.422 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17238456494518/UpgModPath_Jar_2/20240816-230829-UpgModPathTest/results/9.OT21.stderr [2024-08-16T23:08:34.521Z] STF 23:08:34.422 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17238456494518/UpgModPath_Jar_2/20240816-230829-UpgModPathTest/results/9.OT21.stdout [2024-08-16T23:08:34.521Z] STF 23:08:34.430 - Monitoring processes: OT21 [2024-08-16T23:08:34.839Z] OT21 JUnit version 4.12 [2024-08-16T23:08:34.839Z] OT21 . [2024-08-16T23:08:34.839Z] OT21 Time: 0.007 [2024-08-16T23:08:34.839Z] OT21 [2024-08-16T23:08:34.839Z] OT21 OK (1 test) [2024-08-16T23:08:34.839Z] OT21 [2024-08-16T23:08:34.839Z] STF 23:08:34.685 - Monitoring Report Summary: [2024-08-16T23:08:34.839Z] STF 23:08:34.685 - o Process OT21 ended with the expected exit code (0) [2024-08-16T23:08:34.839Z] STF 23:08:34.685 - [2024-08-16T23:08:34.839Z] STF 23:08:34.685 - +------ Step 10 - (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar [2024-08-16T23:08:34.839Z] STF 23:08:34.685 - | Run foreground process [2024-08-16T23:08:34.839Z] STF 23:08:34.685 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java [2024-08-16T23:08:34.839Z] STF 23:08:34.685 - | Mnemonic: OT24 [2024-08-16T23:08:34.839Z] STF 23:08:34.685 - | Echo: ECHO_ON [2024-08-16T23:08:34.839Z] STF 23:08:34.685 - | Expectation: NON_ZERO_EXIT [1] within 1m [2024-08-16T23:08:34.839Z] STF 23:08:34.685 - | [2024-08-16T23:08:34.840Z] STF 23:08:34.685 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --upgrade-module-path C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17238456494518/UpgModPath_Jar_2/20240816-230829-UpgModPathTest/modules/8.java.logging.jar --add-modules=com.test -classpath c:/jenkins/testDependency/system_lib/junit/junit.jar;c:/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingNonUpgradablePlatformModule [2024-08-16T23:08:34.840Z] STF 23:08:34.685 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17238456494518/UpgModPath_Jar_2/20240816-230829-UpgModPathTest/results/10.OT24.stderr [2024-08-16T23:08:34.840Z] STF 23:08:34.685 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17238456494518/UpgModPath_Jar_2/20240816-230829-UpgModPathTest/results/10.OT24.stdout [2024-08-16T23:08:34.840Z] STF 23:08:34.694 - Monitoring processes: OT24 [2024-08-16T23:08:35.161Z] OT24 Error occurred during initialization of boot layer [2024-08-16T23:08:35.161Z] OT24 java.lang.module.FindException: Hash of java.logging (6538e4329dfd0a3379d9797216f91349929c40c383aa5df89f209224446ef6fb) differs to expected hash (fb574a7422ae3df776185e636556d67afa2b325b921b1fd18c8858e236ed909d) recorded in java.base [2024-08-16T23:08:35.161Z] STF 23:08:34.880 - Monitoring Report Summary: [2024-08-16T23:08:35.161Z] STF 23:08:34.880 - o Process OT24 ended with the expected exit code (1) [2024-08-16T23:08:35.161Z] STF 23:08:34.880 - [2024-08-16T23:08:35.161Z] STF 23:08:34.880 - +------ Step 11 - Combine stderr and stdout files of process OT24 [2024-08-16T23:08:35.161Z] STF 23:08:34.880 - | Run foreground process [2024-08-16T23:08:35.161Z] STF 23:08:34.880 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java [2024-08-16T23:08:35.162Z] STF 23:08:34.880 - | Mnemonic: CO [2024-08-16T23:08:35.162Z] STF 23:08:34.880 - | Echo: ECHO_OFF [2024-08-16T23:08:35.162Z] STF 23:08:34.880 - | Expectation: NON_ZERO_EXIT [0] within 30s [2024-08-16T23:08:35.162Z] STF 23:08:34.880 - | [2024-08-16T23:08:35.162Z] STF 23:08:34.881 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java -Dfile1=C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17238456494518/UpgModPath_Jar_2/20240816-230829-UpgModPathTest/results/10.OT24.stdout -Dfile2=C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17238456494518/UpgModPath_Jar_2/20240816-230829-UpgModPathTest/results/10.OT24.stderr -Dfinal.file=C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\aqa-tests\TKG\output_17238456494518\UpgModPath_Jar_2\20240816-230829-UpgModPathTest\results\combinedOT24.txt -classpath C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\STF\stf.core\bin;C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin net.adoptopenjdk.test.modularity.TestUtil [2024-08-16T23:08:35.162Z] STF 23:08:34.881 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17238456494518/UpgModPath_Jar_2/20240816-230829-UpgModPathTest/results/11.CO.stderr [2024-08-16T23:08:35.162Z] STF 23:08:34.881 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17238456494518/UpgModPath_Jar_2/20240816-230829-UpgModPathTest/results/11.CO.stdout [2024-08-16T23:08:35.162Z] STF 23:08:34.888 - Monitoring processes: CO [2024-08-16T23:08:35.162Z] STF 23:08:35.036 - Monitoring Report Summary: [2024-08-16T23:08:35.162Z] STF 23:08:35.036 - o Process CO ended with the expected exit code (0) [2024-08-16T23:08:35.162Z] STF 23:08:35.036 - [2024-08-16T23:08:35.162Z] STF 23:08:35.036 - +------ Step 12 - Check output [2024-08-16T23:08:35.162Z] STF 23:08:35.036 - | Count file matches [2024-08-16T23:08:35.162Z] STF 23:08:35.036 - | TargetFile: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17238456494518/UpgModPath_Jar_2/20240816-230829-UpgModPathTest/results/combinedOT24.txt [2024-08-16T23:08:35.162Z] STF 23:08:35.036 - | ExpectedNumMatches: 1 [2024-08-16T23:08:35.162Z] STF 23:08:35.036 - | SearchStrings: ["FindException: Hash of java.logging"] [2024-08-16T23:08:35.162Z] STF 23:08:35.036 - | [2024-08-16T23:08:35.162Z] STF 23:08:35.047 - Found 1 instances of ["FindException: Hash of java.logging"] [2024-08-16T23:08:35.162Z] STF 23:08:35.047 - EXECUTE stage completed [2024-08-16T23:08:35.162Z] STF 23:08:35.064 - [2024-08-16T23:08:35.162Z] STF 23:08:35.064 - ==================== T E A R D O W N ==================== [2024-08-16T23:08:35.162Z] STF 23:08:35.064 - Running teardown: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17238456494518\UpgModPath_Jar_2/20240816-230829-UpgModPathTest/tearDown.pl [2024-08-16T23:08:35.561Z] STF 23:08:35.197 - TEARDOWN stage completed [2024-08-16T23:08:35.561Z] STF 23:08:35.210 - [2024-08-16T23:08:35.561Z] STF 23:08:35.210 - ===================== R E S U L T S ===================== [2024-08-16T23:08:35.561Z] STF 23:08:35.210 - Stage results: [2024-08-16T23:08:35.561Z] STF 23:08:35.210 - setUp: pass [2024-08-16T23:08:35.561Z] STF 23:08:35.210 - execute: pass [2024-08-16T23:08:35.561Z] STF 23:08:35.210 - teardown: pass [2024-08-16T23:08:35.561Z] STF 23:08:35.210 - [2024-08-16T23:08:35.561Z] STF 23:08:35.210 - Overall result: PASSED [2024-08-16T23:08:35.561Z] ----------------------------------- [2024-08-16T23:08:35.561Z] UpgModPath_Jar_2_PASSED [2024-08-16T23:08:35.561Z] ----------------------------------- [2024-08-16T23:08:35.869Z] [2024-08-16T23:08:35.869Z] TEST TEARDOWN: [2024-08-16T23:08:35.869Z] Nothing to be done for teardown. [2024-08-16T23:08:35.869Z] UpgModPath_Jar_2 Finish Time: Fri Aug 16 23:08:35 2024 Epoch Time (ms): 1723849715671