UpgModPath_ExpImg_2

[2023-04-19T02:12:15.337Z] Running test UpgModPath_ExpImg_2 ... [2023-04-19T02:12:15.337Z] =============================================== [2023-04-19T02:12:15.337Z] UpgModPath_ExpImg_2 Start Time: Wed Apr 19 02:12:15 2023 Epoch Time (ms): 1681870335023 [2023-04-19T02:12:15.337Z] variation: Mode1000 [2023-04-19T02:12:15.337Z] JVM_OPTIONS: [2023-04-19T02:12:15.337Z] { \ [2023-04-19T02:12:15.337Z] echo ""; echo "TEST SETUP:"; \ [2023-04-19T02:12:15.337Z] echo "Nothing to be done for setup."; \ [2023-04-19T02:12:15.337Z] mkdir -p "J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_16818662795666\\UpgModPath_ExpImg_2"; \ [2023-04-19T02:12:15.337Z] cd "J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_16818662795666\\UpgModPath_ExpImg_2"; \ [2023-04-19T02:12:15.337Z] echo ""; echo "TESTING:"; \ [2023-04-19T02:12:15.337Z] 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_ExpImg_2" -test=UpgModPathTest -test-args="variant=ExpImg"; \ [2023-04-19T02:12:15.337Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_ExpImg_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_ExpImg_2"; else echo "-----------------------------------"; echo "UpgModPath_ExpImg_2""_FAILED"; echo "-----------------------------------"; fi; \ [2023-04-19T02:12:15.337Z] echo ""; echo "TEST TEARDOWN:"; \ [2023-04-19T02:12:15.337Z] echo "Nothing to be done for teardown."; \ [2023-04-19T02:12:15.338Z] } 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:15.651Z] [2023-04-19T02:12:15.651Z] TEST SETUP: [2023-04-19T02:12:15.651Z] Nothing to be done for setup. [2023-04-19T02:12:15.651Z] [2023-04-19T02:12:15.651Z] TESTING: [2023-04-19T02:12:15.651Z] STF 02:12:15.315 - ========================= S T F ========================= [2023-04-19T02:12:15.651Z] 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_ExpImg_2 [2023-04-19T02:12:15.652Z] There is 937319 Mb free [2023-04-19T02:12:15.652Z] STF 02:12:15.331 - ================== G E N E R A T I O N ================== [2023-04-19T02:12:15.652Z] STF 02:12:15.335 - Checking JVM: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image [2023-04-19T02:12:15.652Z] STF 02:12:15.335 - 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_ExpImg_2/20230419-021215-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_ExpImg_2/20230419-021215-UpgModPathTest" [2023-04-19T02:12:16.511Z] GEN 02:12:16.206 - 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:16.511Z] GEN 02:12:16.214 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2023-04-19T02:12:16.823Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2023-04-19T02:12:16.823Z] 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:16.824Z] 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:16.824Z] 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:16.824Z] 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:16.824Z] 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:16.824Z] 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:16.824Z] 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:16.824Z] 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:16.824Z] 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:16.824Z] 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:16.824Z] 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:16.824Z] 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:16.824Z] 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:16.824Z] 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:16.824Z] GEN J:\\jenkins\\workspace\\Test_openjdk17_hs_sanity.system_x86-32_windows\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2023-04-19T02:12:16.824Z] GEN J:\\jenkins\\workspace\\Test_openjdk17_hs_sanity.system_x86-32_windows\\jvmtest\\system\\STF\\stf.core\\bin [2023-04-19T02:12:16.824Z] GEN J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jvmtest/system/systemtest_prereqs/log4j/log4j-api.jar [2023-04-19T02:12:16.824Z] GEN J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jvmtest/system/systemtest_prereqs/log4j/log4j-core.jar [2023-04-19T02:12:16.824Z] GEN J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jvmtest/system/systemtest_prereqs/junit/junit.jar [2023-04-19T02:12:16.824Z] GEN 02:12:16.399 - Using Mode NoOptions. Values = '' [2023-04-19T02:12:16.824Z] GEN 02:12:16.468 - [2023-04-19T02:12:16.824Z] GEN 02:12:16.468 - Test command summary: [2023-04-19T02:12:16.824Z] GEN 02:12:16.469 - Step Stage Command Description [2023-04-19T02:12:16.824Z] GEN 02:12:16.469 - -----+--------+-----------------+------------ [2023-04-19T02:12:16.824Z] GEN 02:12:16.469 - 1 execute jar Create com.hello jar [2023-04-19T02:12:16.824Z] GEN 02:12:16.469 - 2 execute jar Create com.hola jar [2023-04-19T02:12:16.824Z] GEN 02:12:16.469 - 3 execute jar Create com.helper jar [2023-04-19T02:12:16.824Z] GEN 02:12:16.469 - 4 execute jar Create com.discreet jar [2023-04-19T02:12:16.824Z] GEN 02:12:16.469 - 5 execute jar Create tests jar [2023-04-19T02:12:16.824Z] GEN 02:12:16.469 - 6 execute jlink Create runtime image for upgrademodulepath test [2023-04-19T02:12:16.824Z] GEN 02:12:16.469 - 7 execute Run java Override an application module using a custom runtime image [2023-04-19T02:12:16.824Z] GEN 02:12:16.469 - 8 execute Run java (Negative test) Override a non-upgradable platform module using a custom runtime image [2023-04-19T02:12:16.824Z] GEN 02:12:16.469 - 9 execute Run java Combine stderr and stdout files of process OT16 [2023-04-19T02:12:16.824Z] GEN 02:12:16.469 - 10 execute count Check output [2023-04-19T02:12:16.824Z] STF 02:12:16.487 - [2023-04-19T02:12:16.824Z] STF 02:12:16.487 - Script generation completed [2023-04-19T02:12:16.824Z] STF 02:12:16.487 - [2023-04-19T02:12:16.824Z] STF 02:12:16.487 - [2023-04-19T02:12:16.824Z] STF 02:12:16.487 - ======================= S E T U P ======================= [2023-04-19T02:12:16.824Z] STF 02:12:16.487 - Running setup: perl J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_16818662795666\UpgModPath_ExpImg_2/20230419-021215-UpgModPathTest/setUp.pl [2023-04-19T02:12:17.139Z] STF 02:12:16.626 - SETUP stage completed [2023-04-19T02:12:17.139Z] STF 02:12:16.637 - [2023-04-19T02:12:17.139Z] STF 02:12:16.638 - ==================== E X E C U T E - ==================== [2023-04-19T02:12:17.139Z] STF 02:12:16.638 - Running execute: perl J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_16818662795666\UpgModPath_ExpImg_2/20230419-021215-UpgModPathTest/execute.pl [2023-04-19T02:12:17.139Z] STF 02:12:16.779 - [2023-04-19T02:12:17.139Z] STF 02:12:16.779 - Java version [2023-04-19T02:12:17.139Z] STF 02:12:16.779 - Running: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image/bin/java -version [2023-04-19T02:12:17.139Z] openjdk version "17.0.7" 2023-04-18 [2023-04-19T02:12:17.139Z] OpenJDK Runtime Environment Temurin-17.0.7+7 (build 17.0.7+7) [2023-04-19T02:12:17.139Z] OpenJDK Client VM Temurin-17.0.7+7 (build 17.0.7+7, mixed mode, emulated-client) [2023-04-19T02:12:17.139Z] STF 02:12:16.874 - [2023-04-19T02:12:17.139Z] STF 02:12:16.874 - +------ Step 1 - Create com.hello jar [2023-04-19T02:12:17.139Z] STF 02:12:16.874 - | Create modular jar [2023-04-19T02:12:17.139Z] STF 02:12:16.874 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2023-04-19T02:12:17.139Z] STF 02:12:16.874 - | ModuleVersion: null [2023-04-19T02:12:17.139Z] STF 02:12:16.874 - | MainClass: null [2023-04-19T02:12:17.139Z] STF 02:12:16.874 - | HashModules: null [2023-04-19T02:12:17.139Z] STF 02:12:16.874 - | [2023-04-19T02:12:17.140Z] STF 02:12:16.875 - 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_ExpImg_2/20230419-021215-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:17.140Z] STF 02:12:16.875 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_ExpImg_2/20230419-021215-UpgModPathTest/results/1.CMJ.stderr [2023-04-19T02:12:17.140Z] STF 02:12:16.875 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_ExpImg_2/20230419-021215-UpgModPathTest/results/1.CMJ.stdout [2023-04-19T02:12:17.140Z] STF 02:12:16.902 - Monitoring processes: CMJ [2023-04-19T02:12:17.452Z] STF 02:12:17.192 - Monitoring Report Summary: [2023-04-19T02:12:17.452Z] STF 02:12:17.192 - o Process CMJ ended with the expected exit code (0) [2023-04-19T02:12:17.452Z] STF 02:12:17.192 - Created modular jar: 1.com.hello.jar [2023-04-19T02:12:17.452Z] STF 02:12:17.192 - [2023-04-19T02:12:17.452Z] STF 02:12:17.192 - +------ Step 2 - Create com.hola jar [2023-04-19T02:12:17.452Z] STF 02:12:17.192 - | Create modular jar [2023-04-19T02:12:17.452Z] STF 02:12:17.192 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2023-04-19T02:12:17.452Z] STF 02:12:17.193 - | ModuleVersion: null [2023-04-19T02:12:17.452Z] STF 02:12:17.193 - | MainClass: null [2023-04-19T02:12:17.452Z] STF 02:12:17.193 - | HashModules: null [2023-04-19T02:12:17.452Z] STF 02:12:17.193 - | [2023-04-19T02:12:17.452Z] STF 02:12:17.193 - 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_ExpImg_2/20230419-021215-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:17.452Z] STF 02:12:17.193 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_ExpImg_2/20230419-021215-UpgModPathTest/results/2.CMJ.stderr [2023-04-19T02:12:17.452Z] STF 02:12:17.193 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_ExpImg_2/20230419-021215-UpgModPathTest/results/2.CMJ.stdout [2023-04-19T02:12:17.452Z] STF 02:12:17.195 - Monitoring processes: CMJ [2023-04-19T02:12:17.769Z] STF 02:12:17.474 - Monitoring Report Summary: [2023-04-19T02:12:17.769Z] STF 02:12:17.474 - o Process CMJ ended with the expected exit code (0) [2023-04-19T02:12:17.769Z] STF 02:12:17.474 - Created modular jar: 2.com.hola.jar [2023-04-19T02:12:17.769Z] STF 02:12:17.474 - [2023-04-19T02:12:17.769Z] STF 02:12:17.474 - +------ Step 3 - Create com.helper jar [2023-04-19T02:12:17.769Z] STF 02:12:17.474 - | Create modular jar [2023-04-19T02:12:17.769Z] STF 02:12:17.474 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2023-04-19T02:12:17.769Z] STF 02:12:17.474 - | ModuleVersion: null [2023-04-19T02:12:17.769Z] STF 02:12:17.474 - | MainClass: null [2023-04-19T02:12:17.769Z] STF 02:12:17.474 - | HashModules: null [2023-04-19T02:12:17.769Z] STF 02:12:17.474 - | [2023-04-19T02:12:17.769Z] STF 02:12:17.474 - 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_ExpImg_2/20230419-021215-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:17.769Z] STF 02:12:17.474 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_ExpImg_2/20230419-021215-UpgModPathTest/results/3.CMJ.stderr [2023-04-19T02:12:17.770Z] STF 02:12:17.475 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_ExpImg_2/20230419-021215-UpgModPathTest/results/3.CMJ.stdout [2023-04-19T02:12:17.770Z] STF 02:12:17.476 - Monitoring processes: CMJ [2023-04-19T02:12:18.082Z] STF 02:12:17.763 - Monitoring Report Summary: [2023-04-19T02:12:18.082Z] STF 02:12:17.763 - o Process CMJ ended with the expected exit code (0) [2023-04-19T02:12:18.082Z] STF 02:12:17.763 - Created modular jar: 3.com.helper.jar [2023-04-19T02:12:18.082Z] STF 02:12:17.763 - [2023-04-19T02:12:18.082Z] STF 02:12:17.763 - +------ Step 4 - Create com.discreet jar [2023-04-19T02:12:18.082Z] STF 02:12:17.763 - | Create modular jar [2023-04-19T02:12:18.082Z] STF 02:12:17.763 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2023-04-19T02:12:18.082Z] STF 02:12:17.763 - | ModuleVersion: null [2023-04-19T02:12:18.082Z] STF 02:12:17.763 - | MainClass: null [2023-04-19T02:12:18.082Z] STF 02:12:17.763 - | HashModules: null [2023-04-19T02:12:18.082Z] STF 02:12:17.763 - | [2023-04-19T02:12:18.082Z] STF 02:12:17.764 - 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_ExpImg_2/20230419-021215-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:18.082Z] STF 02:12:17.764 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_ExpImg_2/20230419-021215-UpgModPathTest/results/4.CMJ.stderr [2023-04-19T02:12:18.082Z] STF 02:12:17.764 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_ExpImg_2/20230419-021215-UpgModPathTest/results/4.CMJ.stdout [2023-04-19T02:12:18.082Z] STF 02:12:17.768 - Monitoring processes: CMJ [2023-04-19T02:12:18.394Z] STF 02:12:18.061 - Monitoring Report Summary: [2023-04-19T02:12:18.394Z] STF 02:12:18.061 - o Process CMJ ended with the expected exit code (0) [2023-04-19T02:12:18.394Z] STF 02:12:18.061 - Created modular jar: 4.com.discreet.jar [2023-04-19T02:12:18.394Z] STF 02:12:18.061 - [2023-04-19T02:12:18.394Z] STF 02:12:18.061 - +------ Step 5 - Create tests jar [2023-04-19T02:12:18.394Z] STF 02:12:18.061 - | Create modular jar [2023-04-19T02:12:18.394Z] STF 02:12:18.061 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2023-04-19T02:12:18.394Z] STF 02:12:18.061 - | ModuleVersion: null [2023-04-19T02:12:18.394Z] STF 02:12:18.061 - | MainClass: null [2023-04-19T02:12:18.394Z] STF 02:12:18.061 - | HashModules: null [2023-04-19T02:12:18.394Z] STF 02:12:18.061 - | [2023-04-19T02:12:18.394Z] STF 02:12:18.062 - 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_ExpImg_2/20230419-021215-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:18.394Z] STF 02:12:18.062 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_ExpImg_2/20230419-021215-UpgModPathTest/results/5.CMJ.stderr [2023-04-19T02:12:18.394Z] STF 02:12:18.062 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_ExpImg_2/20230419-021215-UpgModPathTest/results/5.CMJ.stdout [2023-04-19T02:12:18.394Z] STF 02:12:18.063 - Monitoring processes: CMJ [2023-04-19T02:12:18.704Z] STF 02:12:18.355 - Monitoring Report Summary: [2023-04-19T02:12:18.704Z] STF 02:12:18.355 - o Process CMJ ended with the expected exit code (0) [2023-04-19T02:12:18.704Z] STF 02:12:18.355 - Created modular jar: 5.com.test.jar [2023-04-19T02:12:18.704Z] STF 02:12:18.355 - [2023-04-19T02:12:18.704Z] STF 02:12:18.355 - +------ Step 6 - Create runtime image for upgrademodulepath test [2023-04-19T02:12:18.704Z] STF 02:12:18.355 - | Run jlink to create runtime image [2023-04-19T02:12:18.704Z] STF 02:12:18.355 - | ImageName: UpJVM [2023-04-19T02:12:18.704Z] STF 02:12:18.355 - | [2023-04-19T02:12:18.704Z] STF 02:12:18.355 - 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_ExpImg_2\20230419-021215-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_ExpImg_2\20230419-021215-UpgModPathTest\tmp\6.UpJVM [2023-04-19T02:12:18.704Z] STF 02:12:18.356 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_ExpImg_2/20230419-021215-UpgModPathTest/results/6.JLNK.stderr [2023-04-19T02:12:18.704Z] STF 02:12:18.356 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_ExpImg_2/20230419-021215-UpgModPathTest/results/6.JLNK.stdout [2023-04-19T02:12:18.704Z] STF 02:12:18.357 - Monitoring processes: JLNK [2023-04-19T02:12:20.872Z] STF 02:12:20.308 - Monitoring Report Summary: [2023-04-19T02:12:20.872Z] STF 02:12:20.308 - o Process JLNK ended with the expected exit code (0) [2023-04-19T02:12:20.872Z] STF 02:12:20.308 - [2023-04-19T02:12:20.872Z] STF 02:12:20.308 - +------ Step 7 - Override an application module using a custom runtime image [2023-04-19T02:12:20.873Z] STF 02:12:20.308 - | Run foreground process [2023-04-19T02:12:20.873Z] STF 02:12:20.308 - | Program: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_ExpImg_2/20230419-021215-UpgModPathTest/tmp/6.UpJVM/bin/java [2023-04-19T02:12:20.873Z] STF 02:12:20.308 - | Mnemonic: OT14 [2023-04-19T02:12:20.873Z] STF 02:12:20.308 - | Echo: ECHO_ON [2023-04-19T02:12:20.873Z] STF 02:12:20.308 - | Expectation: CLEAN_RUN within 1m [2023-04-19T02:12:20.873Z] STF 02:12:20.308 - | [2023-04-19T02:12:20.873Z] STF 02:12:20.309 - Running command: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_ExpImg_2/20230419-021215-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --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 -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:20.873Z] STF 02:12:20.309 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_ExpImg_2/20230419-021215-UpgModPathTest/results/7.OT14.stderr [2023-04-19T02:12:20.873Z] STF 02:12:20.309 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_ExpImg_2/20230419-021215-UpgModPathTest/results/7.OT14.stdout [2023-04-19T02:12:20.873Z] STF 02:12:20.321 - Monitoring processes: OT14 [2023-04-19T02:12:20.873Z] OT14 JUnit version 4.12 [2023-04-19T02:12:21.184Z] OT14 . [2023-04-19T02:12:21.184Z] OT14 Time: 0.004 [2023-04-19T02:12:21.184Z] OT14 [2023-04-19T02:12:21.184Z] OT14 OK (1 test) [2023-04-19T02:12:21.184Z] OT14 [2023-04-19T02:12:21.184Z] STF 02:12:20.723 - Monitoring Report Summary: [2023-04-19T02:12:21.184Z] STF 02:12:20.723 - o Process OT14 ended with the expected exit code (0) [2023-04-19T02:12:21.184Z] STF 02:12:20.723 - [2023-04-19T02:12:21.184Z] STF 02:12:20.723 - +------ Step 8 - (Negative test) Override a non-upgradable platform module using a custom runtime image [2023-04-19T02:12:21.184Z] STF 02:12:20.723 - | Run foreground process [2023-04-19T02:12:21.184Z] STF 02:12:20.723 - | Program: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_ExpImg_2/20230419-021215-UpgModPathTest/tmp/6.UpJVM/bin/java [2023-04-19T02:12:21.184Z] STF 02:12:20.723 - | Mnemonic: OT16 [2023-04-19T02:12:21.184Z] STF 02:12:20.723 - | Echo: ECHO_ON [2023-04-19T02:12:21.184Z] STF 02:12:20.723 - | Expectation: NON_ZERO_EXIT [1] within 1m [2023-04-19T02:12:21.184Z] STF 02:12:20.723 - | [2023-04-19T02:12:21.184Z] STF 02:12:20.724 - Running command: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_ExpImg_2/20230419-021215-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --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 -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:21.184Z] STF 02:12:20.724 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_ExpImg_2/20230419-021215-UpgModPathTest/results/8.OT16.stderr [2023-04-19T02:12:21.184Z] STF 02:12:20.724 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_ExpImg_2/20230419-021215-UpgModPathTest/results/8.OT16.stdout [2023-04-19T02:12:21.184Z] STF 02:12:20.728 - Monitoring processes: OT16 [2023-04-19T02:12:21.184Z] OT16 Error occurred during initialization of boot layer [2023-04-19T02:12:21.184Z] OT16 java.lang.module.FindException: Unable to compute the hash of module java.logging [2023-04-19T02:12:21.184Z] STF 02:12:20.874 - Monitoring Report Summary: [2023-04-19T02:12:21.184Z] STF 02:12:20.874 - o Process OT16 ended with the expected exit code (1) [2023-04-19T02:12:21.184Z] STF 02:12:20.874 - [2023-04-19T02:12:21.184Z] STF 02:12:20.874 - +------ Step 9 - Combine stderr and stdout files of process OT16 [2023-04-19T02:12:21.184Z] STF 02:12:20.874 - | Run foreground process [2023-04-19T02:12:21.184Z] STF 02:12:20.874 - | Program: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image/bin/java [2023-04-19T02:12:21.184Z] STF 02:12:20.874 - | Mnemonic: CO [2023-04-19T02:12:21.184Z] STF 02:12:20.874 - | Echo: ECHO_OFF [2023-04-19T02:12:21.184Z] STF 02:12:20.874 - | Expectation: NON_ZERO_EXIT [0] within 5m [2023-04-19T02:12:21.184Z] STF 02:12:20.875 - | [2023-04-19T02:12:21.184Z] STF 02:12:20.875 - 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_ExpImg_2/20230419-021215-UpgModPathTest/results/8.OT16.stdout -Dfile2=J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_ExpImg_2/20230419-021215-UpgModPathTest/results/8.OT16.stderr -Dfinal.file=J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\aqa-tests\TKG\output_16818662795666\UpgModPath_ExpImg_2\20230419-021215-UpgModPathTest\results\combinedOT16.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:21.184Z] STF 02:12:20.875 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_ExpImg_2/20230419-021215-UpgModPathTest/results/9.CO.stderr [2023-04-19T02:12:21.184Z] STF 02:12:20.875 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_ExpImg_2/20230419-021215-UpgModPathTest/results/9.CO.stdout [2023-04-19T02:12:21.184Z] STF 02:12:20.879 - Monitoring processes: CO [2023-04-19T02:12:21.497Z] STF 02:12:21.050 - Monitoring Report Summary: [2023-04-19T02:12:21.498Z] STF 02:12:21.050 - o Process CO ended with the expected exit code (0) [2023-04-19T02:12:21.498Z] STF 02:12:21.051 - [2023-04-19T02:12:21.498Z] STF 02:12:21.051 - +------ Step 10 - Check output [2023-04-19T02:12:21.498Z] STF 02:12:21.051 - | Count file matches [2023-04-19T02:12:21.498Z] STF 02:12:21.051 - | TargetFile: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/UpgModPath_ExpImg_2/20230419-021215-UpgModPathTest/results/combinedOT16.txt [2023-04-19T02:12:21.498Z] STF 02:12:21.051 - | ExpectedNumMatches: 1 [2023-04-19T02:12:21.498Z] STF 02:12:21.051 - | SearchStrings: ["FindException: Unable to compute the hash of module java.logging"] [2023-04-19T02:12:21.498Z] STF 02:12:21.051 - | [2023-04-19T02:12:21.498Z] STF 02:12:21.051 - Found 1 instances of ["FindException: Unable to compute the hash of module java.logging"] [2023-04-19T02:12:21.498Z] STF 02:12:21.051 - EXECUTE stage completed [2023-04-19T02:12:21.498Z] STF 02:12:21.074 - [2023-04-19T02:12:21.498Z] STF 02:12:21.074 - ==================== T E A R D O W N ==================== [2023-04-19T02:12:21.498Z] STF 02:12:21.074 - Running teardown: perl J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_16818662795666\UpgModPath_ExpImg_2/20230419-021215-UpgModPathTest/tearDown.pl [2023-04-19T02:12:21.498Z] STF 02:12:21.209 - TEARDOWN stage completed [2023-04-19T02:12:21.498Z] STF 02:12:21.218 - [2023-04-19T02:12:21.498Z] STF 02:12:21.219 - ===================== R E S U L T S ===================== [2023-04-19T02:12:21.498Z] STF 02:12:21.219 - Stage results: [2023-04-19T02:12:21.498Z] STF 02:12:21.219 - setUp: pass [2023-04-19T02:12:21.498Z] STF 02:12:21.219 - execute: pass [2023-04-19T02:12:21.498Z] STF 02:12:21.219 - teardown: pass [2023-04-19T02:12:21.498Z] STF 02:12:21.219 - [2023-04-19T02:12:21.498Z] STF 02:12:21.219 - Overall result: PASSED [2023-04-19T02:12:21.498Z] ----------------------------------- [2023-04-19T02:12:21.498Z] UpgModPath_ExpImg_2_PASSED [2023-04-19T02:12:21.498Z] ----------------------------------- [2023-04-19T02:12:21.498Z] [2023-04-19T02:12:21.498Z] TEST TEARDOWN: [2023-04-19T02:12:21.498Z] Nothing to be done for teardown. [2023-04-19T02:12:21.811Z] UpgModPath_ExpImg_2 Finish Time: Wed Apr 19 02:12:21 2023 Epoch Time (ms): 1681870341334