UpgModPath_Exp_2

[2023-04-19T02:12:08.433Z] Running test UpgModPath_Exp_2 ... [2023-04-19T02:12:08.433Z] =============================================== [2023-04-19T02:12:08.433Z] UpgModPath_Exp_2 Start Time: Wed Apr 19 02:12:08 2023 Epoch Time (ms): 1681870328107 [2023-04-19T02:12:08.433Z] variation: Mode1000 [2023-04-19T02:12:08.433Z] JVM_OPTIONS: [2023-04-19T02:12:08.433Z] { \ [2023-04-19T02:12:08.433Z] echo ""; echo "TEST SETUP:"; \ [2023-04-19T02:12:08.433Z] echo "Nothing to be done for setup."; \ [2023-04-19T02:12:08.433Z] mkdir -p "J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_16818662795666\\UpgModPath_Exp_2"; \ [2023-04-19T02:12:08.433Z] cd "J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_16818662795666\\UpgModPath_Exp_2"; \ [2023-04-19T02:12:08.433Z] echo ""; echo "TESTING:"; \ [2023-04-19T02:12:08.433Z] 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_Exp_2" -test=UpgModPathTest -test-args="variant=Exp"; \ [2023-04-19T02:12:08.433Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_Exp_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_Exp_2"; else echo "-----------------------------------"; echo "UpgModPath_Exp_2""_FAILED"; echo "-----------------------------------"; fi; \ [2023-04-19T02:12:08.433Z] echo ""; echo "TEST TEARDOWN:"; \ [2023-04-19T02:12:08.433Z] echo "Nothing to be done for teardown."; \ [2023-04-19T02:12:08.433Z] } 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:08.433Z] [2023-04-19T02:12:08.433Z] TEST SETUP: [2023-04-19T02:12:08.433Z] Nothing to be done for setup. [2023-04-19T02:12:08.433Z] [2023-04-19T02:12:08.433Z] TESTING: [2023-04-19T02:12:08.745Z] STF 02:12:08.374 - ========================= S T F ========================= [2023-04-19T02:12:08.745Z] 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_Exp_2 [2023-04-19T02:12:08.745Z] There is 937320 Mb free [2023-04-19T02:12:08.745Z] STF 02:12:08.389 - ================== G E N E R A T I O N ================== [2023-04-19T02:12:08.746Z] STF 02:12:08.393 - Checking JVM: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image [2023-04-19T02:12:08.746Z] STF 02:12:08.394 - 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_Exp_2/20230419-021208-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_Exp_2/20230419-021208-UpgModPathTest" [2023-04-19T02:12:09.418Z] GEN 02:12:09.179 - 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:09.418Z] GEN 02:12:09.187 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2023-04-19T02:12:09.729Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2023-04-19T02:12:09.729Z] 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:09.729Z] 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:09.729Z] 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:09.729Z] 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:09.729Z] 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:09.729Z] 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:09.729Z] 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:09.730Z] 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:09.730Z] 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:09.730Z] 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:09.730Z] 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:09.730Z] 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:09.730Z] 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:09.730Z] 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:09.730Z] GEN J:\\jenkins\\workspace\\Test_openjdk17_hs_sanity.system_x86-32_windows\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2023-04-19T02:12:09.730Z] GEN J:\\jenkins\\workspace\\Test_openjdk17_hs_sanity.system_x86-32_windows\\jvmtest\\system\\STF\\stf.core\\bin [2023-04-19T02:12:09.730Z] GEN J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jvmtest/system/systemtest_prereqs/log4j/log4j-api.jar [2023-04-19T02:12:09.730Z] GEN J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jvmtest/system/systemtest_prereqs/log4j/log4j-core.jar [2023-04-19T02:12:09.730Z] GEN J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jvmtest/system/systemtest_prereqs/junit/junit.jar [2023-04-19T02:12:09.730Z] GEN 02:12:09.357 - Using Mode NoOptions. Values = '' [2023-04-19T02:12:09.730Z] GEN 02:12:09.430 - [2023-04-19T02:12:09.730Z] GEN 02:12:09.430 - Test command summary: [2023-04-19T02:12:09.730Z] GEN 02:12:09.431 - Step Stage Command Description [2023-04-19T02:12:09.730Z] GEN 02:12:09.431 - -----+--------+-----------------+------------ [2023-04-19T02:12:09.730Z] GEN 02:12:09.431 - 1 execute jar Create com.hello jar [2023-04-19T02:12:09.730Z] GEN 02:12:09.431 - 2 execute jar Create com.hola jar [2023-04-19T02:12:09.730Z] GEN 02:12:09.431 - 3 execute jar Create com.helper jar [2023-04-19T02:12:09.730Z] GEN 02:12:09.431 - 4 execute jar Create com.discreet jar [2023-04-19T02:12:09.730Z] GEN 02:12:09.431 - 5 execute jar Create tests jar [2023-04-19T02:12:09.730Z] GEN 02:12:09.431 - 6 execute jlink Create runtime image for upgrademodulepath test [2023-04-19T02:12:09.730Z] GEN 02:12:09.431 - 7 execute Run java Override an application module [2023-04-19T02:12:09.730Z] GEN 02:12:09.431 - 8 execute Run java (Negative test) Override a non-upgradable platform module [2023-04-19T02:12:09.730Z] GEN 02:12:09.431 - 9 execute Run java Combine stderr and stdout files of process OT13 [2023-04-19T02:12:09.730Z] GEN 02:12:09.431 - 10 execute count Check output [2023-04-19T02:12:09.730Z] STF 02:12:09.448 - [2023-04-19T02:12:09.730Z] STF 02:12:09.448 - Script generation completed [2023-04-19T02:12:09.730Z] STF 02:12:09.448 - [2023-04-19T02:12:09.730Z] STF 02:12:09.449 - [2023-04-19T02:12:09.730Z] STF 02:12:09.449 - ======================= S E T U P ======================= [2023-04-19T02:12:09.730Z] STF 02:12:09.449 - Running setup: perl J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_16818662795666\UpgModPath_Exp_2/20230419-021208-UpgModPathTest/setUp.pl [2023-04-19T02:12:10.043Z] STF 02:12:09.590 - SETUP stage completed [2023-04-19T02:12:10.043Z] STF 02:12:09.599 - [2023-04-19T02:12:10.043Z] STF 02:12:09.599 - ==================== E X E C U T E - ==================== [2023-04-19T02:12:10.043Z] STF 02:12:09.599 - Running execute: perl J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_16818662795666\UpgModPath_Exp_2/20230419-021208-UpgModPathTest/execute.pl [2023-04-19T02:12:10.043Z] STF 02:12:09.737 - [2023-04-19T02:12:10.043Z] STF 02:12:09.737 - Java version [2023-04-19T02:12:10.043Z] STF 02:12:09.737 - Running: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image/bin/java -version [2023-04-19T02:12:10.043Z] openjdk version "17.0.7" 2023-04-18 [2023-04-19T02:12:10.043Z] OpenJDK Runtime Environment Temurin-17.0.7+7 (build 17.0.7+7) [2023-04-19T02:12:10.043Z] OpenJDK Client VM Temurin-17.0.7+7 (build 17.0.7+7, mixed mode, emulated-client) [2023-04-19T02:12:10.043Z] STF 02:12:09.830 - [2023-04-19T02:12:10.043Z] STF 02:12:09.830 - +------ Step 1 - Create com.hello jar [2023-04-19T02:12:10.043Z] STF 02:12:09.830 - | Create modular jar [2023-04-19T02:12:10.043Z] STF 02:12:09.830 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2023-04-19T02:12:10.043Z] STF 02:12:09.830 - | ModuleVersion: null [2023-04-19T02:12:10.043Z] STF 02:12:09.830 - | MainClass: null [2023-04-19T02:12:10.043Z] STF 02:12:09.830 - | HashModules: null [2023-04-19T02:12:10.043Z] STF 02:12:09.830 - | [2023-04-19T02:12:10.043Z] STF 02:12:09.830 - 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_Exp_2/20230419-021208-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:10.043Z] STF 02:12:09.830 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Exp_2/20230419-021208-UpgModPathTest/results/1.CMJ.stderr [2023-04-19T02:12:10.043Z] STF 02:12:09.830 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Exp_2/20230419-021208-UpgModPathTest/results/1.CMJ.stdout [2023-04-19T02:12:10.355Z] STF 02:12:09.859 - Monitoring processes: CMJ [2023-04-19T02:12:10.669Z] STF 02:12:10.174 - Monitoring Report Summary: [2023-04-19T02:12:10.669Z] STF 02:12:10.174 - o Process CMJ ended with the expected exit code (0) [2023-04-19T02:12:10.669Z] STF 02:12:10.174 - Created modular jar: 1.com.hello.jar [2023-04-19T02:12:10.669Z] STF 02:12:10.174 - [2023-04-19T02:12:10.669Z] STF 02:12:10.174 - +------ Step 2 - Create com.hola jar [2023-04-19T02:12:10.669Z] STF 02:12:10.174 - | Create modular jar [2023-04-19T02:12:10.669Z] STF 02:12:10.174 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2023-04-19T02:12:10.669Z] STF 02:12:10.174 - | ModuleVersion: null [2023-04-19T02:12:10.669Z] STF 02:12:10.174 - | MainClass: null [2023-04-19T02:12:10.669Z] STF 02:12:10.174 - | HashModules: null [2023-04-19T02:12:10.669Z] STF 02:12:10.174 - | [2023-04-19T02:12:10.670Z] STF 02:12:10.174 - 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_Exp_2/20230419-021208-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:10.670Z] STF 02:12:10.174 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Exp_2/20230419-021208-UpgModPathTest/results/2.CMJ.stderr [2023-04-19T02:12:10.670Z] STF 02:12:10.174 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Exp_2/20230419-021208-UpgModPathTest/results/2.CMJ.stdout [2023-04-19T02:12:10.670Z] STF 02:12:10.176 - Monitoring processes: CMJ [2023-04-19T02:12:10.980Z] STF 02:12:10.469 - Monitoring Report Summary: [2023-04-19T02:12:10.980Z] STF 02:12:10.469 - o Process CMJ ended with the expected exit code (0) [2023-04-19T02:12:10.980Z] STF 02:12:10.469 - Created modular jar: 2.com.hola.jar [2023-04-19T02:12:10.980Z] STF 02:12:10.469 - [2023-04-19T02:12:10.980Z] STF 02:12:10.469 - +------ Step 3 - Create com.helper jar [2023-04-19T02:12:10.980Z] STF 02:12:10.469 - | Create modular jar [2023-04-19T02:12:10.980Z] STF 02:12:10.469 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2023-04-19T02:12:10.980Z] STF 02:12:10.469 - | ModuleVersion: null [2023-04-19T02:12:10.980Z] STF 02:12:10.469 - | MainClass: null [2023-04-19T02:12:10.980Z] STF 02:12:10.469 - | HashModules: null [2023-04-19T02:12:10.980Z] STF 02:12:10.469 - | [2023-04-19T02:12:10.980Z] STF 02:12:10.470 - 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_Exp_2/20230419-021208-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:10.980Z] STF 02:12:10.470 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Exp_2/20230419-021208-UpgModPathTest/results/3.CMJ.stderr [2023-04-19T02:12:10.980Z] STF 02:12:10.470 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Exp_2/20230419-021208-UpgModPathTest/results/3.CMJ.stdout [2023-04-19T02:12:10.980Z] STF 02:12:10.471 - Monitoring processes: CMJ [2023-04-19T02:12:10.980Z] STF 02:12:10.760 - Monitoring Report Summary: [2023-04-19T02:12:10.980Z] STF 02:12:10.760 - o Process CMJ ended with the expected exit code (0) [2023-04-19T02:12:10.980Z] STF 02:12:10.760 - Created modular jar: 3.com.helper.jar [2023-04-19T02:12:10.980Z] STF 02:12:10.760 - [2023-04-19T02:12:10.980Z] STF 02:12:10.760 - +------ Step 4 - Create com.discreet jar [2023-04-19T02:12:10.980Z] STF 02:12:10.760 - | Create modular jar [2023-04-19T02:12:10.980Z] STF 02:12:10.760 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2023-04-19T02:12:10.980Z] STF 02:12:10.760 - | ModuleVersion: null [2023-04-19T02:12:10.980Z] STF 02:12:10.760 - | MainClass: null [2023-04-19T02:12:10.980Z] STF 02:12:10.760 - | HashModules: null [2023-04-19T02:12:10.980Z] STF 02:12:10.760 - | [2023-04-19T02:12:10.980Z] STF 02:12:10.761 - 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_Exp_2/20230419-021208-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:10.980Z] STF 02:12:10.761 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Exp_2/20230419-021208-UpgModPathTest/results/4.CMJ.stderr [2023-04-19T02:12:10.980Z] STF 02:12:10.761 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Exp_2/20230419-021208-UpgModPathTest/results/4.CMJ.stdout [2023-04-19T02:12:10.980Z] STF 02:12:10.765 - Monitoring processes: CMJ [2023-04-19T02:12:11.291Z] STF 02:12:11.045 - Monitoring Report Summary: [2023-04-19T02:12:11.291Z] STF 02:12:11.045 - o Process CMJ ended with the expected exit code (0) [2023-04-19T02:12:11.291Z] STF 02:12:11.045 - Created modular jar: 4.com.discreet.jar [2023-04-19T02:12:11.291Z] STF 02:12:11.046 - [2023-04-19T02:12:11.291Z] STF 02:12:11.046 - +------ Step 5 - Create tests jar [2023-04-19T02:12:11.291Z] STF 02:12:11.046 - | Create modular jar [2023-04-19T02:12:11.291Z] STF 02:12:11.046 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2023-04-19T02:12:11.291Z] STF 02:12:11.046 - | ModuleVersion: null [2023-04-19T02:12:11.291Z] STF 02:12:11.046 - | MainClass: null [2023-04-19T02:12:11.291Z] STF 02:12:11.046 - | HashModules: null [2023-04-19T02:12:11.291Z] STF 02:12:11.046 - | [2023-04-19T02:12:11.292Z] STF 02:12:11.046 - 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_Exp_2/20230419-021208-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:11.292Z] STF 02:12:11.046 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Exp_2/20230419-021208-UpgModPathTest/results/5.CMJ.stderr [2023-04-19T02:12:11.292Z] STF 02:12:11.046 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Exp_2/20230419-021208-UpgModPathTest/results/5.CMJ.stdout [2023-04-19T02:12:11.292Z] STF 02:12:11.048 - Monitoring processes: CMJ [2023-04-19T02:12:11.604Z] STF 02:12:11.321 - Monitoring Report Summary: [2023-04-19T02:12:11.604Z] STF 02:12:11.321 - o Process CMJ ended with the expected exit code (0) [2023-04-19T02:12:11.604Z] STF 02:12:11.321 - Created modular jar: 5.com.test.jar [2023-04-19T02:12:11.604Z] STF 02:12:11.321 - [2023-04-19T02:12:11.604Z] STF 02:12:11.321 - +------ Step 6 - Create runtime image for upgrademodulepath test [2023-04-19T02:12:11.604Z] STF 02:12:11.321 - | Run jlink to create runtime image [2023-04-19T02:12:11.604Z] STF 02:12:11.321 - | ImageName: UpJVM [2023-04-19T02:12:11.604Z] STF 02:12:11.321 - | [2023-04-19T02:12:11.604Z] STF 02:12:11.322 - 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_Exp_2\20230419-021208-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_Exp_2\20230419-021208-UpgModPathTest\tmp\6.UpJVM [2023-04-19T02:12:11.604Z] STF 02:12:11.322 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Exp_2/20230419-021208-UpgModPathTest/results/6.JLNK.stderr [2023-04-19T02:12:11.605Z] STF 02:12:11.322 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Exp_2/20230419-021208-UpgModPathTest/results/6.JLNK.stdout [2023-04-19T02:12:11.605Z] STF 02:12:11.323 - Monitoring processes: JLNK [2023-04-19T02:12:13.773Z] STF 02:12:13.243 - Monitoring Report Summary: [2023-04-19T02:12:13.773Z] STF 02:12:13.243 - o Process JLNK ended with the expected exit code (0) [2023-04-19T02:12:13.773Z] STF 02:12:13.244 - [2023-04-19T02:12:13.773Z] STF 02:12:13.244 - +------ Step 7 - Override an application module [2023-04-19T02:12:13.773Z] STF 02:12:13.244 - | Run foreground process [2023-04-19T02:12:13.773Z] STF 02:12:13.244 - | Program: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image/bin/java [2023-04-19T02:12:13.773Z] STF 02:12:13.244 - | Mnemonic: OT11 [2023-04-19T02:12:13.773Z] STF 02:12:13.244 - | Echo: ECHO_ON [2023-04-19T02:12:13.773Z] STF 02:12:13.244 - | Expectation: CLEAN_RUN within 1m [2023-04-19T02:12:13.773Z] STF 02:12:13.244 - | [2023-04-19T02:12:13.773Z] STF 02:12:13.244 - 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\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello --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:13.773Z] STF 02:12:13.244 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Exp_2/20230419-021208-UpgModPathTest/results/7.OT11.stderr [2023-04-19T02:12:13.773Z] STF 02:12:13.244 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Exp_2/20230419-021208-UpgModPathTest/results/7.OT11.stdout [2023-04-19T02:12:13.773Z] STF 02:12:13.248 - Monitoring processes: OT11 [2023-04-19T02:12:13.773Z] OT11 JUnit version 4.12 [2023-04-19T02:12:13.773Z] OT11 . [2023-04-19T02:12:13.773Z] OT11 Time: 0.007 [2023-04-19T02:12:13.773Z] OT11 [2023-04-19T02:12:13.773Z] OT11 OK (1 test) [2023-04-19T02:12:13.773Z] OT11 [2023-04-19T02:12:14.086Z] STF 02:12:13.568 - Monitoring Report Summary: [2023-04-19T02:12:14.086Z] STF 02:12:13.568 - o Process OT11 ended with the expected exit code (0) [2023-04-19T02:12:14.086Z] STF 02:12:13.569 - [2023-04-19T02:12:14.086Z] STF 02:12:13.569 - +------ Step 8 - (Negative test) Override a non-upgradable platform module [2023-04-19T02:12:14.086Z] STF 02:12:13.569 - | Run foreground process [2023-04-19T02:12:14.086Z] STF 02:12:13.569 - | Program: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image/bin/java [2023-04-19T02:12:14.086Z] STF 02:12:13.569 - | Mnemonic: OT13 [2023-04-19T02:12:14.086Z] STF 02:12:13.569 - | Echo: ECHO_ON [2023-04-19T02:12:14.086Z] STF 02:12:13.569 - | Expectation: NON_ZERO_EXIT [1] within 1m [2023-04-19T02:12:14.086Z] STF 02:12:13.569 - | [2023-04-19T02:12:14.086Z] STF 02:12:13.569 - 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\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.logging --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:14.086Z] STF 02:12:13.569 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Exp_2/20230419-021208-UpgModPathTest/results/8.OT13.stderr [2023-04-19T02:12:14.086Z] STF 02:12:13.569 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Exp_2/20230419-021208-UpgModPathTest/results/8.OT13.stdout [2023-04-19T02:12:14.086Z] STF 02:12:13.573 - Monitoring processes: OT13 [2023-04-19T02:12:14.086Z] OT13 Error occurred during initialization of boot layer [2023-04-19T02:12:14.086Z] OT13 java.lang.module.FindException: Unable to compute the hash of module java.logging [2023-04-19T02:12:14.086Z] STF 02:12:13.752 - Monitoring Report Summary: [2023-04-19T02:12:14.086Z] STF 02:12:13.752 - o Process OT13 ended with the expected exit code (1) [2023-04-19T02:12:14.086Z] STF 02:12:13.752 - [2023-04-19T02:12:14.086Z] STF 02:12:13.752 - +------ Step 9 - Combine stderr and stdout files of process OT13 [2023-04-19T02:12:14.086Z] STF 02:12:13.752 - | Run foreground process [2023-04-19T02:12:14.086Z] STF 02:12:13.752 - | Program: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image/bin/java [2023-04-19T02:12:14.086Z] STF 02:12:13.752 - | Mnemonic: CO [2023-04-19T02:12:14.086Z] STF 02:12:13.752 - | Echo: ECHO_OFF [2023-04-19T02:12:14.086Z] STF 02:12:13.752 - | Expectation: NON_ZERO_EXIT [0] within 30s [2023-04-19T02:12:14.086Z] STF 02:12:13.752 - | [2023-04-19T02:12:14.086Z] STF 02:12:13.752 - 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_Exp_2/20230419-021208-UpgModPathTest/results/8.OT13.stdout -Dfile2=J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Exp_2/20230419-021208-UpgModPathTest/results/8.OT13.stderr -Dfinal.file=J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\aqa-tests\TKG\output_16818662795666\UpgModPath_Exp_2\20230419-021208-UpgModPathTest\results\combinedOT13.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:14.086Z] STF 02:12:13.752 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Exp_2/20230419-021208-UpgModPathTest/results/9.CO.stderr [2023-04-19T02:12:14.086Z] STF 02:12:13.752 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Exp_2/20230419-021208-UpgModPathTest/results/9.CO.stdout [2023-04-19T02:12:14.086Z] STF 02:12:13.756 - Monitoring processes: CO [2023-04-19T02:12:14.400Z] STF 02:12:13.933 - Monitoring Report Summary: [2023-04-19T02:12:14.400Z] STF 02:12:13.933 - o Process CO ended with the expected exit code (0) [2023-04-19T02:12:14.400Z] STF 02:12:13.933 - [2023-04-19T02:12:14.400Z] STF 02:12:13.933 - +------ Step 10 - Check output [2023-04-19T02:12:14.400Z] STF 02:12:13.933 - | Count file matches [2023-04-19T02:12:14.400Z] STF 02:12:13.933 - | TargetFile: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_Exp_2/20230419-021208-UpgModPathTest/results/combinedOT13.txt [2023-04-19T02:12:14.400Z] STF 02:12:13.933 - | ExpectedNumMatches: 1 [2023-04-19T02:12:14.400Z] STF 02:12:13.933 - | SearchStrings: ["FindException: Unable to compute the hash of module java.logging"] [2023-04-19T02:12:14.400Z] STF 02:12:13.933 - | [2023-04-19T02:12:14.400Z] STF 02:12:13.933 - Found 1 instances of ["FindException: Unable to compute the hash of module java.logging"] [2023-04-19T02:12:14.400Z] STF 02:12:13.933 - EXECUTE stage completed [2023-04-19T02:12:14.400Z] STF 02:12:13.946 - [2023-04-19T02:12:14.400Z] STF 02:12:13.946 - ==================== T E A R D O W N ==================== [2023-04-19T02:12:14.400Z] STF 02:12:13.946 - Running teardown: perl J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_16818662795666\UpgModPath_Exp_2/20230419-021208-UpgModPathTest/tearDown.pl [2023-04-19T02:12:14.400Z] STF 02:12:14.089 - TEARDOWN stage completed [2023-04-19T02:12:14.400Z] STF 02:12:14.097 - [2023-04-19T02:12:14.400Z] STF 02:12:14.097 - ===================== R E S U L T S ===================== [2023-04-19T02:12:14.400Z] STF 02:12:14.097 - Stage results: [2023-04-19T02:12:14.400Z] STF 02:12:14.097 - setUp: pass [2023-04-19T02:12:14.400Z] STF 02:12:14.097 - execute: pass [2023-04-19T02:12:14.400Z] STF 02:12:14.097 - teardown: pass [2023-04-19T02:12:14.400Z] STF 02:12:14.097 - [2023-04-19T02:12:14.400Z] STF 02:12:14.097 - Overall result: PASSED [2023-04-19T02:12:14.400Z] ----------------------------------- [2023-04-19T02:12:14.400Z] UpgModPath_Exp_2_PASSED [2023-04-19T02:12:14.400Z] ----------------------------------- [2023-04-19T02:12:14.400Z] [2023-04-19T02:12:14.400Z] TEST TEARDOWN: [2023-04-19T02:12:14.400Z] Nothing to be done for teardown. [2023-04-19T02:12:14.712Z] UpgModPath_Exp_2 Finish Time: Wed Apr 19 02:12:14 2023 Epoch Time (ms): 1681870334220