UpgModPath_Jar_1

[2024-09-25T23:32:27.780Z] Running test UpgModPath_Jar_1 ... [2024-09-25T23:32:28.132Z] =============================================== [2024-09-25T23:32:28.132Z] UpgModPath_Jar_1 Start Time: Wed Sep 25 23:32:27 2024 Epoch Time (ms): 1727307147941 [2024-09-25T23:32:28.132Z] variation: Mode650 [2024-09-25T23:32:28.499Z] JVM_OPTIONS: -XX:-UseCompressedOops [2024-09-25T23:32:28.499Z] { \ [2024-09-25T23:32:28.499Z] echo ""; echo "TEST SETUP:"; \ [2024-09-25T23:32:28.499Z] echo "Nothing to be done for setup."; \ [2024-09-25T23:32:28.499Z] mkdir -p "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17273051766387\\UpgModPath_Jar_1"; \ [2024-09-25T23:32:28.499Z] cd "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17273051766387\\UpgModPath_Jar_1"; \ [2024-09-25T23:32:28.499Z] echo ""; echo "TESTING:"; \ [2024-09-25T23:32:28.499Z] 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_17273051766387\\UpgModPath_Jar_1" -test=UpgModPathTest -test-args="variant=Jar"; \ [2024-09-25T23:32:28.499Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_Jar_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_17273051766387\\UpgModPath_Jar_1"; else echo "-----------------------------------"; echo "UpgModPath_Jar_1""_FAILED"; echo "-----------------------------------"; fi; \ [2024-09-25T23:32:28.499Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-09-25T23:32:28.499Z] echo "Nothing to be done for teardown."; \ [2024-09-25T23:32:28.499Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17273051766387\\TestTargetResult"; [2024-09-25T23:32:28.499Z] [2024-09-25T23:32:28.499Z] TEST SETUP: [2024-09-25T23:32:28.499Z] Nothing to be done for setup. [2024-09-25T23:32:28.499Z] [2024-09-25T23:32:28.499Z] TESTING: [2024-09-25T23:32:28.811Z] STF 23:32:28.420 - ========================= S T F ========================= [2024-09-25T23:32:28.811Z] 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_17273051766387\UpgModPath_Jar_1 [2024-09-25T23:32:28.811Z] There is 109372 Mb free [2024-09-25T23:32:28.811Z] STF 23:32:28.470 - ================== G E N E R A T I O N ================== [2024-09-25T23:32:28.811Z] STF 23:32:28.472 - Checking JVM: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image [2024-09-25T23:32:28.811Z] STF 23:32:28.472 - 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_17273051766387\UpgModPath_Jar_1/20240925-233228-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_17273051766387\UpgModPath_Jar_1/20240925-233228-UpgModPathTest" [2024-09-25T23:32:29.907Z] GEN 23:32:29.504 - 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-09-25T23:32:29.907Z] GEN 23:32:29.523 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2024-09-25T23:32:29.907Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-09-25T23:32:29.907Z] 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-09-25T23:32:29.907Z] 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-09-25T23:32:29.907Z] 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-09-25T23:32:29.907Z] 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-09-25T23:32:29.907Z] 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-09-25T23:32:29.907Z] 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-09-25T23:32:29.907Z] 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-09-25T23:32:29.907Z] 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-09-25T23:32:29.907Z] 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-09-25T23:32:29.907Z] 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-09-25T23:32:29.907Z] 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-09-25T23:32:29.907Z] 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-09-25T23:32:29.907Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-09-25T23:32:29.907Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-09-25T23:32:29.907Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-09-25T23:32:29.907Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2024-09-25T23:32:29.907Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-09-25T23:32:29.907Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-09-25T23:32:29.907Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar [2024-09-25T23:32:29.907Z] GEN 23:32:29.806 - Using Mode NoOptions. Values = '' [2024-09-25T23:32:30.224Z] GEN 23:32:29.965 - [2024-09-25T23:32:30.224Z] GEN 23:32:29.965 - Test command summary: [2024-09-25T23:32:30.224Z] GEN 23:32:29.966 - Step Stage Command Description [2024-09-25T23:32:30.224Z] GEN 23:32:29.966 - -----+--------+-----------------+------------ [2024-09-25T23:32:30.224Z] GEN 23:32:29.966 - 1 execute jar Create com.hello jar [2024-09-25T23:32:30.224Z] GEN 23:32:29.966 - 2 execute jar Create com.hola jar [2024-09-25T23:32:30.224Z] GEN 23:32:29.966 - 3 execute jar Create com.helper jar [2024-09-25T23:32:30.224Z] GEN 23:32:29.966 - 4 execute jar Create com.discreet jar [2024-09-25T23:32:30.224Z] GEN 23:32:29.966 - 5 execute jar Create tests jar [2024-09-25T23:32:30.224Z] GEN 23:32:29.966 - 6 execute jlink Create runtime image for upgrademodulepath test [2024-09-25T23:32:30.224Z] GEN 23:32:29.966 - 7 execute jar Create com.hello override jar [2024-09-25T23:32:30.224Z] GEN 23:32:29.966 - 8 execute jar Create com.hello override jar [2024-09-25T23:32:30.224Z] GEN 23:32:29.966 - 9 execute Run java Override an application module using modularized jar [2024-09-25T23:32:30.224Z] GEN 23:32:29.967 - 10 execute Run java (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar [2024-09-25T23:32:30.224Z] GEN 23:32:29.967 - 11 execute Run java Combine stderr and stdout files of process OT24 [2024-09-25T23:32:30.224Z] GEN 23:32:29.967 - 12 execute count Check output [2024-09-25T23:32:30.224Z] STF 23:32:30.005 - [2024-09-25T23:32:30.224Z] STF 23:32:30.005 - Script generation completed [2024-09-25T23:32:30.224Z] STF 23:32:30.005 - [2024-09-25T23:32:30.224Z] STF 23:32:30.006 - [2024-09-25T23:32:30.224Z] STF 23:32:30.006 - ======================= S E T U P ======================= [2024-09-25T23:32:30.224Z] STF 23:32:30.006 - Running setup: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17273051766387\UpgModPath_Jar_1/20240925-233228-UpgModPathTest/setUp.pl [2024-09-25T23:32:30.224Z] STF 23:32:30.129 - SETUP stage completed [2024-09-25T23:32:30.224Z] STF 23:32:30.141 - [2024-09-25T23:32:30.224Z] STF 23:32:30.141 - ==================== E X E C U T E - ==================== [2024-09-25T23:32:30.224Z] STF 23:32:30.141 - Running execute: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17273051766387\UpgModPath_Jar_1/20240925-233228-UpgModPathTest/execute.pl [2024-09-25T23:32:30.544Z] STF 23:32:30.272 - [2024-09-25T23:32:30.544Z] STF 23:32:30.273 - Java version [2024-09-25T23:32:30.544Z] STF 23:32:30.273 - Running: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-09-25T23:32:30.544Z] openjdk version "11.0.25-beta" 2024-10-15 [2024-09-25T23:32:30.544Z] OpenJDK Runtime Environment Temurin-11.0.25+7-202409252005 (build 11.0.25-beta+7-ea) [2024-09-25T23:32:30.544Z] OpenJDK 64-Bit Server VM Temurin-11.0.25+7-202409252005 (build 11.0.25-beta+7-ea, mixed mode) [2024-09-25T23:32:30.544Z] STF 23:32:30.385 - [2024-09-25T23:32:30.544Z] STF 23:32:30.385 - +------ Step 1 - Create com.hello jar [2024-09-25T23:32:30.544Z] STF 23:32:30.385 - | Create modular jar [2024-09-25T23:32:30.544Z] STF 23:32:30.385 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-09-25T23:32:30.544Z] STF 23:32:30.385 - | ModuleVersion: null [2024-09-25T23:32:30.544Z] STF 23:32:30.385 - | MainClass: null [2024-09-25T23:32:30.544Z] STF 23:32:30.385 - | HashModules: null [2024-09-25T23:32:30.544Z] STF 23:32:30.385 - | [2024-09-25T23:32:30.544Z] STF 23:32:30.386 - 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_17273051766387/UpgModPath_Jar_1/20240925-233228-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-09-25T23:32:30.545Z] STF 23:32:30.386 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_Jar_1/20240925-233228-UpgModPathTest/results/1.CMJ.stderr [2024-09-25T23:32:30.545Z] STF 23:32:30.386 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_Jar_1/20240925-233228-UpgModPathTest/results/1.CMJ.stdout [2024-09-25T23:32:30.545Z] STF 23:32:30.412 - Monitoring processes: CMJ [2024-09-25T23:32:30.860Z] STF 23:32:30.684 - Monitoring Report Summary: [2024-09-25T23:32:30.860Z] STF 23:32:30.684 - o Process CMJ ended with the expected exit code (0) [2024-09-25T23:32:30.860Z] STF 23:32:30.684 - Created modular jar: 1.com.hello.jar [2024-09-25T23:32:30.861Z] STF 23:32:30.684 - [2024-09-25T23:32:30.861Z] STF 23:32:30.684 - +------ Step 2 - Create com.hola jar [2024-09-25T23:32:30.861Z] STF 23:32:30.684 - | Create modular jar [2024-09-25T23:32:30.861Z] STF 23:32:30.684 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-09-25T23:32:30.861Z] STF 23:32:30.684 - | ModuleVersion: null [2024-09-25T23:32:30.861Z] STF 23:32:30.684 - | MainClass: null [2024-09-25T23:32:30.861Z] STF 23:32:30.684 - | HashModules: null [2024-09-25T23:32:30.861Z] STF 23:32:30.684 - | [2024-09-25T23:32:30.861Z] STF 23:32:30.685 - 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_17273051766387/UpgModPath_Jar_1/20240925-233228-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-09-25T23:32:30.861Z] STF 23:32:30.685 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_Jar_1/20240925-233228-UpgModPathTest/results/2.CMJ.stderr [2024-09-25T23:32:30.861Z] STF 23:32:30.685 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_Jar_1/20240925-233228-UpgModPathTest/results/2.CMJ.stdout [2024-09-25T23:32:30.861Z] STF 23:32:30.691 - Monitoring processes: CMJ [2024-09-25T23:32:31.173Z] STF 23:32:30.967 - Monitoring Report Summary: [2024-09-25T23:32:31.173Z] STF 23:32:30.967 - o Process CMJ ended with the expected exit code (0) [2024-09-25T23:32:31.174Z] STF 23:32:30.967 - Created modular jar: 2.com.hola.jar [2024-09-25T23:32:31.174Z] STF 23:32:30.967 - [2024-09-25T23:32:31.174Z] STF 23:32:30.967 - +------ Step 3 - Create com.helper jar [2024-09-25T23:32:31.174Z] STF 23:32:30.967 - | Create modular jar [2024-09-25T23:32:31.174Z] STF 23:32:30.967 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-09-25T23:32:31.174Z] STF 23:32:30.967 - | ModuleVersion: null [2024-09-25T23:32:31.174Z] STF 23:32:30.967 - | MainClass: null [2024-09-25T23:32:31.174Z] STF 23:32:30.967 - | HashModules: null [2024-09-25T23:32:31.174Z] STF 23:32:30.967 - | [2024-09-25T23:32:31.174Z] STF 23:32:30.967 - 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_17273051766387/UpgModPath_Jar_1/20240925-233228-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-09-25T23:32:31.174Z] STF 23:32:30.968 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_Jar_1/20240925-233228-UpgModPathTest/results/3.CMJ.stderr [2024-09-25T23:32:31.174Z] STF 23:32:30.968 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_Jar_1/20240925-233228-UpgModPathTest/results/3.CMJ.stdout [2024-09-25T23:32:31.174Z] STF 23:32:30.973 - Monitoring processes: CMJ [2024-09-25T23:32:31.489Z] STF 23:32:31.245 - Monitoring Report Summary: [2024-09-25T23:32:31.489Z] STF 23:32:31.245 - o Process CMJ ended with the expected exit code (0) [2024-09-25T23:32:31.489Z] STF 23:32:31.245 - Created modular jar: 3.com.helper.jar [2024-09-25T23:32:31.489Z] STF 23:32:31.245 - [2024-09-25T23:32:31.489Z] STF 23:32:31.245 - +------ Step 4 - Create com.discreet jar [2024-09-25T23:32:31.489Z] STF 23:32:31.245 - | Create modular jar [2024-09-25T23:32:31.489Z] STF 23:32:31.245 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-09-25T23:32:31.489Z] STF 23:32:31.245 - | ModuleVersion: null [2024-09-25T23:32:31.489Z] STF 23:32:31.245 - | MainClass: null [2024-09-25T23:32:31.489Z] STF 23:32:31.245 - | HashModules: null [2024-09-25T23:32:31.489Z] STF 23:32:31.245 - | [2024-09-25T23:32:31.489Z] STF 23:32:31.245 - 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_17273051766387/UpgModPath_Jar_1/20240925-233228-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-09-25T23:32:31.489Z] STF 23:32:31.245 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_Jar_1/20240925-233228-UpgModPathTest/results/4.CMJ.stderr [2024-09-25T23:32:31.489Z] STF 23:32:31.245 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_Jar_1/20240925-233228-UpgModPathTest/results/4.CMJ.stdout [2024-09-25T23:32:31.489Z] STF 23:32:31.251 - Monitoring processes: CMJ [2024-09-25T23:32:31.805Z] STF 23:32:31.524 - Monitoring Report Summary: [2024-09-25T23:32:31.806Z] STF 23:32:31.524 - o Process CMJ ended with the expected exit code (0) [2024-09-25T23:32:31.806Z] STF 23:32:31.524 - Created modular jar: 4.com.discreet.jar [2024-09-25T23:32:31.806Z] STF 23:32:31.524 - [2024-09-25T23:32:31.806Z] STF 23:32:31.524 - +------ Step 5 - Create tests jar [2024-09-25T23:32:31.806Z] STF 23:32:31.524 - | Create modular jar [2024-09-25T23:32:31.806Z] STF 23:32:31.524 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-09-25T23:32:31.806Z] STF 23:32:31.524 - | ModuleVersion: null [2024-09-25T23:32:31.806Z] STF 23:32:31.524 - | MainClass: null [2024-09-25T23:32:31.806Z] STF 23:32:31.524 - | HashModules: null [2024-09-25T23:32:31.806Z] STF 23:32:31.524 - | [2024-09-25T23:32:31.806Z] STF 23:32:31.525 - 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_17273051766387/UpgModPath_Jar_1/20240925-233228-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-09-25T23:32:31.806Z] STF 23:32:31.525 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_Jar_1/20240925-233228-UpgModPathTest/results/5.CMJ.stderr [2024-09-25T23:32:31.806Z] STF 23:32:31.525 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_Jar_1/20240925-233228-UpgModPathTest/results/5.CMJ.stdout [2024-09-25T23:32:31.806Z] STF 23:32:31.532 - Monitoring processes: CMJ [2024-09-25T23:32:32.119Z] STF 23:32:31.802 - Monitoring Report Summary: [2024-09-25T23:32:32.119Z] STF 23:32:31.802 - o Process CMJ ended with the expected exit code (0) [2024-09-25T23:32:32.119Z] STF 23:32:31.802 - Created modular jar: 5.com.test.jar [2024-09-25T23:32:32.119Z] STF 23:32:31.802 - [2024-09-25T23:32:32.119Z] STF 23:32:31.802 - +------ Step 6 - Create runtime image for upgrademodulepath test [2024-09-25T23:32:32.119Z] STF 23:32:31.802 - | Run jlink to create runtime image [2024-09-25T23:32:32.119Z] STF 23:32:31.802 - | ImageName: UpJVM [2024-09-25T23:32:32.119Z] STF 23:32:31.802 - | [2024-09-25T23:32:32.119Z] STF 23:32:31.802 - 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_17273051766387\UpgModPath_Jar_1\20240925-233228-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_17273051766387\UpgModPath_Jar_1\20240925-233228-UpgModPathTest\tmp\6.UpJVM [2024-09-25T23:32:32.119Z] STF 23:32:31.802 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_Jar_1/20240925-233228-UpgModPathTest/results/6.JLNK.stderr [2024-09-25T23:32:32.119Z] STF 23:32:31.802 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_Jar_1/20240925-233228-UpgModPathTest/results/6.JLNK.stdout [2024-09-25T23:32:32.119Z] STF 23:32:31.809 - Monitoring processes: JLNK [2024-09-25T23:32:34.306Z] STF 23:32:34.123 - Monitoring Report Summary: [2024-09-25T23:32:34.306Z] STF 23:32:34.123 - o Process JLNK ended with the expected exit code (0) [2024-09-25T23:32:34.306Z] STF 23:32:34.123 - [2024-09-25T23:32:34.306Z] STF 23:32:34.123 - +------ Step 7 - Create com.hello override jar [2024-09-25T23:32:34.306Z] STF 23:32:34.123 - | Create modular jar [2024-09-25T23:32:34.306Z] STF 23:32:34.123 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-09-25T23:32:34.306Z] STF 23:32:34.123 - | ModuleVersion: null [2024-09-25T23:32:34.306Z] STF 23:32:34.123 - | MainClass: null [2024-09-25T23:32:34.306Z] STF 23:32:34.123 - | HashModules: null [2024-09-25T23:32:34.306Z] STF 23:32:34.123 - | [2024-09-25T23:32:34.306Z] STF 23:32:34.124 - 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_17273051766387/UpgModPath_Jar_1/20240925-233228-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-09-25T23:32:34.306Z] STF 23:32:34.124 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_Jar_1/20240925-233228-UpgModPathTest/results/7.CMJ.stderr [2024-09-25T23:32:34.306Z] STF 23:32:34.124 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_Jar_1/20240925-233228-UpgModPathTest/results/7.CMJ.stdout [2024-09-25T23:32:34.306Z] STF 23:32:34.131 - Monitoring processes: CMJ [2024-09-25T23:32:34.620Z] STF 23:32:34.498 - Monitoring Report Summary: [2024-09-25T23:32:34.620Z] STF 23:32:34.498 - o Process CMJ ended with the expected exit code (0) [2024-09-25T23:32:34.620Z] STF 23:32:34.498 - Created modular jar: 7.com.hello.jar [2024-09-25T23:32:34.620Z] STF 23:32:34.498 - [2024-09-25T23:32:34.620Z] STF 23:32:34.498 - +------ Step 8 - Create com.hello override jar [2024-09-25T23:32:34.620Z] STF 23:32:34.498 - | Create modular jar [2024-09-25T23:32:34.620Z] STF 23:32:34.498 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2024-09-25T23:32:34.620Z] STF 23:32:34.498 - | ModuleVersion: null [2024-09-25T23:32:34.620Z] STF 23:32:34.498 - | MainClass: null [2024-09-25T23:32:34.620Z] STF 23:32:34.498 - | HashModules: null [2024-09-25T23:32:34.620Z] STF 23:32:34.498 - | [2024-09-25T23:32:34.620Z] STF 23:32:34.499 - 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_17273051766387/UpgModPath_Jar_1/20240925-233228-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-09-25T23:32:34.620Z] STF 23:32:34.499 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_Jar_1/20240925-233228-UpgModPathTest/results/8.CMJ.stderr [2024-09-25T23:32:34.621Z] STF 23:32:34.499 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_Jar_1/20240925-233228-UpgModPathTest/results/8.CMJ.stdout [2024-09-25T23:32:34.621Z] STF 23:32:34.505 - Monitoring processes: CMJ [2024-09-25T23:32:34.935Z] STF 23:32:34.767 - Monitoring Report Summary: [2024-09-25T23:32:34.935Z] STF 23:32:34.767 - o Process CMJ ended with the expected exit code (0) [2024-09-25T23:32:34.935Z] STF 23:32:34.767 - Created modular jar: 8.java.logging.jar [2024-09-25T23:32:34.935Z] STF 23:32:34.767 - [2024-09-25T23:32:34.935Z] STF 23:32:34.767 - +------ Step 9 - Override an application module using modularized jar [2024-09-25T23:32:34.935Z] STF 23:32:34.767 - | Run foreground process [2024-09-25T23:32:34.935Z] STF 23:32:34.767 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-09-25T23:32:34.935Z] STF 23:32:34.767 - | Mnemonic: OT21 [2024-09-25T23:32:34.935Z] STF 23:32:34.767 - | Echo: ECHO_ON [2024-09-25T23:32:34.935Z] STF 23:32:34.767 - | Expectation: CLEAN_RUN within 1m [2024-09-25T23:32:34.935Z] STF 23:32:34.767 - | [2024-09-25T23:32:34.935Z] STF 23:32:34.768 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --upgrade-module-path C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_Jar_1/20240925-233228-UpgModPathTest/modules/7.com.hello.jar --add-modules=com.test -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-09-25T23:32:34.935Z] STF 23:32:34.768 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_Jar_1/20240925-233228-UpgModPathTest/results/9.OT21.stderr [2024-09-25T23:32:34.935Z] STF 23:32:34.768 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_Jar_1/20240925-233228-UpgModPathTest/results/9.OT21.stdout [2024-09-25T23:32:34.935Z] STF 23:32:34.774 - Monitoring processes: OT21 [2024-09-25T23:32:35.250Z] OT21 JUnit version 4.12 [2024-09-25T23:32:35.250Z] OT21 . [2024-09-25T23:32:35.250Z] OT21 Time: 0.008 [2024-09-25T23:32:35.250Z] OT21 [2024-09-25T23:32:35.250Z] OT21 OK (1 test) [2024-09-25T23:32:35.250Z] OT21 [2024-09-25T23:32:35.251Z] STF 23:32:35.098 - Monitoring Report Summary: [2024-09-25T23:32:35.251Z] STF 23:32:35.098 - o Process OT21 ended with the expected exit code (0) [2024-09-25T23:32:35.251Z] STF 23:32:35.098 - [2024-09-25T23:32:35.251Z] STF 23:32:35.098 - +------ Step 10 - (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar [2024-09-25T23:32:35.251Z] STF 23:32:35.098 - | Run foreground process [2024-09-25T23:32:35.251Z] STF 23:32:35.098 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-09-25T23:32:35.251Z] STF 23:32:35.098 - | Mnemonic: OT24 [2024-09-25T23:32:35.251Z] STF 23:32:35.098 - | Echo: ECHO_ON [2024-09-25T23:32:35.251Z] STF 23:32:35.098 - | Expectation: NON_ZERO_EXIT [1] within 1m [2024-09-25T23:32:35.251Z] STF 23:32:35.098 - | [2024-09-25T23:32:35.251Z] STF 23:32:35.098 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --upgrade-module-path C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_Jar_1/20240925-233228-UpgModPathTest/modules/8.java.logging.jar --add-modules=com.test -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-09-25T23:32:35.251Z] STF 23:32:35.098 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_Jar_1/20240925-233228-UpgModPathTest/results/10.OT24.stderr [2024-09-25T23:32:35.251Z] STF 23:32:35.098 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_Jar_1/20240925-233228-UpgModPathTest/results/10.OT24.stdout [2024-09-25T23:32:35.251Z] STF 23:32:35.104 - Monitoring processes: OT24 [2024-09-25T23:32:35.563Z] OT24 Error occurred during initialization of boot layer [2024-09-25T23:32:35.564Z] OT24 java.lang.module.FindException: Hash of java.logging (6538e4329dfd0a3379d9797216f91349929c40c383aa5df89f209224446ef6fb) differs to expected hash (9b88281c6d4861701a3749d5fb2db6e88f56df955512fce0e700af9602c7195e) recorded in java.base [2024-09-25T23:32:35.564Z] STF 23:32:35.323 - Monitoring Report Summary: [2024-09-25T23:32:35.564Z] STF 23:32:35.323 - o Process OT24 ended with the expected exit code (1) [2024-09-25T23:32:35.564Z] STF 23:32:35.323 - [2024-09-25T23:32:35.564Z] STF 23:32:35.323 - +------ Step 11 - Combine stderr and stdout files of process OT24 [2024-09-25T23:32:35.564Z] STF 23:32:35.323 - | Run foreground process [2024-09-25T23:32:35.564Z] STF 23:32:35.323 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-09-25T23:32:35.564Z] STF 23:32:35.323 - | Mnemonic: CO [2024-09-25T23:32:35.564Z] STF 23:32:35.323 - | Echo: ECHO_OFF [2024-09-25T23:32:35.564Z] STF 23:32:35.323 - | Expectation: NON_ZERO_EXIT [0] within 30s [2024-09-25T23:32:35.564Z] STF 23:32:35.323 - | [2024-09-25T23:32:35.564Z] STF 23:32:35.323 - 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_17273051766387/UpgModPath_Jar_1/20240925-233228-UpgModPathTest/results/10.OT24.stdout -Dfile2=C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_Jar_1/20240925-233228-UpgModPathTest/results/10.OT24.stderr -Dfinal.file=C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17273051766387\UpgModPath_Jar_1\20240925-233228-UpgModPathTest\results\combinedOT24.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-09-25T23:32:35.564Z] STF 23:32:35.323 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_Jar_1/20240925-233228-UpgModPathTest/results/11.CO.stderr [2024-09-25T23:32:35.564Z] STF 23:32:35.323 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_Jar_1/20240925-233228-UpgModPathTest/results/11.CO.stdout [2024-09-25T23:32:35.564Z] STF 23:32:35.329 - Monitoring processes: CO [2024-09-25T23:32:35.921Z] STF 23:32:35.517 - Monitoring Report Summary: [2024-09-25T23:32:35.921Z] STF 23:32:35.517 - o Process CO ended with the expected exit code (0) [2024-09-25T23:32:35.921Z] STF 23:32:35.517 - [2024-09-25T23:32:35.921Z] STF 23:32:35.517 - +------ Step 12 - Check output [2024-09-25T23:32:35.921Z] STF 23:32:35.517 - | Count file matches [2024-09-25T23:32:35.921Z] STF 23:32:35.517 - | TargetFile: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_Jar_1/20240925-233228-UpgModPathTest/results/combinedOT24.txt [2024-09-25T23:32:35.921Z] STF 23:32:35.517 - | ExpectedNumMatches: 1 [2024-09-25T23:32:35.921Z] STF 23:32:35.517 - | SearchStrings: ["FindException: Hash of java.logging"] [2024-09-25T23:32:35.921Z] STF 23:32:35.517 - | [2024-09-25T23:32:35.921Z] STF 23:32:35.518 - Found 1 instances of ["FindException: Hash of java.logging"] [2024-09-25T23:32:35.921Z] STF 23:32:35.518 - EXECUTE stage completed [2024-09-25T23:32:35.921Z] STF 23:32:35.563 - [2024-09-25T23:32:35.921Z] STF 23:32:35.563 - ==================== T E A R D O W N ==================== [2024-09-25T23:32:35.922Z] STF 23:32:35.563 - Running teardown: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17273051766387\UpgModPath_Jar_1/20240925-233228-UpgModPathTest/tearDown.pl [2024-09-25T23:32:35.922Z] STF 23:32:35.686 - TEARDOWN stage completed [2024-09-25T23:32:35.922Z] STF 23:32:35.695 - [2024-09-25T23:32:35.922Z] STF 23:32:35.695 - ===================== R E S U L T S ===================== [2024-09-25T23:32:35.922Z] STF 23:32:35.695 - Stage results: [2024-09-25T23:32:35.922Z] STF 23:32:35.695 - setUp: pass [2024-09-25T23:32:35.922Z] STF 23:32:35.695 - execute: pass [2024-09-25T23:32:35.922Z] STF 23:32:35.695 - teardown: pass [2024-09-25T23:32:35.922Z] STF 23:32:35.695 - [2024-09-25T23:32:35.922Z] STF 23:32:35.695 - Overall result: PASSED [2024-09-25T23:32:35.922Z] ----------------------------------- [2024-09-25T23:32:35.922Z] UpgModPath_Jar_1_PASSED [2024-09-25T23:32:35.922Z] ----------------------------------- [2024-09-25T23:32:35.922Z] [2024-09-25T23:32:35.922Z] TEST TEARDOWN: [2024-09-25T23:32:35.922Z] Nothing to be done for teardown. [2024-09-25T23:32:36.226Z] UpgModPath_Jar_1 Finish Time: Wed Sep 25 23:32:35 2024 Epoch Time (ms): 1727307155970