UpgModPath_JarImg_2

[2024-10-05T12:03:20.012Z] Running test UpgModPath_JarImg_2 ... [2024-10-05T12:03:20.390Z] =============================================== [2024-10-05T12:03:20.390Z] UpgModPath_JarImg_2 Start Time: Sat Oct 5 13:03:20 2024 Epoch Time (ms): 1728129800284 [2024-10-05T12:03:20.761Z] variation: Mode1000 [2024-10-05T12:03:20.761Z] JVM_OPTIONS: [2024-10-05T12:03:20.761Z] { \ [2024-10-05T12:03:20.761Z] echo ""; echo "TEST SETUP:"; \ [2024-10-05T12:03:20.761Z] echo "Nothing to be done for setup."; \ [2024-10-05T12:03:20.761Z] mkdir -p "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17281257948917\\UpgModPath_JarImg_2"; \ [2024-10-05T12:03:20.761Z] cd "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17281257948917\\UpgModPath_JarImg_2"; \ [2024-10-05T12:03:20.761Z] echo ""; echo "TESTING:"; \ [2024-10-05T12:03:20.761Z] 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_17281257948917\\UpgModPath_JarImg_2" -test=UpgModPathTest -test-args="variant=JarImg"; \ [2024-10-05T12:03:20.761Z] 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_17281257948917\\UpgModPath_JarImg_2"; else echo "-----------------------------------"; echo "UpgModPath_JarImg_2""_FAILED"; echo "-----------------------------------"; fi; \ [2024-10-05T12:03:20.761Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-10-05T12:03:20.761Z] echo "Nothing to be done for teardown."; \ [2024-10-05T12:03:20.761Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17281257948917\\TestTargetResult"; [2024-10-05T12:03:21.177Z] [2024-10-05T12:03:21.177Z] TEST SETUP: [2024-10-05T12:03:21.177Z] Nothing to be done for setup. [2024-10-05T12:03:21.177Z] [2024-10-05T12:03:21.177Z] TESTING: [2024-10-05T12:03:21.177Z] STF 13:03:21.025 - ========================= S T F ========================= [2024-10-05T12:03:21.177Z] 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_17281257948917\UpgModPath_JarImg_2 [2024-10-05T12:03:21.505Z] There is 109510 Mb free [2024-10-05T12:03:21.506Z] STF 13:03:21.069 - ================== G E N E R A T I O N ================== [2024-10-05T12:03:21.506Z] STF 13:03:21.072 - Checking JVM: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image [2024-10-05T12:03:21.506Z] STF 13:03:21.073 - 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_17281257948917\UpgModPath_JarImg_2/20241005-130321-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_17281257948917\UpgModPath_JarImg_2/20241005-130321-UpgModPathTest" [2024-10-05T12:03:22.205Z] GEN 12:03:21.882 - 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-10-05T12:03:22.205Z] GEN 12:03:21.893 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2024-10-05T12:03:22.205Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-10-05T12:03:22.205Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2024-10-05T12:03:22.205Z] 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-10-05T12:03:22.205Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2024-10-05T12:03:22.205Z] 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-10-05T12:03:22.206Z] 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-10-05T12:03:22.206Z] 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-10-05T12:03:22.206Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2024-10-05T12:03:22.206Z] 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-10-05T12:03:22.206Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2024-10-05T12:03:22.206Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2024-10-05T12:03:22.206Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2024-10-05T12:03:22.206Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2024-10-05T12:03:22.206Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-10-05T12:03:22.206Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-10-05T12:03:22.206Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-32_windows\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-10-05T12:03:22.206Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-32_windows\\jvmtest\\system\\STF\\stf.core\\bin [2024-10-05T12:03:22.206Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-10-05T12:03:22.206Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-10-05T12:03:22.206Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar [2024-10-05T12:03:22.206Z] GEN 12:03:22.090 - Using Mode NoOptions. Values = '' [2024-10-05T12:03:22.535Z] GEN 12:03:22.185 - [2024-10-05T12:03:22.535Z] GEN 12:03:22.185 - Test command summary: [2024-10-05T12:03:22.535Z] GEN 12:03:22.185 - Step Stage Command Description [2024-10-05T12:03:22.535Z] GEN 12:03:22.185 - -----+--------+-----------------+------------ [2024-10-05T12:03:22.535Z] GEN 12:03:22.185 - 1 execute jar Create com.hello jar [2024-10-05T12:03:22.535Z] GEN 12:03:22.185 - 2 execute jar Create com.hola jar [2024-10-05T12:03:22.535Z] GEN 12:03:22.185 - 3 execute jar Create com.helper jar [2024-10-05T12:03:22.535Z] GEN 12:03:22.185 - 4 execute jar Create com.discreet jar [2024-10-05T12:03:22.535Z] GEN 12:03:22.186 - 5 execute jar Create tests jar [2024-10-05T12:03:22.535Z] GEN 12:03:22.186 - 6 execute jlink Create runtime image for upgrademodulepath test [2024-10-05T12:03:22.535Z] GEN 12:03:22.186 - 7 execute jar Create com.hello override jar [2024-10-05T12:03:22.535Z] GEN 12:03:22.186 - 8 execute jar Create com.hello override jar [2024-10-05T12:03:22.535Z] GEN 12:03:22.186 - 9 execute Run java Override an application module using a custom runtime image where the overriding module is in a modularized jar [2024-10-05T12:03:22.535Z] GEN 12:03:22.186 - 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-10-05T12:03:22.535Z] GEN 12:03:22.186 - 11 execute Run java Combine stderr and stdout files of process OT27 [2024-10-05T12:03:22.535Z] GEN 12:03:22.186 - 12 execute count Check output [2024-10-05T12:03:22.535Z] STF 13:03:22.201 - [2024-10-05T12:03:22.535Z] STF 13:03:22.201 - Script generation completed [2024-10-05T12:03:22.535Z] STF 13:03:22.201 - [2024-10-05T12:03:22.535Z] STF 13:03:22.202 - [2024-10-05T12:03:22.535Z] STF 13:03:22.202 - ======================= S E T U P ======================= [2024-10-05T12:03:22.535Z] STF 13:03:22.202 - Running setup: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17281257948917\UpgModPath_JarImg_2/20241005-130321-UpgModPathTest/setUp.pl [2024-10-05T12:03:22.535Z] STF 13:03:22.330 - SETUP stage completed [2024-10-05T12:03:22.535Z] STF 13:03:22.343 - [2024-10-05T12:03:22.535Z] STF 13:03:22.343 - ==================== E X E C U T E - ==================== [2024-10-05T12:03:22.535Z] STF 13:03:22.343 - Running execute: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17281257948917\UpgModPath_JarImg_2/20241005-130321-UpgModPathTest/execute.pl [2024-10-05T12:03:22.535Z] STF 13:03:22.475 - [2024-10-05T12:03:22.535Z] STF 13:03:22.475 - Java version [2024-10-05T12:03:22.535Z] STF 13:03:22.475 - Running: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/java -version [2024-10-05T12:03:22.876Z] openjdk version "11.0.25-beta" 2024-10-15 [2024-10-05T12:03:22.876Z] OpenJDK Runtime Environment Temurin-11.0.25+8-202410041601 (build 11.0.25-beta+8-202410041601) [2024-10-05T12:03:22.876Z] OpenJDK Client VM Temurin-11.0.25+8-202410041601 (build 11.0.25-beta+8-202410041601, mixed mode) [2024-10-05T12:03:22.876Z] STF 13:03:22.572 - [2024-10-05T12:03:22.876Z] STF 13:03:22.572 - +------ Step 1 - Create com.hello jar [2024-10-05T12:03:22.876Z] STF 13:03:22.572 - | Create modular jar [2024-10-05T12:03:22.876Z] STF 13:03:22.572 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-10-05T12:03:22.876Z] STF 13:03:22.572 - | ModuleVersion: null [2024-10-05T12:03:22.876Z] STF 13:03:22.572 - | MainClass: null [2024-10-05T12:03:22.876Z] STF 13:03:22.572 - | HashModules: null [2024-10-05T12:03:22.876Z] STF 13:03:22.572 - | [2024-10-05T12:03:22.876Z] STF 13:03:22.572 - 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_17281257948917/UpgModPath_JarImg_2/20241005-130321-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-10-05T12:03:22.876Z] STF 13:03:22.572 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_JarImg_2/20241005-130321-UpgModPathTest/results/1.CMJ.stderr [2024-10-05T12:03:22.876Z] STF 13:03:22.573 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_JarImg_2/20241005-130321-UpgModPathTest/results/1.CMJ.stdout [2024-10-05T12:03:22.876Z] STF 13:03:22.602 - Monitoring processes: CMJ [2024-10-05T12:03:23.203Z] STF 13:03:22.827 - Monitoring Report Summary: [2024-10-05T12:03:23.203Z] STF 13:03:22.828 - o Process CMJ ended with the expected exit code (0) [2024-10-05T12:03:23.203Z] STF 13:03:22.828 - Created modular jar: 1.com.hello.jar [2024-10-05T12:03:23.203Z] STF 13:03:22.828 - [2024-10-05T12:03:23.203Z] STF 13:03:22.828 - +------ Step 2 - Create com.hola jar [2024-10-05T12:03:23.203Z] STF 13:03:22.828 - | Create modular jar [2024-10-05T12:03:23.203Z] STF 13:03:22.828 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-10-05T12:03:23.203Z] STF 13:03:22.828 - | ModuleVersion: null [2024-10-05T12:03:23.203Z] STF 13:03:22.828 - | MainClass: null [2024-10-05T12:03:23.203Z] STF 13:03:22.828 - | HashModules: null [2024-10-05T12:03:23.203Z] STF 13:03:22.828 - | [2024-10-05T12:03:23.203Z] STF 13:03:22.828 - 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_17281257948917/UpgModPath_JarImg_2/20241005-130321-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-10-05T12:03:23.203Z] STF 13:03:22.828 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_JarImg_2/20241005-130321-UpgModPathTest/results/2.CMJ.stderr [2024-10-05T12:03:23.203Z] STF 13:03:22.828 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_JarImg_2/20241005-130321-UpgModPathTest/results/2.CMJ.stdout [2024-10-05T12:03:23.203Z] STF 13:03:22.835 - Monitoring processes: CMJ [2024-10-05T12:03:23.203Z] STF 13:03:23.066 - Monitoring Report Summary: [2024-10-05T12:03:23.203Z] STF 13:03:23.066 - o Process CMJ ended with the expected exit code (0) [2024-10-05T12:03:23.203Z] STF 13:03:23.066 - Created modular jar: 2.com.hola.jar [2024-10-05T12:03:23.203Z] STF 13:03:23.066 - [2024-10-05T12:03:23.203Z] STF 13:03:23.066 - +------ Step 3 - Create com.helper jar [2024-10-05T12:03:23.203Z] STF 13:03:23.066 - | Create modular jar [2024-10-05T12:03:23.203Z] STF 13:03:23.066 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-10-05T12:03:23.203Z] STF 13:03:23.066 - | ModuleVersion: null [2024-10-05T12:03:23.203Z] STF 13:03:23.066 - | MainClass: null [2024-10-05T12:03:23.203Z] STF 13:03:23.066 - | HashModules: null [2024-10-05T12:03:23.203Z] STF 13:03:23.066 - | [2024-10-05T12:03:23.203Z] STF 13:03:23.066 - 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_17281257948917/UpgModPath_JarImg_2/20241005-130321-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-10-05T12:03:23.203Z] STF 13:03:23.066 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_JarImg_2/20241005-130321-UpgModPathTest/results/3.CMJ.stderr [2024-10-05T12:03:23.203Z] STF 13:03:23.067 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_JarImg_2/20241005-130321-UpgModPathTest/results/3.CMJ.stdout [2024-10-05T12:03:23.203Z] STF 13:03:23.073 - Monitoring processes: CMJ [2024-10-05T12:03:23.532Z] STF 13:03:23.305 - Monitoring Report Summary: [2024-10-05T12:03:23.532Z] STF 13:03:23.305 - o Process CMJ ended with the expected exit code (0) [2024-10-05T12:03:23.532Z] STF 13:03:23.306 - Created modular jar: 3.com.helper.jar [2024-10-05T12:03:23.532Z] STF 13:03:23.306 - [2024-10-05T12:03:23.532Z] STF 13:03:23.306 - +------ Step 4 - Create com.discreet jar [2024-10-05T12:03:23.532Z] STF 13:03:23.306 - | Create modular jar [2024-10-05T12:03:23.532Z] STF 13:03:23.306 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-10-05T12:03:23.532Z] STF 13:03:23.306 - | ModuleVersion: null [2024-10-05T12:03:23.532Z] STF 13:03:23.306 - | MainClass: null [2024-10-05T12:03:23.532Z] STF 13:03:23.306 - | HashModules: null [2024-10-05T12:03:23.532Z] STF 13:03:23.306 - | [2024-10-05T12:03:23.532Z] STF 13:03:23.306 - 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_17281257948917/UpgModPath_JarImg_2/20241005-130321-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-10-05T12:03:23.532Z] STF 13:03:23.306 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_JarImg_2/20241005-130321-UpgModPathTest/results/4.CMJ.stderr [2024-10-05T12:03:23.532Z] STF 13:03:23.306 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_JarImg_2/20241005-130321-UpgModPathTest/results/4.CMJ.stdout [2024-10-05T12:03:23.532Z] STF 13:03:23.312 - Monitoring processes: CMJ [2024-10-05T12:03:23.858Z] STF 13:03:23.545 - Monitoring Report Summary: [2024-10-05T12:03:23.858Z] STF 13:03:23.545 - o Process CMJ ended with the expected exit code (0) [2024-10-05T12:03:23.858Z] STF 13:03:23.545 - Created modular jar: 4.com.discreet.jar [2024-10-05T12:03:23.858Z] STF 13:03:23.545 - [2024-10-05T12:03:23.858Z] STF 13:03:23.545 - +------ Step 5 - Create tests jar [2024-10-05T12:03:23.858Z] STF 13:03:23.545 - | Create modular jar [2024-10-05T12:03:23.858Z] STF 13:03:23.545 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-10-05T12:03:23.858Z] STF 13:03:23.545 - | ModuleVersion: null [2024-10-05T12:03:23.858Z] STF 13:03:23.545 - | MainClass: null [2024-10-05T12:03:23.858Z] STF 13:03:23.545 - | HashModules: null [2024-10-05T12:03:23.858Z] STF 13:03:23.545 - | [2024-10-05T12:03:23.858Z] STF 13:03:23.545 - 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_17281257948917/UpgModPath_JarImg_2/20241005-130321-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-10-05T12:03:23.858Z] STF 13:03:23.545 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_JarImg_2/20241005-130321-UpgModPathTest/results/5.CMJ.stderr [2024-10-05T12:03:23.858Z] STF 13:03:23.545 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_JarImg_2/20241005-130321-UpgModPathTest/results/5.CMJ.stdout [2024-10-05T12:03:23.858Z] STF 13:03:23.551 - Monitoring processes: CMJ [2024-10-05T12:03:23.858Z] STF 13:03:23.787 - Monitoring Report Summary: [2024-10-05T12:03:23.858Z] STF 13:03:23.787 - o Process CMJ ended with the expected exit code (0) [2024-10-05T12:03:23.858Z] STF 13:03:23.788 - Created modular jar: 5.com.test.jar [2024-10-05T12:03:23.858Z] STF 13:03:23.788 - [2024-10-05T12:03:23.858Z] STF 13:03:23.788 - +------ Step 6 - Create runtime image for upgrademodulepath test [2024-10-05T12:03:23.858Z] STF 13:03:23.788 - | Run jlink to create runtime image [2024-10-05T12:03:23.858Z] STF 13:03:23.788 - | ImageName: UpJVM [2024-10-05T12:03:23.858Z] STF 13:03:23.788 - | [2024-10-05T12:03:23.858Z] STF 13:03:23.788 - 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_17281257948917\UpgModPath_JarImg_2\20241005-130321-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_17281257948917\UpgModPath_JarImg_2\20241005-130321-UpgModPathTest\tmp\6.UpJVM [2024-10-05T12:03:23.858Z] STF 13:03:23.788 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_JarImg_2/20241005-130321-UpgModPathTest/results/6.JLNK.stderr [2024-10-05T12:03:23.858Z] STF 13:03:23.788 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_JarImg_2/20241005-130321-UpgModPathTest/results/6.JLNK.stdout [2024-10-05T12:03:23.858Z] STF 13:03:23.795 - Monitoring processes: JLNK [2024-10-05T12:03:26.097Z] STF 13:03:25.635 - Monitoring Report Summary: [2024-10-05T12:03:26.097Z] STF 13:03:25.635 - o Process JLNK ended with the expected exit code (0) [2024-10-05T12:03:26.097Z] STF 13:03:25.635 - [2024-10-05T12:03:26.097Z] STF 13:03:25.635 - +------ Step 7 - Create com.hello override jar [2024-10-05T12:03:26.097Z] STF 13:03:25.635 - | Create modular jar [2024-10-05T12:03:26.097Z] STF 13:03:25.635 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-10-05T12:03:26.097Z] STF 13:03:25.635 - | ModuleVersion: null [2024-10-05T12:03:26.097Z] STF 13:03:25.635 - | MainClass: null [2024-10-05T12:03:26.097Z] STF 13:03:25.635 - | HashModules: null [2024-10-05T12:03:26.097Z] STF 13:03:25.635 - | [2024-10-05T12:03:26.098Z] STF 13:03:25.636 - 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_17281257948917/UpgModPath_JarImg_2/20241005-130321-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-10-05T12:03:26.098Z] STF 13:03:25.636 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_JarImg_2/20241005-130321-UpgModPathTest/results/7.CMJ.stderr [2024-10-05T12:03:26.098Z] STF 13:03:25.636 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_JarImg_2/20241005-130321-UpgModPathTest/results/7.CMJ.stdout [2024-10-05T12:03:26.098Z] STF 13:03:25.643 - Monitoring processes: CMJ [2024-10-05T12:03:26.098Z] STF 13:03:25.935 - Monitoring Report Summary: [2024-10-05T12:03:26.098Z] STF 13:03:25.935 - o Process CMJ ended with the expected exit code (0) [2024-10-05T12:03:26.098Z] STF 13:03:25.936 - Created modular jar: 7.com.hello.jar [2024-10-05T12:03:26.098Z] STF 13:03:25.936 - [2024-10-05T12:03:26.098Z] STF 13:03:25.936 - +------ Step 8 - Create com.hello override jar [2024-10-05T12:03:26.098Z] STF 13:03:25.936 - | Create modular jar [2024-10-05T12:03:26.098Z] STF 13:03:25.936 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2024-10-05T12:03:26.098Z] STF 13:03:25.936 - | ModuleVersion: null [2024-10-05T12:03:26.098Z] STF 13:03:25.936 - | MainClass: null [2024-10-05T12:03:26.098Z] STF 13:03:25.936 - | HashModules: null [2024-10-05T12:03:26.098Z] STF 13:03:25.936 - | [2024-10-05T12:03:26.098Z] STF 13:03:25.936 - 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_17281257948917/UpgModPath_JarImg_2/20241005-130321-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-10-05T12:03:26.098Z] STF 13:03:25.936 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_JarImg_2/20241005-130321-UpgModPathTest/results/8.CMJ.stderr [2024-10-05T12:03:26.098Z] STF 13:03:25.936 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_JarImg_2/20241005-130321-UpgModPathTest/results/8.CMJ.stdout [2024-10-05T12:03:26.098Z] STF 13:03:25.942 - Monitoring processes: CMJ [2024-10-05T12:03:26.430Z] STF 13:03:26.165 - Monitoring Report Summary: [2024-10-05T12:03:26.430Z] STF 13:03:26.165 - o Process CMJ ended with the expected exit code (0) [2024-10-05T12:03:26.430Z] STF 13:03:26.166 - Created modular jar: 8.java.logging.jar [2024-10-05T12:03:26.430Z] STF 13:03:26.166 - [2024-10-05T12:03:26.430Z] STF 13:03:26.166 - +------ Step 9 - Override an application module using a custom runtime image where the overriding module is in a modularized jar [2024-10-05T12:03:26.430Z] STF 13:03:26.166 - | Run foreground process [2024-10-05T12:03:26.430Z] STF 13:03:26.166 - | Program: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_JarImg_2/20241005-130321-UpgModPathTest/tmp/6.UpJVM/bin/java [2024-10-05T12:03:26.430Z] STF 13:03:26.166 - | Mnemonic: OT25 [2024-10-05T12:03:26.430Z] STF 13:03:26.166 - | Echo: ECHO_ON [2024-10-05T12:03:26.430Z] STF 13:03:26.166 - | Expectation: CLEAN_RUN within 1m [2024-10-05T12:03:26.430Z] STF 13:03:26.166 - | [2024-10-05T12:03:26.430Z] STF 13:03:26.166 - Running command: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_JarImg_2/20241005-130321-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_17281257948917/UpgModPath_JarImg_2/20241005-130321-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-10-05T12:03:26.430Z] STF 13:03:26.166 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_JarImg_2/20241005-130321-UpgModPathTest/results/9.OT25.stderr [2024-10-05T12:03:26.430Z] STF 13:03:26.166 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_JarImg_2/20241005-130321-UpgModPathTest/results/9.OT25.stdout [2024-10-05T12:03:26.430Z] STF 13:03:26.214 - Monitoring processes: OT25 [2024-10-05T12:03:26.759Z] OT25 JUnit version 4.12 [2024-10-05T12:03:26.759Z] OT25 . [2024-10-05T12:03:26.759Z] OT25 Time: 0.005 [2024-10-05T12:03:26.759Z] OT25 [2024-10-05T12:03:26.759Z] OT25 OK (1 test) [2024-10-05T12:03:26.759Z] OT25 [2024-10-05T12:03:26.759Z] STF 13:03:26.455 - Monitoring Report Summary: [2024-10-05T12:03:26.759Z] STF 13:03:26.455 - o Process OT25 ended with the expected exit code (0) [2024-10-05T12:03:26.759Z] STF 13:03:26.455 - [2024-10-05T12:03:26.759Z] STF 13:03:26.455 - +------ Step 10 - (Negative test) Override a non-upgradable platform module using a custom runtime imagewhere the overriding module is in a modularized jar [2024-10-05T12:03:26.759Z] STF 13:03:26.455 - | Run foreground process [2024-10-05T12:03:26.759Z] STF 13:03:26.455 - | Program: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_JarImg_2/20241005-130321-UpgModPathTest/tmp/6.UpJVM/bin/java [2024-10-05T12:03:26.759Z] STF 13:03:26.455 - | Mnemonic: OT27 [2024-10-05T12:03:26.759Z] STF 13:03:26.455 - | Echo: ECHO_ON [2024-10-05T12:03:26.759Z] STF 13:03:26.455 - | Expectation: NON_ZERO_EXIT [1] within 1m [2024-10-05T12:03:26.760Z] STF 13:03:26.455 - | [2024-10-05T12:03:26.760Z] STF 13:03:26.455 - Running command: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_JarImg_2/20241005-130321-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_17281257948917/UpgModPath_JarImg_2/20241005-130321-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-10-05T12:03:26.760Z] STF 13:03:26.455 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_JarImg_2/20241005-130321-UpgModPathTest/results/10.OT27.stderr [2024-10-05T12:03:26.760Z] STF 13:03:26.455 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_JarImg_2/20241005-130321-UpgModPathTest/results/10.OT27.stdout [2024-10-05T12:03:26.760Z] STF 13:03:26.465 - Monitoring processes: OT27 [2024-10-05T12:03:26.760Z] OT27 Error occurred during initialization of boot layer [2024-10-05T12:03:26.760Z] OT27 java.lang.module.FindException: Hash of java.logging (6538e4329dfd0a3379d9797216f91349929c40c383aa5df89f209224446ef6fb) differs to expected hash (fb574a7422ae3df776185e636556d67afa2b325b921b1fd18c8858e236ed909d) recorded in java.base [2024-10-05T12:03:26.760Z] STF 13:03:26.617 - Monitoring Report Summary: [2024-10-05T12:03:26.760Z] STF 13:03:26.617 - o Process OT27 ended with the expected exit code (1) [2024-10-05T12:03:26.760Z] STF 13:03:26.618 - [2024-10-05T12:03:26.760Z] STF 13:03:26.618 - +------ Step 11 - Combine stderr and stdout files of process OT27 [2024-10-05T12:03:26.760Z] STF 13:03:26.618 - | Run foreground process [2024-10-05T12:03:26.760Z] STF 13:03:26.618 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/java [2024-10-05T12:03:26.760Z] STF 13:03:26.618 - | Mnemonic: CO [2024-10-05T12:03:26.760Z] STF 13:03:26.618 - | Echo: ECHO_OFF [2024-10-05T12:03:26.760Z] STF 13:03:26.618 - | Expectation: NON_ZERO_EXIT [0] within 30s [2024-10-05T12:03:26.760Z] STF 13:03:26.618 - | [2024-10-05T12:03:26.760Z] STF 13:03:26.618 - 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_17281257948917/UpgModPath_JarImg_2/20241005-130321-UpgModPathTest/results/10.OT27.stdout -Dfile2=C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_JarImg_2/20241005-130321-UpgModPathTest/results/10.OT27.stderr -Dfinal.file=C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\aqa-tests\TKG\output_17281257948917\UpgModPath_JarImg_2\20241005-130321-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-10-05T12:03:26.760Z] STF 13:03:26.618 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_JarImg_2/20241005-130321-UpgModPathTest/results/11.CO.stderr [2024-10-05T12:03:26.760Z] STF 13:03:26.618 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_JarImg_2/20241005-130321-UpgModPathTest/results/11.CO.stdout [2024-10-05T12:03:26.760Z] STF 13:03:26.626 - Monitoring processes: CO [2024-10-05T12:03:27.139Z] STF 13:03:26.785 - Monitoring Report Summary: [2024-10-05T12:03:27.139Z] STF 13:03:26.785 - o Process CO ended with the expected exit code (0) [2024-10-05T12:03:27.139Z] STF 13:03:26.785 - [2024-10-05T12:03:27.139Z] STF 13:03:26.785 - +------ Step 12 - Check output [2024-10-05T12:03:27.139Z] STF 13:03:26.785 - | Count file matches [2024-10-05T12:03:27.139Z] STF 13:03:26.785 - | TargetFile: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_JarImg_2/20241005-130321-UpgModPathTest/results/combinedOT27.txt [2024-10-05T12:03:27.139Z] STF 13:03:26.785 - | ExpectedNumMatches: 1 [2024-10-05T12:03:27.139Z] STF 13:03:26.785 - | SearchStrings: ["FindException: Hash of java.logging"] [2024-10-05T12:03:27.139Z] STF 13:03:26.785 - | [2024-10-05T12:03:27.139Z] STF 13:03:26.786 - Found 1 instances of ["FindException: Hash of java.logging"] [2024-10-05T12:03:27.139Z] STF 13:03:26.786 - EXECUTE stage completed [2024-10-05T12:03:27.139Z] STF 13:03:26.804 - [2024-10-05T12:03:27.139Z] STF 13:03:26.804 - ==================== T E A R D O W N ==================== [2024-10-05T12:03:27.139Z] STF 13:03:26.804 - Running teardown: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17281257948917\UpgModPath_JarImg_2/20241005-130321-UpgModPathTest/tearDown.pl [2024-10-05T12:03:27.139Z] STF 13:03:26.931 - TEARDOWN stage completed [2024-10-05T12:03:27.139Z] STF 13:03:26.944 - [2024-10-05T12:03:27.139Z] STF 13:03:26.944 - ===================== R E S U L T S ===================== [2024-10-05T12:03:27.139Z] STF 13:03:26.944 - Stage results: [2024-10-05T12:03:27.140Z] STF 13:03:26.944 - setUp: pass [2024-10-05T12:03:27.140Z] STF 13:03:26.945 - execute: pass [2024-10-05T12:03:27.140Z] STF 13:03:26.945 - teardown: pass [2024-10-05T12:03:27.140Z] STF 13:03:26.945 - [2024-10-05T12:03:27.140Z] STF 13:03:26.945 - Overall result: PASSED [2024-10-05T12:03:27.140Z] ----------------------------------- [2024-10-05T12:03:27.140Z] UpgModPath_JarImg_2_PASSED [2024-10-05T12:03:27.140Z] ----------------------------------- [2024-10-05T12:03:27.140Z] [2024-10-05T12:03:27.140Z] TEST TEARDOWN: [2024-10-05T12:03:27.140Z] Nothing to be done for teardown. [2024-10-05T12:03:27.500Z] UpgModPath_JarImg_2 Finish Time: Sat Oct 5 13:03:27 2024 Epoch Time (ms): 1728129807293