UpgModPath_JarImg_1

[2024-10-16T04:27:20.613Z] Running test UpgModPath_JarImg_1 ... [2024-10-16T04:27:20.613Z] =============================================== [2024-10-16T04:27:20.925Z] UpgModPath_JarImg_1 Start Time: Wed Oct 16 04:27:20 2024 Epoch Time (ms): 1729052840665 [2024-10-16T04:27:21.288Z] variation: Mode650 [2024-10-16T04:27:21.288Z] JVM_OPTIONS: -XX:-UseCompressedOops [2024-10-16T04:27:21.288Z] { \ [2024-10-16T04:27:21.288Z] echo ""; echo "TEST SETUP:"; \ [2024-10-16T04:27:21.288Z] echo "Nothing to be done for setup."; \ [2024-10-16T04:27:21.288Z] mkdir -p "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17290507899439\\UpgModPath_JarImg_1"; \ [2024-10-16T04:27:21.288Z] cd "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17290507899439\\UpgModPath_JarImg_1"; \ [2024-10-16T04:27:21.288Z] echo ""; echo "TESTING:"; \ [2024-10-16T04:27:21.288Z] perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\\" -java-args=' -XX:-UseCompressedOops ' -results-root="C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17290507899439\\UpgModPath_JarImg_1" -test=UpgModPathTest -test-args="variant=JarImg"; \ [2024-10-16T04:27:21.288Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_JarImg_1""_PASSED"; echo "-----------------------------------"; cd C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/; rm -f -r "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17290507899439\\UpgModPath_JarImg_1"; else echo "-----------------------------------"; echo "UpgModPath_JarImg_1""_FAILED"; echo "-----------------------------------"; fi; \ [2024-10-16T04:27:21.288Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-10-16T04:27:21.288Z] echo "Nothing to be done for teardown."; \ [2024-10-16T04:27:21.288Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17290507899439\\TestTargetResult"; [2024-10-16T04:27:21.288Z] [2024-10-16T04:27:21.288Z] TEST SETUP: [2024-10-16T04:27:21.288Z] Nothing to be done for setup. [2024-10-16T04:27:21.288Z] [2024-10-16T04:27:21.288Z] TESTING: [2024-10-16T04:27:21.600Z] STF 04:27:21.318 - ========================= S T F ========================= [2024-10-16T04:27:21.600Z] 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-64_windows_testList_1/aqa-tests/\TKG\output_17290507899439\UpgModPath_JarImg_1 [2024-10-16T04:27:21.600Z] There is 126634 Mb free [2024-10-16T04:27:21.600Z] STF 04:27:21.367 - ================== G E N E R A T I O N ================== [2024-10-16T04:27:21.600Z] STF 04:27:21.370 - Checking JVM: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image [2024-10-16T04:27:21.600Z] STF 04:27:21.370 - Starting process to generate scripts: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/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-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-api.jar;c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17290507899439\UpgModPath_JarImg_1/20241016-042721-UpgModPathTest/stf_parameters.properties, , C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17290507899439\UpgModPath_JarImg_1/20241016-042721-UpgModPathTest" [2024-10-16T04:27:22.715Z] GEN 04:27:22.545 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: 'C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2024-10-16T04:27:22.715Z] GEN 04:27:22.564 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2024-10-16T04:27:23.048Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-10-16T04:27:23.048Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2024-10-16T04:27:23.048Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2024-10-16T04:27:23.048Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2024-10-16T04:27:23.048Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2024-10-16T04:27:23.048Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2024-10-16T04:27:23.048Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2024-10-16T04:27:23.048Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2024-10-16T04:27:23.048Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2024-10-16T04:27:23.048Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2024-10-16T04:27:23.048Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2024-10-16T04:27:23.048Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2024-10-16T04:27:23.048Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2024-10-16T04:27:23.048Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-10-16T04:27:23.048Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-10-16T04:27:23.048Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-10-16T04:27:23.048Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2024-10-16T04:27:23.048Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-10-16T04:27:23.048Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-10-16T04:27:23.048Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar [2024-10-16T04:27:23.048Z] GEN 04:27:22.858 - Using Mode NoOptions. Values = '' [2024-10-16T04:27:23.377Z] GEN 04:27:23.025 - [2024-10-16T04:27:23.377Z] GEN 04:27:23.026 - Test command summary: [2024-10-16T04:27:23.377Z] GEN 04:27:23.026 - Step Stage Command Description [2024-10-16T04:27:23.377Z] GEN 04:27:23.026 - -----+--------+-----------------+------------ [2024-10-16T04:27:23.377Z] GEN 04:27:23.026 - 1 execute jar Create com.hello jar [2024-10-16T04:27:23.377Z] GEN 04:27:23.026 - 2 execute jar Create com.hola jar [2024-10-16T04:27:23.377Z] GEN 04:27:23.027 - 3 execute jar Create com.helper jar [2024-10-16T04:27:23.377Z] GEN 04:27:23.027 - 4 execute jar Create com.discreet jar [2024-10-16T04:27:23.377Z] GEN 04:27:23.027 - 5 execute jar Create tests jar [2024-10-16T04:27:23.377Z] GEN 04:27:23.027 - 6 execute jlink Create runtime image for upgrademodulepath test [2024-10-16T04:27:23.377Z] GEN 04:27:23.027 - 7 execute jar Create com.hello override jar [2024-10-16T04:27:23.377Z] GEN 04:27:23.027 - 8 execute jar Create com.hello override jar [2024-10-16T04:27:23.377Z] GEN 04:27:23.027 - 9 execute Run java Override an application module using a custom runtime image where the overriding module is in a modularized jar [2024-10-16T04:27:23.377Z] GEN 04:27:23.027 - 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-10-16T04:27:23.377Z] GEN 04:27:23.027 - 11 execute Run java Combine stderr and stdout files of process OT27 [2024-10-16T04:27:23.377Z] GEN 04:27:23.027 - 12 execute count Check output [2024-10-16T04:27:23.377Z] STF 04:27:23.079 - [2024-10-16T04:27:23.377Z] STF 04:27:23.079 - Script generation completed [2024-10-16T04:27:23.377Z] STF 04:27:23.079 - [2024-10-16T04:27:23.377Z] STF 04:27:23.081 - [2024-10-16T04:27:23.377Z] STF 04:27:23.081 - ======================= S E T U P ======================= [2024-10-16T04:27:23.377Z] STF 04:27:23.081 - Running setup: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17290507899439\UpgModPath_JarImg_1/20241016-042721-UpgModPathTest/setUp.pl [2024-10-16T04:27:23.377Z] STF 04:27:23.216 - SETUP stage completed [2024-10-16T04:27:23.377Z] STF 04:27:23.229 - [2024-10-16T04:27:23.377Z] STF 04:27:23.229 - ==================== E X E C U T E - ==================== [2024-10-16T04:27:23.377Z] STF 04:27:23.229 - Running execute: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17290507899439\UpgModPath_JarImg_1/20241016-042721-UpgModPathTest/execute.pl [2024-10-16T04:27:23.703Z] STF 04:27:23.375 - [2024-10-16T04:27:23.703Z] STF 04:27:23.375 - Java version [2024-10-16T04:27:23.703Z] STF 04:27:23.375 - Running: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-10-16T04:27:23.703Z] openjdk version "11.0.25" 2024-10-15 [2024-10-16T04:27:23.703Z] OpenJDK Runtime Environment Temurin-11.0.25+9 (build 11.0.25+9) [2024-10-16T04:27:23.703Z] OpenJDK 64-Bit Server VM Temurin-11.0.25+9 (build 11.0.25+9, mixed mode) [2024-10-16T04:27:23.703Z] STF 04:27:23.492 - [2024-10-16T04:27:23.703Z] STF 04:27:23.492 - +------ Step 1 - Create com.hello jar [2024-10-16T04:27:23.703Z] STF 04:27:23.492 - | Create modular jar [2024-10-16T04:27:23.703Z] STF 04:27:23.492 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-10-16T04:27:23.703Z] STF 04:27:23.492 - | ModuleVersion: null [2024-10-16T04:27:23.703Z] STF 04:27:23.492 - | MainClass: null [2024-10-16T04:27:23.703Z] STF 04:27:23.492 - | HashModules: null [2024-10-16T04:27:23.703Z] STF 04:27:23.492 - | [2024-10-16T04:27:23.703Z] STF 04:27:23.492 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17290507899439/UpgModPath_JarImg_1/20241016-042721-UpgModPathTest/modules/1.com.hello.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2024-10-16T04:27:23.703Z] STF 04:27:23.493 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17290507899439/UpgModPath_JarImg_1/20241016-042721-UpgModPathTest/results/1.CMJ.stderr [2024-10-16T04:27:23.703Z] STF 04:27:23.493 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17290507899439/UpgModPath_JarImg_1/20241016-042721-UpgModPathTest/results/1.CMJ.stdout [2024-10-16T04:27:23.704Z] STF 04:27:23.520 - Monitoring processes: CMJ [2024-10-16T04:27:24.029Z] STF 04:27:23.835 - Monitoring Report Summary: [2024-10-16T04:27:24.029Z] STF 04:27:23.835 - o Process CMJ ended with the expected exit code (0) [2024-10-16T04:27:24.029Z] STF 04:27:23.835 - Created modular jar: 1.com.hello.jar [2024-10-16T04:27:24.029Z] STF 04:27:23.835 - [2024-10-16T04:27:24.029Z] STF 04:27:23.835 - +------ Step 2 - Create com.hola jar [2024-10-16T04:27:24.029Z] STF 04:27:23.835 - | Create modular jar [2024-10-16T04:27:24.029Z] STF 04:27:23.835 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-10-16T04:27:24.029Z] STF 04:27:23.835 - | ModuleVersion: null [2024-10-16T04:27:24.029Z] STF 04:27:23.835 - | MainClass: null [2024-10-16T04:27:24.029Z] STF 04:27:23.835 - | HashModules: null [2024-10-16T04:27:24.029Z] STF 04:27:23.835 - | [2024-10-16T04:27:24.029Z] STF 04:27:23.835 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17290507899439/UpgModPath_JarImg_1/20241016-042721-UpgModPathTest/modules/2.com.hola.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2024-10-16T04:27:24.029Z] STF 04:27:23.835 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17290507899439/UpgModPath_JarImg_1/20241016-042721-UpgModPathTest/results/2.CMJ.stderr [2024-10-16T04:27:24.029Z] STF 04:27:23.835 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17290507899439/UpgModPath_JarImg_1/20241016-042721-UpgModPathTest/results/2.CMJ.stdout [2024-10-16T04:27:24.029Z] STF 04:27:23.842 - Monitoring processes: CMJ [2024-10-16T04:27:24.357Z] STF 04:27:24.170 - Monitoring Report Summary: [2024-10-16T04:27:24.357Z] STF 04:27:24.170 - o Process CMJ ended with the expected exit code (0) [2024-10-16T04:27:24.357Z] STF 04:27:24.171 - Created modular jar: 2.com.hola.jar [2024-10-16T04:27:24.357Z] STF 04:27:24.171 - [2024-10-16T04:27:24.357Z] STF 04:27:24.171 - +------ Step 3 - Create com.helper jar [2024-10-16T04:27:24.357Z] STF 04:27:24.171 - | Create modular jar [2024-10-16T04:27:24.357Z] STF 04:27:24.171 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-10-16T04:27:24.357Z] STF 04:27:24.171 - | ModuleVersion: null [2024-10-16T04:27:24.357Z] STF 04:27:24.171 - | MainClass: null [2024-10-16T04:27:24.357Z] STF 04:27:24.171 - | HashModules: null [2024-10-16T04:27:24.357Z] STF 04:27:24.171 - | [2024-10-16T04:27:24.357Z] STF 04:27:24.171 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17290507899439/UpgModPath_JarImg_1/20241016-042721-UpgModPathTest/modules/3.com.helper.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2024-10-16T04:27:24.357Z] STF 04:27:24.171 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17290507899439/UpgModPath_JarImg_1/20241016-042721-UpgModPathTest/results/3.CMJ.stderr [2024-10-16T04:27:24.357Z] STF 04:27:24.171 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17290507899439/UpgModPath_JarImg_1/20241016-042721-UpgModPathTest/results/3.CMJ.stdout [2024-10-16T04:27:24.357Z] STF 04:27:24.178 - Monitoring processes: CMJ [2024-10-16T04:27:24.668Z] STF 04:27:24.502 - Monitoring Report Summary: [2024-10-16T04:27:24.668Z] STF 04:27:24.502 - o Process CMJ ended with the expected exit code (0) [2024-10-16T04:27:24.668Z] STF 04:27:24.503 - Created modular jar: 3.com.helper.jar [2024-10-16T04:27:24.668Z] STF 04:27:24.503 - [2024-10-16T04:27:24.668Z] STF 04:27:24.503 - +------ Step 4 - Create com.discreet jar [2024-10-16T04:27:24.668Z] STF 04:27:24.503 - | Create modular jar [2024-10-16T04:27:24.668Z] STF 04:27:24.503 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-10-16T04:27:24.668Z] STF 04:27:24.503 - | ModuleVersion: null [2024-10-16T04:27:24.668Z] STF 04:27:24.503 - | MainClass: null [2024-10-16T04:27:24.668Z] STF 04:27:24.503 - | HashModules: null [2024-10-16T04:27:24.668Z] STF 04:27:24.503 - | [2024-10-16T04:27:24.668Z] STF 04:27:24.503 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17290507899439/UpgModPath_JarImg_1/20241016-042721-UpgModPathTest/modules/4.com.discreet.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2024-10-16T04:27:24.668Z] STF 04:27:24.503 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17290507899439/UpgModPath_JarImg_1/20241016-042721-UpgModPathTest/results/4.CMJ.stderr [2024-10-16T04:27:24.668Z] STF 04:27:24.503 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17290507899439/UpgModPath_JarImg_1/20241016-042721-UpgModPathTest/results/4.CMJ.stdout [2024-10-16T04:27:24.668Z] STF 04:27:24.509 - Monitoring processes: CMJ [2024-10-16T04:27:24.995Z] STF 04:27:24.851 - Monitoring Report Summary: [2024-10-16T04:27:24.995Z] STF 04:27:24.852 - o Process CMJ ended with the expected exit code (0) [2024-10-16T04:27:24.995Z] STF 04:27:24.852 - Created modular jar: 4.com.discreet.jar [2024-10-16T04:27:24.995Z] STF 04:27:24.852 - [2024-10-16T04:27:24.995Z] STF 04:27:24.852 - +------ Step 5 - Create tests jar [2024-10-16T04:27:24.995Z] STF 04:27:24.852 - | Create modular jar [2024-10-16T04:27:24.995Z] STF 04:27:24.852 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-10-16T04:27:24.995Z] STF 04:27:24.852 - | ModuleVersion: null [2024-10-16T04:27:24.995Z] STF 04:27:24.852 - | MainClass: null [2024-10-16T04:27:24.995Z] STF 04:27:24.852 - | HashModules: null [2024-10-16T04:27:24.995Z] STF 04:27:24.852 - | [2024-10-16T04:27:24.995Z] STF 04:27:24.852 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17290507899439/UpgModPath_JarImg_1/20241016-042721-UpgModPathTest/modules/5.com.test.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2024-10-16T04:27:24.995Z] STF 04:27:24.852 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17290507899439/UpgModPath_JarImg_1/20241016-042721-UpgModPathTest/results/5.CMJ.stderr [2024-10-16T04:27:24.995Z] STF 04:27:24.852 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17290507899439/UpgModPath_JarImg_1/20241016-042721-UpgModPathTest/results/5.CMJ.stdout [2024-10-16T04:27:24.995Z] STF 04:27:24.859 - Monitoring processes: CMJ [2024-10-16T04:27:25.318Z] STF 04:27:25.199 - Monitoring Report Summary: [2024-10-16T04:27:25.318Z] STF 04:27:25.199 - o Process CMJ ended with the expected exit code (0) [2024-10-16T04:27:25.318Z] STF 04:27:25.199 - Created modular jar: 5.com.test.jar [2024-10-16T04:27:25.318Z] STF 04:27:25.199 - [2024-10-16T04:27:25.318Z] STF 04:27:25.199 - +------ Step 6 - Create runtime image for upgrademodulepath test [2024-10-16T04:27:25.318Z] STF 04:27:25.199 - | Run jlink to create runtime image [2024-10-16T04:27:25.318Z] STF 04:27:25.199 - | ImageName: UpJVM [2024-10-16T04:27:25.318Z] STF 04:27:25.199 - | [2024-10-16T04:27:25.318Z] STF 04:27:25.199 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path c:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jdkbinary\j2sdk-image\jmods;C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17290507899439\UpgModPath_JarImg_1\20241016-042721-UpgModPathTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17290507899439\UpgModPath_JarImg_1\20241016-042721-UpgModPathTest\tmp\6.UpJVM [2024-10-16T04:27:25.318Z] STF 04:27:25.199 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17290507899439/UpgModPath_JarImg_1/20241016-042721-UpgModPathTest/results/6.JLNK.stderr [2024-10-16T04:27:25.318Z] STF 04:27:25.199 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17290507899439/UpgModPath_JarImg_1/20241016-042721-UpgModPathTest/results/6.JLNK.stdout [2024-10-16T04:27:25.318Z] STF 04:27:25.206 - Monitoring processes: JLNK [2024-10-16T04:27:28.236Z] STF 04:27:27.634 - Monitoring Report Summary: [2024-10-16T04:27:28.236Z] STF 04:27:27.634 - o Process JLNK ended with the expected exit code (0) [2024-10-16T04:27:28.236Z] STF 04:27:27.635 - [2024-10-16T04:27:28.236Z] STF 04:27:27.635 - +------ Step 7 - Create com.hello override jar [2024-10-16T04:27:28.236Z] STF 04:27:27.635 - | Create modular jar [2024-10-16T04:27:28.236Z] STF 04:27:27.635 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-10-16T04:27:28.236Z] STF 04:27:27.635 - | ModuleVersion: null [2024-10-16T04:27:28.236Z] STF 04:27:27.635 - | MainClass: null [2024-10-16T04:27:28.236Z] STF 04:27:27.635 - | HashModules: null [2024-10-16T04:27:28.236Z] STF 04:27:27.635 - | [2024-10-16T04:27:28.236Z] STF 04:27:27.635 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17290507899439/UpgModPath_JarImg_1/20241016-042721-UpgModPathTest/modules/7.com.hello.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2024-10-16T04:27:28.236Z] STF 04:27:27.635 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17290507899439/UpgModPath_JarImg_1/20241016-042721-UpgModPathTest/results/7.CMJ.stderr [2024-10-16T04:27:28.237Z] STF 04:27:27.635 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17290507899439/UpgModPath_JarImg_1/20241016-042721-UpgModPathTest/results/7.CMJ.stdout [2024-10-16T04:27:28.237Z] STF 04:27:27.645 - Monitoring processes: CMJ [2024-10-16T04:27:28.237Z] STF 04:27:28.085 - Monitoring Report Summary: [2024-10-16T04:27:28.237Z] STF 04:27:28.085 - o Process CMJ ended with the expected exit code (0) [2024-10-16T04:27:28.237Z] STF 04:27:28.085 - Created modular jar: 7.com.hello.jar [2024-10-16T04:27:28.237Z] STF 04:27:28.085 - [2024-10-16T04:27:28.237Z] STF 04:27:28.085 - +------ Step 8 - Create com.hello override jar [2024-10-16T04:27:28.237Z] STF 04:27:28.085 - | Create modular jar [2024-10-16T04:27:28.237Z] STF 04:27:28.085 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2024-10-16T04:27:28.237Z] STF 04:27:28.085 - | ModuleVersion: null [2024-10-16T04:27:28.237Z] STF 04:27:28.086 - | MainClass: null [2024-10-16T04:27:28.237Z] STF 04:27:28.086 - | HashModules: null [2024-10-16T04:27:28.237Z] STF 04:27:28.086 - | [2024-10-16T04:27:28.237Z] STF 04:27:28.086 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17290507899439/UpgModPath_JarImg_1/20241016-042721-UpgModPathTest/modules/8.java.logging.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.logging . [2024-10-16T04:27:28.237Z] STF 04:27:28.086 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17290507899439/UpgModPath_JarImg_1/20241016-042721-UpgModPathTest/results/8.CMJ.stderr [2024-10-16T04:27:28.237Z] STF 04:27:28.086 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17290507899439/UpgModPath_JarImg_1/20241016-042721-UpgModPathTest/results/8.CMJ.stdout [2024-10-16T04:27:28.237Z] STF 04:27:28.092 - Monitoring processes: CMJ [2024-10-16T04:27:28.561Z] STF 04:27:28.400 - Monitoring Report Summary: [2024-10-16T04:27:28.561Z] STF 04:27:28.400 - o Process CMJ ended with the expected exit code (0) [2024-10-16T04:27:28.561Z] STF 04:27:28.401 - Created modular jar: 8.java.logging.jar [2024-10-16T04:27:28.561Z] STF 04:27:28.401 - [2024-10-16T04:27:28.561Z] STF 04:27:28.401 - +------ Step 9 - Override an application module using a custom runtime image where the overriding module is in a modularized jar [2024-10-16T04:27:28.561Z] STF 04:27:28.401 - | Run foreground process [2024-10-16T04:27:28.561Z] STF 04:27:28.401 - | Program: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17290507899439/UpgModPath_JarImg_1/20241016-042721-UpgModPathTest/tmp/6.UpJVM/bin/java [2024-10-16T04:27:28.561Z] STF 04:27:28.401 - | Mnemonic: OT25 [2024-10-16T04:27:28.561Z] STF 04:27:28.401 - | Echo: ECHO_ON [2024-10-16T04:27:28.561Z] STF 04:27:28.401 - | Expectation: CLEAN_RUN within 1m [2024-10-16T04:27:28.561Z] STF 04:27:28.401 - | [2024-10-16T04:27:28.561Z] STF 04:27:28.401 - Running command: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17290507899439/UpgModPath_JarImg_1/20241016-042721-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17290507899439/UpgModPath_JarImg_1/20241016-042721-UpgModPathTest/modules/7.com.hello.jar -XX:-UseCompressedOops -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-10-16T04:27:28.561Z] STF 04:27:28.401 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17290507899439/UpgModPath_JarImg_1/20241016-042721-UpgModPathTest/results/9.OT25.stderr [2024-10-16T04:27:28.561Z] STF 04:27:28.401 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17290507899439/UpgModPath_JarImg_1/20241016-042721-UpgModPathTest/results/9.OT25.stdout [2024-10-16T04:27:28.561Z] STF 04:27:28.445 - Monitoring processes: OT25 [2024-10-16T04:27:28.912Z] OT25 JUnit version 4.12 [2024-10-16T04:27:28.912Z] OT25 . [2024-10-16T04:27:28.912Z] OT25 Time: 0.007 [2024-10-16T04:27:28.912Z] OT25 [2024-10-16T04:27:28.912Z] OT25 OK (1 test) [2024-10-16T04:27:28.912Z] OT25 [2024-10-16T04:27:28.912Z] STF 04:27:28.748 - Monitoring Report Summary: [2024-10-16T04:27:28.912Z] STF 04:27:28.749 - o Process OT25 ended with the expected exit code (0) [2024-10-16T04:27:28.912Z] STF 04:27:28.749 - [2024-10-16T04:27:28.912Z] STF 04:27:28.749 - +------ Step 10 - (Negative test) Override a non-upgradable platform module using a custom runtime imagewhere the overriding module is in a modularized jar [2024-10-16T04:27:28.912Z] STF 04:27:28.749 - | Run foreground process [2024-10-16T04:27:28.912Z] STF 04:27:28.749 - | Program: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17290507899439/UpgModPath_JarImg_1/20241016-042721-UpgModPathTest/tmp/6.UpJVM/bin/java [2024-10-16T04:27:28.912Z] STF 04:27:28.749 - | Mnemonic: OT27 [2024-10-16T04:27:28.912Z] STF 04:27:28.749 - | Echo: ECHO_ON [2024-10-16T04:27:28.912Z] STF 04:27:28.749 - | Expectation: NON_ZERO_EXIT [1] within 1m [2024-10-16T04:27:28.912Z] STF 04:27:28.749 - | [2024-10-16T04:27:28.912Z] STF 04:27:28.749 - Running command: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17290507899439/UpgModPath_JarImg_1/20241016-042721-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17290507899439/UpgModPath_JarImg_1/20241016-042721-UpgModPathTest/modules/8.java.logging.jar -XX:-UseCompressedOops -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-10-16T04:27:28.912Z] STF 04:27:28.749 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17290507899439/UpgModPath_JarImg_1/20241016-042721-UpgModPathTest/results/10.OT27.stderr [2024-10-16T04:27:28.912Z] STF 04:27:28.749 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17290507899439/UpgModPath_JarImg_1/20241016-042721-UpgModPathTest/results/10.OT27.stdout [2024-10-16T04:27:28.912Z] STF 04:27:28.755 - Monitoring processes: OT27 [2024-10-16T04:27:29.233Z] OT27 Error occurred during initialization of boot layer [2024-10-16T04:27:29.233Z] OT27 java.lang.module.FindException: Hash of java.logging (87a505514e3ba73b2b477e14059c7c5081e2911246f74980bf201f5b25b139af) differs to expected hash (900960462d432d4082a2307436f4298ad3c492addf13bd7643b33cc1eac136ff) recorded in java.base [2024-10-16T04:27:29.233Z] STF 04:27:28.960 - Monitoring Report Summary: [2024-10-16T04:27:29.233Z] STF 04:27:28.960 - o Process OT27 ended with the expected exit code (1) [2024-10-16T04:27:29.233Z] STF 04:27:28.960 - [2024-10-16T04:27:29.233Z] STF 04:27:28.960 - +------ Step 11 - Combine stderr and stdout files of process OT27 [2024-10-16T04:27:29.233Z] STF 04:27:28.960 - | Run foreground process [2024-10-16T04:27:29.233Z] STF 04:27:28.960 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-10-16T04:27:29.233Z] STF 04:27:28.960 - | Mnemonic: CO [2024-10-16T04:27:29.233Z] STF 04:27:28.960 - | Echo: ECHO_OFF [2024-10-16T04:27:29.233Z] STF 04:27:28.960 - | Expectation: NON_ZERO_EXIT [0] within 30s [2024-10-16T04:27:29.233Z] STF 04:27:28.960 - | [2024-10-16T04:27:29.234Z] STF 04:27:28.960 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -Dfile1=C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17290507899439/UpgModPath_JarImg_1/20241016-042721-UpgModPathTest/results/10.OT27.stdout -Dfile2=C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17290507899439/UpgModPath_JarImg_1/20241016-042721-UpgModPathTest/results/10.OT27.stderr -Dfinal.file=C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17290507899439\UpgModPath_JarImg_1\20241016-042721-UpgModPathTest\results\combinedOT27.txt -XX:-UseCompressedOops -classpath C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\STF\stf.core\bin;C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin net.adoptopenjdk.test.modularity.TestUtil [2024-10-16T04:27:29.234Z] STF 04:27:28.961 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17290507899439/UpgModPath_JarImg_1/20241016-042721-UpgModPathTest/results/11.CO.stderr [2024-10-16T04:27:29.234Z] STF 04:27:28.961 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17290507899439/UpgModPath_JarImg_1/20241016-042721-UpgModPathTest/results/11.CO.stdout [2024-10-16T04:27:29.234Z] STF 04:27:28.966 - Monitoring processes: CO [2024-10-16T04:27:29.583Z] STF 04:27:29.187 - Monitoring Report Summary: [2024-10-16T04:27:29.583Z] STF 04:27:29.187 - o Process CO ended with the expected exit code (0) [2024-10-16T04:27:29.583Z] STF 04:27:29.187 - [2024-10-16T04:27:29.583Z] STF 04:27:29.187 - +------ Step 12 - Check output [2024-10-16T04:27:29.583Z] STF 04:27:29.187 - | Count file matches [2024-10-16T04:27:29.583Z] STF 04:27:29.187 - | TargetFile: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17290507899439/UpgModPath_JarImg_1/20241016-042721-UpgModPathTest/results/combinedOT27.txt [2024-10-16T04:27:29.583Z] STF 04:27:29.187 - | ExpectedNumMatches: 1 [2024-10-16T04:27:29.583Z] STF 04:27:29.187 - | SearchStrings: ["FindException: Hash of java.logging"] [2024-10-16T04:27:29.583Z] STF 04:27:29.187 - | [2024-10-16T04:27:29.583Z] STF 04:27:29.189 - Found 1 instances of ["FindException: Hash of java.logging"] [2024-10-16T04:27:29.583Z] STF 04:27:29.189 - EXECUTE stage completed [2024-10-16T04:27:29.583Z] STF 04:27:29.252 - [2024-10-16T04:27:29.583Z] STF 04:27:29.252 - ==================== T E A R D O W N ==================== [2024-10-16T04:27:29.583Z] STF 04:27:29.252 - Running teardown: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17290507899439\UpgModPath_JarImg_1/20241016-042721-UpgModPathTest/tearDown.pl [2024-10-16T04:27:29.583Z] STF 04:27:29.385 - TEARDOWN stage completed [2024-10-16T04:27:29.583Z] STF 04:27:29.399 - [2024-10-16T04:27:29.583Z] STF 04:27:29.399 - ===================== R E S U L T S ===================== [2024-10-16T04:27:29.583Z] STF 04:27:29.399 - Stage results: [2024-10-16T04:27:29.583Z] STF 04:27:29.399 - setUp: pass [2024-10-16T04:27:29.583Z] STF 04:27:29.399 - execute: pass [2024-10-16T04:27:29.583Z] STF 04:27:29.399 - teardown: pass [2024-10-16T04:27:29.583Z] STF 04:27:29.399 - [2024-10-16T04:27:29.583Z] STF 04:27:29.400 - Overall result: PASSED [2024-10-16T04:27:29.583Z] ----------------------------------- [2024-10-16T04:27:29.583Z] UpgModPath_JarImg_1_PASSED [2024-10-16T04:27:29.583Z] ----------------------------------- [2024-10-16T04:27:29.583Z] [2024-10-16T04:27:29.583Z] TEST TEARDOWN: [2024-10-16T04:27:29.583Z] Nothing to be done for teardown. [2024-10-16T04:27:29.949Z] UpgModPath_JarImg_1 Finish Time: Wed Oct 16 04:27:29 2024 Epoch Time (ms): 1729052849669