UpgModPath_Jar_2

[2024-12-09T19:57:50.659Z] Running test UpgModPath_Jar_2 ... [2024-12-09T19:57:51.051Z] =============================================== [2024-12-09T19:57:51.051Z] UpgModPath_Jar_2 Start Time: Mon Dec 9 19:57:50 2024 Epoch Time (ms): 1733774270898 [2024-12-09T19:57:51.404Z] variation: Mode1000 [2024-12-09T19:57:51.404Z] JVM_OPTIONS: [2024-12-09T19:57:51.404Z] { \ [2024-12-09T19:57:51.404Z] echo ""; echo "TEST SETUP:"; \ [2024-12-09T19:57:51.404Z] echo "Nothing to be done for setup."; \ [2024-12-09T19:57:51.404Z] mkdir -p "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17337701411866\\UpgModPath_Jar_2"; \ [2024-12-09T19:57:51.404Z] cd "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17337701411866\\UpgModPath_Jar_2"; \ [2024-12-09T19:57:51.404Z] echo ""; echo "TESTING:"; \ [2024-12-09T19:57:51.404Z] 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_Jar_2" -test=UpgModPathTest -test-args="variant=Jar"; \ [2024-12-09T19:57:51.404Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_Jar_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_Jar_2"; else echo "-----------------------------------"; echo "UpgModPath_Jar_2""_FAILED"; echo "-----------------------------------"; fi; \ [2024-12-09T19:57:51.404Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-12-09T19:57:51.404Z] echo "Nothing to be done for teardown."; \ [2024-12-09T19:57:51.404Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17337701411866\\TestTargetResult"; [2024-12-09T19:57:51.744Z] [2024-12-09T19:57:51.744Z] TEST SETUP: [2024-12-09T19:57:51.744Z] Nothing to be done for setup. [2024-12-09T19:57:51.744Z] [2024-12-09T19:57:51.744Z] TESTING: [2024-12-09T19:57:51.744Z] STF 19:57:51.627 - ========================= S T F ========================= [2024-12-09T19:57:51.744Z] 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_Jar_2 [2024-12-09T19:57:51.744Z] There is 394693 Mb free [2024-12-09T19:57:51.744Z] STF 19:57:51.681 - ================== G E N E R A T I O N ================== [2024-12-09T19:57:51.744Z] STF 19:57:51.684 - Checking JVM: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image [2024-12-09T19:57:51.744Z] STF 19:57:51.684 - 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_Jar_2/20241209-195751-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_Jar_2/20241209-195751-UpgModPathTest" [2024-12-09T19:57:52.877Z] GEN 19:57:52.678 - 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:57:52.877Z] GEN 19:57:52.691 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2024-12-09T19:57:53.215Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-12-09T19:57:53.215Z] 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:57:53.215Z] 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:57:53.215Z] 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:57:53.215Z] 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:57:53.215Z] 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:57:53.216Z] 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:57:53.216Z] 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:57:53.216Z] 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:57:53.216Z] 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:57:53.216Z] 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:57:53.216Z] 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:57:53.216Z] 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:57:53.216Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-12-09T19:57:53.216Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-12-09T19:57:53.216Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-32_windows\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-12-09T19:57:53.216Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-32_windows\\jvmtest\\system\\STF\\stf.core\\bin [2024-12-09T19:57:53.216Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-12-09T19:57:53.216Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-12-09T19:57:53.216Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar [2024-12-09T19:57:53.216Z] GEN 19:57:52.969 - Using Mode NoOptions. Values = '' [2024-12-09T19:57:53.216Z] GEN 19:57:53.089 - [2024-12-09T19:57:53.216Z] GEN 19:57:53.089 - Test command summary: [2024-12-09T19:57:53.216Z] GEN 19:57:53.090 - Step Stage Command Description [2024-12-09T19:57:53.216Z] GEN 19:57:53.090 - -----+--------+-----------------+------------ [2024-12-09T19:57:53.216Z] GEN 19:57:53.090 - 1 execute jar Create com.hello jar [2024-12-09T19:57:53.216Z] GEN 19:57:53.090 - 2 execute jar Create com.hola jar [2024-12-09T19:57:53.216Z] GEN 19:57:53.090 - 3 execute jar Create com.helper jar [2024-12-09T19:57:53.216Z] GEN 19:57:53.090 - 4 execute jar Create com.discreet jar [2024-12-09T19:57:53.216Z] GEN 19:57:53.090 - 5 execute jar Create tests jar [2024-12-09T19:57:53.216Z] GEN 19:57:53.090 - 6 execute jlink Create runtime image for upgrademodulepath test [2024-12-09T19:57:53.216Z] GEN 19:57:53.090 - 7 execute jar Create com.hello override jar [2024-12-09T19:57:53.216Z] GEN 19:57:53.090 - 8 execute jar Create com.hello override jar [2024-12-09T19:57:53.216Z] GEN 19:57:53.090 - 9 execute Run java Override an application module using modularized jar [2024-12-09T19:57:53.216Z] GEN 19:57:53.090 - 10 execute Run java (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar [2024-12-09T19:57:53.216Z] GEN 19:57:53.090 - 11 execute Run java Combine stderr and stdout files of process OT24 [2024-12-09T19:57:53.216Z] GEN 19:57:53.091 - 12 execute count Check output [2024-12-09T19:57:53.216Z] STF 19:57:53.115 - [2024-12-09T19:57:53.216Z] STF 19:57:53.115 - Script generation completed [2024-12-09T19:57:53.216Z] STF 19:57:53.115 - [2024-12-09T19:57:53.216Z] STF 19:57:53.122 - [2024-12-09T19:57:53.216Z] STF 19:57:53.122 - ======================= S E T U P ======================= [2024-12-09T19:57:53.216Z] STF 19:57:53.122 - Running setup: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17337701411866\UpgModPath_Jar_2/20241209-195751-UpgModPathTest/setUp.pl [2024-12-09T19:57:53.570Z] STF 19:57:53.275 - SETUP stage completed [2024-12-09T19:57:53.570Z] STF 19:57:53.294 - [2024-12-09T19:57:53.570Z] STF 19:57:53.294 - ==================== E X E C U T E - ==================== [2024-12-09T19:57:53.570Z] STF 19:57:53.294 - Running execute: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17337701411866\UpgModPath_Jar_2/20241209-195751-UpgModPathTest/execute.pl [2024-12-09T19:57:53.570Z] STF 19:57:53.482 - [2024-12-09T19:57:53.570Z] STF 19:57:53.483 - Java version [2024-12-09T19:57:53.570Z] STF 19:57:53.483 - Running: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/java -version [2024-12-09T19:57:53.912Z] openjdk version "11.0.26-beta" 2025-01-21 [2024-12-09T19:57:53.912Z] OpenJDK Runtime Environment Temurin-11.0.26+3-202412091016 (build 11.0.26-beta+3-ea) [2024-12-09T19:57:53.912Z] OpenJDK Client VM Temurin-11.0.26+3-202412091016 (build 11.0.26-beta+3-ea, mixed mode) [2024-12-09T19:57:53.912Z] STF 19:57:53.713 - [2024-12-09T19:57:53.912Z] STF 19:57:53.713 - +------ Step 1 - Create com.hello jar [2024-12-09T19:57:53.912Z] STF 19:57:53.713 - | Create modular jar [2024-12-09T19:57:53.912Z] STF 19:57:53.713 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-12-09T19:57:53.912Z] STF 19:57:53.713 - | ModuleVersion: null [2024-12-09T19:57:53.912Z] STF 19:57:53.713 - | MainClass: null [2024-12-09T19:57:53.912Z] STF 19:57:53.713 - | HashModules: null [2024-12-09T19:57:53.912Z] STF 19:57:53.713 - | [2024-12-09T19:57:53.912Z] STF 19:57:53.714 - 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_Jar_2/20241209-195751-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:57:53.912Z] STF 19:57:53.714 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_Jar_2/20241209-195751-UpgModPathTest/results/1.CMJ.stderr [2024-12-09T19:57:53.912Z] STF 19:57:53.714 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_Jar_2/20241209-195751-UpgModPathTest/results/1.CMJ.stdout [2024-12-09T19:57:53.912Z] STF 19:57:53.752 - Monitoring processes: CMJ [2024-12-09T19:57:54.256Z] STF 19:57:54.133 - Monitoring Report Summary: [2024-12-09T19:57:54.256Z] STF 19:57:54.133 - o Process CMJ ended with the expected exit code (0) [2024-12-09T19:57:54.256Z] STF 19:57:54.133 - Created modular jar: 1.com.hello.jar [2024-12-09T19:57:54.256Z] STF 19:57:54.133 - [2024-12-09T19:57:54.256Z] STF 19:57:54.133 - +------ Step 2 - Create com.hola jar [2024-12-09T19:57:54.256Z] STF 19:57:54.133 - | Create modular jar [2024-12-09T19:57:54.256Z] STF 19:57:54.133 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-12-09T19:57:54.256Z] STF 19:57:54.133 - | ModuleVersion: null [2024-12-09T19:57:54.256Z] STF 19:57:54.133 - | MainClass: null [2024-12-09T19:57:54.256Z] STF 19:57:54.133 - | HashModules: null [2024-12-09T19:57:54.256Z] STF 19:57:54.133 - | [2024-12-09T19:57:54.257Z] STF 19:57:54.133 - 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_Jar_2/20241209-195751-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:57:54.257Z] STF 19:57:54.133 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_Jar_2/20241209-195751-UpgModPathTest/results/2.CMJ.stderr [2024-12-09T19:57:54.257Z] STF 19:57:54.133 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_Jar_2/20241209-195751-UpgModPathTest/results/2.CMJ.stdout [2024-12-09T19:57:54.257Z] STF 19:57:54.141 - Monitoring processes: CMJ [2024-12-09T19:57:54.594Z] STF 19:57:54.475 - Monitoring Report Summary: [2024-12-09T19:57:54.594Z] STF 19:57:54.475 - o Process CMJ ended with the expected exit code (0) [2024-12-09T19:57:54.594Z] STF 19:57:54.475 - Created modular jar: 2.com.hola.jar [2024-12-09T19:57:54.594Z] STF 19:57:54.475 - [2024-12-09T19:57:54.594Z] STF 19:57:54.475 - +------ Step 3 - Create com.helper jar [2024-12-09T19:57:54.594Z] STF 19:57:54.475 - | Create modular jar [2024-12-09T19:57:54.594Z] STF 19:57:54.475 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-12-09T19:57:54.594Z] STF 19:57:54.475 - | ModuleVersion: null [2024-12-09T19:57:54.594Z] STF 19:57:54.475 - | MainClass: null [2024-12-09T19:57:54.594Z] STF 19:57:54.475 - | HashModules: null [2024-12-09T19:57:54.594Z] STF 19:57:54.475 - | [2024-12-09T19:57:54.594Z] STF 19:57:54.476 - 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_Jar_2/20241209-195751-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:57:54.594Z] STF 19:57:54.476 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_Jar_2/20241209-195751-UpgModPathTest/results/3.CMJ.stderr [2024-12-09T19:57:54.594Z] STF 19:57:54.476 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_Jar_2/20241209-195751-UpgModPathTest/results/3.CMJ.stdout [2024-12-09T19:57:54.594Z] STF 19:57:54.482 - Monitoring processes: CMJ [2024-12-09T19:57:54.929Z] STF 19:57:54.814 - Monitoring Report Summary: [2024-12-09T19:57:54.929Z] STF 19:57:54.815 - o Process CMJ ended with the expected exit code (0) [2024-12-09T19:57:54.929Z] STF 19:57:54.815 - Created modular jar: 3.com.helper.jar [2024-12-09T19:57:54.929Z] STF 19:57:54.815 - [2024-12-09T19:57:54.929Z] STF 19:57:54.815 - +------ Step 4 - Create com.discreet jar [2024-12-09T19:57:54.929Z] STF 19:57:54.815 - | Create modular jar [2024-12-09T19:57:54.929Z] STF 19:57:54.815 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-12-09T19:57:54.929Z] STF 19:57:54.815 - | ModuleVersion: null [2024-12-09T19:57:54.929Z] STF 19:57:54.815 - | MainClass: null [2024-12-09T19:57:54.929Z] STF 19:57:54.815 - | HashModules: null [2024-12-09T19:57:54.929Z] STF 19:57:54.815 - | [2024-12-09T19:57:54.929Z] STF 19:57:54.815 - 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_Jar_2/20241209-195751-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:57:54.930Z] STF 19:57:54.815 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_Jar_2/20241209-195751-UpgModPathTest/results/4.CMJ.stderr [2024-12-09T19:57:54.930Z] STF 19:57:54.815 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_Jar_2/20241209-195751-UpgModPathTest/results/4.CMJ.stdout [2024-12-09T19:57:54.930Z] STF 19:57:54.822 - Monitoring processes: CMJ [2024-12-09T19:57:55.268Z] STF 19:57:55.145 - Monitoring Report Summary: [2024-12-09T19:57:55.268Z] STF 19:57:55.145 - o Process CMJ ended with the expected exit code (0) [2024-12-09T19:57:55.268Z] STF 19:57:55.146 - Created modular jar: 4.com.discreet.jar [2024-12-09T19:57:55.268Z] STF 19:57:55.146 - [2024-12-09T19:57:55.268Z] STF 19:57:55.146 - +------ Step 5 - Create tests jar [2024-12-09T19:57:55.268Z] STF 19:57:55.146 - | Create modular jar [2024-12-09T19:57:55.268Z] STF 19:57:55.146 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-12-09T19:57:55.268Z] STF 19:57:55.146 - | ModuleVersion: null [2024-12-09T19:57:55.268Z] STF 19:57:55.146 - | MainClass: null [2024-12-09T19:57:55.268Z] STF 19:57:55.146 - | HashModules: null [2024-12-09T19:57:55.268Z] STF 19:57:55.146 - | [2024-12-09T19:57:55.268Z] STF 19:57:55.146 - 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_Jar_2/20241209-195751-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:57:55.268Z] STF 19:57:55.146 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_Jar_2/20241209-195751-UpgModPathTest/results/5.CMJ.stderr [2024-12-09T19:57:55.268Z] STF 19:57:55.146 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_Jar_2/20241209-195751-UpgModPathTest/results/5.CMJ.stdout [2024-12-09T19:57:55.268Z] STF 19:57:55.153 - Monitoring processes: CMJ [2024-12-09T19:57:55.603Z] STF 19:57:55.468 - Monitoring Report Summary: [2024-12-09T19:57:55.603Z] STF 19:57:55.468 - o Process CMJ ended with the expected exit code (0) [2024-12-09T19:57:55.603Z] STF 19:57:55.469 - Created modular jar: 5.com.test.jar [2024-12-09T19:57:55.603Z] STF 19:57:55.469 - [2024-12-09T19:57:55.603Z] STF 19:57:55.469 - +------ Step 6 - Create runtime image for upgrademodulepath test [2024-12-09T19:57:55.603Z] STF 19:57:55.469 - | Run jlink to create runtime image [2024-12-09T19:57:55.603Z] STF 19:57:55.469 - | ImageName: UpJVM [2024-12-09T19:57:55.603Z] STF 19:57:55.469 - | [2024-12-09T19:57:55.603Z] STF 19:57:55.469 - 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_Jar_2\20241209-195751-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_Jar_2\20241209-195751-UpgModPathTest\tmp\6.UpJVM [2024-12-09T19:57:55.603Z] STF 19:57:55.469 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_Jar_2/20241209-195751-UpgModPathTest/results/6.JLNK.stderr [2024-12-09T19:57:55.603Z] STF 19:57:55.469 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_Jar_2/20241209-195751-UpgModPathTest/results/6.JLNK.stdout [2024-12-09T19:57:55.603Z] STF 19:57:55.476 - Monitoring processes: JLNK [2024-12-09T19:57:58.544Z] STF 19:57:57.892 - Monitoring Report Summary: [2024-12-09T19:57:58.544Z] STF 19:57:57.892 - o Process JLNK ended with the expected exit code (0) [2024-12-09T19:57:58.544Z] STF 19:57:57.892 - [2024-12-09T19:57:58.544Z] STF 19:57:57.892 - +------ Step 7 - Create com.hello override jar [2024-12-09T19:57:58.545Z] STF 19:57:57.892 - | Create modular jar [2024-12-09T19:57:58.545Z] STF 19:57:57.892 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-12-09T19:57:58.545Z] STF 19:57:57.892 - | ModuleVersion: null [2024-12-09T19:57:58.545Z] STF 19:57:57.892 - | MainClass: null [2024-12-09T19:57:58.545Z] STF 19:57:57.892 - | HashModules: null [2024-12-09T19:57:58.545Z] STF 19:57:57.892 - | [2024-12-09T19:57:58.545Z] STF 19:57:57.893 - 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_Jar_2/20241209-195751-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:57:58.545Z] STF 19:57:57.893 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_Jar_2/20241209-195751-UpgModPathTest/results/7.CMJ.stderr [2024-12-09T19:57:58.545Z] STF 19:57:57.893 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_Jar_2/20241209-195751-UpgModPathTest/results/7.CMJ.stdout [2024-12-09T19:57:58.545Z] STF 19:57:57.900 - Monitoring processes: CMJ [2024-12-09T19:57:58.880Z] STF 19:57:58.441 - Monitoring Report Summary: [2024-12-09T19:57:58.880Z] STF 19:57:58.441 - o Process CMJ ended with the expected exit code (0) [2024-12-09T19:57:58.880Z] STF 19:57:58.442 - Created modular jar: 7.com.hello.jar [2024-12-09T19:57:58.880Z] STF 19:57:58.442 - [2024-12-09T19:57:58.880Z] STF 19:57:58.442 - +------ Step 8 - Create com.hello override jar [2024-12-09T19:57:58.880Z] STF 19:57:58.442 - | Create modular jar [2024-12-09T19:57:58.880Z] STF 19:57:58.442 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2024-12-09T19:57:58.880Z] STF 19:57:58.442 - | ModuleVersion: null [2024-12-09T19:57:58.880Z] STF 19:57:58.442 - | MainClass: null [2024-12-09T19:57:58.880Z] STF 19:57:58.442 - | HashModules: null [2024-12-09T19:57:58.880Z] STF 19:57:58.442 - | [2024-12-09T19:57:58.881Z] STF 19:57:58.442 - 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_Jar_2/20241209-195751-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:57:58.881Z] STF 19:57:58.442 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_Jar_2/20241209-195751-UpgModPathTest/results/8.CMJ.stderr [2024-12-09T19:57:58.881Z] STF 19:57:58.442 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_Jar_2/20241209-195751-UpgModPathTest/results/8.CMJ.stdout [2024-12-09T19:57:58.881Z] STF 19:57:58.449 - Monitoring processes: CMJ [2024-12-09T19:57:58.881Z] STF 19:57:58.772 - Monitoring Report Summary: [2024-12-09T19:57:58.881Z] STF 19:57:58.772 - o Process CMJ ended with the expected exit code (0) [2024-12-09T19:57:58.881Z] STF 19:57:58.773 - Created modular jar: 8.java.logging.jar [2024-12-09T19:57:58.881Z] STF 19:57:58.773 - [2024-12-09T19:57:58.881Z] STF 19:57:58.773 - +------ Step 9 - Override an application module using modularized jar [2024-12-09T19:57:58.881Z] STF 19:57:58.773 - | Run foreground process [2024-12-09T19:57:58.881Z] STF 19:57:58.773 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/java [2024-12-09T19:57:58.881Z] STF 19:57:58.773 - | Mnemonic: OT21 [2024-12-09T19:57:58.881Z] STF 19:57:58.773 - | Echo: ECHO_ON [2024-12-09T19:57:58.881Z] STF 19:57:58.773 - | Expectation: CLEAN_RUN within 1m [2024-12-09T19:57:58.881Z] STF 19:57:58.773 - | [2024-12-09T19:57:58.881Z] STF 19:57:58.773 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --upgrade-module-path C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_Jar_2/20241209-195751-UpgModPathTest/modules/7.com.hello.jar --add-modules=com.test -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:57:58.881Z] STF 19:57:58.773 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_Jar_2/20241209-195751-UpgModPathTest/results/9.OT21.stderr [2024-12-09T19:57:58.881Z] STF 19:57:58.773 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_Jar_2/20241209-195751-UpgModPathTest/results/9.OT21.stdout [2024-12-09T19:57:58.881Z] STF 19:57:58.784 - Monitoring processes: OT21 [2024-12-09T19:57:59.221Z] OT21 JUnit version 4.12 [2024-12-09T19:57:59.221Z] OT21 . [2024-12-09T19:57:59.221Z] OT21 Time: 0.009 [2024-12-09T19:57:59.221Z] OT21 [2024-12-09T19:57:59.221Z] OT21 OK (1 test) [2024-12-09T19:57:59.221Z] OT21 [2024-12-09T19:57:59.564Z] STF 19:57:59.144 - Monitoring Report Summary: [2024-12-09T19:57:59.564Z] STF 19:57:59.144 - o Process OT21 ended with the expected exit code (0) [2024-12-09T19:57:59.564Z] STF 19:57:59.144 - [2024-12-09T19:57:59.564Z] STF 19:57:59.144 - +------ Step 10 - (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar [2024-12-09T19:57:59.564Z] STF 19:57:59.144 - | Run foreground process [2024-12-09T19:57:59.564Z] STF 19:57:59.144 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/java [2024-12-09T19:57:59.564Z] STF 19:57:59.144 - | Mnemonic: OT24 [2024-12-09T19:57:59.564Z] STF 19:57:59.144 - | Echo: ECHO_ON [2024-12-09T19:57:59.564Z] STF 19:57:59.144 - | Expectation: NON_ZERO_EXIT [1] within 1m [2024-12-09T19:57:59.564Z] STF 19:57:59.144 - | [2024-12-09T19:57:59.564Z] STF 19:57:59.144 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --upgrade-module-path C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_Jar_2/20241209-195751-UpgModPathTest/modules/8.java.logging.jar --add-modules=com.test -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:57:59.564Z] STF 19:57:59.144 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_Jar_2/20241209-195751-UpgModPathTest/results/10.OT24.stderr [2024-12-09T19:57:59.564Z] STF 19:57:59.144 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_Jar_2/20241209-195751-UpgModPathTest/results/10.OT24.stdout [2024-12-09T19:57:59.564Z] STF 19:57:59.153 - Monitoring processes: OT24 [2024-12-09T19:57:59.564Z] OT24 Error occurred during initialization of boot layer [2024-12-09T19:57:59.564Z] OT24 java.lang.module.FindException: Hash of java.logging (bedcf9f9b016de9d6965aeb813d1aa5a7ba4bf40e659f94655f933323eb12783) differs to expected hash (60256a62c6efd709c656f0c3e03a97ed6375519a28c3310359d41193e8565f7b) recorded in java.base [2024-12-09T19:57:59.564Z] STF 19:57:59.399 - Monitoring Report Summary: [2024-12-09T19:57:59.564Z] STF 19:57:59.399 - o Process OT24 ended with the expected exit code (1) [2024-12-09T19:57:59.564Z] STF 19:57:59.400 - [2024-12-09T19:57:59.564Z] STF 19:57:59.400 - +------ Step 11 - Combine stderr and stdout files of process OT24 [2024-12-09T19:57:59.564Z] STF 19:57:59.400 - | Run foreground process [2024-12-09T19:57:59.564Z] STF 19:57:59.400 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/java [2024-12-09T19:57:59.564Z] STF 19:57:59.400 - | Mnemonic: CO [2024-12-09T19:57:59.564Z] STF 19:57:59.400 - | Echo: ECHO_OFF [2024-12-09T19:57:59.564Z] STF 19:57:59.400 - | Expectation: NON_ZERO_EXIT [0] within 30s [2024-12-09T19:57:59.564Z] STF 19:57:59.400 - | [2024-12-09T19:57:59.564Z] STF 19:57:59.400 - 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_Jar_2/20241209-195751-UpgModPathTest/results/10.OT24.stdout -Dfile2=C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_Jar_2/20241209-195751-UpgModPathTest/results/10.OT24.stderr -Dfinal.file=C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\aqa-tests\TKG\output_17337701411866\UpgModPath_Jar_2\20241209-195751-UpgModPathTest\results\combinedOT24.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:57:59.564Z] STF 19:57:59.400 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_Jar_2/20241209-195751-UpgModPathTest/results/11.CO.stderr [2024-12-09T19:57:59.564Z] STF 19:57:59.400 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_Jar_2/20241209-195751-UpgModPathTest/results/11.CO.stdout [2024-12-09T19:57:59.564Z] STF 19:57:59.408 - Monitoring processes: CO [2024-12-09T19:57:59.913Z] STF 19:57:59.622 - Monitoring Report Summary: [2024-12-09T19:57:59.913Z] STF 19:57:59.622 - o Process CO ended with the expected exit code (0) [2024-12-09T19:57:59.913Z] STF 19:57:59.622 - [2024-12-09T19:57:59.913Z] STF 19:57:59.622 - +------ Step 12 - Check output [2024-12-09T19:57:59.913Z] STF 19:57:59.622 - | Count file matches [2024-12-09T19:57:59.913Z] STF 19:57:59.622 - | TargetFile: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17337701411866/UpgModPath_Jar_2/20241209-195751-UpgModPathTest/results/combinedOT24.txt [2024-12-09T19:57:59.913Z] STF 19:57:59.622 - | ExpectedNumMatches: 1 [2024-12-09T19:57:59.913Z] STF 19:57:59.622 - | SearchStrings: ["FindException: Hash of java.logging"] [2024-12-09T19:57:59.913Z] STF 19:57:59.622 - | [2024-12-09T19:57:59.913Z] STF 19:57:59.641 - Found 1 instances of ["FindException: Hash of java.logging"] [2024-12-09T19:57:59.913Z] STF 19:57:59.641 - EXECUTE stage completed [2024-12-09T19:57:59.913Z] STF 19:57:59.726 - [2024-12-09T19:57:59.913Z] STF 19:57:59.726 - ==================== T E A R D O W N ==================== [2024-12-09T19:57:59.913Z] STF 19:57:59.726 - Running teardown: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17337701411866\UpgModPath_Jar_2/20241209-195751-UpgModPathTest/tearDown.pl [2024-12-09T19:58:00.230Z] STF 19:57:59.875 - TEARDOWN stage completed [2024-12-09T19:58:00.230Z] STF 19:57:59.894 - [2024-12-09T19:58:00.230Z] STF 19:57:59.894 - ===================== R E S U L T S ===================== [2024-12-09T19:58:00.230Z] STF 19:57:59.894 - Stage results: [2024-12-09T19:58:00.230Z] STF 19:57:59.894 - setUp: pass [2024-12-09T19:58:00.230Z] STF 19:57:59.894 - execute: pass [2024-12-09T19:58:00.230Z] STF 19:57:59.894 - teardown: pass [2024-12-09T19:58:00.230Z] STF 19:57:59.894 - [2024-12-09T19:58:00.230Z] STF 19:57:59.894 - Overall result: PASSED [2024-12-09T19:58:00.230Z] ----------------------------------- [2024-12-09T19:58:00.230Z] UpgModPath_Jar_2_PASSED [2024-12-09T19:58:00.230Z] ----------------------------------- [2024-12-09T19:58:00.230Z] [2024-12-09T19:58:00.230Z] TEST TEARDOWN: [2024-12-09T19:58:00.230Z] Nothing to be done for teardown. [2024-12-09T19:58:00.584Z] UpgModPath_Jar_2 Finish Time: Mon Dec 9 19:58:00 2024 Epoch Time (ms): 1733774280261