UpgModPath_JarImg_0

[2024-09-25T23:32:37.921Z] Running test UpgModPath_JarImg_0 ... [2024-09-25T23:32:37.921Z] =============================================== [2024-09-25T23:32:38.294Z] UpgModPath_JarImg_0 Start Time: Wed Sep 25 23:32:37 2024 Epoch Time (ms): 1727307157970 [2024-09-25T23:32:38.294Z] variation: Mode150 [2024-09-25T23:32:38.294Z] JVM_OPTIONS: -XX:+UseCompressedOops [2024-09-25T23:32:38.294Z] { \ [2024-09-25T23:32:38.294Z] echo ""; echo "TEST SETUP:"; \ [2024-09-25T23:32:38.294Z] echo "Nothing to be done for setup."; \ [2024-09-25T23:32:38.294Z] mkdir -p "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17273051766387\\UpgModPath_JarImg_0"; \ [2024-09-25T23:32:38.294Z] cd "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17273051766387\\UpgModPath_JarImg_0"; \ [2024-09-25T23:32:38.294Z] echo ""; echo "TESTING:"; \ [2024-09-25T23:32:38.294Z] perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\\" -java-args=' -XX:+UseCompressedOops ' -results-root="C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17273051766387\\UpgModPath_JarImg_0" -test=UpgModPathTest -test-args="variant=JarImg"; \ [2024-09-25T23:32:38.294Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_JarImg_0""_PASSED"; echo "-----------------------------------"; cd C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/; rm -f -r "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17273051766387\\UpgModPath_JarImg_0"; else echo "-----------------------------------"; echo "UpgModPath_JarImg_0""_FAILED"; echo "-----------------------------------"; fi; \ [2024-09-25T23:32:38.294Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-09-25T23:32:38.294Z] echo "Nothing to be done for teardown."; \ [2024-09-25T23:32:38.294Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17273051766387\\TestTargetResult"; [2024-09-25T23:32:38.660Z] [2024-09-25T23:32:38.660Z] TEST SETUP: [2024-09-25T23:32:38.660Z] Nothing to be done for setup. [2024-09-25T23:32:38.660Z] [2024-09-25T23:32:38.660Z] TESTING: [2024-09-25T23:32:38.660Z] STF 23:32:38.558 - ========================= S T F ========================= [2024-09-25T23:32:38.660Z] systemtest-prereqs has been processed, and set to: c:/jenkins/testDependency/system_libRetrieving amount of free space on drive containing C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17273051766387\UpgModPath_JarImg_0 [2024-09-25T23:32:38.973Z] There is 109375 Mb free [2024-09-25T23:32:38.973Z] STF 23:32:38.609 - ================== G E N E R A T I O N ================== [2024-09-25T23:32:38.973Z] STF 23:32:38.611 - Checking JVM: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image [2024-09-25T23:32:38.973Z] STF 23:32:38.612 - Starting process to generate scripts: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-api.jar;c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17273051766387\UpgModPath_JarImg_0/20240925-233238-UpgModPathTest/stf_parameters.properties, , C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17273051766387\UpgModPath_JarImg_0/20240925-233238-UpgModPathTest" [2024-09-25T23:32:40.069Z] GEN 23:32:39.659 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: 'C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2024-09-25T23:32:40.069Z] GEN 23:32:39.680 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2024-09-25T23:32:40.069Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-09-25T23:32:40.069Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2024-09-25T23:32:40.069Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2024-09-25T23:32:40.069Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2024-09-25T23:32:40.069Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2024-09-25T23:32:40.069Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2024-09-25T23:32:40.069Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2024-09-25T23:32:40.069Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2024-09-25T23:32:40.069Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2024-09-25T23:32:40.069Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2024-09-25T23:32:40.069Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2024-09-25T23:32:40.069Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2024-09-25T23:32:40.070Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2024-09-25T23:32:40.070Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-09-25T23:32:40.070Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-09-25T23:32:40.070Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-09-25T23:32:40.070Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2024-09-25T23:32:40.070Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-09-25T23:32:40.070Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-09-25T23:32:40.070Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar [2024-09-25T23:32:40.070Z] GEN 23:32:39.961 - Using Mode NoOptions. Values = '' [2024-09-25T23:32:40.387Z] GEN 23:32:40.092 - [2024-09-25T23:32:40.387Z] GEN 23:32:40.093 - Test command summary: [2024-09-25T23:32:40.387Z] GEN 23:32:40.093 - Step Stage Command Description [2024-09-25T23:32:40.387Z] GEN 23:32:40.093 - -----+--------+-----------------+------------ [2024-09-25T23:32:40.387Z] GEN 23:32:40.093 - 1 execute jar Create com.hello jar [2024-09-25T23:32:40.387Z] GEN 23:32:40.093 - 2 execute jar Create com.hola jar [2024-09-25T23:32:40.387Z] GEN 23:32:40.094 - 3 execute jar Create com.helper jar [2024-09-25T23:32:40.387Z] GEN 23:32:40.094 - 4 execute jar Create com.discreet jar [2024-09-25T23:32:40.387Z] GEN 23:32:40.094 - 5 execute jar Create tests jar [2024-09-25T23:32:40.387Z] GEN 23:32:40.094 - 6 execute jlink Create runtime image for upgrademodulepath test [2024-09-25T23:32:40.387Z] GEN 23:32:40.094 - 7 execute jar Create com.hello override jar [2024-09-25T23:32:40.387Z] GEN 23:32:40.094 - 8 execute jar Create com.hello override jar [2024-09-25T23:32:40.387Z] GEN 23:32:40.094 - 9 execute Run java Override an application module using a custom runtime image where the overriding module is in a modularized jar [2024-09-25T23:32:40.387Z] GEN 23:32:40.094 - 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-09-25T23:32:40.387Z] GEN 23:32:40.094 - 11 execute Run java Combine stderr and stdout files of process OT27 [2024-09-25T23:32:40.387Z] GEN 23:32:40.094 - 12 execute count Check output [2024-09-25T23:32:40.387Z] STF 23:32:40.149 - [2024-09-25T23:32:40.387Z] STF 23:32:40.149 - Script generation completed [2024-09-25T23:32:40.387Z] STF 23:32:40.149 - [2024-09-25T23:32:40.387Z] STF 23:32:40.151 - [2024-09-25T23:32:40.387Z] STF 23:32:40.151 - ======================= S E T U P ======================= [2024-09-25T23:32:40.387Z] STF 23:32:40.151 - Running setup: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17273051766387\UpgModPath_JarImg_0/20240925-233238-UpgModPathTest/setUp.pl [2024-09-25T23:32:40.387Z] STF 23:32:40.273 - SETUP stage completed [2024-09-25T23:32:40.387Z] STF 23:32:40.285 - [2024-09-25T23:32:40.387Z] STF 23:32:40.285 - ==================== E X E C U T E - ==================== [2024-09-25T23:32:40.387Z] STF 23:32:40.285 - Running execute: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17273051766387\UpgModPath_JarImg_0/20240925-233238-UpgModPathTest/execute.pl [2024-09-25T23:32:40.702Z] STF 23:32:40.414 - [2024-09-25T23:32:40.702Z] STF 23:32:40.414 - Java version [2024-09-25T23:32:40.702Z] STF 23:32:40.414 - Running: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-09-25T23:32:40.702Z] openjdk version "11.0.25-beta" 2024-10-15 [2024-09-25T23:32:40.702Z] OpenJDK Runtime Environment Temurin-11.0.25+7-202409252005 (build 11.0.25-beta+7-ea) [2024-09-25T23:32:40.702Z] OpenJDK 64-Bit Server VM Temurin-11.0.25+7-202409252005 (build 11.0.25-beta+7-ea, mixed mode) [2024-09-25T23:32:40.702Z] STF 23:32:40.523 - [2024-09-25T23:32:40.702Z] STF 23:32:40.523 - +------ Step 1 - Create com.hello jar [2024-09-25T23:32:40.702Z] STF 23:32:40.523 - | Create modular jar [2024-09-25T23:32:40.702Z] STF 23:32:40.523 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-09-25T23:32:40.702Z] STF 23:32:40.523 - | ModuleVersion: null [2024-09-25T23:32:40.702Z] STF 23:32:40.523 - | MainClass: null [2024-09-25T23:32:40.702Z] STF 23:32:40.523 - | HashModules: null [2024-09-25T23:32:40.702Z] STF 23:32:40.523 - | [2024-09-25T23:32:40.702Z] STF 23:32:40.524 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_JarImg_0/20240925-233238-UpgModPathTest/modules/1.com.hello.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2024-09-25T23:32:40.703Z] STF 23:32:40.524 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_JarImg_0/20240925-233238-UpgModPathTest/results/1.CMJ.stderr [2024-09-25T23:32:40.703Z] STF 23:32:40.524 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_JarImg_0/20240925-233238-UpgModPathTest/results/1.CMJ.stdout [2024-09-25T23:32:40.703Z] STF 23:32:40.552 - Monitoring processes: CMJ [2024-09-25T23:32:41.018Z] STF 23:32:40.815 - Monitoring Report Summary: [2024-09-25T23:32:41.018Z] STF 23:32:40.816 - o Process CMJ ended with the expected exit code (0) [2024-09-25T23:32:41.018Z] STF 23:32:40.816 - Created modular jar: 1.com.hello.jar [2024-09-25T23:32:41.018Z] STF 23:32:40.816 - [2024-09-25T23:32:41.018Z] STF 23:32:40.816 - +------ Step 2 - Create com.hola jar [2024-09-25T23:32:41.018Z] STF 23:32:40.816 - | Create modular jar [2024-09-25T23:32:41.018Z] STF 23:32:40.816 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-09-25T23:32:41.018Z] STF 23:32:40.816 - | ModuleVersion: null [2024-09-25T23:32:41.018Z] STF 23:32:40.816 - | MainClass: null [2024-09-25T23:32:41.018Z] STF 23:32:40.816 - | HashModules: null [2024-09-25T23:32:41.018Z] STF 23:32:40.816 - | [2024-09-25T23:32:41.018Z] STF 23:32:40.816 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_JarImg_0/20240925-233238-UpgModPathTest/modules/2.com.hola.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2024-09-25T23:32:41.018Z] STF 23:32:40.816 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_JarImg_0/20240925-233238-UpgModPathTest/results/2.CMJ.stderr [2024-09-25T23:32:41.018Z] STF 23:32:40.816 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_JarImg_0/20240925-233238-UpgModPathTest/results/2.CMJ.stdout [2024-09-25T23:32:41.018Z] STF 23:32:40.823 - Monitoring processes: CMJ [2024-09-25T23:32:41.333Z] STF 23:32:41.094 - Monitoring Report Summary: [2024-09-25T23:32:41.333Z] STF 23:32:41.094 - o Process CMJ ended with the expected exit code (0) [2024-09-25T23:32:41.333Z] STF 23:32:41.094 - Created modular jar: 2.com.hola.jar [2024-09-25T23:32:41.333Z] STF 23:32:41.094 - [2024-09-25T23:32:41.333Z] STF 23:32:41.094 - +------ Step 3 - Create com.helper jar [2024-09-25T23:32:41.333Z] STF 23:32:41.094 - | Create modular jar [2024-09-25T23:32:41.333Z] STF 23:32:41.094 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-09-25T23:32:41.333Z] STF 23:32:41.094 - | ModuleVersion: null [2024-09-25T23:32:41.333Z] STF 23:32:41.094 - | MainClass: null [2024-09-25T23:32:41.333Z] STF 23:32:41.094 - | HashModules: null [2024-09-25T23:32:41.333Z] STF 23:32:41.094 - | [2024-09-25T23:32:41.333Z] STF 23:32:41.095 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_JarImg_0/20240925-233238-UpgModPathTest/modules/3.com.helper.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2024-09-25T23:32:41.333Z] STF 23:32:41.095 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_JarImg_0/20240925-233238-UpgModPathTest/results/3.CMJ.stderr [2024-09-25T23:32:41.333Z] STF 23:32:41.095 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_JarImg_0/20240925-233238-UpgModPathTest/results/3.CMJ.stdout [2024-09-25T23:32:41.333Z] STF 23:32:41.101 - Monitoring processes: CMJ [2024-09-25T23:32:41.646Z] STF 23:32:41.365 - Monitoring Report Summary: [2024-09-25T23:32:41.646Z] STF 23:32:41.365 - o Process CMJ ended with the expected exit code (0) [2024-09-25T23:32:41.646Z] STF 23:32:41.365 - Created modular jar: 3.com.helper.jar [2024-09-25T23:32:41.646Z] STF 23:32:41.365 - [2024-09-25T23:32:41.646Z] STF 23:32:41.365 - +------ Step 4 - Create com.discreet jar [2024-09-25T23:32:41.646Z] STF 23:32:41.365 - | Create modular jar [2024-09-25T23:32:41.646Z] STF 23:32:41.365 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-09-25T23:32:41.646Z] STF 23:32:41.365 - | ModuleVersion: null [2024-09-25T23:32:41.646Z] STF 23:32:41.365 - | MainClass: null [2024-09-25T23:32:41.646Z] STF 23:32:41.365 - | HashModules: null [2024-09-25T23:32:41.646Z] STF 23:32:41.365 - | [2024-09-25T23:32:41.646Z] STF 23:32:41.366 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_JarImg_0/20240925-233238-UpgModPathTest/modules/4.com.discreet.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2024-09-25T23:32:41.646Z] STF 23:32:41.366 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_JarImg_0/20240925-233238-UpgModPathTest/results/4.CMJ.stderr [2024-09-25T23:32:41.646Z] STF 23:32:41.366 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_JarImg_0/20240925-233238-UpgModPathTest/results/4.CMJ.stdout [2024-09-25T23:32:41.646Z] STF 23:32:41.372 - Monitoring processes: CMJ [2024-09-25T23:32:41.960Z] STF 23:32:41.646 - Monitoring Report Summary: [2024-09-25T23:32:41.960Z] STF 23:32:41.646 - o Process CMJ ended with the expected exit code (0) [2024-09-25T23:32:41.960Z] STF 23:32:41.646 - Created modular jar: 4.com.discreet.jar [2024-09-25T23:32:41.960Z] STF 23:32:41.646 - [2024-09-25T23:32:41.960Z] STF 23:32:41.646 - +------ Step 5 - Create tests jar [2024-09-25T23:32:41.960Z] STF 23:32:41.646 - | Create modular jar [2024-09-25T23:32:41.960Z] STF 23:32:41.646 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-09-25T23:32:41.960Z] STF 23:32:41.646 - | ModuleVersion: null [2024-09-25T23:32:41.960Z] STF 23:32:41.646 - | MainClass: null [2024-09-25T23:32:41.960Z] STF 23:32:41.646 - | HashModules: null [2024-09-25T23:32:41.960Z] STF 23:32:41.646 - | [2024-09-25T23:32:41.960Z] STF 23:32:41.647 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_JarImg_0/20240925-233238-UpgModPathTest/modules/5.com.test.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2024-09-25T23:32:41.960Z] STF 23:32:41.647 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_JarImg_0/20240925-233238-UpgModPathTest/results/5.CMJ.stderr [2024-09-25T23:32:41.960Z] STF 23:32:41.647 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_JarImg_0/20240925-233238-UpgModPathTest/results/5.CMJ.stdout [2024-09-25T23:32:41.960Z] STF 23:32:41.652 - Monitoring processes: CMJ [2024-09-25T23:32:42.292Z] STF 23:32:41.927 - Monitoring Report Summary: [2024-09-25T23:32:42.292Z] STF 23:32:41.927 - o Process CMJ ended with the expected exit code (0) [2024-09-25T23:32:42.292Z] STF 23:32:41.928 - Created modular jar: 5.com.test.jar [2024-09-25T23:32:42.292Z] STF 23:32:41.928 - [2024-09-25T23:32:42.292Z] STF 23:32:41.928 - +------ Step 6 - Create runtime image for upgrademodulepath test [2024-09-25T23:32:42.292Z] STF 23:32:41.928 - | Run jlink to create runtime image [2024-09-25T23:32:42.292Z] STF 23:32:41.928 - | ImageName: UpJVM [2024-09-25T23:32:42.292Z] STF 23:32:41.928 - | [2024-09-25T23:32:42.292Z] STF 23:32:41.928 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path c:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jdkbinary\j2sdk-image\jmods;C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17273051766387\UpgModPath_JarImg_0\20240925-233238-UpgModPathTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17273051766387\UpgModPath_JarImg_0\20240925-233238-UpgModPathTest\tmp\6.UpJVM [2024-09-25T23:32:42.292Z] STF 23:32:41.928 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_JarImg_0/20240925-233238-UpgModPathTest/results/6.JLNK.stderr [2024-09-25T23:32:42.292Z] STF 23:32:41.928 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_JarImg_0/20240925-233238-UpgModPathTest/results/6.JLNK.stdout [2024-09-25T23:32:42.292Z] STF 23:32:41.935 - Monitoring processes: JLNK [2024-09-25T23:32:44.448Z] STF 23:32:44.239 - Monitoring Report Summary: [2024-09-25T23:32:44.448Z] STF 23:32:44.239 - o Process JLNK ended with the expected exit code (0) [2024-09-25T23:32:44.448Z] STF 23:32:44.239 - [2024-09-25T23:32:44.448Z] STF 23:32:44.239 - +------ Step 7 - Create com.hello override jar [2024-09-25T23:32:44.448Z] STF 23:32:44.239 - | Create modular jar [2024-09-25T23:32:44.448Z] STF 23:32:44.239 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-09-25T23:32:44.448Z] STF 23:32:44.239 - | ModuleVersion: null [2024-09-25T23:32:44.448Z] STF 23:32:44.239 - | MainClass: null [2024-09-25T23:32:44.448Z] STF 23:32:44.239 - | HashModules: null [2024-09-25T23:32:44.448Z] STF 23:32:44.239 - | [2024-09-25T23:32:44.448Z] STF 23:32:44.239 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_JarImg_0/20240925-233238-UpgModPathTest/modules/7.com.hello.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2024-09-25T23:32:44.448Z] STF 23:32:44.239 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_JarImg_0/20240925-233238-UpgModPathTest/results/7.CMJ.stderr [2024-09-25T23:32:44.448Z] STF 23:32:44.240 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_JarImg_0/20240925-233238-UpgModPathTest/results/7.CMJ.stdout [2024-09-25T23:32:44.448Z] STF 23:32:44.246 - Monitoring processes: CMJ [2024-09-25T23:32:44.765Z] STF 23:32:44.604 - Monitoring Report Summary: [2024-09-25T23:32:44.765Z] STF 23:32:44.604 - o Process CMJ ended with the expected exit code (0) [2024-09-25T23:32:44.765Z] STF 23:32:44.604 - Created modular jar: 7.com.hello.jar [2024-09-25T23:32:44.765Z] STF 23:32:44.604 - [2024-09-25T23:32:44.765Z] STF 23:32:44.604 - +------ Step 8 - Create com.hello override jar [2024-09-25T23:32:44.765Z] STF 23:32:44.604 - | Create modular jar [2024-09-25T23:32:44.765Z] STF 23:32:44.604 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2024-09-25T23:32:44.765Z] STF 23:32:44.604 - | ModuleVersion: null [2024-09-25T23:32:44.765Z] STF 23:32:44.604 - | MainClass: null [2024-09-25T23:32:44.765Z] STF 23:32:44.604 - | HashModules: null [2024-09-25T23:32:44.765Z] STF 23:32:44.604 - | [2024-09-25T23:32:44.765Z] STF 23:32:44.605 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_JarImg_0/20240925-233238-UpgModPathTest/modules/8.java.logging.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.logging . [2024-09-25T23:32:44.765Z] STF 23:32:44.605 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_JarImg_0/20240925-233238-UpgModPathTest/results/8.CMJ.stderr [2024-09-25T23:32:44.765Z] STF 23:32:44.605 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_JarImg_0/20240925-233238-UpgModPathTest/results/8.CMJ.stdout [2024-09-25T23:32:44.765Z] STF 23:32:44.611 - Monitoring processes: CMJ [2024-09-25T23:32:45.080Z] STF 23:32:44.873 - Monitoring Report Summary: [2024-09-25T23:32:45.080Z] STF 23:32:44.873 - o Process CMJ ended with the expected exit code (0) [2024-09-25T23:32:45.080Z] STF 23:32:44.873 - Created modular jar: 8.java.logging.jar [2024-09-25T23:32:45.080Z] STF 23:32:44.873 - [2024-09-25T23:32:45.080Z] STF 23:32:44.873 - +------ Step 9 - Override an application module using a custom runtime image where the overriding module is in a modularized jar [2024-09-25T23:32:45.080Z] STF 23:32:44.873 - | Run foreground process [2024-09-25T23:32:45.080Z] STF 23:32:44.873 - | Program: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_JarImg_0/20240925-233238-UpgModPathTest/tmp/6.UpJVM/bin/java [2024-09-25T23:32:45.080Z] STF 23:32:44.873 - | Mnemonic: OT25 [2024-09-25T23:32:45.080Z] STF 23:32:44.873 - | Echo: ECHO_ON [2024-09-25T23:32:45.080Z] STF 23:32:44.873 - | Expectation: CLEAN_RUN within 1m [2024-09-25T23:32:45.080Z] STF 23:32:44.873 - | [2024-09-25T23:32:45.080Z] STF 23:32:44.874 - Running command: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_JarImg_0/20240925-233238-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_JarImg_0/20240925-233238-UpgModPathTest/modules/7.com.hello.jar -XX:+UseCompressedOops -classpath c:/jenkins/testDependency/system_lib/junit/junit.jar;c:/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2024-09-25T23:32:45.081Z] STF 23:32:44.874 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_JarImg_0/20240925-233238-UpgModPathTest/results/9.OT25.stderr [2024-09-25T23:32:45.081Z] STF 23:32:44.874 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_JarImg_0/20240925-233238-UpgModPathTest/results/9.OT25.stdout [2024-09-25T23:32:45.081Z] STF 23:32:44.916 - Monitoring processes: OT25 [2024-09-25T23:32:45.399Z] OT25 JUnit version 4.12 [2024-09-25T23:32:45.399Z] OT25 . [2024-09-25T23:32:45.399Z] OT25 Time: 0.006 [2024-09-25T23:32:45.399Z] OT25 [2024-09-25T23:32:45.399Z] OT25 OK (1 test) [2024-09-25T23:32:45.399Z] OT25 [2024-09-25T23:32:45.400Z] STF 23:32:45.195 - Monitoring Report Summary: [2024-09-25T23:32:45.400Z] STF 23:32:45.195 - o Process OT25 ended with the expected exit code (0) [2024-09-25T23:32:45.400Z] STF 23:32:45.195 - [2024-09-25T23:32:45.400Z] STF 23:32:45.195 - +------ Step 10 - (Negative test) Override a non-upgradable platform module using a custom runtime imagewhere the overriding module is in a modularized jar [2024-09-25T23:32:45.400Z] STF 23:32:45.195 - | Run foreground process [2024-09-25T23:32:45.400Z] STF 23:32:45.195 - | Program: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_JarImg_0/20240925-233238-UpgModPathTest/tmp/6.UpJVM/bin/java [2024-09-25T23:32:45.400Z] STF 23:32:45.195 - | Mnemonic: OT27 [2024-09-25T23:32:45.400Z] STF 23:32:45.195 - | Echo: ECHO_ON [2024-09-25T23:32:45.400Z] STF 23:32:45.195 - | Expectation: NON_ZERO_EXIT [1] within 1m [2024-09-25T23:32:45.400Z] STF 23:32:45.195 - | [2024-09-25T23:32:45.400Z] STF 23:32:45.195 - Running command: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_JarImg_0/20240925-233238-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_JarImg_0/20240925-233238-UpgModPathTest/modules/8.java.logging.jar -XX:+UseCompressedOops -classpath c:/jenkins/testDependency/system_lib/junit/junit.jar;c:/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingNonUpgradablePlatformModule [2024-09-25T23:32:45.400Z] STF 23:32:45.195 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_JarImg_0/20240925-233238-UpgModPathTest/results/10.OT27.stderr [2024-09-25T23:32:45.400Z] STF 23:32:45.195 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_JarImg_0/20240925-233238-UpgModPathTest/results/10.OT27.stdout [2024-09-25T23:32:45.400Z] STF 23:32:45.202 - Monitoring processes: OT27 [2024-09-25T23:32:45.717Z] OT27 Error occurred during initialization of boot layer [2024-09-25T23:32:45.717Z] OT27 java.lang.module.FindException: Hash of java.logging (6538e4329dfd0a3379d9797216f91349929c40c383aa5df89f209224446ef6fb) differs to expected hash (9b88281c6d4861701a3749d5fb2db6e88f56df955512fce0e700af9602c7195e) recorded in java.base [2024-09-25T23:32:45.717Z] STF 23:32:45.386 - Monitoring Report Summary: [2024-09-25T23:32:45.717Z] STF 23:32:45.386 - o Process OT27 ended with the expected exit code (1) [2024-09-25T23:32:45.717Z] STF 23:32:45.386 - [2024-09-25T23:32:45.717Z] STF 23:32:45.386 - +------ Step 11 - Combine stderr and stdout files of process OT27 [2024-09-25T23:32:45.717Z] STF 23:32:45.386 - | Run foreground process [2024-09-25T23:32:45.717Z] STF 23:32:45.386 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-09-25T23:32:45.718Z] STF 23:32:45.386 - | Mnemonic: CO [2024-09-25T23:32:45.718Z] STF 23:32:45.386 - | Echo: ECHO_OFF [2024-09-25T23:32:45.718Z] STF 23:32:45.386 - | Expectation: NON_ZERO_EXIT [0] within 30s [2024-09-25T23:32:45.718Z] STF 23:32:45.386 - | [2024-09-25T23:32:45.718Z] STF 23:32:45.387 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -Dfile1=C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_JarImg_0/20240925-233238-UpgModPathTest/results/10.OT27.stdout -Dfile2=C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_JarImg_0/20240925-233238-UpgModPathTest/results/10.OT27.stderr -Dfinal.file=C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17273051766387\UpgModPath_JarImg_0\20240925-233238-UpgModPathTest\results\combinedOT27.txt -XX:+UseCompressedOops -classpath C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\STF\stf.core\bin;C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin net.adoptopenjdk.test.modularity.TestUtil [2024-09-25T23:32:45.718Z] STF 23:32:45.387 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_JarImg_0/20240925-233238-UpgModPathTest/results/11.CO.stderr [2024-09-25T23:32:45.718Z] STF 23:32:45.387 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_JarImg_0/20240925-233238-UpgModPathTest/results/11.CO.stdout [2024-09-25T23:32:45.718Z] STF 23:32:45.394 - Monitoring processes: CO [2024-09-25T23:32:45.718Z] STF 23:32:45.583 - Monitoring Report Summary: [2024-09-25T23:32:45.718Z] STF 23:32:45.583 - o Process CO ended with the expected exit code (0) [2024-09-25T23:32:45.718Z] STF 23:32:45.583 - [2024-09-25T23:32:45.718Z] STF 23:32:45.583 - +------ Step 12 - Check output [2024-09-25T23:32:45.718Z] STF 23:32:45.584 - | Count file matches [2024-09-25T23:32:45.718Z] STF 23:32:45.584 - | TargetFile: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17273051766387/UpgModPath_JarImg_0/20240925-233238-UpgModPathTest/results/combinedOT27.txt [2024-09-25T23:32:45.718Z] STF 23:32:45.584 - | ExpectedNumMatches: 1 [2024-09-25T23:32:45.718Z] STF 23:32:45.584 - | SearchStrings: ["FindException: Hash of java.logging"] [2024-09-25T23:32:45.718Z] STF 23:32:45.584 - | [2024-09-25T23:32:45.718Z] STF 23:32:45.585 - Found 1 instances of ["FindException: Hash of java.logging"] [2024-09-25T23:32:45.718Z] STF 23:32:45.585 - EXECUTE stage completed [2024-09-25T23:32:45.718Z] STF 23:32:45.624 - [2024-09-25T23:32:45.718Z] STF 23:32:45.624 - ==================== T E A R D O W N ==================== [2024-09-25T23:32:45.718Z] STF 23:32:45.624 - Running teardown: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17273051766387\UpgModPath_JarImg_0/20240925-233238-UpgModPathTest/tearDown.pl [2024-09-25T23:32:46.096Z] STF 23:32:45.754 - TEARDOWN stage completed [2024-09-25T23:32:46.096Z] STF 23:32:45.765 - [2024-09-25T23:32:46.096Z] STF 23:32:45.765 - ===================== R E S U L T S ===================== [2024-09-25T23:32:46.096Z] STF 23:32:45.765 - Stage results: [2024-09-25T23:32:46.096Z] STF 23:32:45.765 - setUp: pass [2024-09-25T23:32:46.096Z] STF 23:32:45.765 - execute: pass [2024-09-25T23:32:46.096Z] STF 23:32:45.765 - teardown: pass [2024-09-25T23:32:46.096Z] STF 23:32:45.765 - [2024-09-25T23:32:46.096Z] STF 23:32:45.765 - Overall result: PASSED [2024-09-25T23:32:46.096Z] ----------------------------------- [2024-09-25T23:32:46.096Z] UpgModPath_JarImg_0_PASSED [2024-09-25T23:32:46.096Z] ----------------------------------- [2024-09-25T23:32:46.096Z] [2024-09-25T23:32:46.096Z] TEST TEARDOWN: [2024-09-25T23:32:46.096Z] Nothing to be done for teardown. [2024-09-25T23:32:46.096Z] UpgModPath_JarImg_0 Finish Time: Wed Sep 25 23:32:46 2024 Epoch Time (ms): 1727307166006