UpgModPath_JarImg_2

[2024-08-29T04:44:56.667Z] Running test UpgModPath_JarImg_2 ... [2024-08-29T04:44:56.978Z] =============================================== [2024-08-29T04:44:57.341Z] UpgModPath_JarImg_2 Start Time: Thu Aug 29 04:44:57 2024 Epoch Time (ms): 1724906697028 [2024-08-29T04:44:57.341Z] variation: Mode1000 [2024-08-29T04:44:57.715Z] JVM_OPTIONS: [2024-08-29T04:44:57.715Z] { \ [2024-08-29T04:44:57.715Z] echo ""; echo "TEST SETUP:"; \ [2024-08-29T04:44:57.715Z] echo "Nothing to be done for setup."; \ [2024-08-29T04:44:57.715Z] mkdir -p "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17249026422691\\UpgModPath_JarImg_2"; \ [2024-08-29T04:44:57.715Z] cd "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17249026422691\\UpgModPath_JarImg_2"; \ [2024-08-29T04:44:57.715Z] echo ""; echo "TESTING:"; \ [2024-08-29T04:44:57.715Z] perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/../../testDependency/system_lib\\" -java-args=' ' -results-root="C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17249026422691\\UpgModPath_JarImg_2" -test=UpgModPathTest -test-args="variant=JarImg"; \ [2024-08-29T04:44:57.715Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_JarImg_2""_PASSED"; echo "-----------------------------------"; cd C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/; rm -f -r "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17249026422691\\UpgModPath_JarImg_2"; else echo "-----------------------------------"; echo "UpgModPath_JarImg_2""_FAILED"; echo "-----------------------------------"; fi; \ [2024-08-29T04:44:57.715Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-08-29T04:44:57.715Z] echo "Nothing to be done for teardown."; \ [2024-08-29T04:44:57.715Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17249026422691\\TestTargetResult"; [2024-08-29T04:44:57.715Z] [2024-08-29T04:44:57.715Z] TEST SETUP: [2024-08-29T04:44:57.715Z] Nothing to be done for setup. [2024-08-29T04:44:57.715Z] [2024-08-29T04:44:57.715Z] TESTING: [2024-08-29T04:44:58.034Z] STF 04:44:57.730 - ========================= S T F ========================= [2024-08-29T04:44:58.034Z] systemtest-prereqs has been processed, and set to: c:/jenkins/testDependency/system_libRetrieving amount of free space on drive containing C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17249026422691\UpgModPath_JarImg_2 [2024-08-29T04:44:58.034Z] There is 111321 Mb free [2024-08-29T04:44:58.034Z] STF 04:44:57.771 - ================== G E N E R A T I O N ================== [2024-08-29T04:44:58.034Z] STF 04:44:57.773 - Checking JVM: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image [2024-08-29T04:44:58.035Z] STF 04:44:57.774 - Starting process to generate scripts: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/../../testDependency/system_lib\/log4j/log4j-api.jar;c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17249026422691\UpgModPath_JarImg_2/20240829-044457-UpgModPathTest/stf_parameters.properties, , C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17249026422691\UpgModPath_JarImg_2/20240829-044457-UpgModPathTest" [2024-08-29T04:44:58.706Z] GEN 04:44:58.520 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: 'C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2024-08-29T04:44:58.706Z] GEN 04:44:58.532 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2024-08-29T04:44:59.028Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-08-29T04:44:59.028Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2024-08-29T04:44:59.028Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2024-08-29T04:44:59.028Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2024-08-29T04:44:59.028Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2024-08-29T04:44:59.028Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2024-08-29T04:44:59.028Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2024-08-29T04:44:59.028Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2024-08-29T04:44:59.028Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2024-08-29T04:44:59.028Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2024-08-29T04:44:59.028Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2024-08-29T04:44:59.028Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2024-08-29T04:44:59.028Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2024-08-29T04:44:59.028Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-08-29T04:44:59.028Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-08-29T04:44:59.028Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-32_windows\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-08-29T04:44:59.028Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-32_windows\\jvmtest\\system\\STF\\stf.core\\bin [2024-08-29T04:44:59.029Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-08-29T04:44:59.029Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-08-29T04:44:59.029Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar [2024-08-29T04:44:59.029Z] GEN 04:44:58.730 - Using Mode NoOptions. Values = '' [2024-08-29T04:44:59.029Z] GEN 04:44:58.822 - [2024-08-29T04:44:59.029Z] GEN 04:44:58.823 - Test command summary: [2024-08-29T04:44:59.029Z] GEN 04:44:58.823 - Step Stage Command Description [2024-08-29T04:44:59.029Z] GEN 04:44:58.823 - -----+--------+-----------------+------------ [2024-08-29T04:44:59.029Z] GEN 04:44:58.823 - 1 execute jar Create com.hello jar [2024-08-29T04:44:59.029Z] GEN 04:44:58.823 - 2 execute jar Create com.hola jar [2024-08-29T04:44:59.029Z] GEN 04:44:58.823 - 3 execute jar Create com.helper jar [2024-08-29T04:44:59.029Z] GEN 04:44:58.823 - 4 execute jar Create com.discreet jar [2024-08-29T04:44:59.029Z] GEN 04:44:58.823 - 5 execute jar Create tests jar [2024-08-29T04:44:59.029Z] GEN 04:44:58.823 - 6 execute jlink Create runtime image for upgrademodulepath test [2024-08-29T04:44:59.029Z] GEN 04:44:58.823 - 7 execute jar Create com.hello override jar [2024-08-29T04:44:59.029Z] GEN 04:44:58.823 - 8 execute jar Create com.hello override jar [2024-08-29T04:44:59.029Z] GEN 04:44:58.823 - 9 execute Run java Override an application module using a custom runtime image where the overriding module is in a modularized jar [2024-08-29T04:44:59.029Z] GEN 04:44:58.823 - 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-08-29T04:44:59.029Z] GEN 04:44:58.823 - 11 execute Run java Combine stderr and stdout files of process OT27 [2024-08-29T04:44:59.029Z] GEN 04:44:58.823 - 12 execute count Check output [2024-08-29T04:44:59.029Z] STF 04:44:58.840 - [2024-08-29T04:44:59.029Z] STF 04:44:58.840 - Script generation completed [2024-08-29T04:44:59.029Z] STF 04:44:58.840 - [2024-08-29T04:44:59.029Z] STF 04:44:58.842 - [2024-08-29T04:44:59.029Z] STF 04:44:58.842 - ======================= S E T U P ======================= [2024-08-29T04:44:59.029Z] STF 04:44:58.842 - Running setup: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17249026422691\UpgModPath_JarImg_2/20240829-044457-UpgModPathTest/setUp.pl [2024-08-29T04:44:59.029Z] STF 04:44:58.958 - SETUP stage completed [2024-08-29T04:44:59.029Z] STF 04:44:58.973 - [2024-08-29T04:44:59.029Z] STF 04:44:58.973 - ==================== E X E C U T E - ==================== [2024-08-29T04:44:59.029Z] STF 04:44:58.973 - Running execute: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17249026422691\UpgModPath_JarImg_2/20240829-044457-UpgModPathTest/execute.pl [2024-08-29T04:44:59.351Z] STF 04:44:59.101 - [2024-08-29T04:44:59.351Z] STF 04:44:59.101 - Java version [2024-08-29T04:44:59.351Z] STF 04:44:59.101 - Running: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/java -version [2024-08-29T04:44:59.351Z] openjdk version "11.0.25-beta" 2024-10-15 [2024-08-29T04:44:59.351Z] OpenJDK Runtime Environment Temurin-11.0.25+5-202408282115 (build 11.0.25-beta+5-ea) [2024-08-29T04:44:59.351Z] OpenJDK Client VM Temurin-11.0.25+5-202408282115 (build 11.0.25-beta+5-ea, mixed mode) [2024-08-29T04:44:59.351Z] STF 04:44:59.195 - [2024-08-29T04:44:59.351Z] STF 04:44:59.195 - +------ Step 1 - Create com.hello jar [2024-08-29T04:44:59.351Z] STF 04:44:59.195 - | Create modular jar [2024-08-29T04:44:59.351Z] STF 04:44:59.195 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-08-29T04:44:59.351Z] STF 04:44:59.195 - | ModuleVersion: null [2024-08-29T04:44:59.351Z] STF 04:44:59.195 - | MainClass: null [2024-08-29T04:44:59.351Z] STF 04:44:59.195 - | HashModules: null [2024-08-29T04:44:59.351Z] STF 04:44:59.195 - | [2024-08-29T04:44:59.351Z] STF 04:44:59.196 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17249026422691/UpgModPath_JarImg_2/20240829-044457-UpgModPathTest/modules/1.com.hello.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2024-08-29T04:44:59.351Z] STF 04:44:59.196 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17249026422691/UpgModPath_JarImg_2/20240829-044457-UpgModPathTest/results/1.CMJ.stderr [2024-08-29T04:44:59.351Z] STF 04:44:59.196 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17249026422691/UpgModPath_JarImg_2/20240829-044457-UpgModPathTest/results/1.CMJ.stdout [2024-08-29T04:44:59.351Z] STF 04:44:59.226 - Monitoring processes: CMJ [2024-08-29T04:44:59.671Z] STF 04:44:59.449 - Monitoring Report Summary: [2024-08-29T04:44:59.671Z] STF 04:44:59.449 - o Process CMJ ended with the expected exit code (0) [2024-08-29T04:44:59.671Z] STF 04:44:59.449 - Created modular jar: 1.com.hello.jar [2024-08-29T04:44:59.671Z] STF 04:44:59.449 - [2024-08-29T04:44:59.671Z] STF 04:44:59.449 - +------ Step 2 - Create com.hola jar [2024-08-29T04:44:59.671Z] STF 04:44:59.449 - | Create modular jar [2024-08-29T04:44:59.671Z] STF 04:44:59.449 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-08-29T04:44:59.671Z] STF 04:44:59.449 - | ModuleVersion: null [2024-08-29T04:44:59.671Z] STF 04:44:59.449 - | MainClass: null [2024-08-29T04:44:59.671Z] STF 04:44:59.449 - | HashModules: null [2024-08-29T04:44:59.671Z] STF 04:44:59.449 - | [2024-08-29T04:44:59.671Z] STF 04:44:59.449 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17249026422691/UpgModPath_JarImg_2/20240829-044457-UpgModPathTest/modules/2.com.hola.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2024-08-29T04:44:59.671Z] STF 04:44:59.449 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17249026422691/UpgModPath_JarImg_2/20240829-044457-UpgModPathTest/results/2.CMJ.stderr [2024-08-29T04:44:59.671Z] STF 04:44:59.449 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17249026422691/UpgModPath_JarImg_2/20240829-044457-UpgModPathTest/results/2.CMJ.stdout [2024-08-29T04:44:59.671Z] STF 04:44:59.457 - Monitoring processes: CMJ [2024-08-29T04:44:59.991Z] STF 04:44:59.689 - Monitoring Report Summary: [2024-08-29T04:44:59.991Z] STF 04:44:59.690 - o Process CMJ ended with the expected exit code (0) [2024-08-29T04:44:59.991Z] STF 04:44:59.690 - Created modular jar: 2.com.hola.jar [2024-08-29T04:44:59.991Z] STF 04:44:59.690 - [2024-08-29T04:44:59.991Z] STF 04:44:59.690 - +------ Step 3 - Create com.helper jar [2024-08-29T04:44:59.991Z] STF 04:44:59.690 - | Create modular jar [2024-08-29T04:44:59.991Z] STF 04:44:59.690 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-08-29T04:44:59.991Z] STF 04:44:59.690 - | ModuleVersion: null [2024-08-29T04:44:59.991Z] STF 04:44:59.690 - | MainClass: null [2024-08-29T04:44:59.991Z] STF 04:44:59.690 - | HashModules: null [2024-08-29T04:44:59.991Z] STF 04:44:59.690 - | [2024-08-29T04:44:59.991Z] STF 04:44:59.690 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17249026422691/UpgModPath_JarImg_2/20240829-044457-UpgModPathTest/modules/3.com.helper.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2024-08-29T04:44:59.991Z] STF 04:44:59.690 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17249026422691/UpgModPath_JarImg_2/20240829-044457-UpgModPathTest/results/3.CMJ.stderr [2024-08-29T04:44:59.991Z] STF 04:44:59.690 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17249026422691/UpgModPath_JarImg_2/20240829-044457-UpgModPathTest/results/3.CMJ.stdout [2024-08-29T04:44:59.991Z] STF 04:44:59.697 - Monitoring processes: CMJ [2024-08-29T04:44:59.991Z] STF 04:44:59.928 - Monitoring Report Summary: [2024-08-29T04:44:59.991Z] STF 04:44:59.928 - o Process CMJ ended with the expected exit code (0) [2024-08-29T04:44:59.991Z] STF 04:44:59.928 - Created modular jar: 3.com.helper.jar [2024-08-29T04:44:59.991Z] STF 04:44:59.928 - [2024-08-29T04:44:59.991Z] STF 04:44:59.928 - +------ Step 4 - Create com.discreet jar [2024-08-29T04:44:59.991Z] STF 04:44:59.928 - | Create modular jar [2024-08-29T04:44:59.991Z] STF 04:44:59.928 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-08-29T04:44:59.992Z] STF 04:44:59.928 - | ModuleVersion: null [2024-08-29T04:44:59.992Z] STF 04:44:59.928 - | MainClass: null [2024-08-29T04:44:59.992Z] STF 04:44:59.928 - | HashModules: null [2024-08-29T04:44:59.992Z] STF 04:44:59.928 - | [2024-08-29T04:44:59.992Z] STF 04:44:59.928 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17249026422691/UpgModPath_JarImg_2/20240829-044457-UpgModPathTest/modules/4.com.discreet.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2024-08-29T04:44:59.992Z] STF 04:44:59.928 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17249026422691/UpgModPath_JarImg_2/20240829-044457-UpgModPathTest/results/4.CMJ.stderr [2024-08-29T04:44:59.992Z] STF 04:44:59.928 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17249026422691/UpgModPath_JarImg_2/20240829-044457-UpgModPathTest/results/4.CMJ.stdout [2024-08-29T04:44:59.992Z] STF 04:44:59.935 - Monitoring processes: CMJ [2024-08-29T04:45:00.312Z] STF 04:45:00.175 - Monitoring Report Summary: [2024-08-29T04:45:00.312Z] STF 04:45:00.175 - o Process CMJ ended with the expected exit code (0) [2024-08-29T04:45:00.312Z] STF 04:45:00.175 - Created modular jar: 4.com.discreet.jar [2024-08-29T04:45:00.312Z] STF 04:45:00.175 - [2024-08-29T04:45:00.312Z] STF 04:45:00.175 - +------ Step 5 - Create tests jar [2024-08-29T04:45:00.312Z] STF 04:45:00.175 - | Create modular jar [2024-08-29T04:45:00.312Z] STF 04:45:00.175 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-08-29T04:45:00.312Z] STF 04:45:00.175 - | ModuleVersion: null [2024-08-29T04:45:00.312Z] STF 04:45:00.175 - | MainClass: null [2024-08-29T04:45:00.312Z] STF 04:45:00.175 - | HashModules: null [2024-08-29T04:45:00.312Z] STF 04:45:00.175 - | [2024-08-29T04:45:00.312Z] STF 04:45:00.175 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17249026422691/UpgModPath_JarImg_2/20240829-044457-UpgModPathTest/modules/5.com.test.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2024-08-29T04:45:00.312Z] STF 04:45:00.175 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17249026422691/UpgModPath_JarImg_2/20240829-044457-UpgModPathTest/results/5.CMJ.stderr [2024-08-29T04:45:00.312Z] STF 04:45:00.175 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17249026422691/UpgModPath_JarImg_2/20240829-044457-UpgModPathTest/results/5.CMJ.stdout [2024-08-29T04:45:00.312Z] STF 04:45:00.180 - Monitoring processes: CMJ [2024-08-29T04:45:00.629Z] STF 04:45:00.420 - Monitoring Report Summary: [2024-08-29T04:45:00.630Z] STF 04:45:00.420 - o Process CMJ ended with the expected exit code (0) [2024-08-29T04:45:00.630Z] STF 04:45:00.420 - Created modular jar: 5.com.test.jar [2024-08-29T04:45:00.630Z] STF 04:45:00.420 - [2024-08-29T04:45:00.630Z] STF 04:45:00.420 - +------ Step 6 - Create runtime image for upgrademodulepath test [2024-08-29T04:45:00.630Z] STF 04:45:00.420 - | Run jlink to create runtime image [2024-08-29T04:45:00.630Z] STF 04:45:00.420 - | ImageName: UpJVM [2024-08-29T04:45:00.630Z] STF 04:45:00.420 - | [2024-08-29T04:45:00.630Z] STF 04:45:00.421 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jlink --module-path c:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jdkbinary\j2sdk-image\jmods;C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\aqa-tests\TKG\output_17249026422691\UpgModPath_JarImg_2\20240829-044457-UpgModPathTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\aqa-tests\TKG\output_17249026422691\UpgModPath_JarImg_2\20240829-044457-UpgModPathTest\tmp\6.UpJVM [2024-08-29T04:45:00.630Z] STF 04:45:00.421 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17249026422691/UpgModPath_JarImg_2/20240829-044457-UpgModPathTest/results/6.JLNK.stderr [2024-08-29T04:45:00.630Z] STF 04:45:00.421 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17249026422691/UpgModPath_JarImg_2/20240829-044457-UpgModPathTest/results/6.JLNK.stdout [2024-08-29T04:45:00.630Z] STF 04:45:00.426 - Monitoring processes: JLNK [2024-08-29T04:45:02.799Z] STF 04:45:02.242 - Monitoring Report Summary: [2024-08-29T04:45:02.799Z] STF 04:45:02.243 - o Process JLNK ended with the expected exit code (0) [2024-08-29T04:45:02.799Z] STF 04:45:02.243 - [2024-08-29T04:45:02.799Z] STF 04:45:02.243 - +------ Step 7 - Create com.hello override jar [2024-08-29T04:45:02.799Z] STF 04:45:02.243 - | Create modular jar [2024-08-29T04:45:02.799Z] STF 04:45:02.243 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-08-29T04:45:02.799Z] STF 04:45:02.243 - | ModuleVersion: null [2024-08-29T04:45:02.799Z] STF 04:45:02.243 - | MainClass: null [2024-08-29T04:45:02.799Z] STF 04:45:02.243 - | HashModules: null [2024-08-29T04:45:02.799Z] STF 04:45:02.243 - | [2024-08-29T04:45:02.799Z] STF 04:45:02.243 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17249026422691/UpgModPath_JarImg_2/20240829-044457-UpgModPathTest/modules/7.com.hello.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2024-08-29T04:45:02.799Z] STF 04:45:02.243 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17249026422691/UpgModPath_JarImg_2/20240829-044457-UpgModPathTest/results/7.CMJ.stderr [2024-08-29T04:45:02.799Z] STF 04:45:02.243 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17249026422691/UpgModPath_JarImg_2/20240829-044457-UpgModPathTest/results/7.CMJ.stdout [2024-08-29T04:45:02.799Z] STF 04:45:02.258 - Monitoring processes: CMJ [2024-08-29T04:45:02.799Z] STF 04:45:02.521 - Monitoring Report Summary: [2024-08-29T04:45:02.799Z] STF 04:45:02.521 - o Process CMJ ended with the expected exit code (0) [2024-08-29T04:45:02.799Z] STF 04:45:02.521 - Created modular jar: 7.com.hello.jar [2024-08-29T04:45:02.799Z] STF 04:45:02.521 - [2024-08-29T04:45:02.799Z] STF 04:45:02.521 - +------ Step 8 - Create com.hello override jar [2024-08-29T04:45:02.799Z] STF 04:45:02.521 - | Create modular jar [2024-08-29T04:45:02.799Z] STF 04:45:02.521 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2024-08-29T04:45:02.799Z] STF 04:45:02.521 - | ModuleVersion: null [2024-08-29T04:45:02.799Z] STF 04:45:02.521 - | MainClass: null [2024-08-29T04:45:02.799Z] STF 04:45:02.521 - | HashModules: null [2024-08-29T04:45:02.799Z] STF 04:45:02.521 - | [2024-08-29T04:45:02.799Z] STF 04:45:02.522 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17249026422691/UpgModPath_JarImg_2/20240829-044457-UpgModPathTest/modules/8.java.logging.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.logging . [2024-08-29T04:45:02.799Z] STF 04:45:02.522 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17249026422691/UpgModPath_JarImg_2/20240829-044457-UpgModPathTest/results/8.CMJ.stderr [2024-08-29T04:45:02.799Z] STF 04:45:02.522 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17249026422691/UpgModPath_JarImg_2/20240829-044457-UpgModPathTest/results/8.CMJ.stdout [2024-08-29T04:45:02.799Z] STF 04:45:02.527 - Monitoring processes: CMJ [2024-08-29T04:45:02.799Z] STF 04:45:02.753 - Monitoring Report Summary: [2024-08-29T04:45:02.799Z] STF 04:45:02.753 - o Process CMJ ended with the expected exit code (0) [2024-08-29T04:45:02.799Z] STF 04:45:02.754 - Created modular jar: 8.java.logging.jar [2024-08-29T04:45:02.799Z] STF 04:45:02.754 - [2024-08-29T04:45:02.799Z] STF 04:45:02.754 - +------ Step 9 - Override an application module using a custom runtime image where the overriding module is in a modularized jar [2024-08-29T04:45:02.799Z] STF 04:45:02.754 - | Run foreground process [2024-08-29T04:45:02.799Z] STF 04:45:02.754 - | Program: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17249026422691/UpgModPath_JarImg_2/20240829-044457-UpgModPathTest/tmp/6.UpJVM/bin/java [2024-08-29T04:45:02.799Z] STF 04:45:02.754 - | Mnemonic: OT25 [2024-08-29T04:45:02.799Z] STF 04:45:02.754 - | Echo: ECHO_ON [2024-08-29T04:45:02.799Z] STF 04:45:02.754 - | Expectation: CLEAN_RUN within 1m [2024-08-29T04:45:02.799Z] STF 04:45:02.754 - | [2024-08-29T04:45:02.799Z] STF 04:45:02.754 - Running command: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17249026422691/UpgModPath_JarImg_2/20240829-044457-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17249026422691/UpgModPath_JarImg_2/20240829-044457-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-08-29T04:45:02.799Z] STF 04:45:02.754 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17249026422691/UpgModPath_JarImg_2/20240829-044457-UpgModPathTest/results/9.OT25.stderr [2024-08-29T04:45:02.799Z] STF 04:45:02.754 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17249026422691/UpgModPath_JarImg_2/20240829-044457-UpgModPathTest/results/9.OT25.stdout [2024-08-29T04:45:03.120Z] STF 04:45:02.808 - Monitoring processes: OT25 [2024-08-29T04:45:03.120Z] OT25 JUnit version 4.12 [2024-08-29T04:45:03.120Z] OT25 . [2024-08-29T04:45:03.120Z] OT25 Time: 0.005 [2024-08-29T04:45:03.120Z] OT25 [2024-08-29T04:45:03.120Z] OT25 OK (1 test) [2024-08-29T04:45:03.120Z] OT25 [2024-08-29T04:45:03.120Z] STF 04:45:03.043 - Monitoring Report Summary: [2024-08-29T04:45:03.120Z] STF 04:45:03.043 - o Process OT25 ended with the expected exit code (0) [2024-08-29T04:45:03.120Z] STF 04:45:03.043 - [2024-08-29T04:45:03.120Z] STF 04:45:03.043 - +------ Step 10 - (Negative test) Override a non-upgradable platform module using a custom runtime imagewhere the overriding module is in a modularized jar [2024-08-29T04:45:03.120Z] STF 04:45:03.043 - | Run foreground process [2024-08-29T04:45:03.120Z] STF 04:45:03.043 - | Program: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17249026422691/UpgModPath_JarImg_2/20240829-044457-UpgModPathTest/tmp/6.UpJVM/bin/java [2024-08-29T04:45:03.120Z] STF 04:45:03.043 - | Mnemonic: OT27 [2024-08-29T04:45:03.120Z] STF 04:45:03.043 - | Echo: ECHO_ON [2024-08-29T04:45:03.120Z] STF 04:45:03.043 - | Expectation: NON_ZERO_EXIT [1] within 1m [2024-08-29T04:45:03.120Z] STF 04:45:03.043 - | [2024-08-29T04:45:03.120Z] STF 04:45:03.043 - Running command: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17249026422691/UpgModPath_JarImg_2/20240829-044457-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17249026422691/UpgModPath_JarImg_2/20240829-044457-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-08-29T04:45:03.120Z] STF 04:45:03.043 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17249026422691/UpgModPath_JarImg_2/20240829-044457-UpgModPathTest/results/10.OT27.stderr [2024-08-29T04:45:03.120Z] STF 04:45:03.043 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17249026422691/UpgModPath_JarImg_2/20240829-044457-UpgModPathTest/results/10.OT27.stdout [2024-08-29T04:45:03.120Z] STF 04:45:03.052 - Monitoring processes: OT27 [2024-08-29T04:45:03.442Z] OT27 Error occurred during initialization of boot layer [2024-08-29T04:45:03.442Z] OT27 java.lang.module.FindException: Hash of java.logging (6538e4329dfd0a3379d9797216f91349929c40c383aa5df89f209224446ef6fb) differs to expected hash (fb574a7422ae3df776185e636556d67afa2b325b921b1fd18c8858e236ed909d) recorded in java.base [2024-08-29T04:45:03.442Z] STF 04:45:03.210 - Monitoring Report Summary: [2024-08-29T04:45:03.442Z] STF 04:45:03.210 - o Process OT27 ended with the expected exit code (1) [2024-08-29T04:45:03.442Z] STF 04:45:03.210 - [2024-08-29T04:45:03.442Z] STF 04:45:03.210 - +------ Step 11 - Combine stderr and stdout files of process OT27 [2024-08-29T04:45:03.442Z] STF 04:45:03.210 - | Run foreground process [2024-08-29T04:45:03.442Z] STF 04:45:03.210 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/java [2024-08-29T04:45:03.442Z] STF 04:45:03.210 - | Mnemonic: CO [2024-08-29T04:45:03.442Z] STF 04:45:03.210 - | Echo: ECHO_OFF [2024-08-29T04:45:03.442Z] STF 04:45:03.210 - | Expectation: NON_ZERO_EXIT [0] within 30s [2024-08-29T04:45:03.442Z] STF 04:45:03.210 - | [2024-08-29T04:45:03.442Z] STF 04:45:03.210 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/java -Dfile1=C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17249026422691/UpgModPath_JarImg_2/20240829-044457-UpgModPathTest/results/10.OT27.stdout -Dfile2=C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17249026422691/UpgModPath_JarImg_2/20240829-044457-UpgModPathTest/results/10.OT27.stderr -Dfinal.file=C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\aqa-tests\TKG\output_17249026422691\UpgModPath_JarImg_2\20240829-044457-UpgModPathTest\results\combinedOT27.txt -classpath C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\STF\stf.core\bin;C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin net.adoptopenjdk.test.modularity.TestUtil [2024-08-29T04:45:03.442Z] STF 04:45:03.210 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17249026422691/UpgModPath_JarImg_2/20240829-044457-UpgModPathTest/results/11.CO.stderr [2024-08-29T04:45:03.442Z] STF 04:45:03.210 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17249026422691/UpgModPath_JarImg_2/20240829-044457-UpgModPathTest/results/11.CO.stdout [2024-08-29T04:45:03.442Z] STF 04:45:03.218 - Monitoring processes: CO [2024-08-29T04:45:03.442Z] STF 04:45:03.370 - Monitoring Report Summary: [2024-08-29T04:45:03.442Z] STF 04:45:03.371 - o Process CO ended with the expected exit code (0) [2024-08-29T04:45:03.442Z] STF 04:45:03.371 - [2024-08-29T04:45:03.442Z] STF 04:45:03.371 - +------ Step 12 - Check output [2024-08-29T04:45:03.442Z] STF 04:45:03.371 - | Count file matches [2024-08-29T04:45:03.442Z] STF 04:45:03.371 - | TargetFile: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17249026422691/UpgModPath_JarImg_2/20240829-044457-UpgModPathTest/results/combinedOT27.txt [2024-08-29T04:45:03.442Z] STF 04:45:03.371 - | ExpectedNumMatches: 1 [2024-08-29T04:45:03.442Z] STF 04:45:03.371 - | SearchStrings: ["FindException: Hash of java.logging"] [2024-08-29T04:45:03.442Z] STF 04:45:03.371 - | [2024-08-29T04:45:03.442Z] STF 04:45:03.372 - Found 1 instances of ["FindException: Hash of java.logging"] [2024-08-29T04:45:03.442Z] STF 04:45:03.372 - EXECUTE stage completed [2024-08-29T04:45:03.442Z] STF 04:45:03.418 - [2024-08-29T04:45:03.442Z] STF 04:45:03.418 - ==================== T E A R D O W N ==================== [2024-08-29T04:45:03.442Z] STF 04:45:03.418 - Running teardown: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17249026422691\UpgModPath_JarImg_2/20240829-044457-UpgModPathTest/tearDown.pl [2024-08-29T04:45:03.838Z] STF 04:45:03.540 - TEARDOWN stage completed [2024-08-29T04:45:03.838Z] STF 04:45:03.551 - [2024-08-29T04:45:03.839Z] STF 04:45:03.551 - ===================== R E S U L T S ===================== [2024-08-29T04:45:03.839Z] STF 04:45:03.551 - Stage results: [2024-08-29T04:45:03.839Z] STF 04:45:03.551 - setUp: pass [2024-08-29T04:45:03.839Z] STF 04:45:03.551 - execute: pass [2024-08-29T04:45:03.839Z] STF 04:45:03.551 - teardown: pass [2024-08-29T04:45:03.839Z] STF 04:45:03.551 - [2024-08-29T04:45:03.839Z] STF 04:45:03.551 - Overall result: PASSED [2024-08-29T04:45:03.839Z] ----------------------------------- [2024-08-29T04:45:03.839Z] UpgModPath_JarImg_2_PASSED [2024-08-29T04:45:03.839Z] ----------------------------------- [2024-08-29T04:45:03.839Z] [2024-08-29T04:45:03.839Z] TEST TEARDOWN: [2024-08-29T04:45:03.839Z] Nothing to be done for teardown. [2024-08-29T04:45:04.287Z] UpgModPath_JarImg_2 Finish Time: Thu Aug 29 04:45:04 2024 Epoch Time (ms): 1724906704007