UpgModPath_Jar_2

[2024-05-30T10:44:28.427Z] Running test UpgModPath_Jar_2 ... [2024-05-30T10:44:28.781Z] =============================================== [2024-05-30T10:44:28.781Z] UpgModPath_Jar_2 Start Time: Thu May 30 10:44:28 2024 Epoch Time (ms): 1717065868688 [2024-05-30T10:44:29.138Z] variation: Mode1000 [2024-05-30T10:44:29.138Z] JVM_OPTIONS: [2024-05-30T10:44:29.138Z] { \ [2024-05-30T10:44:29.138Z] echo ""; echo "TEST SETUP:"; \ [2024-05-30T10:44:29.138Z] echo "Nothing to be done for setup."; \ [2024-05-30T10:44:29.138Z] mkdir -p "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17170617393665\\UpgModPath_Jar_2"; \ [2024-05-30T10:44:29.138Z] cd "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17170617393665\\UpgModPath_Jar_2"; \ [2024-05-30T10:44:29.138Z] echo ""; echo "TESTING:"; \ [2024-05-30T10:44:29.138Z] perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/../../testDependency/system_lib\\" -java-args=' ' -results-root="C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17170617393665\\UpgModPath_Jar_2" -test=UpgModPathTest -test-args="variant=Jar"; \ [2024-05-30T10:44:29.138Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_Jar_2""_PASSED"; echo "-----------------------------------"; cd C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/; rm -f -r "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17170617393665\\UpgModPath_Jar_2"; else echo "-----------------------------------"; echo "UpgModPath_Jar_2""_FAILED"; echo "-----------------------------------"; fi; \ [2024-05-30T10:44:29.138Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-05-30T10:44:29.138Z] echo "Nothing to be done for teardown."; \ [2024-05-30T10:44:29.138Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17170617393665\\TestTargetResult"; [2024-05-30T10:44:29.465Z] [2024-05-30T10:44:29.465Z] TEST SETUP: [2024-05-30T10:44:29.465Z] Nothing to be done for setup. [2024-05-30T10:44:29.465Z] [2024-05-30T10:44:29.465Z] TESTING: [2024-05-30T10:44:29.465Z] STF 10:44:29.302 - ========================= S T F ========================= [2024-05-30T10:44:29.465Z] systemtest-prereqs has been processed, and set to: c:/jenkins/testDependency/system_libRetrieving amount of free space on drive containing C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17170617393665\UpgModPath_Jar_2 [2024-05-30T10:44:29.465Z] There is 97692 Mb free [2024-05-30T10:44:29.465Z] STF 10:44:29.344 - ================== G E N E R A T I O N ================== [2024-05-30T10:44:29.465Z] STF 10:44:29.346 - Checking JVM: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image [2024-05-30T10:44:29.465Z] STF 10:44:29.346 - Starting process to generate scripts: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/../../testDependency/system_lib\/log4j/log4j-api.jar;c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17170617393665\UpgModPath_Jar_2/20240530-104429-UpgModPathTest/stf_parameters.properties, , C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17170617393665\UpgModPath_Jar_2/20240530-104429-UpgModPathTest" [2024-05-30T10:44:30.161Z] GEN 10:44:30.057 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: 'C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2024-05-30T10:44:30.161Z] GEN 10:44:30.066 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2024-05-30T10:44:30.491Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-05-30T10:44:30.491Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2024-05-30T10:44:30.491Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2024-05-30T10:44:30.491Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2024-05-30T10:44:30.491Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2024-05-30T10:44:30.491Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2024-05-30T10:44:30.491Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2024-05-30T10:44:30.491Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2024-05-30T10:44:30.491Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2024-05-30T10:44:30.491Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2024-05-30T10:44:30.491Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2024-05-30T10:44:30.491Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2024-05-30T10:44:30.491Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2024-05-30T10:44:30.491Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-05-30T10:44:30.491Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-05-30T10:44:30.491Z] GEN C:\\jenkins\\workspace\\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-05-30T10:44:30.491Z] GEN C:\\jenkins\\workspace\\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\\jvmtest\\system\\STF\\stf.core\\bin [2024-05-30T10:44:30.491Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-05-30T10:44:30.491Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-05-30T10:44:30.491Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar [2024-05-30T10:44:30.491Z] GEN 10:44:30.255 - Using Mode NoOptions. Values = '' [2024-05-30T10:44:30.491Z] GEN 10:44:30.333 - [2024-05-30T10:44:30.491Z] GEN 10:44:30.333 - Test command summary: [2024-05-30T10:44:30.491Z] GEN 10:44:30.333 - Step Stage Command Description [2024-05-30T10:44:30.491Z] GEN 10:44:30.334 - -----+--------+-----------------+------------ [2024-05-30T10:44:30.491Z] GEN 10:44:30.334 - 1 execute jar Create com.hello jar [2024-05-30T10:44:30.491Z] GEN 10:44:30.334 - 2 execute jar Create com.hola jar [2024-05-30T10:44:30.491Z] GEN 10:44:30.334 - 3 execute jar Create com.helper jar [2024-05-30T10:44:30.491Z] GEN 10:44:30.334 - 4 execute jar Create com.discreet jar [2024-05-30T10:44:30.491Z] GEN 10:44:30.334 - 5 execute jar Create tests jar [2024-05-30T10:44:30.491Z] GEN 10:44:30.334 - 6 execute jlink Create runtime image for upgrademodulepath test [2024-05-30T10:44:30.491Z] GEN 10:44:30.334 - 7 execute jar Create com.hello override jar [2024-05-30T10:44:30.491Z] GEN 10:44:30.334 - 8 execute jar Create com.hello override jar [2024-05-30T10:44:30.491Z] GEN 10:44:30.334 - 9 execute Run java Override an application module using modularized jar [2024-05-30T10:44:30.491Z] GEN 10:44:30.334 - 10 execute Run java (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar [2024-05-30T10:44:30.491Z] GEN 10:44:30.334 - 11 execute Run java Combine stderr and stdout files of process OT24 [2024-05-30T10:44:30.491Z] GEN 10:44:30.334 - 12 execute count Check output [2024-05-30T10:44:30.491Z] STF 10:44:30.349 - [2024-05-30T10:44:30.491Z] STF 10:44:30.349 - Script generation completed [2024-05-30T10:44:30.491Z] STF 10:44:30.349 - [2024-05-30T10:44:30.491Z] STF 10:44:30.350 - [2024-05-30T10:44:30.491Z] STF 10:44:30.350 - ======================= S E T U P ======================= [2024-05-30T10:44:30.491Z] STF 10:44:30.350 - Running setup: perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17170617393665\UpgModPath_Jar_2/20240530-104429-UpgModPathTest/setUp.pl [2024-05-30T10:44:30.819Z] STF 10:44:30.477 - SETUP stage completed [2024-05-30T10:44:30.819Z] STF 10:44:30.486 - [2024-05-30T10:44:30.819Z] STF 10:44:30.486 - ==================== E X E C U T E - ==================== [2024-05-30T10:44:30.819Z] STF 10:44:30.486 - Running execute: perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17170617393665\UpgModPath_Jar_2/20240530-104429-UpgModPathTest/execute.pl [2024-05-30T10:44:30.819Z] STF 10:44:30.608 - [2024-05-30T10:44:30.819Z] STF 10:44:30.608 - Java version [2024-05-30T10:44:30.819Z] STF 10:44:30.608 - Running: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java -version [2024-05-30T10:44:30.819Z] openjdk version "17.0.12-beta" 2024-07-16 [2024-05-30T10:44:30.819Z] OpenJDK Runtime Environment Temurin-17.0.12+5-202405292044 (build 17.0.12-beta+5-ea) [2024-05-30T10:44:30.819Z] OpenJDK Client VM Temurin-17.0.12+5-202405292044 (build 17.0.12-beta+5-ea, mixed mode, emulated-client) [2024-05-30T10:44:30.819Z] STF 10:44:30.711 - [2024-05-30T10:44:30.819Z] STF 10:44:30.711 - +------ Step 1 - Create com.hello jar [2024-05-30T10:44:30.819Z] STF 10:44:30.711 - | Create modular jar [2024-05-30T10:44:30.819Z] STF 10:44:30.711 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-05-30T10:44:30.819Z] STF 10:44:30.711 - | ModuleVersion: null [2024-05-30T10:44:30.819Z] STF 10:44:30.711 - | MainClass: null [2024-05-30T10:44:30.819Z] STF 10:44:30.711 - | HashModules: null [2024-05-30T10:44:30.819Z] STF 10:44:30.711 - | [2024-05-30T10:44:30.819Z] STF 10:44:30.712 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_Jar_2/20240530-104429-UpgModPathTest/modules/1.com.hello.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2024-05-30T10:44:30.819Z] STF 10:44:30.712 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_Jar_2/20240530-104429-UpgModPathTest/results/1.CMJ.stderr [2024-05-30T10:44:30.819Z] STF 10:44:30.712 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_Jar_2/20240530-104429-UpgModPathTest/results/1.CMJ.stdout [2024-05-30T10:44:30.819Z] STF 10:44:30.743 - Monitoring processes: CMJ [2024-05-30T10:44:31.149Z] STF 10:44:30.999 - Monitoring Report Summary: [2024-05-30T10:44:31.149Z] STF 10:44:30.999 - o Process CMJ ended with the expected exit code (0) [2024-05-30T10:44:31.149Z] STF 10:44:30.999 - Created modular jar: 1.com.hello.jar [2024-05-30T10:44:31.149Z] STF 10:44:30.999 - [2024-05-30T10:44:31.149Z] STF 10:44:30.999 - +------ Step 2 - Create com.hola jar [2024-05-30T10:44:31.149Z] STF 10:44:30.999 - | Create modular jar [2024-05-30T10:44:31.149Z] STF 10:44:30.999 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-05-30T10:44:31.149Z] STF 10:44:30.999 - | ModuleVersion: null [2024-05-30T10:44:31.149Z] STF 10:44:30.999 - | MainClass: null [2024-05-30T10:44:31.149Z] STF 10:44:30.999 - | HashModules: null [2024-05-30T10:44:31.149Z] STF 10:44:30.999 - | [2024-05-30T10:44:31.149Z] STF 10:44:30.999 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_Jar_2/20240530-104429-UpgModPathTest/modules/2.com.hola.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2024-05-30T10:44:31.149Z] STF 10:44:30.999 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_Jar_2/20240530-104429-UpgModPathTest/results/2.CMJ.stderr [2024-05-30T10:44:31.149Z] STF 10:44:30.999 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_Jar_2/20240530-104429-UpgModPathTest/results/2.CMJ.stdout [2024-05-30T10:44:31.149Z] STF 10:44:31.006 - Monitoring processes: CMJ [2024-05-30T10:44:31.476Z] STF 10:44:31.268 - Monitoring Report Summary: [2024-05-30T10:44:31.476Z] STF 10:44:31.268 - o Process CMJ ended with the expected exit code (0) [2024-05-30T10:44:31.476Z] STF 10:44:31.268 - Created modular jar: 2.com.hola.jar [2024-05-30T10:44:31.476Z] STF 10:44:31.268 - [2024-05-30T10:44:31.476Z] STF 10:44:31.268 - +------ Step 3 - Create com.helper jar [2024-05-30T10:44:31.476Z] STF 10:44:31.268 - | Create modular jar [2024-05-30T10:44:31.476Z] STF 10:44:31.268 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-05-30T10:44:31.476Z] STF 10:44:31.268 - | ModuleVersion: null [2024-05-30T10:44:31.476Z] STF 10:44:31.268 - | MainClass: null [2024-05-30T10:44:31.476Z] STF 10:44:31.268 - | HashModules: null [2024-05-30T10:44:31.476Z] STF 10:44:31.268 - | [2024-05-30T10:44:31.476Z] STF 10:44:31.268 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_Jar_2/20240530-104429-UpgModPathTest/modules/3.com.helper.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2024-05-30T10:44:31.476Z] STF 10:44:31.268 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_Jar_2/20240530-104429-UpgModPathTest/results/3.CMJ.stderr [2024-05-30T10:44:31.476Z] STF 10:44:31.268 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_Jar_2/20240530-104429-UpgModPathTest/results/3.CMJ.stdout [2024-05-30T10:44:31.476Z] STF 10:44:31.273 - Monitoring processes: CMJ [2024-05-30T10:44:31.805Z] STF 10:44:31.533 - Monitoring Report Summary: [2024-05-30T10:44:31.805Z] STF 10:44:31.533 - o Process CMJ ended with the expected exit code (0) [2024-05-30T10:44:31.805Z] STF 10:44:31.533 - Created modular jar: 3.com.helper.jar [2024-05-30T10:44:31.805Z] STF 10:44:31.533 - [2024-05-30T10:44:31.805Z] STF 10:44:31.533 - +------ Step 4 - Create com.discreet jar [2024-05-30T10:44:31.805Z] STF 10:44:31.533 - | Create modular jar [2024-05-30T10:44:31.805Z] STF 10:44:31.533 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-05-30T10:44:31.805Z] STF 10:44:31.533 - | ModuleVersion: null [2024-05-30T10:44:31.805Z] STF 10:44:31.533 - | MainClass: null [2024-05-30T10:44:31.805Z] STF 10:44:31.533 - | HashModules: null [2024-05-30T10:44:31.805Z] STF 10:44:31.533 - | [2024-05-30T10:44:31.806Z] STF 10:44:31.533 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_Jar_2/20240530-104429-UpgModPathTest/modules/4.com.discreet.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2024-05-30T10:44:31.806Z] STF 10:44:31.533 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_Jar_2/20240530-104429-UpgModPathTest/results/4.CMJ.stderr [2024-05-30T10:44:31.806Z] STF 10:44:31.533 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_Jar_2/20240530-104429-UpgModPathTest/results/4.CMJ.stdout [2024-05-30T10:44:31.806Z] STF 10:44:31.540 - Monitoring processes: CMJ [2024-05-30T10:44:32.134Z] STF 10:44:31.800 - Monitoring Report Summary: [2024-05-30T10:44:32.134Z] STF 10:44:31.800 - o Process CMJ ended with the expected exit code (0) [2024-05-30T10:44:32.134Z] STF 10:44:31.800 - Created modular jar: 4.com.discreet.jar [2024-05-30T10:44:32.134Z] STF 10:44:31.800 - [2024-05-30T10:44:32.134Z] STF 10:44:31.800 - +------ Step 5 - Create tests jar [2024-05-30T10:44:32.134Z] STF 10:44:31.800 - | Create modular jar [2024-05-30T10:44:32.134Z] STF 10:44:31.800 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-05-30T10:44:32.134Z] STF 10:44:31.800 - | ModuleVersion: null [2024-05-30T10:44:32.134Z] STF 10:44:31.800 - | MainClass: null [2024-05-30T10:44:32.134Z] STF 10:44:31.800 - | HashModules: null [2024-05-30T10:44:32.134Z] STF 10:44:31.800 - | [2024-05-30T10:44:32.134Z] STF 10:44:31.800 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_Jar_2/20240530-104429-UpgModPathTest/modules/5.com.test.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2024-05-30T10:44:32.134Z] STF 10:44:31.800 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_Jar_2/20240530-104429-UpgModPathTest/results/5.CMJ.stderr [2024-05-30T10:44:32.134Z] STF 10:44:31.800 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_Jar_2/20240530-104429-UpgModPathTest/results/5.CMJ.stdout [2024-05-30T10:44:32.134Z] STF 10:44:31.806 - Monitoring processes: CMJ [2024-05-30T10:44:32.134Z] STF 10:44:32.072 - Monitoring Report Summary: [2024-05-30T10:44:32.134Z] STF 10:44:32.072 - o Process CMJ ended with the expected exit code (0) [2024-05-30T10:44:32.134Z] STF 10:44:32.072 - Created modular jar: 5.com.test.jar [2024-05-30T10:44:32.134Z] STF 10:44:32.072 - [2024-05-30T10:44:32.134Z] STF 10:44:32.072 - +------ Step 6 - Create runtime image for upgrademodulepath test [2024-05-30T10:44:32.134Z] STF 10:44:32.072 - | Run jlink to create runtime image [2024-05-30T10:44:32.134Z] STF 10:44:32.072 - | ImageName: UpJVM [2024-05-30T10:44:32.134Z] STF 10:44:32.072 - | [2024-05-30T10:44:32.134Z] STF 10:44:32.072 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jlink --module-path c:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jdkbinary\j2sdk-image\jmods;C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\aqa-tests\TKG\output_17170617393665\UpgModPath_Jar_2\20240530-104429-UpgModPathTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\aqa-tests\TKG\output_17170617393665\UpgModPath_Jar_2\20240530-104429-UpgModPathTest\tmp\6.UpJVM [2024-05-30T10:44:32.134Z] STF 10:44:32.072 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_Jar_2/20240530-104429-UpgModPathTest/results/6.JLNK.stderr [2024-05-30T10:44:32.134Z] STF 10:44:32.072 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_Jar_2/20240530-104429-UpgModPathTest/results/6.JLNK.stdout [2024-05-30T10:44:32.134Z] STF 10:44:32.078 - Monitoring processes: JLNK [2024-05-30T10:44:34.343Z] STF 10:44:33.907 - Monitoring Report Summary: [2024-05-30T10:44:34.344Z] STF 10:44:33.907 - o Process JLNK ended with the expected exit code (0) [2024-05-30T10:44:34.344Z] STF 10:44:33.907 - [2024-05-30T10:44:34.344Z] STF 10:44:33.907 - +------ Step 7 - Create com.hello override jar [2024-05-30T10:44:34.344Z] STF 10:44:33.907 - | Create modular jar [2024-05-30T10:44:34.344Z] STF 10:44:33.907 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-05-30T10:44:34.344Z] STF 10:44:33.907 - | ModuleVersion: null [2024-05-30T10:44:34.344Z] STF 10:44:33.907 - | MainClass: null [2024-05-30T10:44:34.344Z] STF 10:44:33.907 - | HashModules: null [2024-05-30T10:44:34.344Z] STF 10:44:33.907 - | [2024-05-30T10:44:34.344Z] STF 10:44:33.907 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_Jar_2/20240530-104429-UpgModPathTest/modules/7.com.hello.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2024-05-30T10:44:34.344Z] STF 10:44:33.907 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_Jar_2/20240530-104429-UpgModPathTest/results/7.CMJ.stderr [2024-05-30T10:44:34.344Z] STF 10:44:33.908 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_Jar_2/20240530-104429-UpgModPathTest/results/7.CMJ.stdout [2024-05-30T10:44:34.344Z] STF 10:44:33.915 - Monitoring processes: CMJ [2024-05-30T10:44:34.344Z] STF 10:44:34.246 - Monitoring Report Summary: [2024-05-30T10:44:34.344Z] STF 10:44:34.246 - o Process CMJ ended with the expected exit code (0) [2024-05-30T10:44:34.344Z] STF 10:44:34.246 - Created modular jar: 7.com.hello.jar [2024-05-30T10:44:34.344Z] STF 10:44:34.246 - [2024-05-30T10:44:34.344Z] STF 10:44:34.246 - +------ Step 8 - Create com.hello override jar [2024-05-30T10:44:34.344Z] STF 10:44:34.246 - | Create modular jar [2024-05-30T10:44:34.344Z] STF 10:44:34.246 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2024-05-30T10:44:34.344Z] STF 10:44:34.246 - | ModuleVersion: null [2024-05-30T10:44:34.344Z] STF 10:44:34.246 - | MainClass: null [2024-05-30T10:44:34.344Z] STF 10:44:34.246 - | HashModules: null [2024-05-30T10:44:34.344Z] STF 10:44:34.246 - | [2024-05-30T10:44:34.344Z] STF 10:44:34.247 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_Jar_2/20240530-104429-UpgModPathTest/modules/8.java.logging.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.logging . [2024-05-30T10:44:34.344Z] STF 10:44:34.247 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_Jar_2/20240530-104429-UpgModPathTest/results/8.CMJ.stderr [2024-05-30T10:44:34.344Z] STF 10:44:34.247 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_Jar_2/20240530-104429-UpgModPathTest/results/8.CMJ.stdout [2024-05-30T10:44:34.344Z] STF 10:44:34.253 - Monitoring processes: CMJ [2024-05-30T10:44:34.675Z] STF 10:44:34.585 - Monitoring Report Summary: [2024-05-30T10:44:34.675Z] STF 10:44:34.585 - o Process CMJ ended with the expected exit code (0) [2024-05-30T10:44:34.675Z] STF 10:44:34.585 - Created modular jar: 8.java.logging.jar [2024-05-30T10:44:34.675Z] STF 10:44:34.585 - [2024-05-30T10:44:34.675Z] STF 10:44:34.585 - +------ Step 9 - Override an application module using modularized jar [2024-05-30T10:44:34.675Z] STF 10:44:34.585 - | Run foreground process [2024-05-30T10:44:34.675Z] STF 10:44:34.585 - | Program: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java [2024-05-30T10:44:34.675Z] STF 10:44:34.585 - | Mnemonic: OT21 [2024-05-30T10:44:34.675Z] STF 10:44:34.585 - | Echo: ECHO_ON [2024-05-30T10:44:34.675Z] STF 10:44:34.585 - | Expectation: CLEAN_RUN within 1m [2024-05-30T10:44:34.675Z] STF 10:44:34.585 - | [2024-05-30T10:44:34.675Z] STF 10:44:34.586 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --upgrade-module-path C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_Jar_2/20240530-104429-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-05-30T10:44:34.675Z] STF 10:44:34.586 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_Jar_2/20240530-104429-UpgModPathTest/results/9.OT21.stderr [2024-05-30T10:44:34.675Z] STF 10:44:34.586 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_Jar_2/20240530-104429-UpgModPathTest/results/9.OT21.stdout [2024-05-30T10:44:34.675Z] STF 10:44:34.597 - Monitoring processes: OT21 [2024-05-30T10:44:35.005Z] OT21 JUnit version 4.12 [2024-05-30T10:44:35.005Z] OT21 . [2024-05-30T10:44:35.333Z] OT21 Time: 0.006 [2024-05-30T10:44:35.333Z] OT21 [2024-05-30T10:44:35.333Z] OT21 OK (1 test) [2024-05-30T10:44:35.333Z] OT21 [2024-05-30T10:44:35.333Z] STF 10:44:34.955 - Monitoring Report Summary: [2024-05-30T10:44:35.333Z] STF 10:44:34.955 - o Process OT21 ended with the expected exit code (0) [2024-05-30T10:44:35.333Z] STF 10:44:34.955 - [2024-05-30T10:44:35.333Z] STF 10:44:34.955 - +------ Step 10 - (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar [2024-05-30T10:44:35.333Z] STF 10:44:34.955 - | Run foreground process [2024-05-30T10:44:35.333Z] STF 10:44:34.955 - | Program: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java [2024-05-30T10:44:35.333Z] STF 10:44:34.955 - | Mnemonic: OT24 [2024-05-30T10:44:35.333Z] STF 10:44:34.955 - | Echo: ECHO_ON [2024-05-30T10:44:35.333Z] STF 10:44:34.955 - | Expectation: NON_ZERO_EXIT [1] within 1m [2024-05-30T10:44:35.333Z] STF 10:44:34.955 - | [2024-05-30T10:44:35.333Z] STF 10:44:34.956 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --upgrade-module-path C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_Jar_2/20240530-104429-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-05-30T10:44:35.333Z] STF 10:44:34.956 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_Jar_2/20240530-104429-UpgModPathTest/results/10.OT24.stderr [2024-05-30T10:44:35.333Z] STF 10:44:34.956 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_Jar_2/20240530-104429-UpgModPathTest/results/10.OT24.stdout [2024-05-30T10:44:35.334Z] STF 10:44:34.964 - Monitoring processes: OT24 [2024-05-30T10:44:35.334Z] OT24 Error occurred during initialization of boot layer [2024-05-30T10:44:35.334Z] OT24 java.lang.module.FindException: Hash of java.logging (7f1fb5d45f369c1e2c1706d2bf2b846ccdf06321f66ca690669d18c6f74ab095) differs to expected hash (dcbd6f679a352ff5f160a12fde84805279c85302aa30140fffa91bebeb7e1616) recorded in java.base [2024-05-30T10:44:35.334Z] STF 10:44:35.168 - Monitoring Report Summary: [2024-05-30T10:44:35.334Z] STF 10:44:35.168 - o Process OT24 ended with the expected exit code (1) [2024-05-30T10:44:35.334Z] STF 10:44:35.168 - [2024-05-30T10:44:35.334Z] STF 10:44:35.168 - +------ Step 11 - Combine stderr and stdout files of process OT24 [2024-05-30T10:44:35.334Z] STF 10:44:35.168 - | Run foreground process [2024-05-30T10:44:35.334Z] STF 10:44:35.168 - | Program: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java [2024-05-30T10:44:35.334Z] STF 10:44:35.168 - | Mnemonic: CO [2024-05-30T10:44:35.334Z] STF 10:44:35.168 - | Echo: ECHO_OFF [2024-05-30T10:44:35.334Z] STF 10:44:35.168 - | Expectation: NON_ZERO_EXIT [0] within 30s [2024-05-30T10:44:35.334Z] STF 10:44:35.168 - | [2024-05-30T10:44:35.334Z] STF 10:44:35.169 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java -Dfile1=C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_Jar_2/20240530-104429-UpgModPathTest/results/10.OT24.stdout -Dfile2=C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_Jar_2/20240530-104429-UpgModPathTest/results/10.OT24.stderr -Dfinal.file=C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\aqa-tests\TKG\output_17170617393665\UpgModPath_Jar_2\20240530-104429-UpgModPathTest\results\combinedOT24.txt -classpath C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\STF\stf.core\bin;C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin net.adoptopenjdk.test.modularity.TestUtil [2024-05-30T10:44:35.334Z] STF 10:44:35.169 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_Jar_2/20240530-104429-UpgModPathTest/results/11.CO.stderr [2024-05-30T10:44:35.334Z] STF 10:44:35.169 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_Jar_2/20240530-104429-UpgModPathTest/results/11.CO.stdout [2024-05-30T10:44:35.334Z] STF 10:44:35.177 - Monitoring processes: CO [2024-05-30T10:44:35.694Z] STF 10:44:35.335 - Monitoring Report Summary: [2024-05-30T10:44:35.695Z] STF 10:44:35.335 - o Process CO ended with the expected exit code (0) [2024-05-30T10:44:35.695Z] STF 10:44:35.336 - [2024-05-30T10:44:35.695Z] STF 10:44:35.336 - +------ Step 12 - Check output [2024-05-30T10:44:35.695Z] STF 10:44:35.336 - | Count file matches [2024-05-30T10:44:35.695Z] STF 10:44:35.336 - | TargetFile: C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_Jar_2/20240530-104429-UpgModPathTest/results/combinedOT24.txt [2024-05-30T10:44:35.695Z] STF 10:44:35.336 - | ExpectedNumMatches: 1 [2024-05-30T10:44:35.695Z] STF 10:44:35.336 - | SearchStrings: ["FindException: Hash of java.logging"] [2024-05-30T10:44:35.695Z] STF 10:44:35.336 - | [2024-05-30T10:44:35.695Z] STF 10:44:35.346 - Found 1 instances of ["FindException: Hash of java.logging"] [2024-05-30T10:44:35.695Z] STF 10:44:35.346 - EXECUTE stage completed [2024-05-30T10:44:35.695Z] STF 10:44:35.367 - [2024-05-30T10:44:35.695Z] STF 10:44:35.367 - ==================== T E A R D O W N ==================== [2024-05-30T10:44:35.695Z] STF 10:44:35.367 - Running teardown: perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17170617393665\UpgModPath_Jar_2/20240530-104429-UpgModPathTest/tearDown.pl [2024-05-30T10:44:35.695Z] STF 10:44:35.489 - TEARDOWN stage completed [2024-05-30T10:44:35.695Z] STF 10:44:35.499 - [2024-05-30T10:44:35.695Z] STF 10:44:35.499 - ===================== R E S U L T S ===================== [2024-05-30T10:44:35.695Z] STF 10:44:35.499 - Stage results: [2024-05-30T10:44:35.695Z] STF 10:44:35.499 - setUp: pass [2024-05-30T10:44:35.695Z] STF 10:44:35.499 - execute: pass [2024-05-30T10:44:35.695Z] STF 10:44:35.499 - teardown: pass [2024-05-30T10:44:35.695Z] STF 10:44:35.499 - [2024-05-30T10:44:35.695Z] STF 10:44:35.499 - Overall result: PASSED [2024-05-30T10:44:35.695Z] ----------------------------------- [2024-05-30T10:44:35.695Z] UpgModPath_Jar_2_PASSED [2024-05-30T10:44:35.695Z] ----------------------------------- [2024-05-30T10:44:35.695Z] [2024-05-30T10:44:35.695Z] TEST TEARDOWN: [2024-05-30T10:44:35.695Z] Nothing to be done for teardown. [2024-05-30T10:44:36.058Z] UpgModPath_Jar_2 Finish Time: Thu May 30 10:44:35 2024 Epoch Time (ms): 1717065875742