UpgModPath_Jar_2

[2023-04-19T02:12:22.441Z] Running test UpgModPath_Jar_2 ... [2023-04-19T02:12:22.441Z] =============================================== [2023-04-19T02:12:22.441Z] UpgModPath_Jar_2 Start Time: Wed Apr 19 02:12:22 2023 Epoch Time (ms): 1681870342153 [2023-04-19T02:12:22.441Z] variation: Mode1000 [2023-04-19T02:12:22.441Z] JVM_OPTIONS: [2023-04-19T02:12:22.441Z] { \ [2023-04-19T02:12:22.441Z] echo ""; echo "TEST SETUP:"; \ [2023-04-19T02:12:22.441Z] echo "Nothing to be done for setup."; \ [2023-04-19T02:12:22.441Z] mkdir -p "J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_16818662795666\\UpgModPath_Jar_2"; \ [2023-04-19T02:12:22.442Z] cd "J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_16818662795666\\UpgModPath_Jar_2"; \ [2023-04-19T02:12:22.442Z] echo ""; echo "TESTING:"; \ [2023-04-19T02:12:22.442Z] perl J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\systemtest_prereqs" -java-args=' ' -results-root="J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_16818662795666\\UpgModPath_Jar_2" -test=UpgModPathTest -test-args="variant=Jar"; \ [2023-04-19T02:12:22.442Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_Jar_2""_PASSED"; echo "-----------------------------------"; cd J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/; rm -f -r "J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_16818662795666\\UpgModPath_Jar_2"; else echo "-----------------------------------"; echo "UpgModPath_Jar_2""_FAILED"; echo "-----------------------------------"; fi; \ [2023-04-19T02:12:22.442Z] echo ""; echo "TEST TEARDOWN:"; \ [2023-04-19T02:12:22.442Z] echo "Nothing to be done for teardown."; \ [2023-04-19T02:12:22.442Z] } 2>&1 | tee -a "J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_16818662795666\\TestTargetResult"; [2023-04-19T02:12:22.756Z] [2023-04-19T02:12:22.756Z] TEST SETUP: [2023-04-19T02:12:22.756Z] Nothing to be done for setup. [2023-04-19T02:12:22.756Z] [2023-04-19T02:12:22.756Z] TESTING: [2023-04-19T02:12:22.756Z] STF 02:12:22.410 - ========================= S T F ========================= [2023-04-19T02:12:22.756Z] systemtest-prereqs has been processed, and set to: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jvmtest/system/systemtest_prereqsRetrieving amount of free space on drive containing J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_16818662795666\UpgModPath_Jar_2 [2023-04-19T02:12:22.756Z] There is 937319 Mb free [2023-04-19T02:12:22.756Z] STF 02:12:22.426 - ================== G E N E R A T I O N ================== [2023-04-19T02:12:22.756Z] STF 02:12:22.430 - Checking JVM: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image [2023-04-19T02:12:22.757Z] STF 02:12:22.430 - Starting process to generate scripts: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests///..//jvmtest\system\modularity/../\systemtest_prereqs/log4j/log4j-api.jar;J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests///..//jvmtest\system\modularity/../\systemtest_prereqs/log4j/log4j-core.jar;J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_16818662795666\UpgModPath_Jar_2/20230419-021222-UpgModPathTest/stf_parameters.properties, , J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_16818662795666\UpgModPath_Jar_2/20230419-021222-UpgModPathTest" [2023-04-19T02:12:23.430Z] GEN 02:12:23.209 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: 'J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2023-04-19T02:12:23.430Z] GEN 02:12:23.216 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2023-04-19T02:12:23.744Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2023-04-19T02:12:23.744Z] GEN J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2023-04-19T02:12:23.744Z] GEN J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2023-04-19T02:12:23.744Z] GEN J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2023-04-19T02:12:23.745Z] GEN J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2023-04-19T02:12:23.745Z] GEN J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2023-04-19T02:12:23.745Z] GEN J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2023-04-19T02:12:23.745Z] GEN J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2023-04-19T02:12:23.745Z] GEN J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2023-04-19T02:12:23.745Z] GEN J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2023-04-19T02:12:23.745Z] GEN J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2023-04-19T02:12:23.745Z] GEN J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2023-04-19T02:12:23.745Z] GEN J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2023-04-19T02:12:23.745Z] GEN J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2023-04-19T02:12:23.745Z] GEN J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2023-04-19T02:12:23.745Z] GEN J:\\jenkins\\workspace\\Test_openjdk17_hs_sanity.system_x86-32_windows\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2023-04-19T02:12:23.745Z] GEN J:\\jenkins\\workspace\\Test_openjdk17_hs_sanity.system_x86-32_windows\\jvmtest\\system\\STF\\stf.core\\bin [2023-04-19T02:12:23.745Z] GEN J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jvmtest/system/systemtest_prereqs/log4j/log4j-api.jar [2023-04-19T02:12:23.745Z] GEN J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jvmtest/system/systemtest_prereqs/log4j/log4j-core.jar [2023-04-19T02:12:23.745Z] GEN J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jvmtest/system/systemtest_prereqs/junit/junit.jar [2023-04-19T02:12:23.745Z] GEN 02:12:23.390 - Using Mode NoOptions. Values = '' [2023-04-19T02:12:23.745Z] GEN 02:12:23.465 - [2023-04-19T02:12:23.745Z] GEN 02:12:23.465 - Test command summary: [2023-04-19T02:12:23.745Z] GEN 02:12:23.466 - Step Stage Command Description [2023-04-19T02:12:23.745Z] GEN 02:12:23.466 - -----+--------+-----------------+------------ [2023-04-19T02:12:23.745Z] GEN 02:12:23.466 - 1 execute jar Create com.hello jar [2023-04-19T02:12:23.745Z] GEN 02:12:23.466 - 2 execute jar Create com.hola jar [2023-04-19T02:12:23.745Z] GEN 02:12:23.466 - 3 execute jar Create com.helper jar [2023-04-19T02:12:23.745Z] GEN 02:12:23.466 - 4 execute jar Create com.discreet jar [2023-04-19T02:12:23.745Z] GEN 02:12:23.466 - 5 execute jar Create tests jar [2023-04-19T02:12:23.745Z] GEN 02:12:23.466 - 6 execute jlink Create runtime image for upgrademodulepath test [2023-04-19T02:12:23.745Z] GEN 02:12:23.466 - 7 execute jar Create com.hello override jar [2023-04-19T02:12:23.745Z] GEN 02:12:23.466 - 8 execute jar Create com.hello override jar [2023-04-19T02:12:23.745Z] GEN 02:12:23.466 - 9 execute Run java Override an application module using modularized jar [2023-04-19T02:12:23.745Z] GEN 02:12:23.466 - 10 execute Run java (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar [2023-04-19T02:12:23.745Z] GEN 02:12:23.466 - 11 execute Run java Combine stderr and stdout files of process OT24 [2023-04-19T02:12:23.745Z] GEN 02:12:23.466 - 12 execute count Check output [2023-04-19T02:12:23.745Z] STF 02:12:23.486 - [2023-04-19T02:12:23.745Z] STF 02:12:23.486 - Script generation completed [2023-04-19T02:12:23.745Z] STF 02:12:23.486 - [2023-04-19T02:12:23.745Z] STF 02:12:23.486 - [2023-04-19T02:12:23.745Z] STF 02:12:23.486 - ======================= S E T U P ======================= [2023-04-19T02:12:23.745Z] STF 02:12:23.486 - Running setup: perl J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_16818662795666\UpgModPath_Jar_2/20230419-021222-UpgModPathTest/setUp.pl [2023-04-19T02:12:24.058Z] STF 02:12:23.623 - SETUP stage completed [2023-04-19T02:12:24.058Z] STF 02:12:23.635 - [2023-04-19T02:12:24.058Z] STF 02:12:23.635 - ==================== E X E C U T E - ==================== [2023-04-19T02:12:24.058Z] STF 02:12:23.635 - Running execute: perl J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_16818662795666\UpgModPath_Jar_2/20230419-021222-UpgModPathTest/execute.pl [2023-04-19T02:12:24.058Z] STF 02:12:23.769 - [2023-04-19T02:12:24.058Z] STF 02:12:23.769 - Java version [2023-04-19T02:12:24.058Z] STF 02:12:23.769 - Running: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image/bin/java -version [2023-04-19T02:12:24.058Z] STF 02:12:23.858 - [2023-04-19T02:12:24.058Z] STF 02:12:23.858 - +------ Step 1 - Create com.hello jar [2023-04-19T02:12:24.058Z] STF 02:12:23.858 - | Create modular jar [2023-04-19T02:12:24.058Z] STF 02:12:23.858 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2023-04-19T02:12:24.058Z] STF 02:12:23.858 - | ModuleVersion: null [2023-04-19T02:12:24.058Z] STF 02:12:23.858 - | MainClass: null [2023-04-19T02:12:24.058Z] STF 02:12:23.858 - | HashModules: null [2023-04-19T02:12:24.058Z] STF 02:12:23.858 - | [2023-04-19T02:12:24.058Z] STF 02:12:23.858 - Running command: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image/bin/jar --create --file J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Jar_2/20230419-021222-UpgModPathTest/modules/1.com.hello.jar -C J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2023-04-19T02:12:24.058Z] STF 02:12:23.859 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Jar_2/20230419-021222-UpgModPathTest/results/1.CMJ.stderr [2023-04-19T02:12:24.058Z] STF 02:12:23.859 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Jar_2/20230419-021222-UpgModPathTest/results/1.CMJ.stdout [2023-04-19T02:12:24.058Z] openjdk version "17.0.7" 2023-04-18 [2023-04-19T02:12:24.058Z] OpenJDK Runtime Environment Temurin-17.0.7+7 (build 17.0.7+7) [2023-04-19T02:12:24.058Z] OpenJDK Client VM Temurin-17.0.7+7 (build 17.0.7+7, mixed mode, emulated-client) [2023-04-19T02:12:24.370Z] STF 02:12:23.886 - Monitoring processes: CMJ [2023-04-19T02:12:24.370Z] STF 02:12:24.163 - Monitoring Report Summary: [2023-04-19T02:12:24.370Z] STF 02:12:24.163 - o Process CMJ ended with the expected exit code (0) [2023-04-19T02:12:24.370Z] STF 02:12:24.163 - Created modular jar: 1.com.hello.jar [2023-04-19T02:12:24.370Z] STF 02:12:24.163 - [2023-04-19T02:12:24.370Z] STF 02:12:24.163 - +------ Step 2 - Create com.hola jar [2023-04-19T02:12:24.371Z] STF 02:12:24.163 - | Create modular jar [2023-04-19T02:12:24.371Z] STF 02:12:24.163 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2023-04-19T02:12:24.371Z] STF 02:12:24.163 - | ModuleVersion: null [2023-04-19T02:12:24.371Z] STF 02:12:24.163 - | MainClass: null [2023-04-19T02:12:24.371Z] STF 02:12:24.163 - | HashModules: null [2023-04-19T02:12:24.371Z] STF 02:12:24.163 - | [2023-04-19T02:12:24.371Z] STF 02:12:24.163 - Running command: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image/bin/jar --create --file J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Jar_2/20230419-021222-UpgModPathTest/modules/2.com.hola.jar -C J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2023-04-19T02:12:24.371Z] STF 02:12:24.163 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Jar_2/20230419-021222-UpgModPathTest/results/2.CMJ.stderr [2023-04-19T02:12:24.371Z] STF 02:12:24.163 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Jar_2/20230419-021222-UpgModPathTest/results/2.CMJ.stdout [2023-04-19T02:12:24.371Z] STF 02:12:24.165 - Monitoring processes: CMJ [2023-04-19T02:12:24.683Z] STF 02:12:24.475 - Monitoring Report Summary: [2023-04-19T02:12:24.683Z] STF 02:12:24.475 - o Process CMJ ended with the expected exit code (0) [2023-04-19T02:12:24.683Z] STF 02:12:24.475 - Created modular jar: 2.com.hola.jar [2023-04-19T02:12:24.683Z] STF 02:12:24.475 - [2023-04-19T02:12:24.683Z] STF 02:12:24.475 - +------ Step 3 - Create com.helper jar [2023-04-19T02:12:24.683Z] STF 02:12:24.475 - | Create modular jar [2023-04-19T02:12:24.683Z] STF 02:12:24.475 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2023-04-19T02:12:24.683Z] STF 02:12:24.475 - | ModuleVersion: null [2023-04-19T02:12:24.683Z] STF 02:12:24.475 - | MainClass: null [2023-04-19T02:12:24.683Z] STF 02:12:24.475 - | HashModules: null [2023-04-19T02:12:24.683Z] STF 02:12:24.475 - | [2023-04-19T02:12:24.683Z] STF 02:12:24.476 - Running command: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image/bin/jar --create --file J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Jar_2/20230419-021222-UpgModPathTest/modules/3.com.helper.jar -C J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2023-04-19T02:12:24.683Z] STF 02:12:24.476 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Jar_2/20230419-021222-UpgModPathTest/results/3.CMJ.stderr [2023-04-19T02:12:24.683Z] STF 02:12:24.476 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Jar_2/20230419-021222-UpgModPathTest/results/3.CMJ.stdout [2023-04-19T02:12:24.683Z] STF 02:12:24.478 - Monitoring processes: CMJ [2023-04-19T02:12:25.359Z] STF 02:12:24.806 - Monitoring Report Summary: [2023-04-19T02:12:25.359Z] STF 02:12:24.806 - o Process CMJ ended with the expected exit code (0) [2023-04-19T02:12:25.359Z] STF 02:12:24.807 - Created modular jar: 3.com.helper.jar [2023-04-19T02:12:25.359Z] STF 02:12:24.807 - [2023-04-19T02:12:25.359Z] STF 02:12:24.807 - +------ Step 4 - Create com.discreet jar [2023-04-19T02:12:25.359Z] STF 02:12:24.807 - | Create modular jar [2023-04-19T02:12:25.359Z] STF 02:12:24.807 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2023-04-19T02:12:25.359Z] STF 02:12:24.807 - | ModuleVersion: null [2023-04-19T02:12:25.359Z] STF 02:12:24.807 - | MainClass: null [2023-04-19T02:12:25.359Z] STF 02:12:24.807 - | HashModules: null [2023-04-19T02:12:25.359Z] STF 02:12:24.807 - | [2023-04-19T02:12:25.359Z] STF 02:12:24.807 - Running command: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image/bin/jar --create --file J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Jar_2/20230419-021222-UpgModPathTest/modules/4.com.discreet.jar -C J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2023-04-19T02:12:25.359Z] STF 02:12:24.807 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Jar_2/20230419-021222-UpgModPathTest/results/4.CMJ.stderr [2023-04-19T02:12:25.359Z] STF 02:12:24.807 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Jar_2/20230419-021222-UpgModPathTest/results/4.CMJ.stdout [2023-04-19T02:12:25.359Z] STF 02:12:24.811 - Monitoring processes: CMJ [2023-04-19T02:12:25.359Z] STF 02:12:25.139 - Monitoring Report Summary: [2023-04-19T02:12:25.359Z] STF 02:12:25.139 - o Process CMJ ended with the expected exit code (0) [2023-04-19T02:12:25.359Z] STF 02:12:25.140 - Created modular jar: 4.com.discreet.jar [2023-04-19T02:12:25.359Z] STF 02:12:25.140 - [2023-04-19T02:12:25.359Z] STF 02:12:25.140 - +------ Step 5 - Create tests jar [2023-04-19T02:12:25.359Z] STF 02:12:25.140 - | Create modular jar [2023-04-19T02:12:25.359Z] STF 02:12:25.140 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2023-04-19T02:12:25.359Z] STF 02:12:25.140 - | ModuleVersion: null [2023-04-19T02:12:25.359Z] STF 02:12:25.140 - | MainClass: null [2023-04-19T02:12:25.359Z] STF 02:12:25.140 - | HashModules: null [2023-04-19T02:12:25.359Z] STF 02:12:25.140 - | [2023-04-19T02:12:25.359Z] STF 02:12:25.140 - Running command: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image/bin/jar --create --file J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Jar_2/20230419-021222-UpgModPathTest/modules/5.com.test.jar -C J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2023-04-19T02:12:25.359Z] STF 02:12:25.140 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Jar_2/20230419-021222-UpgModPathTest/results/5.CMJ.stderr [2023-04-19T02:12:25.360Z] STF 02:12:25.140 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Jar_2/20230419-021222-UpgModPathTest/results/5.CMJ.stdout [2023-04-19T02:12:25.360Z] STF 02:12:25.143 - Monitoring processes: CMJ [2023-04-19T02:12:25.672Z] STF 02:12:25.457 - Monitoring Report Summary: [2023-04-19T02:12:25.672Z] STF 02:12:25.457 - o Process CMJ ended with the expected exit code (0) [2023-04-19T02:12:25.672Z] STF 02:12:25.457 - Created modular jar: 5.com.test.jar [2023-04-19T02:12:25.672Z] STF 02:12:25.457 - [2023-04-19T02:12:25.672Z] STF 02:12:25.457 - +------ Step 6 - Create runtime image for upgrademodulepath test [2023-04-19T02:12:25.672Z] STF 02:12:25.457 - | Run jlink to create runtime image [2023-04-19T02:12:25.672Z] STF 02:12:25.457 - | ImageName: UpJVM [2023-04-19T02:12:25.672Z] STF 02:12:25.457 - | [2023-04-19T02:12:25.673Z] STF 02:12:25.457 - Running command: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image/bin/jlink --module-path J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\openjdkbinary\j2sdk-image\jmods;J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\aqa-tests\TKG\output_16818662795666\UpgModPath_Jar_2\20230419-021222-UpgModPathTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\aqa-tests\TKG\output_16818662795666\UpgModPath_Jar_2\20230419-021222-UpgModPathTest\tmp\6.UpJVM [2023-04-19T02:12:25.673Z] STF 02:12:25.458 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Jar_2/20230419-021222-UpgModPathTest/results/6.JLNK.stderr [2023-04-19T02:12:25.673Z] STF 02:12:25.458 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Jar_2/20230419-021222-UpgModPathTest/results/6.JLNK.stdout [2023-04-19T02:12:25.673Z] STF 02:12:25.460 - Monitoring processes: JLNK [2023-04-19T02:12:28.526Z] STF 02:12:27.681 - Monitoring Report Summary: [2023-04-19T02:12:28.526Z] STF 02:12:27.681 - o Process JLNK ended with the expected exit code (0) [2023-04-19T02:12:28.526Z] STF 02:12:27.681 - [2023-04-19T02:12:28.526Z] STF 02:12:27.681 - +------ Step 7 - Create com.hello override jar [2023-04-19T02:12:28.526Z] STF 02:12:27.681 - | Create modular jar [2023-04-19T02:12:28.526Z] STF 02:12:27.681 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2023-04-19T02:12:28.526Z] STF 02:12:27.681 - | ModuleVersion: null [2023-04-19T02:12:28.526Z] STF 02:12:27.681 - | MainClass: null [2023-04-19T02:12:28.526Z] STF 02:12:27.681 - | HashModules: null [2023-04-19T02:12:28.526Z] STF 02:12:27.681 - | [2023-04-19T02:12:28.526Z] STF 02:12:27.682 - Running command: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image/bin/jar --create --file J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Jar_2/20230419-021222-UpgModPathTest/modules/7.com.hello.jar -C J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2023-04-19T02:12:28.526Z] STF 02:12:27.682 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Jar_2/20230419-021222-UpgModPathTest/results/7.CMJ.stderr [2023-04-19T02:12:28.527Z] STF 02:12:27.682 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Jar_2/20230419-021222-UpgModPathTest/results/7.CMJ.stdout [2023-04-19T02:12:28.527Z] STF 02:12:27.684 - Monitoring processes: CMJ [2023-04-19T02:12:28.527Z] STF 02:12:28.018 - Monitoring Report Summary: [2023-04-19T02:12:28.527Z] STF 02:12:28.018 - o Process CMJ ended with the expected exit code (0) [2023-04-19T02:12:28.527Z] STF 02:12:28.018 - Created modular jar: 7.com.hello.jar [2023-04-19T02:12:28.527Z] STF 02:12:28.018 - [2023-04-19T02:12:28.527Z] STF 02:12:28.018 - +------ Step 8 - Create com.hello override jar [2023-04-19T02:12:28.527Z] STF 02:12:28.018 - | Create modular jar [2023-04-19T02:12:28.527Z] STF 02:12:28.018 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2023-04-19T02:12:28.527Z] STF 02:12:28.018 - | ModuleVersion: null [2023-04-19T02:12:28.527Z] STF 02:12:28.018 - | MainClass: null [2023-04-19T02:12:28.527Z] STF 02:12:28.018 - | HashModules: null [2023-04-19T02:12:28.527Z] STF 02:12:28.018 - | [2023-04-19T02:12:28.527Z] STF 02:12:28.018 - Running command: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image/bin/jar --create --file J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Jar_2/20230419-021222-UpgModPathTest/modules/8.java.logging.jar -C J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.logging . [2023-04-19T02:12:28.527Z] STF 02:12:28.018 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Jar_2/20230419-021222-UpgModPathTest/results/8.CMJ.stderr [2023-04-19T02:12:28.527Z] STF 02:12:28.018 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Jar_2/20230419-021222-UpgModPathTest/results/8.CMJ.stdout [2023-04-19T02:12:28.527Z] STF 02:12:28.020 - Monitoring processes: CMJ [2023-04-19T02:12:28.840Z] STF 02:12:28.347 - Monitoring Report Summary: [2023-04-19T02:12:28.840Z] STF 02:12:28.347 - o Process CMJ ended with the expected exit code (0) [2023-04-19T02:12:28.840Z] STF 02:12:28.347 - Created modular jar: 8.java.logging.jar [2023-04-19T02:12:28.840Z] STF 02:12:28.347 - [2023-04-19T02:12:28.840Z] STF 02:12:28.347 - +------ Step 9 - Override an application module using modularized jar [2023-04-19T02:12:28.840Z] STF 02:12:28.347 - | Run foreground process [2023-04-19T02:12:28.840Z] STF 02:12:28.347 - | Program: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image/bin/java [2023-04-19T02:12:28.840Z] STF 02:12:28.347 - | Mnemonic: OT21 [2023-04-19T02:12:28.840Z] STF 02:12:28.347 - | Echo: ECHO_ON [2023-04-19T02:12:28.840Z] STF 02:12:28.347 - | Expectation: CLEAN_RUN within 1m [2023-04-19T02:12:28.840Z] STF 02:12:28.347 - | [2023-04-19T02:12:28.840Z] STF 02:12:28.348 - Running command: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --upgrade-module-path J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Jar_2/20230419-021222-UpgModPathTest/modules/7.com.hello.jar --add-modules=com.test -classpath J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jvmtest/system/systemtest_prereqs/junit/junit.jar;J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jvmtest/system/systemtest_prereqs/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2023-04-19T02:12:28.840Z] STF 02:12:28.348 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Jar_2/20230419-021222-UpgModPathTest/results/9.OT21.stderr [2023-04-19T02:12:28.840Z] STF 02:12:28.348 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Jar_2/20230419-021222-UpgModPathTest/results/9.OT21.stdout [2023-04-19T02:12:28.840Z] STF 02:12:28.352 - Monitoring processes: OT21 [2023-04-19T02:12:28.840Z] OT21 JUnit version 4.12 [2023-04-19T02:12:29.154Z] OT21 . [2023-04-19T02:12:29.154Z] OT21 Time: 0.008 [2023-04-19T02:12:29.154Z] OT21 [2023-04-19T02:12:29.154Z] OT21 OK (1 test) [2023-04-19T02:12:29.154Z] OT21 [2023-04-19T02:12:29.154Z] STF 02:12:28.714 - Monitoring Report Summary: [2023-04-19T02:12:29.154Z] STF 02:12:28.714 - o Process OT21 ended with the expected exit code (0) [2023-04-19T02:12:29.154Z] STF 02:12:28.715 - [2023-04-19T02:12:29.154Z] STF 02:12:28.715 - +------ Step 10 - (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar [2023-04-19T02:12:29.154Z] STF 02:12:28.715 - | Run foreground process [2023-04-19T02:12:29.154Z] STF 02:12:28.715 - | Program: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image/bin/java [2023-04-19T02:12:29.154Z] STF 02:12:28.715 - | Mnemonic: OT24 [2023-04-19T02:12:29.154Z] STF 02:12:28.715 - | Echo: ECHO_ON [2023-04-19T02:12:29.154Z] STF 02:12:28.715 - | Expectation: NON_ZERO_EXIT [1] within 1m [2023-04-19T02:12:29.154Z] STF 02:12:28.715 - | [2023-04-19T02:12:29.154Z] STF 02:12:28.715 - Running command: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --upgrade-module-path J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Jar_2/20230419-021222-UpgModPathTest/modules/8.java.logging.jar --add-modules=com.test -classpath J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jvmtest/system/systemtest_prereqs/junit/junit.jar;J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jvmtest/system/systemtest_prereqs/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingNonUpgradablePlatformModule [2023-04-19T02:12:29.154Z] STF 02:12:28.715 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Jar_2/20230419-021222-UpgModPathTest/results/10.OT24.stderr [2023-04-19T02:12:29.154Z] STF 02:12:28.715 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Jar_2/20230419-021222-UpgModPathTest/results/10.OT24.stdout [2023-04-19T02:12:29.154Z] STF 02:12:28.720 - Monitoring processes: OT24 [2023-04-19T02:12:29.466Z] OT24 Error occurred during initialization of boot layer [2023-04-19T02:12:29.466Z] OT24 java.lang.module.FindException: Hash of java.logging (07a3456059904ab75d0de86d2e0a40aa29b8a4e1235051bbc96a8ccd290a4469) differs to expected hash (c737944da8d1f0df2949c1a9a6720e49b752a37a000d439f80839c418e298635) recorded in java.base [2023-04-19T02:12:29.466Z] STF 02:12:28.970 - Monitoring Report Summary: [2023-04-19T02:12:29.466Z] STF 02:12:28.970 - o Process OT24 ended with the expected exit code (1) [2023-04-19T02:12:29.466Z] STF 02:12:28.970 - [2023-04-19T02:12:29.467Z] STF 02:12:28.970 - +------ Step 11 - Combine stderr and stdout files of process OT24 [2023-04-19T02:12:29.467Z] STF 02:12:28.970 - | Run foreground process [2023-04-19T02:12:29.467Z] STF 02:12:28.970 - | Program: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image/bin/java [2023-04-19T02:12:29.467Z] STF 02:12:28.970 - | Mnemonic: CO [2023-04-19T02:12:29.467Z] STF 02:12:28.970 - | Echo: ECHO_OFF [2023-04-19T02:12:29.467Z] STF 02:12:28.970 - | Expectation: NON_ZERO_EXIT [0] within 30s [2023-04-19T02:12:29.467Z] STF 02:12:28.970 - | [2023-04-19T02:12:29.467Z] STF 02:12:28.970 - Running command: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image/bin/java -Dfile1=J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Jar_2/20230419-021222-UpgModPathTest/results/10.OT24.stdout -Dfile2=J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Jar_2/20230419-021222-UpgModPathTest/results/10.OT24.stderr -Dfinal.file=J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\aqa-tests\TKG\output_16818662795666\UpgModPath_Jar_2\20230419-021222-UpgModPathTest\results\combinedOT24.txt -classpath J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\STF\stf.core\bin;J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin net.adoptopenjdk.test.modularity.TestUtil [2023-04-19T02:12:29.467Z] STF 02:12:28.970 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Jar_2/20230419-021222-UpgModPathTest/results/11.CO.stderr [2023-04-19T02:12:29.467Z] STF 02:12:28.970 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Jar_2/20230419-021222-UpgModPathTest/results/11.CO.stdout [2023-04-19T02:12:29.467Z] STF 02:12:28.974 - Monitoring processes: CO [2023-04-19T02:12:29.467Z] STF 02:12:29.150 - Monitoring Report Summary: [2023-04-19T02:12:29.467Z] STF 02:12:29.150 - o Process CO ended with the expected exit code (0) [2023-04-19T02:12:29.467Z] STF 02:12:29.150 - [2023-04-19T02:12:29.467Z] STF 02:12:29.150 - +------ Step 12 - Check output [2023-04-19T02:12:29.467Z] STF 02:12:29.150 - | Count file matches [2023-04-19T02:12:29.467Z] STF 02:12:29.150 - | TargetFile: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Jar_2/20230419-021222-UpgModPathTest/results/combinedOT24.txt [2023-04-19T02:12:29.467Z] STF 02:12:29.150 - | ExpectedNumMatches: 1 [2023-04-19T02:12:29.467Z] STF 02:12:29.150 - | SearchStrings: ["FindException: Hash of java.logging"] [2023-04-19T02:12:29.467Z] STF 02:12:29.150 - | [2023-04-19T02:12:29.467Z] STF 02:12:29.150 - Found 1 instances of ["FindException: Hash of java.logging"] [2023-04-19T02:12:29.467Z] STF 02:12:29.150 - EXECUTE stage completed [2023-04-19T02:12:29.467Z] STF 02:12:29.222 - [2023-04-19T02:12:29.467Z] STF 02:12:29.222 - ==================== T E A R D O W N ==================== [2023-04-19T02:12:29.467Z] STF 02:12:29.222 - Running teardown: perl J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_16818662795666\UpgModPath_Jar_2/20230419-021222-UpgModPathTest/tearDown.pl [2023-04-19T02:12:29.777Z] STF 02:12:29.356 - TEARDOWN stage completed [2023-04-19T02:12:29.777Z] STF 02:12:29.369 - [2023-04-19T02:12:29.777Z] STF 02:12:29.369 - ===================== R E S U L T S ===================== [2023-04-19T02:12:29.777Z] STF 02:12:29.369 - Stage results: [2023-04-19T02:12:29.777Z] STF 02:12:29.369 - setUp: pass [2023-04-19T02:12:29.777Z] STF 02:12:29.369 - execute: pass [2023-04-19T02:12:29.777Z] STF 02:12:29.369 - teardown: pass [2023-04-19T02:12:29.777Z] STF 02:12:29.369 - [2023-04-19T02:12:29.777Z] STF 02:12:29.369 - Overall result: PASSED [2023-04-19T02:12:29.777Z] ----------------------------------- [2023-04-19T02:12:29.777Z] UpgModPath_Jar_2_PASSED [2023-04-19T02:12:29.777Z] ----------------------------------- [2023-04-19T02:12:29.777Z] [2023-04-19T02:12:29.777Z] TEST TEARDOWN: [2023-04-19T02:12:29.777Z] Nothing to be done for teardown. [2023-04-19T02:12:29.777Z] UpgModPath_Jar_2 Finish Time: Wed Apr 19 02:12:29 2023 Epoch Time (ms): 1681870349476