UpgModPath_JarImg_2

[2024-05-30T10:44:39.108Z] Running test UpgModPath_JarImg_2 ... [2024-05-30T10:44:39.108Z] =============================================== [2024-05-30T10:44:39.474Z] UpgModPath_JarImg_2 Start Time: Thu May 30 10:44:39 2024 Epoch Time (ms): 1717065879109 [2024-05-30T10:44:39.474Z] variation: Mode1000 [2024-05-30T10:44:39.474Z] JVM_OPTIONS: [2024-05-30T10:44:39.474Z] { \ [2024-05-30T10:44:39.474Z] echo ""; echo "TEST SETUP:"; \ [2024-05-30T10:44:39.474Z] echo "Nothing to be done for setup."; \ [2024-05-30T10:44:39.474Z] mkdir -p "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17170617393665\\UpgModPath_JarImg_2"; \ [2024-05-30T10:44:39.474Z] cd "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17170617393665\\UpgModPath_JarImg_2"; \ [2024-05-30T10:44:39.474Z] echo ""; echo "TESTING:"; \ [2024-05-30T10:44:39.474Z] 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_JarImg_2" -test=UpgModPathTest -test-args="variant=JarImg"; \ [2024-05-30T10:44:39.474Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_JarImg_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_JarImg_2"; else echo "-----------------------------------"; echo "UpgModPath_JarImg_2""_FAILED"; echo "-----------------------------------"; fi; \ [2024-05-30T10:44:39.474Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-05-30T10:44:39.474Z] echo "Nothing to be done for teardown."; \ [2024-05-30T10:44:39.474Z] } 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:39.805Z] [2024-05-30T10:44:39.805Z] TEST SETUP: [2024-05-30T10:44:39.805Z] Nothing to be done for setup. [2024-05-30T10:44:39.805Z] [2024-05-30T10:44:39.805Z] TESTING: [2024-05-30T10:44:39.805Z] STF 10:44:39.636 - ========================= S T F ========================= [2024-05-30T10:44:39.805Z] 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_JarImg_2 [2024-05-30T10:44:39.805Z] There is 97690 Mb free [2024-05-30T10:44:39.805Z] STF 10:44:39.677 - ================== G E N E R A T I O N ================== [2024-05-30T10:44:39.805Z] STF 10:44:39.679 - Checking JVM: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image [2024-05-30T10:44:39.805Z] STF 10:44:39.679 - 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_JarImg_2/20240530-104439-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_JarImg_2/20240530-104439-UpgModPathTest" [2024-05-30T10:44:40.501Z] GEN 10:44:40.367 - 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:40.501Z] GEN 10:44:40.375 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2024-05-30T10:44:40.831Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-05-30T10:44:40.831Z] 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:40.831Z] 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:40.831Z] 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:40.831Z] 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:40.831Z] 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:40.831Z] 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:40.831Z] 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:40.831Z] 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:40.831Z] 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:40.831Z] 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:40.831Z] 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:40.831Z] 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:40.831Z] 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:40.831Z] 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:40.831Z] 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:40.831Z] GEN C:\\jenkins\\workspace\\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\\jvmtest\\system\\STF\\stf.core\\bin [2024-05-30T10:44:40.831Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-05-30T10:44:40.831Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-05-30T10:44:40.831Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar [2024-05-30T10:44:40.831Z] GEN 10:44:40.564 - Using Mode NoOptions. Values = '' [2024-05-30T10:44:40.831Z] GEN 10:44:40.636 - [2024-05-30T10:44:40.831Z] GEN 10:44:40.636 - Test command summary: [2024-05-30T10:44:40.831Z] GEN 10:44:40.636 - Step Stage Command Description [2024-05-30T10:44:40.831Z] GEN 10:44:40.636 - -----+--------+-----------------+------------ [2024-05-30T10:44:40.831Z] GEN 10:44:40.636 - 1 execute jar Create com.hello jar [2024-05-30T10:44:40.831Z] GEN 10:44:40.636 - 2 execute jar Create com.hola jar [2024-05-30T10:44:40.831Z] GEN 10:44:40.637 - 3 execute jar Create com.helper jar [2024-05-30T10:44:40.831Z] GEN 10:44:40.637 - 4 execute jar Create com.discreet jar [2024-05-30T10:44:40.831Z] GEN 10:44:40.637 - 5 execute jar Create tests jar [2024-05-30T10:44:40.832Z] GEN 10:44:40.637 - 6 execute jlink Create runtime image for upgrademodulepath test [2024-05-30T10:44:40.832Z] GEN 10:44:40.637 - 7 execute jar Create com.hello override jar [2024-05-30T10:44:40.832Z] GEN 10:44:40.637 - 8 execute jar Create com.hello override jar [2024-05-30T10:44:40.832Z] GEN 10:44:40.637 - 9 execute Run java Override an application module using a custom runtime image where the overriding module is in a modularized jar [2024-05-30T10:44:40.832Z] GEN 10:44:40.637 - 10 execute Run java (Negative test) Override a non-upgradable platform module using a custom runtime imagewhere the overriding module is in a modularized jar [2024-05-30T10:44:40.832Z] GEN 10:44:40.637 - 11 execute Run java Combine stderr and stdout files of process OT27 [2024-05-30T10:44:40.832Z] GEN 10:44:40.637 - 12 execute count Check output [2024-05-30T10:44:40.832Z] STF 10:44:40.666 - [2024-05-30T10:44:40.832Z] STF 10:44:40.666 - Script generation completed [2024-05-30T10:44:40.832Z] STF 10:44:40.666 - [2024-05-30T10:44:40.832Z] STF 10:44:40.671 - [2024-05-30T10:44:40.832Z] STF 10:44:40.671 - ======================= S E T U P ======================= [2024-05-30T10:44:40.832Z] STF 10:44:40.671 - Running setup: perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17170617393665\UpgModPath_JarImg_2/20240530-104439-UpgModPathTest/setUp.pl [2024-05-30T10:44:40.832Z] STF 10:44:40.793 - SETUP stage completed [2024-05-30T10:44:40.832Z] STF 10:44:40.804 - [2024-05-30T10:44:40.832Z] STF 10:44:40.804 - ==================== E X E C U T E - ==================== [2024-05-30T10:44:40.832Z] STF 10:44:40.804 - Running execute: perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17170617393665\UpgModPath_JarImg_2/20240530-104439-UpgModPathTest/execute.pl [2024-05-30T10:44:41.162Z] STF 10:44:40.933 - [2024-05-30T10:44:41.163Z] STF 10:44:40.933 - Java version [2024-05-30T10:44:41.163Z] STF 10:44:40.933 - Running: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java -version [2024-05-30T10:44:41.163Z] openjdk version "17.0.12-beta" 2024-07-16 [2024-05-30T10:44:41.163Z] OpenJDK Runtime Environment Temurin-17.0.12+5-202405292044 (build 17.0.12-beta+5-ea) [2024-05-30T10:44:41.163Z] OpenJDK Client VM Temurin-17.0.12+5-202405292044 (build 17.0.12-beta+5-ea, mixed mode, emulated-client) [2024-05-30T10:44:41.163Z] STF 10:44:41.033 - [2024-05-30T10:44:41.163Z] STF 10:44:41.033 - +------ Step 1 - Create com.hello jar [2024-05-30T10:44:41.163Z] STF 10:44:41.033 - | Create modular jar [2024-05-30T10:44:41.163Z] STF 10:44:41.033 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-05-30T10:44:41.163Z] STF 10:44:41.033 - | ModuleVersion: null [2024-05-30T10:44:41.163Z] STF 10:44:41.034 - | MainClass: null [2024-05-30T10:44:41.163Z] STF 10:44:41.034 - | HashModules: null [2024-05-30T10:44:41.163Z] STF 10:44:41.034 - | [2024-05-30T10:44:41.163Z] STF 10:44:41.034 - 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_JarImg_2/20240530-104439-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:41.163Z] STF 10:44:41.034 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_JarImg_2/20240530-104439-UpgModPathTest/results/1.CMJ.stderr [2024-05-30T10:44:41.163Z] STF 10:44:41.034 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_JarImg_2/20240530-104439-UpgModPathTest/results/1.CMJ.stdout [2024-05-30T10:44:41.163Z] STF 10:44:41.059 - Monitoring processes: CMJ [2024-05-30T10:44:41.517Z] STF 10:44:41.310 - Monitoring Report Summary: [2024-05-30T10:44:41.517Z] STF 10:44:41.310 - o Process CMJ ended with the expected exit code (0) [2024-05-30T10:44:41.517Z] STF 10:44:41.310 - Created modular jar: 1.com.hello.jar [2024-05-30T10:44:41.517Z] STF 10:44:41.310 - [2024-05-30T10:44:41.517Z] STF 10:44:41.310 - +------ Step 2 - Create com.hola jar [2024-05-30T10:44:41.517Z] STF 10:44:41.310 - | Create modular jar [2024-05-30T10:44:41.517Z] STF 10:44:41.310 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-05-30T10:44:41.517Z] STF 10:44:41.310 - | ModuleVersion: null [2024-05-30T10:44:41.517Z] STF 10:44:41.310 - | MainClass: null [2024-05-30T10:44:41.517Z] STF 10:44:41.310 - | HashModules: null [2024-05-30T10:44:41.517Z] STF 10:44:41.310 - | [2024-05-30T10:44:41.517Z] STF 10:44:41.311 - 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_JarImg_2/20240530-104439-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:41.517Z] STF 10:44:41.311 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_JarImg_2/20240530-104439-UpgModPathTest/results/2.CMJ.stderr [2024-05-30T10:44:41.517Z] STF 10:44:41.311 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_JarImg_2/20240530-104439-UpgModPathTest/results/2.CMJ.stdout [2024-05-30T10:44:41.517Z] STF 10:44:41.317 - Monitoring processes: CMJ [2024-05-30T10:44:41.845Z] STF 10:44:41.580 - Monitoring Report Summary: [2024-05-30T10:44:41.845Z] STF 10:44:41.580 - o Process CMJ ended with the expected exit code (0) [2024-05-30T10:44:41.845Z] STF 10:44:41.580 - Created modular jar: 2.com.hola.jar [2024-05-30T10:44:41.845Z] STF 10:44:41.580 - [2024-05-30T10:44:41.845Z] STF 10:44:41.580 - +------ Step 3 - Create com.helper jar [2024-05-30T10:44:41.845Z] STF 10:44:41.580 - | Create modular jar [2024-05-30T10:44:41.845Z] STF 10:44:41.580 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-05-30T10:44:41.845Z] STF 10:44:41.580 - | ModuleVersion: null [2024-05-30T10:44:41.845Z] STF 10:44:41.580 - | MainClass: null [2024-05-30T10:44:41.845Z] STF 10:44:41.580 - | HashModules: null [2024-05-30T10:44:41.845Z] STF 10:44:41.580 - | [2024-05-30T10:44:41.845Z] STF 10:44:41.580 - 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_JarImg_2/20240530-104439-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:41.845Z] STF 10:44:41.580 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_JarImg_2/20240530-104439-UpgModPathTest/results/3.CMJ.stderr [2024-05-30T10:44:41.845Z] STF 10:44:41.580 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_JarImg_2/20240530-104439-UpgModPathTest/results/3.CMJ.stdout [2024-05-30T10:44:41.845Z] STF 10:44:41.585 - Monitoring processes: CMJ [2024-05-30T10:44:42.170Z] STF 10:44:41.839 - Monitoring Report Summary: [2024-05-30T10:44:42.170Z] STF 10:44:41.839 - o Process CMJ ended with the expected exit code (0) [2024-05-30T10:44:42.170Z] STF 10:44:41.840 - Created modular jar: 3.com.helper.jar [2024-05-30T10:44:42.170Z] STF 10:44:41.840 - [2024-05-30T10:44:42.170Z] STF 10:44:41.840 - +------ Step 4 - Create com.discreet jar [2024-05-30T10:44:42.170Z] STF 10:44:41.840 - | Create modular jar [2024-05-30T10:44:42.170Z] STF 10:44:41.840 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-05-30T10:44:42.170Z] STF 10:44:41.840 - | ModuleVersion: null [2024-05-30T10:44:42.170Z] STF 10:44:41.840 - | MainClass: null [2024-05-30T10:44:42.170Z] STF 10:44:41.840 - | HashModules: null [2024-05-30T10:44:42.170Z] STF 10:44:41.840 - | [2024-05-30T10:44:42.170Z] STF 10:44:41.840 - 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_JarImg_2/20240530-104439-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:42.170Z] STF 10:44:41.840 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_JarImg_2/20240530-104439-UpgModPathTest/results/4.CMJ.stderr [2024-05-30T10:44:42.170Z] STF 10:44:41.840 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_JarImg_2/20240530-104439-UpgModPathTest/results/4.CMJ.stdout [2024-05-30T10:44:42.170Z] STF 10:44:41.845 - Monitoring processes: CMJ [2024-05-30T10:44:42.170Z] STF 10:44:42.103 - Monitoring Report Summary: [2024-05-30T10:44:42.170Z] STF 10:44:42.103 - o Process CMJ ended with the expected exit code (0) [2024-05-30T10:44:42.170Z] STF 10:44:42.103 - Created modular jar: 4.com.discreet.jar [2024-05-30T10:44:42.170Z] STF 10:44:42.103 - [2024-05-30T10:44:42.170Z] STF 10:44:42.103 - +------ Step 5 - Create tests jar [2024-05-30T10:44:42.170Z] STF 10:44:42.103 - | Create modular jar [2024-05-30T10:44:42.170Z] STF 10:44:42.103 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-05-30T10:44:42.170Z] STF 10:44:42.103 - | ModuleVersion: null [2024-05-30T10:44:42.170Z] STF 10:44:42.103 - | MainClass: null [2024-05-30T10:44:42.170Z] STF 10:44:42.103 - | HashModules: null [2024-05-30T10:44:42.170Z] STF 10:44:42.103 - | [2024-05-30T10:44:42.170Z] STF 10:44:42.104 - 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_JarImg_2/20240530-104439-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:42.170Z] STF 10:44:42.104 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_JarImg_2/20240530-104439-UpgModPathTest/results/5.CMJ.stderr [2024-05-30T10:44:42.170Z] STF 10:44:42.104 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_JarImg_2/20240530-104439-UpgModPathTest/results/5.CMJ.stdout [2024-05-30T10:44:42.170Z] STF 10:44:42.110 - Monitoring processes: CMJ [2024-05-30T10:44:42.499Z] STF 10:44:42.383 - Monitoring Report Summary: [2024-05-30T10:44:42.499Z] STF 10:44:42.383 - o Process CMJ ended with the expected exit code (0) [2024-05-30T10:44:42.499Z] STF 10:44:42.383 - Created modular jar: 5.com.test.jar [2024-05-30T10:44:42.499Z] STF 10:44:42.383 - [2024-05-30T10:44:42.499Z] STF 10:44:42.383 - +------ Step 6 - Create runtime image for upgrademodulepath test [2024-05-30T10:44:42.499Z] STF 10:44:42.383 - | Run jlink to create runtime image [2024-05-30T10:44:42.499Z] STF 10:44:42.383 - | ImageName: UpJVM [2024-05-30T10:44:42.499Z] STF 10:44:42.383 - | [2024-05-30T10:44:42.499Z] STF 10:44:42.384 - 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_JarImg_2\20240530-104439-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_JarImg_2\20240530-104439-UpgModPathTest\tmp\6.UpJVM [2024-05-30T10:44:42.499Z] STF 10:44:42.384 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_JarImg_2/20240530-104439-UpgModPathTest/results/6.JLNK.stderr [2024-05-30T10:44:42.499Z] STF 10:44:42.384 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_JarImg_2/20240530-104439-UpgModPathTest/results/6.JLNK.stdout [2024-05-30T10:44:42.499Z] STF 10:44:42.390 - Monitoring processes: JLNK [2024-05-30T10:44:44.719Z] STF 10:44:44.200 - Monitoring Report Summary: [2024-05-30T10:44:44.719Z] STF 10:44:44.200 - o Process JLNK ended with the expected exit code (0) [2024-05-30T10:44:44.719Z] STF 10:44:44.200 - [2024-05-30T10:44:44.719Z] STF 10:44:44.200 - +------ Step 7 - Create com.hello override jar [2024-05-30T10:44:44.719Z] STF 10:44:44.200 - | Create modular jar [2024-05-30T10:44:44.719Z] STF 10:44:44.200 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-05-30T10:44:44.719Z] STF 10:44:44.200 - | ModuleVersion: null [2024-05-30T10:44:44.719Z] STF 10:44:44.200 - | MainClass: null [2024-05-30T10:44:44.719Z] STF 10:44:44.200 - | HashModules: null [2024-05-30T10:44:44.719Z] STF 10:44:44.200 - | [2024-05-30T10:44:44.720Z] STF 10:44:44.201 - 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_JarImg_2/20240530-104439-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:44.720Z] STF 10:44:44.201 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_JarImg_2/20240530-104439-UpgModPathTest/results/7.CMJ.stderr [2024-05-30T10:44:44.720Z] STF 10:44:44.201 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_JarImg_2/20240530-104439-UpgModPathTest/results/7.CMJ.stdout [2024-05-30T10:44:44.720Z] STF 10:44:44.207 - Monitoring processes: CMJ [2024-05-30T10:44:44.720Z] STF 10:44:44.546 - Monitoring Report Summary: [2024-05-30T10:44:44.720Z] STF 10:44:44.546 - o Process CMJ ended with the expected exit code (0) [2024-05-30T10:44:44.720Z] STF 10:44:44.547 - Created modular jar: 7.com.hello.jar [2024-05-30T10:44:44.720Z] STF 10:44:44.547 - [2024-05-30T10:44:44.720Z] STF 10:44:44.547 - +------ Step 8 - Create com.hello override jar [2024-05-30T10:44:44.720Z] STF 10:44:44.547 - | Create modular jar [2024-05-30T10:44:44.720Z] STF 10:44:44.547 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2024-05-30T10:44:44.720Z] STF 10:44:44.547 - | ModuleVersion: null [2024-05-30T10:44:44.720Z] STF 10:44:44.547 - | MainClass: null [2024-05-30T10:44:44.720Z] STF 10:44:44.547 - | HashModules: null [2024-05-30T10:44:44.720Z] STF 10:44:44.547 - | [2024-05-30T10:44:44.720Z] STF 10:44:44.547 - 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_JarImg_2/20240530-104439-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:44.720Z] STF 10:44:44.547 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_JarImg_2/20240530-104439-UpgModPathTest/results/8.CMJ.stderr [2024-05-30T10:44:44.720Z] STF 10:44:44.547 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_JarImg_2/20240530-104439-UpgModPathTest/results/8.CMJ.stdout [2024-05-30T10:44:44.720Z] STF 10:44:44.554 - Monitoring processes: CMJ [2024-05-30T10:44:45.047Z] STF 10:44:44.885 - Monitoring Report Summary: [2024-05-30T10:44:45.047Z] STF 10:44:44.885 - o Process CMJ ended with the expected exit code (0) [2024-05-30T10:44:45.047Z] STF 10:44:44.886 - Created modular jar: 8.java.logging.jar [2024-05-30T10:44:45.047Z] STF 10:44:44.886 - [2024-05-30T10:44:45.047Z] STF 10:44:44.886 - +------ Step 9 - Override an application module using a custom runtime image where the overriding module is in a modularized jar [2024-05-30T10:44:45.047Z] STF 10:44:44.886 - | Run foreground process [2024-05-30T10:44:45.047Z] STF 10:44:44.886 - | Program: C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_JarImg_2/20240530-104439-UpgModPathTest/tmp/6.UpJVM/bin/java [2024-05-30T10:44:45.047Z] STF 10:44:44.886 - | Mnemonic: OT25 [2024-05-30T10:44:45.047Z] STF 10:44:44.886 - | Echo: ECHO_ON [2024-05-30T10:44:45.047Z] STF 10:44:44.886 - | Expectation: CLEAN_RUN within 1m [2024-05-30T10:44:45.047Z] STF 10:44:44.886 - | [2024-05-30T10:44:45.047Z] STF 10:44:44.886 - Running command: C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_JarImg_2/20240530-104439-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_JarImg_2/20240530-104439-UpgModPathTest/modules/7.com.hello.jar -classpath c:/jenkins/testDependency/system_lib/junit/junit.jar;c:/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2024-05-30T10:44:45.047Z] STF 10:44:44.886 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_JarImg_2/20240530-104439-UpgModPathTest/results/9.OT25.stderr [2024-05-30T10:44:45.047Z] STF 10:44:44.886 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_JarImg_2/20240530-104439-UpgModPathTest/results/9.OT25.stdout [2024-05-30T10:44:45.047Z] STF 10:44:44.945 - Monitoring processes: OT25 [2024-05-30T10:44:45.375Z] OT25 JUnit version 4.12 [2024-05-30T10:44:45.376Z] OT25 . [2024-05-30T10:44:45.376Z] OT25 Time: 0.004 [2024-05-30T10:44:45.376Z] OT25 [2024-05-30T10:44:45.376Z] OT25 OK (1 test) [2024-05-30T10:44:45.376Z] OT25 [2024-05-30T10:44:45.376Z] STF 10:44:45.248 - Monitoring Report Summary: [2024-05-30T10:44:45.376Z] STF 10:44:45.248 - o Process OT25 ended with the expected exit code (0) [2024-05-30T10:44:45.376Z] STF 10:44:45.248 - [2024-05-30T10:44:45.376Z] STF 10:44:45.248 - +------ Step 10 - (Negative test) Override a non-upgradable platform module using a custom runtime imagewhere the overriding module is in a modularized jar [2024-05-30T10:44:45.376Z] STF 10:44:45.248 - | Run foreground process [2024-05-30T10:44:45.376Z] STF 10:44:45.248 - | Program: C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_JarImg_2/20240530-104439-UpgModPathTest/tmp/6.UpJVM/bin/java [2024-05-30T10:44:45.376Z] STF 10:44:45.248 - | Mnemonic: OT27 [2024-05-30T10:44:45.376Z] STF 10:44:45.248 - | Echo: ECHO_ON [2024-05-30T10:44:45.376Z] STF 10:44:45.248 - | Expectation: NON_ZERO_EXIT [1] within 1m [2024-05-30T10:44:45.376Z] STF 10:44:45.248 - | [2024-05-30T10:44:45.376Z] STF 10:44:45.248 - Running command: C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_JarImg_2/20240530-104439-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_JarImg_2/20240530-104439-UpgModPathTest/modules/8.java.logging.jar -classpath c:/jenkins/testDependency/system_lib/junit/junit.jar;c:/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingNonUpgradablePlatformModule [2024-05-30T10:44:45.376Z] STF 10:44:45.248 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_JarImg_2/20240530-104439-UpgModPathTest/results/10.OT27.stderr [2024-05-30T10:44:45.376Z] STF 10:44:45.248 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_JarImg_2/20240530-104439-UpgModPathTest/results/10.OT27.stdout [2024-05-30T10:44:45.376Z] STF 10:44:45.257 - Monitoring processes: OT27 [2024-05-30T10:44:45.705Z] OT27 Error occurred during initialization of boot layer [2024-05-30T10:44:45.705Z] OT27 java.lang.module.FindException: Hash of java.logging (7f1fb5d45f369c1e2c1706d2bf2b846ccdf06321f66ca690669d18c6f74ab095) differs to expected hash (dcbd6f679a352ff5f160a12fde84805279c85302aa30140fffa91bebeb7e1616) recorded in java.base [2024-05-30T10:44:45.705Z] STF 10:44:45.420 - Monitoring Report Summary: [2024-05-30T10:44:45.705Z] STF 10:44:45.420 - o Process OT27 ended with the expected exit code (1) [2024-05-30T10:44:45.705Z] STF 10:44:45.420 - [2024-05-30T10:44:45.705Z] STF 10:44:45.420 - +------ Step 11 - Combine stderr and stdout files of process OT27 [2024-05-30T10:44:45.705Z] STF 10:44:45.420 - | Run foreground process [2024-05-30T10:44:45.705Z] STF 10:44:45.420 - | Program: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java [2024-05-30T10:44:45.705Z] STF 10:44:45.420 - | Mnemonic: CO [2024-05-30T10:44:45.706Z] STF 10:44:45.420 - | Echo: ECHO_OFF [2024-05-30T10:44:45.706Z] STF 10:44:45.420 - | Expectation: NON_ZERO_EXIT [0] within 30s [2024-05-30T10:44:45.706Z] STF 10:44:45.420 - | [2024-05-30T10:44:45.706Z] STF 10:44:45.420 - 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_JarImg_2/20240530-104439-UpgModPathTest/results/10.OT27.stdout -Dfile2=C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_JarImg_2/20240530-104439-UpgModPathTest/results/10.OT27.stderr -Dfinal.file=C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\aqa-tests\TKG\output_17170617393665\UpgModPath_JarImg_2\20240530-104439-UpgModPathTest\results\combinedOT27.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:45.706Z] STF 10:44:45.420 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_JarImg_2/20240530-104439-UpgModPathTest/results/11.CO.stderr [2024-05-30T10:44:45.706Z] STF 10:44:45.420 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_JarImg_2/20240530-104439-UpgModPathTest/results/11.CO.stdout [2024-05-30T10:44:45.706Z] STF 10:44:45.428 - Monitoring processes: CO [2024-05-30T10:44:45.706Z] STF 10:44:45.601 - Monitoring Report Summary: [2024-05-30T10:44:45.706Z] STF 10:44:45.601 - o Process CO ended with the expected exit code (0) [2024-05-30T10:44:45.706Z] STF 10:44:45.601 - [2024-05-30T10:44:45.706Z] STF 10:44:45.601 - +------ Step 12 - Check output [2024-05-30T10:44:45.706Z] STF 10:44:45.601 - | Count file matches [2024-05-30T10:44:45.706Z] STF 10:44:45.601 - | TargetFile: C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17170617393665/UpgModPath_JarImg_2/20240530-104439-UpgModPathTest/results/combinedOT27.txt [2024-05-30T10:44:45.706Z] STF 10:44:45.601 - | ExpectedNumMatches: 1 [2024-05-30T10:44:45.706Z] STF 10:44:45.601 - | SearchStrings: ["FindException: Hash of java.logging"] [2024-05-30T10:44:45.706Z] STF 10:44:45.601 - | [2024-05-30T10:44:45.706Z] STF 10:44:45.602 - Found 1 instances of ["FindException: Hash of java.logging"] [2024-05-30T10:44:45.706Z] STF 10:44:45.602 - EXECUTE stage completed [2024-05-30T10:44:45.706Z] STF 10:44:45.628 - [2024-05-30T10:44:45.706Z] STF 10:44:45.628 - ==================== T E A R D O W N ==================== [2024-05-30T10:44:45.706Z] STF 10:44:45.628 - Running teardown: perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17170617393665\UpgModPath_JarImg_2/20240530-104439-UpgModPathTest/tearDown.pl [2024-05-30T10:44:46.023Z] STF 10:44:45.755 - TEARDOWN stage completed [2024-05-30T10:44:46.023Z] STF 10:44:45.768 - [2024-05-30T10:44:46.023Z] STF 10:44:45.768 - ===================== R E S U L T S ===================== [2024-05-30T10:44:46.023Z] STF 10:44:45.768 - Stage results: [2024-05-30T10:44:46.023Z] STF 10:44:45.768 - setUp: pass [2024-05-30T10:44:46.023Z] STF 10:44:45.768 - execute: pass [2024-05-30T10:44:46.023Z] STF 10:44:45.768 - teardown: pass [2024-05-30T10:44:46.023Z] STF 10:44:45.768 - [2024-05-30T10:44:46.023Z] STF 10:44:45.768 - Overall result: PASSED [2024-05-30T10:44:46.023Z] ----------------------------------- [2024-05-30T10:44:46.023Z] UpgModPath_JarImg_2_PASSED [2024-05-30T10:44:46.023Z] ----------------------------------- [2024-05-30T10:44:46.023Z] [2024-05-30T10:44:46.023Z] TEST TEARDOWN: [2024-05-30T10:44:46.023Z] Nothing to be done for teardown. [2024-05-30T10:44:46.342Z] UpgModPath_JarImg_2 Finish Time: Thu May 30 10:44:46 2024 Epoch Time (ms): 1717065886106