UpgModPath_JarImg_2

[2024-12-09T19:58:03.754Z] Running test UpgModPath_JarImg_2 ... [2024-12-09T19:58:04.161Z] =============================================== [2024-12-09T19:58:04.161Z] UpgModPath_JarImg_2 Start Time: Mon Dec 9 19:58:04 2024 Epoch Time (ms): 1733774284001 [2024-12-09T19:58:04.525Z] variation: Mode1000 [2024-12-09T19:58:04.525Z] JVM_OPTIONS: [2024-12-09T19:58:04.525Z] { \ [2024-12-09T19:58:04.525Z] echo ""; echo "TEST SETUP:"; \ [2024-12-09T19:58:04.525Z] echo "Nothing to be done for setup."; \ [2024-12-09T19:58:04.525Z] mkdir -p "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17337701411866\\UpgModPath_JarImg_2"; \ [2024-12-09T19:58:04.525Z] cd "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17337701411866\\UpgModPath_JarImg_2"; \ [2024-12-09T19:58:04.525Z] echo ""; echo "TESTING:"; \ [2024-12-09T19:58:04.525Z] perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/../../testDependency/system_lib\\" -java-args=' ' -results-root="C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17337701411866\\UpgModPath_JarImg_2" -test=UpgModPathTest -test-args="variant=JarImg"; \ [2024-12-09T19:58:04.525Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_JarImg_2""_PASSED"; echo "-----------------------------------"; cd C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/; rm -f -r "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17337701411866\\UpgModPath_JarImg_2"; else echo "-----------------------------------"; echo "UpgModPath_JarImg_2""_FAILED"; echo "-----------------------------------"; fi; \ [2024-12-09T19:58:04.525Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-12-09T19:58:04.525Z] echo "Nothing to be done for teardown."; \ [2024-12-09T19:58:04.525Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17337701411866\\TestTargetResult"; [2024-12-09T19:58:04.862Z] [2024-12-09T19:58:04.862Z] TEST SETUP: [2024-12-09T19:58:04.862Z] Nothing to be done for setup. [2024-12-09T19:58:04.862Z] [2024-12-09T19:58:04.862Z] TESTING: [2024-12-09T19:58:04.862Z] STF 19:58:04.739 - ========================= S T F ========================= [2024-12-09T19:58:04.862Z] systemtest-prereqs has been processed, and set to: c:/jenkins/testDependency/system_libRetrieving amount of free space on drive containing C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17337701411866\UpgModPath_JarImg_2 [2024-12-09T19:58:04.862Z] There is 394689 Mb free [2024-12-09T19:58:04.862Z] STF 19:58:04.791 - ================== G E N E R A T I O N ================== [2024-12-09T19:58:04.862Z] STF 19:58:04.794 - Checking JVM: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image [2024-12-09T19:58:04.862Z] STF 19:58:04.794 - Starting process to generate scripts: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/../../testDependency/system_lib\/log4j/log4j-api.jar;c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17337701411866\UpgModPath_JarImg_2/20241209-195804-UpgModPathTest/stf_parameters.properties, , C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17337701411866\UpgModPath_JarImg_2/20241209-195804-UpgModPathTest" [2024-12-09T19:58:06.016Z] GEN 19:58:05.831 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: 'C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2024-12-09T19:58:06.016Z] GEN 19:58:05.847 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2024-12-09T19:58:06.353Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-12-09T19:58:06.353Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2024-12-09T19:58:06.353Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2024-12-09T19:58:06.353Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2024-12-09T19:58:06.353Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2024-12-09T19:58:06.353Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2024-12-09T19:58:06.353Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2024-12-09T19:58:06.353Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2024-12-09T19:58:06.353Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2024-12-09T19:58:06.353Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2024-12-09T19:58:06.353Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2024-12-09T19:58:06.353Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2024-12-09T19:58:06.353Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2024-12-09T19:58:06.353Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-12-09T19:58:06.353Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-12-09T19:58:06.353Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-32_windows\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-12-09T19:58:06.353Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-32_windows\\jvmtest\\system\\STF\\stf.core\\bin [2024-12-09T19:58:06.353Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-12-09T19:58:06.353Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-12-09T19:58:06.353Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar [2024-12-09T19:58:06.353Z] GEN 19:58:06.122 - Using Mode NoOptions. Values = '' [2024-12-09T19:58:06.353Z] GEN 19:58:06.240 - [2024-12-09T19:58:06.353Z] GEN 19:58:06.240 - Test command summary: [2024-12-09T19:58:06.353Z] GEN 19:58:06.240 - Step Stage Command Description [2024-12-09T19:58:06.353Z] GEN 19:58:06.241 - -----+--------+-----------------+------------ [2024-12-09T19:58:06.353Z] GEN 19:58:06.241 - 1 execute jar Create com.hello jar [2024-12-09T19:58:06.353Z] GEN 19:58:06.241 - 2 execute jar Create com.hola jar [2024-12-09T19:58:06.353Z] GEN 19:58:06.241 - 3 execute jar Create com.helper jar [2024-12-09T19:58:06.353Z] GEN 19:58:06.241 - 4 execute jar Create com.discreet jar [2024-12-09T19:58:06.353Z] GEN 19:58:06.241 - 5 execute jar Create tests jar [2024-12-09T19:58:06.353Z] GEN 19:58:06.241 - 6 execute jlink Create runtime image for upgrademodulepath test [2024-12-09T19:58:06.353Z] GEN 19:58:06.241 - 7 execute jar Create com.hello override jar [2024-12-09T19:58:06.353Z] GEN 19:58:06.241 - 8 execute jar Create com.hello override jar [2024-12-09T19:58:06.353Z] GEN 19:58:06.241 - 9 execute Run java Override an application module using a custom runtime image where the overriding module is in a modularized jar [2024-12-09T19:58:06.353Z] GEN 19:58:06.241 - 10 execute Run java (Negative test) Override a non-upgradable platform module using a custom runtime imagewhere the overriding module is in a modularized jar [2024-12-09T19:58:06.353Z] GEN 19:58:06.241 - 11 execute Run java Combine stderr and stdout files of process OT27 [2024-12-09T19:58:06.353Z] GEN 19:58:06.241 - 12 execute count Check output [2024-12-09T19:58:06.353Z] STF 19:58:06.266 - [2024-12-09T19:58:06.353Z] STF 19:58:06.266 - Script generation completed [2024-12-09T19:58:06.353Z] STF 19:58:06.266 - [2024-12-09T19:58:06.353Z] STF 19:58:06.267 - [2024-12-09T19:58:06.353Z] STF 19:58:06.267 - ======================= S E T U P ======================= [2024-12-09T19:58:06.353Z] STF 19:58:06.267 - Running setup: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17337701411866\UpgModPath_JarImg_2/20241209-195804-UpgModPathTest/setUp.pl [2024-12-09T19:58:06.695Z] STF 19:58:06.424 - SETUP stage completed [2024-12-09T19:58:06.695Z] STF 19:58:06.446 - [2024-12-09T19:58:06.695Z] STF 19:58:06.446 - ==================== E X E C U T E - ==================== [2024-12-09T19:58:06.695Z] STF 19:58:06.446 - Running execute: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17337701411866\UpgModPath_JarImg_2/20241209-195804-UpgModPathTest/execute.pl [2024-12-09T19:58:06.695Z] STF 19:58:06.595 - [2024-12-09T19:58:06.695Z] STF 19:58:06.595 - Java version [2024-12-09T19:58:06.695Z] STF 19:58:06.595 - Running: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/java -version [2024-12-09T19:58:07.031Z] openjdk version "11.0.26-beta" 2025-01-21 [2024-12-09T19:58:07.031Z] OpenJDK Runtime Environment Temurin-11.0.26+3-202412091016 (build 11.0.26-beta+3-ea) [2024-12-09T19:58:07.031Z] OpenJDK Client VM Temurin-11.0.26+3-202412091016 (build 11.0.26-beta+3-ea, mixed mode) [2024-12-09T19:58:07.031Z] STF 19:58:06.727 - [2024-12-09T19:58:07.031Z] STF 19:58:06.727 - +------ Step 1 - Create com.hello jar [2024-12-09T19:58:07.031Z] STF 19:58:06.727 - | Create modular jar [2024-12-09T19:58:07.031Z] STF 19:58:06.727 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-12-09T19:58:07.031Z] STF 19:58:06.727 - | ModuleVersion: null [2024-12-09T19:58:07.031Z] STF 19:58:06.727 - | MainClass: null [2024-12-09T19:58:07.031Z] STF 19:58:06.727 - | HashModules: null [2024-12-09T19:58:07.031Z] STF 19:58:06.727 - | [2024-12-09T19:58:07.031Z] STF 19:58:06.727 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_JarImg_2/20241209-195804-UpgModPathTest/modules/1.com.hello.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2024-12-09T19:58:07.031Z] STF 19:58:06.728 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_JarImg_2/20241209-195804-UpgModPathTest/results/1.CMJ.stderr [2024-12-09T19:58:07.031Z] STF 19:58:06.728 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_JarImg_2/20241209-195804-UpgModPathTest/results/1.CMJ.stdout [2024-12-09T19:58:07.031Z] STF 19:58:06.764 - Monitoring processes: CMJ [2024-12-09T19:58:07.374Z] STF 19:58:07.106 - Monitoring Report Summary: [2024-12-09T19:58:07.374Z] STF 19:58:07.106 - o Process CMJ ended with the expected exit code (0) [2024-12-09T19:58:07.374Z] STF 19:58:07.106 - Created modular jar: 1.com.hello.jar [2024-12-09T19:58:07.374Z] STF 19:58:07.106 - [2024-12-09T19:58:07.374Z] STF 19:58:07.106 - +------ Step 2 - Create com.hola jar [2024-12-09T19:58:07.374Z] STF 19:58:07.106 - | Create modular jar [2024-12-09T19:58:07.374Z] STF 19:58:07.106 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-12-09T19:58:07.374Z] STF 19:58:07.106 - | ModuleVersion: null [2024-12-09T19:58:07.374Z] STF 19:58:07.106 - | MainClass: null [2024-12-09T19:58:07.374Z] STF 19:58:07.106 - | HashModules: null [2024-12-09T19:58:07.374Z] STF 19:58:07.106 - | [2024-12-09T19:58:07.374Z] STF 19:58:07.107 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_JarImg_2/20241209-195804-UpgModPathTest/modules/2.com.hola.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2024-12-09T19:58:07.374Z] STF 19:58:07.107 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_JarImg_2/20241209-195804-UpgModPathTest/results/2.CMJ.stderr [2024-12-09T19:58:07.374Z] STF 19:58:07.107 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_JarImg_2/20241209-195804-UpgModPathTest/results/2.CMJ.stdout [2024-12-09T19:58:07.374Z] STF 19:58:07.128 - Monitoring processes: CMJ [2024-12-09T19:58:07.709Z] STF 19:58:07.456 - Monitoring Report Summary: [2024-12-09T19:58:07.709Z] STF 19:58:07.456 - o Process CMJ ended with the expected exit code (0) [2024-12-09T19:58:07.709Z] STF 19:58:07.457 - Created modular jar: 2.com.hola.jar [2024-12-09T19:58:07.709Z] STF 19:58:07.457 - [2024-12-09T19:58:07.709Z] STF 19:58:07.457 - +------ Step 3 - Create com.helper jar [2024-12-09T19:58:07.709Z] STF 19:58:07.457 - | Create modular jar [2024-12-09T19:58:07.709Z] STF 19:58:07.457 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-12-09T19:58:07.709Z] STF 19:58:07.457 - | ModuleVersion: null [2024-12-09T19:58:07.709Z] STF 19:58:07.457 - | MainClass: null [2024-12-09T19:58:07.709Z] STF 19:58:07.457 - | HashModules: null [2024-12-09T19:58:07.709Z] STF 19:58:07.457 - | [2024-12-09T19:58:07.710Z] STF 19:58:07.457 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_JarImg_2/20241209-195804-UpgModPathTest/modules/3.com.helper.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2024-12-09T19:58:07.710Z] STF 19:58:07.457 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_JarImg_2/20241209-195804-UpgModPathTest/results/3.CMJ.stderr [2024-12-09T19:58:07.710Z] STF 19:58:07.457 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_JarImg_2/20241209-195804-UpgModPathTest/results/3.CMJ.stdout [2024-12-09T19:58:07.710Z] STF 19:58:07.464 - Monitoring processes: CMJ [2024-12-09T19:58:08.045Z] STF 19:58:07.784 - Monitoring Report Summary: [2024-12-09T19:58:08.045Z] STF 19:58:07.784 - o Process CMJ ended with the expected exit code (0) [2024-12-09T19:58:08.045Z] STF 19:58:07.784 - Created modular jar: 3.com.helper.jar [2024-12-09T19:58:08.045Z] STF 19:58:07.784 - [2024-12-09T19:58:08.045Z] STF 19:58:07.784 - +------ Step 4 - Create com.discreet jar [2024-12-09T19:58:08.045Z] STF 19:58:07.784 - | Create modular jar [2024-12-09T19:58:08.045Z] STF 19:58:07.784 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-12-09T19:58:08.045Z] STF 19:58:07.784 - | ModuleVersion: null [2024-12-09T19:58:08.045Z] STF 19:58:07.784 - | MainClass: null [2024-12-09T19:58:08.045Z] STF 19:58:07.784 - | HashModules: null [2024-12-09T19:58:08.045Z] STF 19:58:07.784 - | [2024-12-09T19:58:08.045Z] STF 19:58:07.785 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_JarImg_2/20241209-195804-UpgModPathTest/modules/4.com.discreet.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2024-12-09T19:58:08.045Z] STF 19:58:07.785 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_JarImg_2/20241209-195804-UpgModPathTest/results/4.CMJ.stderr [2024-12-09T19:58:08.045Z] STF 19:58:07.785 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_JarImg_2/20241209-195804-UpgModPathTest/results/4.CMJ.stdout [2024-12-09T19:58:08.045Z] STF 19:58:07.792 - Monitoring processes: CMJ [2024-12-09T19:58:08.382Z] STF 19:58:08.111 - Monitoring Report Summary: [2024-12-09T19:58:08.382Z] STF 19:58:08.111 - o Process CMJ ended with the expected exit code (0) [2024-12-09T19:58:08.382Z] STF 19:58:08.112 - Created modular jar: 4.com.discreet.jar [2024-12-09T19:58:08.382Z] STF 19:58:08.112 - [2024-12-09T19:58:08.382Z] STF 19:58:08.112 - +------ Step 5 - Create tests jar [2024-12-09T19:58:08.382Z] STF 19:58:08.112 - | Create modular jar [2024-12-09T19:58:08.382Z] STF 19:58:08.112 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-12-09T19:58:08.382Z] STF 19:58:08.112 - | ModuleVersion: null [2024-12-09T19:58:08.382Z] STF 19:58:08.112 - | MainClass: null [2024-12-09T19:58:08.382Z] STF 19:58:08.112 - | HashModules: null [2024-12-09T19:58:08.382Z] STF 19:58:08.112 - | [2024-12-09T19:58:08.382Z] STF 19:58:08.112 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_JarImg_2/20241209-195804-UpgModPathTest/modules/5.com.test.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2024-12-09T19:58:08.382Z] STF 19:58:08.112 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_JarImg_2/20241209-195804-UpgModPathTest/results/5.CMJ.stderr [2024-12-09T19:58:08.382Z] STF 19:58:08.112 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_JarImg_2/20241209-195804-UpgModPathTest/results/5.CMJ.stdout [2024-12-09T19:58:08.382Z] STF 19:58:08.119 - Monitoring processes: CMJ [2024-12-09T19:58:08.748Z] STF 19:58:08.459 - Monitoring Report Summary: [2024-12-09T19:58:08.748Z] STF 19:58:08.459 - o Process CMJ ended with the expected exit code (0) [2024-12-09T19:58:08.748Z] STF 19:58:08.460 - Created modular jar: 5.com.test.jar [2024-12-09T19:58:08.748Z] STF 19:58:08.460 - [2024-12-09T19:58:08.748Z] STF 19:58:08.460 - +------ Step 6 - Create runtime image for upgrademodulepath test [2024-12-09T19:58:08.748Z] STF 19:58:08.460 - | Run jlink to create runtime image [2024-12-09T19:58:08.748Z] STF 19:58:08.460 - | ImageName: UpJVM [2024-12-09T19:58:08.748Z] STF 19:58:08.460 - | [2024-12-09T19:58:08.748Z] STF 19:58:08.460 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jlink --module-path c:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jdkbinary\j2sdk-image\jmods;C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\aqa-tests\TKG\output_17337701411866\UpgModPath_JarImg_2\20241209-195804-UpgModPathTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\aqa-tests\TKG\output_17337701411866\UpgModPath_JarImg_2\20241209-195804-UpgModPathTest\tmp\6.UpJVM [2024-12-09T19:58:08.748Z] STF 19:58:08.460 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_JarImg_2/20241209-195804-UpgModPathTest/results/6.JLNK.stderr [2024-12-09T19:58:08.749Z] STF 19:58:08.460 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_JarImg_2/20241209-195804-UpgModPathTest/results/6.JLNK.stdout [2024-12-09T19:58:08.749Z] STF 19:58:08.468 - Monitoring processes: JLNK [2024-12-09T19:58:11.675Z] STF 19:58:10.873 - Monitoring Report Summary: [2024-12-09T19:58:11.675Z] STF 19:58:10.873 - o Process JLNK ended with the expected exit code (0) [2024-12-09T19:58:11.675Z] STF 19:58:10.873 - [2024-12-09T19:58:11.675Z] STF 19:58:10.873 - +------ Step 7 - Create com.hello override jar [2024-12-09T19:58:11.675Z] STF 19:58:10.873 - | Create modular jar [2024-12-09T19:58:11.675Z] STF 19:58:10.873 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-12-09T19:58:11.675Z] STF 19:58:10.873 - | ModuleVersion: null [2024-12-09T19:58:11.675Z] STF 19:58:10.873 - | MainClass: null [2024-12-09T19:58:11.675Z] STF 19:58:10.873 - | HashModules: null [2024-12-09T19:58:11.675Z] STF 19:58:10.873 - | [2024-12-09T19:58:11.676Z] STF 19:58:10.874 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_JarImg_2/20241209-195804-UpgModPathTest/modules/7.com.hello.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2024-12-09T19:58:11.676Z] STF 19:58:10.874 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_JarImg_2/20241209-195804-UpgModPathTest/results/7.CMJ.stderr [2024-12-09T19:58:11.676Z] STF 19:58:10.874 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_JarImg_2/20241209-195804-UpgModPathTest/results/7.CMJ.stdout [2024-12-09T19:58:11.676Z] STF 19:58:10.881 - Monitoring processes: CMJ [2024-12-09T19:58:11.676Z] STF 19:58:11.432 - Monitoring Report Summary: [2024-12-09T19:58:11.676Z] STF 19:58:11.432 - o Process CMJ ended with the expected exit code (0) [2024-12-09T19:58:11.676Z] STF 19:58:11.433 - Created modular jar: 7.com.hello.jar [2024-12-09T19:58:11.676Z] STF 19:58:11.433 - [2024-12-09T19:58:11.676Z] STF 19:58:11.433 - +------ Step 8 - Create com.hello override jar [2024-12-09T19:58:11.676Z] STF 19:58:11.433 - | Create modular jar [2024-12-09T19:58:11.676Z] STF 19:58:11.433 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2024-12-09T19:58:11.676Z] STF 19:58:11.433 - | ModuleVersion: null [2024-12-09T19:58:11.676Z] STF 19:58:11.433 - | MainClass: null [2024-12-09T19:58:11.676Z] STF 19:58:11.433 - | HashModules: null [2024-12-09T19:58:11.676Z] STF 19:58:11.433 - | [2024-12-09T19:58:11.676Z] STF 19:58:11.433 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_JarImg_2/20241209-195804-UpgModPathTest/modules/8.java.logging.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.logging . [2024-12-09T19:58:11.676Z] STF 19:58:11.433 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_JarImg_2/20241209-195804-UpgModPathTest/results/8.CMJ.stderr [2024-12-09T19:58:11.676Z] STF 19:58:11.433 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_JarImg_2/20241209-195804-UpgModPathTest/results/8.CMJ.stdout [2024-12-09T19:58:11.676Z] STF 19:58:11.440 - Monitoring processes: CMJ [2024-12-09T19:58:12.012Z] STF 19:58:11.744 - Monitoring Report Summary: [2024-12-09T19:58:12.012Z] STF 19:58:11.744 - o Process CMJ ended with the expected exit code (0) [2024-12-09T19:58:12.012Z] STF 19:58:11.744 - Created modular jar: 8.java.logging.jar [2024-12-09T19:58:12.012Z] STF 19:58:11.744 - [2024-12-09T19:58:12.012Z] STF 19:58:11.744 - +------ Step 9 - Override an application module using a custom runtime image where the overriding module is in a modularized jar [2024-12-09T19:58:12.012Z] STF 19:58:11.744 - | Run foreground process [2024-12-09T19:58:12.012Z] STF 19:58:11.745 - | Program: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_JarImg_2/20241209-195804-UpgModPathTest/tmp/6.UpJVM/bin/java [2024-12-09T19:58:12.012Z] STF 19:58:11.745 - | Mnemonic: OT25 [2024-12-09T19:58:12.012Z] STF 19:58:11.745 - | Echo: ECHO_ON [2024-12-09T19:58:12.012Z] STF 19:58:11.745 - | Expectation: CLEAN_RUN within 1m [2024-12-09T19:58:12.012Z] STF 19:58:11.745 - | [2024-12-09T19:58:12.013Z] STF 19:58:11.745 - Running command: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_JarImg_2/20241209-195804-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_JarImg_2/20241209-195804-UpgModPathTest/modules/7.com.hello.jar -classpath c:/jenkins/testDependency/system_lib/junit/junit.jar;c:/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2024-12-09T19:58:12.013Z] STF 19:58:11.745 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_JarImg_2/20241209-195804-UpgModPathTest/results/9.OT25.stderr [2024-12-09T19:58:12.013Z] STF 19:58:11.745 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_JarImg_2/20241209-195804-UpgModPathTest/results/9.OT25.stdout [2024-12-09T19:58:12.013Z] STF 19:58:11.779 - Monitoring processes: OT25 [2024-12-09T19:58:12.351Z] OT25 JUnit version 4.12 [2024-12-09T19:58:12.351Z] OT25 . [2024-12-09T19:58:12.351Z] OT25 Time: 0.006 [2024-12-09T19:58:12.351Z] OT25 [2024-12-09T19:58:12.351Z] OT25 OK (1 test) [2024-12-09T19:58:12.351Z] OT25 [2024-12-09T19:58:12.351Z] STF 19:58:12.136 - Monitoring Report Summary: [2024-12-09T19:58:12.351Z] STF 19:58:12.136 - o Process OT25 ended with the expected exit code (0) [2024-12-09T19:58:12.351Z] STF 19:58:12.137 - [2024-12-09T19:58:12.351Z] STF 19:58:12.137 - +------ Step 10 - (Negative test) Override a non-upgradable platform module using a custom runtime imagewhere the overriding module is in a modularized jar [2024-12-09T19:58:12.351Z] STF 19:58:12.137 - | Run foreground process [2024-12-09T19:58:12.351Z] STF 19:58:12.137 - | Program: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_JarImg_2/20241209-195804-UpgModPathTest/tmp/6.UpJVM/bin/java [2024-12-09T19:58:12.351Z] STF 19:58:12.137 - | Mnemonic: OT27 [2024-12-09T19:58:12.351Z] STF 19:58:12.137 - | Echo: ECHO_ON [2024-12-09T19:58:12.351Z] STF 19:58:12.137 - | Expectation: NON_ZERO_EXIT [1] within 1m [2024-12-09T19:58:12.351Z] STF 19:58:12.137 - | [2024-12-09T19:58:12.351Z] STF 19:58:12.137 - Running command: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_JarImg_2/20241209-195804-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_JarImg_2/20241209-195804-UpgModPathTest/modules/8.java.logging.jar -classpath c:/jenkins/testDependency/system_lib/junit/junit.jar;c:/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingNonUpgradablePlatformModule [2024-12-09T19:58:12.351Z] STF 19:58:12.137 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_JarImg_2/20241209-195804-UpgModPathTest/results/10.OT27.stderr [2024-12-09T19:58:12.351Z] STF 19:58:12.137 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_JarImg_2/20241209-195804-UpgModPathTest/results/10.OT27.stdout [2024-12-09T19:58:12.351Z] STF 19:58:12.150 - Monitoring processes: OT27 [2024-12-09T19:58:12.688Z] OT27 Error occurred during initialization of boot layer [2024-12-09T19:58:12.688Z] OT27 java.lang.module.FindException: Hash of java.logging (bedcf9f9b016de9d6965aeb813d1aa5a7ba4bf40e659f94655f933323eb12783) differs to expected hash (60256a62c6efd709c656f0c3e03a97ed6375519a28c3310359d41193e8565f7b) recorded in java.base [2024-12-09T19:58:12.688Z] STF 19:58:12.395 - Monitoring Report Summary: [2024-12-09T19:58:12.688Z] STF 19:58:12.395 - o Process OT27 ended with the expected exit code (1) [2024-12-09T19:58:12.688Z] STF 19:58:12.395 - [2024-12-09T19:58:12.688Z] STF 19:58:12.395 - +------ Step 11 - Combine stderr and stdout files of process OT27 [2024-12-09T19:58:12.688Z] STF 19:58:12.395 - | Run foreground process [2024-12-09T19:58:12.688Z] STF 19:58:12.395 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/java [2024-12-09T19:58:12.688Z] STF 19:58:12.395 - | Mnemonic: CO [2024-12-09T19:58:12.688Z] STF 19:58:12.395 - | Echo: ECHO_OFF [2024-12-09T19:58:12.688Z] STF 19:58:12.395 - | Expectation: NON_ZERO_EXIT [0] within 30s [2024-12-09T19:58:12.688Z] STF 19:58:12.395 - | [2024-12-09T19:58:12.688Z] STF 19:58:12.396 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/java -Dfile1=C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_JarImg_2/20241209-195804-UpgModPathTest/results/10.OT27.stdout -Dfile2=C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_JarImg_2/20241209-195804-UpgModPathTest/results/10.OT27.stderr -Dfinal.file=C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\aqa-tests\TKG\output_17337701411866\UpgModPath_JarImg_2\20241209-195804-UpgModPathTest\results\combinedOT27.txt -classpath C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\STF\stf.core\bin;C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin net.adoptopenjdk.test.modularity.TestUtil [2024-12-09T19:58:12.688Z] STF 19:58:12.396 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_JarImg_2/20241209-195804-UpgModPathTest/results/11.CO.stderr [2024-12-09T19:58:12.688Z] STF 19:58:12.396 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_JarImg_2/20241209-195804-UpgModPathTest/results/11.CO.stdout [2024-12-09T19:58:12.688Z] STF 19:58:12.404 - Monitoring processes: CO [2024-12-09T19:58:13.108Z] STF 19:58:12.599 - Monitoring Report Summary: [2024-12-09T19:58:13.108Z] STF 19:58:12.599 - o Process CO ended with the expected exit code (0) [2024-12-09T19:58:13.108Z] STF 19:58:12.599 - [2024-12-09T19:58:13.108Z] STF 19:58:12.599 - +------ Step 12 - Check output [2024-12-09T19:58:13.108Z] STF 19:58:12.599 - | Count file matches [2024-12-09T19:58:13.109Z] STF 19:58:12.599 - | TargetFile: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_JarImg_2/20241209-195804-UpgModPathTest/results/combinedOT27.txt [2024-12-09T19:58:13.109Z] STF 19:58:12.599 - | ExpectedNumMatches: 1 [2024-12-09T19:58:13.109Z] STF 19:58:12.599 - | SearchStrings: ["FindException: Hash of java.logging"] [2024-12-09T19:58:13.109Z] STF 19:58:12.599 - | [2024-12-09T19:58:13.109Z] STF 19:58:12.601 - Found 1 instances of ["FindException: Hash of java.logging"] [2024-12-09T19:58:13.109Z] STF 19:58:12.601 - EXECUTE stage completed [2024-12-09T19:58:13.109Z] STF 19:58:12.667 - [2024-12-09T19:58:13.109Z] STF 19:58:12.667 - ==================== T E A R D O W N ==================== [2024-12-09T19:58:13.109Z] STF 19:58:12.667 - Running teardown: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17337701411866\UpgModPath_JarImg_2/20241209-195804-UpgModPathTest/tearDown.pl [2024-12-09T19:58:13.109Z] STF 19:58:12.830 - TEARDOWN stage completed [2024-12-09T19:58:13.109Z] STF 19:58:12.843 - [2024-12-09T19:58:13.109Z] STF 19:58:12.843 - ===================== R E S U L T S ===================== [2024-12-09T19:58:13.109Z] STF 19:58:12.843 - Stage results: [2024-12-09T19:58:13.109Z] STF 19:58:12.843 - setUp: pass [2024-12-09T19:58:13.109Z] STF 19:58:12.843 - execute: pass [2024-12-09T19:58:13.109Z] STF 19:58:12.843 - teardown: pass [2024-12-09T19:58:13.109Z] STF 19:58:12.843 - [2024-12-09T19:58:13.109Z] STF 19:58:12.843 - Overall result: PASSED [2024-12-09T19:58:13.109Z] ----------------------------------- [2024-12-09T19:58:13.109Z] UpgModPath_JarImg_2_PASSED [2024-12-09T19:58:13.109Z] ----------------------------------- [2024-12-09T19:58:13.109Z] [2024-12-09T19:58:13.109Z] TEST TEARDOWN: [2024-12-09T19:58:13.109Z] Nothing to be done for teardown. [2024-12-09T19:58:13.494Z] UpgModPath_JarImg_2 Finish Time: Mon Dec 9 19:58:13 2024 Epoch Time (ms): 1733774293173