UpgModPath_JarImg_2

[2024-08-23T23:05:00.601Z] Running test UpgModPath_JarImg_2 ... [2024-08-23T23:05:00.905Z] =============================================== [2024-08-23T23:05:01.226Z] UpgModPath_JarImg_2 Start Time: Fri Aug 23 23:05:00 2024 Epoch Time (ms): 1724454300935 [2024-08-23T23:05:01.555Z] variation: Mode1000 [2024-08-23T23:05:01.555Z] JVM_OPTIONS: [2024-08-23T23:05:01.555Z] { \ [2024-08-23T23:05:01.555Z] echo ""; echo "TEST SETUP:"; \ [2024-08-23T23:05:01.555Z] echo "Nothing to be done for setup."; \ [2024-08-23T23:05:01.555Z] mkdir -p "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17244502109522\\UpgModPath_JarImg_2"; \ [2024-08-23T23:05:01.555Z] cd "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17244502109522\\UpgModPath_JarImg_2"; \ [2024-08-23T23:05:01.555Z] echo ""; echo "TESTING:"; \ [2024-08-23T23:05:01.555Z] 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_17244502109522\\UpgModPath_JarImg_2" -test=UpgModPathTest -test-args="variant=JarImg"; \ [2024-08-23T23:05:01.555Z] 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_17244502109522\\UpgModPath_JarImg_2"; else echo "-----------------------------------"; echo "UpgModPath_JarImg_2""_FAILED"; echo "-----------------------------------"; fi; \ [2024-08-23T23:05:01.555Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-08-23T23:05:01.555Z] echo "Nothing to be done for teardown."; \ [2024-08-23T23:05:01.555Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17244502109522\\TestTargetResult"; [2024-08-23T23:05:01.930Z] [2024-08-23T23:05:01.930Z] TEST SETUP: [2024-08-23T23:05:01.930Z] Nothing to be done for setup. [2024-08-23T23:05:01.930Z] [2024-08-23T23:05:01.930Z] TESTING: [2024-08-23T23:05:01.930Z] STF 23:05:01.822 - ========================= S T F ========================= [2024-08-23T23:05:01.930Z] 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_17244502109522\UpgModPath_JarImg_2 [2024-08-23T23:05:02.244Z] There is 130175 Mb free [2024-08-23T23:05:02.244Z] STF 23:05:01.870 - ================== G E N E R A T I O N ================== [2024-08-23T23:05:02.244Z] STF 23:05:01.872 - Checking JVM: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image [2024-08-23T23:05:02.244Z] STF 23:05:01.873 - 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_17244502109522\UpgModPath_JarImg_2/20240823-230501-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_17244502109522\UpgModPath_JarImg_2/20240823-230501-UpgModPathTest" [2024-08-23T23:05:02.912Z] GEN 23:05:02.695 - 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-23T23:05:02.912Z] GEN 23:05:02.709 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2024-08-23T23:05:02.912Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-08-23T23:05:02.912Z] 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-23T23:05:02.912Z] 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-23T23:05:02.912Z] 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-23T23:05:02.912Z] 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-23T23:05:02.912Z] 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-23T23:05:02.912Z] 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-23T23:05:02.912Z] 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-23T23:05:02.912Z] 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-23T23:05:02.912Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2024-08-23T23:05:02.912Z] 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-23T23:05:02.912Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2024-08-23T23:05:02.912Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2024-08-23T23:05:02.912Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-08-23T23:05:02.912Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-08-23T23:05:02.912Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-32_windows\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-08-23T23:05:02.912Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-32_windows\\jvmtest\\system\\STF\\stf.core\\bin [2024-08-23T23:05:02.912Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-08-23T23:05:02.912Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-08-23T23:05:02.912Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar [2024-08-23T23:05:03.230Z] GEN 23:05:02.911 - Using Mode NoOptions. Values = '' [2024-08-23T23:05:03.230Z] GEN 23:05:03.009 - [2024-08-23T23:05:03.230Z] GEN 23:05:03.010 - Test command summary: [2024-08-23T23:05:03.230Z] GEN 23:05:03.010 - Step Stage Command Description [2024-08-23T23:05:03.230Z] GEN 23:05:03.010 - -----+--------+-----------------+------------ [2024-08-23T23:05:03.230Z] GEN 23:05:03.010 - 1 execute jar Create com.hello jar [2024-08-23T23:05:03.230Z] GEN 23:05:03.010 - 2 execute jar Create com.hola jar [2024-08-23T23:05:03.230Z] GEN 23:05:03.010 - 3 execute jar Create com.helper jar [2024-08-23T23:05:03.230Z] GEN 23:05:03.010 - 4 execute jar Create com.discreet jar [2024-08-23T23:05:03.230Z] GEN 23:05:03.010 - 5 execute jar Create tests jar [2024-08-23T23:05:03.230Z] GEN 23:05:03.010 - 6 execute jlink Create runtime image for upgrademodulepath test [2024-08-23T23:05:03.230Z] GEN 23:05:03.010 - 7 execute jar Create com.hello override jar [2024-08-23T23:05:03.230Z] GEN 23:05:03.010 - 8 execute jar Create com.hello override jar [2024-08-23T23:05:03.230Z] GEN 23:05:03.010 - 9 execute Run java Override an application module using a custom runtime image where the overriding module is in a modularized jar [2024-08-23T23:05:03.231Z] GEN 23:05:03.010 - 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-23T23:05:03.231Z] GEN 23:05:03.011 - 11 execute Run java Combine stderr and stdout files of process OT27 [2024-08-23T23:05:03.231Z] GEN 23:05:03.011 - 12 execute count Check output [2024-08-23T23:05:03.231Z] STF 23:05:03.038 - [2024-08-23T23:05:03.231Z] STF 23:05:03.038 - Script generation completed [2024-08-23T23:05:03.231Z] STF 23:05:03.038 - [2024-08-23T23:05:03.231Z] STF 23:05:03.039 - [2024-08-23T23:05:03.231Z] STF 23:05:03.039 - ======================= S E T U P ======================= [2024-08-23T23:05:03.231Z] STF 23:05:03.039 - Running setup: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17244502109522\UpgModPath_JarImg_2/20240823-230501-UpgModPathTest/setUp.pl [2024-08-23T23:05:03.231Z] STF 23:05:03.163 - SETUP stage completed [2024-08-23T23:05:03.231Z] STF 23:05:03.177 - [2024-08-23T23:05:03.231Z] STF 23:05:03.177 - ==================== E X E C U T E - ==================== [2024-08-23T23:05:03.231Z] STF 23:05:03.177 - Running execute: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17244502109522\UpgModPath_JarImg_2/20240823-230501-UpgModPathTest/execute.pl [2024-08-23T23:05:03.551Z] STF 23:05:03.307 - [2024-08-23T23:05:03.551Z] STF 23:05:03.307 - Java version [2024-08-23T23:05:03.551Z] STF 23:05:03.307 - Running: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/java -version [2024-08-23T23:05:03.551Z] openjdk version "11.0.25-beta" 2024-10-15 [2024-08-23T23:05:03.551Z] OpenJDK Runtime Environment Temurin-11.0.25+4-202408232006 (build 11.0.25-beta+4-ea) [2024-08-23T23:05:03.551Z] OpenJDK Client VM Temurin-11.0.25+4-202408232006 (build 11.0.25-beta+4-ea, mixed mode) [2024-08-23T23:05:03.551Z] STF 23:05:03.403 - [2024-08-23T23:05:03.551Z] STF 23:05:03.403 - +------ Step 1 - Create com.hello jar [2024-08-23T23:05:03.551Z] STF 23:05:03.403 - | Create modular jar [2024-08-23T23:05:03.551Z] STF 23:05:03.403 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-08-23T23:05:03.551Z] STF 23:05:03.403 - | ModuleVersion: null [2024-08-23T23:05:03.551Z] STF 23:05:03.403 - | MainClass: null [2024-08-23T23:05:03.551Z] STF 23:05:03.403 - | HashModules: null [2024-08-23T23:05:03.551Z] STF 23:05:03.403 - | [2024-08-23T23:05:03.551Z] STF 23:05:03.404 - 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_17244502109522/UpgModPath_JarImg_2/20240823-230501-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-23T23:05:03.551Z] STF 23:05:03.404 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17244502109522/UpgModPath_JarImg_2/20240823-230501-UpgModPathTest/results/1.CMJ.stderr [2024-08-23T23:05:03.551Z] STF 23:05:03.404 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17244502109522/UpgModPath_JarImg_2/20240823-230501-UpgModPathTest/results/1.CMJ.stdout [2024-08-23T23:05:03.551Z] STF 23:05:03.435 - Monitoring processes: CMJ [2024-08-23T23:05:03.865Z] STF 23:05:03.713 - Monitoring Report Summary: [2024-08-23T23:05:03.865Z] STF 23:05:03.713 - o Process CMJ ended with the expected exit code (0) [2024-08-23T23:05:03.865Z] STF 23:05:03.713 - Created modular jar: 1.com.hello.jar [2024-08-23T23:05:03.865Z] STF 23:05:03.713 - [2024-08-23T23:05:03.865Z] STF 23:05:03.713 - +------ Step 2 - Create com.hola jar [2024-08-23T23:05:03.865Z] STF 23:05:03.713 - | Create modular jar [2024-08-23T23:05:03.865Z] STF 23:05:03.713 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-08-23T23:05:03.865Z] STF 23:05:03.713 - | ModuleVersion: null [2024-08-23T23:05:03.865Z] STF 23:05:03.713 - | MainClass: null [2024-08-23T23:05:03.865Z] STF 23:05:03.713 - | HashModules: null [2024-08-23T23:05:03.865Z] STF 23:05:03.713 - | [2024-08-23T23:05:03.865Z] STF 23:05:03.714 - 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_17244502109522/UpgModPath_JarImg_2/20240823-230501-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-23T23:05:03.865Z] STF 23:05:03.714 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17244502109522/UpgModPath_JarImg_2/20240823-230501-UpgModPathTest/results/2.CMJ.stderr [2024-08-23T23:05:03.865Z] STF 23:05:03.714 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17244502109522/UpgModPath_JarImg_2/20240823-230501-UpgModPathTest/results/2.CMJ.stdout [2024-08-23T23:05:03.865Z] STF 23:05:03.720 - Monitoring processes: CMJ [2024-08-23T23:05:04.179Z] STF 23:05:03.982 - Monitoring Report Summary: [2024-08-23T23:05:04.179Z] STF 23:05:03.983 - o Process CMJ ended with the expected exit code (0) [2024-08-23T23:05:04.179Z] STF 23:05:03.983 - Created modular jar: 2.com.hola.jar [2024-08-23T23:05:04.179Z] STF 23:05:03.983 - [2024-08-23T23:05:04.179Z] STF 23:05:03.983 - +------ Step 3 - Create com.helper jar [2024-08-23T23:05:04.179Z] STF 23:05:03.983 - | Create modular jar [2024-08-23T23:05:04.179Z] STF 23:05:03.983 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-08-23T23:05:04.179Z] STF 23:05:03.983 - | ModuleVersion: null [2024-08-23T23:05:04.179Z] STF 23:05:03.983 - | MainClass: null [2024-08-23T23:05:04.179Z] STF 23:05:03.983 - | HashModules: null [2024-08-23T23:05:04.179Z] STF 23:05:03.983 - | [2024-08-23T23:05:04.179Z] STF 23:05:03.983 - 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_17244502109522/UpgModPath_JarImg_2/20240823-230501-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-23T23:05:04.179Z] STF 23:05:03.983 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17244502109522/UpgModPath_JarImg_2/20240823-230501-UpgModPathTest/results/3.CMJ.stderr [2024-08-23T23:05:04.179Z] STF 23:05:03.983 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17244502109522/UpgModPath_JarImg_2/20240823-230501-UpgModPathTest/results/3.CMJ.stdout [2024-08-23T23:05:04.179Z] STF 23:05:03.990 - Monitoring processes: CMJ [2024-08-23T23:05:04.504Z] STF 23:05:04.253 - Monitoring Report Summary: [2024-08-23T23:05:04.504Z] STF 23:05:04.253 - o Process CMJ ended with the expected exit code (0) [2024-08-23T23:05:04.504Z] STF 23:05:04.253 - Created modular jar: 3.com.helper.jar [2024-08-23T23:05:04.504Z] STF 23:05:04.253 - [2024-08-23T23:05:04.504Z] STF 23:05:04.253 - +------ Step 4 - Create com.discreet jar [2024-08-23T23:05:04.504Z] STF 23:05:04.253 - | Create modular jar [2024-08-23T23:05:04.504Z] STF 23:05:04.253 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-08-23T23:05:04.504Z] STF 23:05:04.253 - | ModuleVersion: null [2024-08-23T23:05:04.504Z] STF 23:05:04.253 - | MainClass: null [2024-08-23T23:05:04.504Z] STF 23:05:04.253 - | HashModules: null [2024-08-23T23:05:04.504Z] STF 23:05:04.253 - | [2024-08-23T23:05:04.504Z] STF 23:05:04.253 - 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_17244502109522/UpgModPath_JarImg_2/20240823-230501-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-23T23:05:04.504Z] STF 23:05:04.253 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17244502109522/UpgModPath_JarImg_2/20240823-230501-UpgModPathTest/results/4.CMJ.stderr [2024-08-23T23:05:04.504Z] STF 23:05:04.253 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17244502109522/UpgModPath_JarImg_2/20240823-230501-UpgModPathTest/results/4.CMJ.stdout [2024-08-23T23:05:04.504Z] STF 23:05:04.260 - Monitoring processes: CMJ [2024-08-23T23:05:04.818Z] STF 23:05:04.517 - Monitoring Report Summary: [2024-08-23T23:05:04.818Z] STF 23:05:04.517 - o Process CMJ ended with the expected exit code (0) [2024-08-23T23:05:04.818Z] STF 23:05:04.517 - Created modular jar: 4.com.discreet.jar [2024-08-23T23:05:04.818Z] STF 23:05:04.517 - [2024-08-23T23:05:04.818Z] STF 23:05:04.518 - +------ Step 5 - Create tests jar [2024-08-23T23:05:04.818Z] STF 23:05:04.518 - | Create modular jar [2024-08-23T23:05:04.818Z] STF 23:05:04.518 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-08-23T23:05:04.818Z] STF 23:05:04.518 - | ModuleVersion: null [2024-08-23T23:05:04.818Z] STF 23:05:04.518 - | MainClass: null [2024-08-23T23:05:04.818Z] STF 23:05:04.518 - | HashModules: null [2024-08-23T23:05:04.818Z] STF 23:05:04.518 - | [2024-08-23T23:05:04.818Z] STF 23:05:04.518 - 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_17244502109522/UpgModPath_JarImg_2/20240823-230501-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-23T23:05:04.818Z] STF 23:05:04.518 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17244502109522/UpgModPath_JarImg_2/20240823-230501-UpgModPathTest/results/5.CMJ.stderr [2024-08-23T23:05:04.818Z] STF 23:05:04.518 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17244502109522/UpgModPath_JarImg_2/20240823-230501-UpgModPathTest/results/5.CMJ.stdout [2024-08-23T23:05:04.818Z] STF 23:05:04.525 - Monitoring processes: CMJ [2024-08-23T23:05:04.818Z] STF 23:05:04.793 - Monitoring Report Summary: [2024-08-23T23:05:04.818Z] STF 23:05:04.794 - o Process CMJ ended with the expected exit code (0) [2024-08-23T23:05:05.134Z] STF 23:05:04.794 - Created modular jar: 5.com.test.jar [2024-08-23T23:05:05.134Z] STF 23:05:04.794 - [2024-08-23T23:05:05.134Z] STF 23:05:04.794 - +------ Step 6 - Create runtime image for upgrademodulepath test [2024-08-23T23:05:05.134Z] STF 23:05:04.794 - | Run jlink to create runtime image [2024-08-23T23:05:05.134Z] STF 23:05:04.794 - | ImageName: UpJVM [2024-08-23T23:05:05.134Z] STF 23:05:04.794 - | [2024-08-23T23:05:05.134Z] STF 23:05:04.794 - 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_17244502109522\UpgModPath_JarImg_2\20240823-230501-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_17244502109522\UpgModPath_JarImg_2\20240823-230501-UpgModPathTest\tmp\6.UpJVM [2024-08-23T23:05:05.134Z] STF 23:05:04.794 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17244502109522/UpgModPath_JarImg_2/20240823-230501-UpgModPathTest/results/6.JLNK.stderr [2024-08-23T23:05:05.134Z] STF 23:05:04.794 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17244502109522/UpgModPath_JarImg_2/20240823-230501-UpgModPathTest/results/6.JLNK.stdout [2024-08-23T23:05:05.134Z] STF 23:05:04.800 - Monitoring processes: JLNK [2024-08-23T23:05:06.714Z] STF 23:05:06.622 - Monitoring Report Summary: [2024-08-23T23:05:06.714Z] STF 23:05:06.622 - o Process JLNK ended with the expected exit code (0) [2024-08-23T23:05:06.714Z] STF 23:05:06.622 - [2024-08-23T23:05:06.714Z] STF 23:05:06.622 - +------ Step 7 - Create com.hello override jar [2024-08-23T23:05:06.714Z] STF 23:05:06.622 - | Create modular jar [2024-08-23T23:05:06.714Z] STF 23:05:06.622 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-08-23T23:05:06.714Z] STF 23:05:06.622 - | ModuleVersion: null [2024-08-23T23:05:06.714Z] STF 23:05:06.622 - | MainClass: null [2024-08-23T23:05:06.714Z] STF 23:05:06.622 - | HashModules: null [2024-08-23T23:05:06.714Z] STF 23:05:06.622 - | [2024-08-23T23:05:06.714Z] STF 23:05:06.623 - 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_17244502109522/UpgModPath_JarImg_2/20240823-230501-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-23T23:05:06.714Z] STF 23:05:06.623 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17244502109522/UpgModPath_JarImg_2/20240823-230501-UpgModPathTest/results/7.CMJ.stderr [2024-08-23T23:05:06.714Z] STF 23:05:06.623 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17244502109522/UpgModPath_JarImg_2/20240823-230501-UpgModPathTest/results/7.CMJ.stdout [2024-08-23T23:05:07.027Z] STF 23:05:06.649 - Monitoring processes: CMJ [2024-08-23T23:05:07.028Z] STF 23:05:06.983 - Monitoring Report Summary: [2024-08-23T23:05:07.028Z] STF 23:05:06.983 - o Process CMJ ended with the expected exit code (0) [2024-08-23T23:05:07.028Z] STF 23:05:06.983 - Created modular jar: 7.com.hello.jar [2024-08-23T23:05:07.028Z] STF 23:05:06.983 - [2024-08-23T23:05:07.028Z] STF 23:05:06.983 - +------ Step 8 - Create com.hello override jar [2024-08-23T23:05:07.028Z] STF 23:05:06.983 - | Create modular jar [2024-08-23T23:05:07.028Z] STF 23:05:06.983 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2024-08-23T23:05:07.028Z] STF 23:05:06.983 - | ModuleVersion: null [2024-08-23T23:05:07.028Z] STF 23:05:06.983 - | MainClass: null [2024-08-23T23:05:07.028Z] STF 23:05:06.983 - | HashModules: null [2024-08-23T23:05:07.028Z] STF 23:05:06.983 - | [2024-08-23T23:05:07.028Z] STF 23:05:06.984 - 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_17244502109522/UpgModPath_JarImg_2/20240823-230501-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-23T23:05:07.028Z] STF 23:05:06.984 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17244502109522/UpgModPath_JarImg_2/20240823-230501-UpgModPathTest/results/8.CMJ.stderr [2024-08-23T23:05:07.028Z] STF 23:05:06.984 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17244502109522/UpgModPath_JarImg_2/20240823-230501-UpgModPathTest/results/8.CMJ.stdout [2024-08-23T23:05:07.028Z] STF 23:05:06.989 - Monitoring processes: CMJ [2024-08-23T23:05:07.340Z] STF 23:05:07.253 - Monitoring Report Summary: [2024-08-23T23:05:07.340Z] STF 23:05:07.253 - o Process CMJ ended with the expected exit code (0) [2024-08-23T23:05:07.340Z] STF 23:05:07.253 - Created modular jar: 8.java.logging.jar [2024-08-23T23:05:07.340Z] STF 23:05:07.253 - [2024-08-23T23:05:07.340Z] STF 23:05:07.253 - +------ Step 9 - Override an application module using a custom runtime image where the overriding module is in a modularized jar [2024-08-23T23:05:07.340Z] STF 23:05:07.253 - | Run foreground process [2024-08-23T23:05:07.340Z] STF 23:05:07.253 - | Program: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17244502109522/UpgModPath_JarImg_2/20240823-230501-UpgModPathTest/tmp/6.UpJVM/bin/java [2024-08-23T23:05:07.340Z] STF 23:05:07.253 - | Mnemonic: OT25 [2024-08-23T23:05:07.340Z] STF 23:05:07.253 - | Echo: ECHO_ON [2024-08-23T23:05:07.340Z] STF 23:05:07.253 - | Expectation: CLEAN_RUN within 1m [2024-08-23T23:05:07.340Z] STF 23:05:07.253 - | [2024-08-23T23:05:07.340Z] STF 23:05:07.254 - Running command: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17244502109522/UpgModPath_JarImg_2/20240823-230501-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_17244502109522/UpgModPath_JarImg_2/20240823-230501-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-23T23:05:07.340Z] STF 23:05:07.254 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17244502109522/UpgModPath_JarImg_2/20240823-230501-UpgModPathTest/results/9.OT25.stderr [2024-08-23T23:05:07.340Z] STF 23:05:07.254 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17244502109522/UpgModPath_JarImg_2/20240823-230501-UpgModPathTest/results/9.OT25.stdout [2024-08-23T23:05:07.654Z] STF 23:05:07.303 - Monitoring processes: OT25 [2024-08-23T23:05:07.654Z] OT25 JUnit version 4.12 [2024-08-23T23:05:07.654Z] OT25 . [2024-08-23T23:05:07.654Z] OT25 Time: 0.005 [2024-08-23T23:05:07.654Z] OT25 [2024-08-23T23:05:07.654Z] OT25 OK (1 test) [2024-08-23T23:05:07.654Z] OT25 [2024-08-23T23:05:07.654Z] STF 23:05:07.546 - Monitoring Report Summary: [2024-08-23T23:05:07.654Z] STF 23:05:07.546 - o Process OT25 ended with the expected exit code (0) [2024-08-23T23:05:07.654Z] STF 23:05:07.546 - [2024-08-23T23:05:07.654Z] STF 23:05:07.546 - +------ 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-23T23:05:07.654Z] STF 23:05:07.546 - | Run foreground process [2024-08-23T23:05:07.654Z] STF 23:05:07.546 - | Program: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17244502109522/UpgModPath_JarImg_2/20240823-230501-UpgModPathTest/tmp/6.UpJVM/bin/java [2024-08-23T23:05:07.654Z] STF 23:05:07.546 - | Mnemonic: OT27 [2024-08-23T23:05:07.654Z] STF 23:05:07.546 - | Echo: ECHO_ON [2024-08-23T23:05:07.654Z] STF 23:05:07.546 - | Expectation: NON_ZERO_EXIT [1] within 1m [2024-08-23T23:05:07.654Z] STF 23:05:07.546 - | [2024-08-23T23:05:07.654Z] STF 23:05:07.547 - Running command: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17244502109522/UpgModPath_JarImg_2/20240823-230501-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_17244502109522/UpgModPath_JarImg_2/20240823-230501-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-23T23:05:07.654Z] STF 23:05:07.547 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17244502109522/UpgModPath_JarImg_2/20240823-230501-UpgModPathTest/results/10.OT27.stderr [2024-08-23T23:05:07.654Z] STF 23:05:07.547 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17244502109522/UpgModPath_JarImg_2/20240823-230501-UpgModPathTest/results/10.OT27.stdout [2024-08-23T23:05:07.654Z] STF 23:05:07.555 - Monitoring processes: OT27 [2024-08-23T23:05:07.967Z] OT27 Error occurred during initialization of boot layer [2024-08-23T23:05:07.967Z] OT27 java.lang.module.FindException: Hash of java.logging (6538e4329dfd0a3379d9797216f91349929c40c383aa5df89f209224446ef6fb) differs to expected hash (fb574a7422ae3df776185e636556d67afa2b325b921b1fd18c8858e236ed909d) recorded in java.base [2024-08-23T23:05:07.967Z] STF 23:05:07.720 - Monitoring Report Summary: [2024-08-23T23:05:07.967Z] STF 23:05:07.720 - o Process OT27 ended with the expected exit code (1) [2024-08-23T23:05:07.967Z] STF 23:05:07.720 - [2024-08-23T23:05:07.967Z] STF 23:05:07.720 - +------ Step 11 - Combine stderr and stdout files of process OT27 [2024-08-23T23:05:07.967Z] STF 23:05:07.720 - | Run foreground process [2024-08-23T23:05:07.967Z] STF 23:05:07.720 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/java [2024-08-23T23:05:07.967Z] STF 23:05:07.720 - | Mnemonic: CO [2024-08-23T23:05:07.967Z] STF 23:05:07.720 - | Echo: ECHO_OFF [2024-08-23T23:05:07.967Z] STF 23:05:07.720 - | Expectation: NON_ZERO_EXIT [0] within 30s [2024-08-23T23:05:07.967Z] STF 23:05:07.720 - | [2024-08-23T23:05:07.967Z] STF 23:05:07.721 - 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_17244502109522/UpgModPath_JarImg_2/20240823-230501-UpgModPathTest/results/10.OT27.stdout -Dfile2=C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17244502109522/UpgModPath_JarImg_2/20240823-230501-UpgModPathTest/results/10.OT27.stderr -Dfinal.file=C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\aqa-tests\TKG\output_17244502109522\UpgModPath_JarImg_2\20240823-230501-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-23T23:05:07.967Z] STF 23:05:07.721 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17244502109522/UpgModPath_JarImg_2/20240823-230501-UpgModPathTest/results/11.CO.stderr [2024-08-23T23:05:07.967Z] STF 23:05:07.721 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17244502109522/UpgModPath_JarImg_2/20240823-230501-UpgModPathTest/results/11.CO.stdout [2024-08-23T23:05:07.967Z] STF 23:05:07.730 - Monitoring processes: CO [2024-08-23T23:05:07.967Z] STF 23:05:07.880 - Monitoring Report Summary: [2024-08-23T23:05:07.967Z] STF 23:05:07.880 - o Process CO ended with the expected exit code (0) [2024-08-23T23:05:07.967Z] STF 23:05:07.880 - [2024-08-23T23:05:07.967Z] STF 23:05:07.880 - +------ Step 12 - Check output [2024-08-23T23:05:07.967Z] STF 23:05:07.880 - | Count file matches [2024-08-23T23:05:07.967Z] STF 23:05:07.880 - | TargetFile: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17244502109522/UpgModPath_JarImg_2/20240823-230501-UpgModPathTest/results/combinedOT27.txt [2024-08-23T23:05:07.967Z] STF 23:05:07.880 - | ExpectedNumMatches: 1 [2024-08-23T23:05:07.967Z] STF 23:05:07.880 - | SearchStrings: ["FindException: Hash of java.logging"] [2024-08-23T23:05:07.967Z] STF 23:05:07.880 - | [2024-08-23T23:05:07.967Z] STF 23:05:07.881 - Found 1 instances of ["FindException: Hash of java.logging"] [2024-08-23T23:05:07.967Z] STF 23:05:07.881 - EXECUTE stage completed [2024-08-23T23:05:07.967Z] STF 23:05:07.932 - [2024-08-23T23:05:07.967Z] STF 23:05:07.932 - ==================== T E A R D O W N ==================== [2024-08-23T23:05:07.967Z] STF 23:05:07.932 - Running teardown: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17244502109522\UpgModPath_JarImg_2/20240823-230501-UpgModPathTest/tearDown.pl [2024-08-23T23:05:08.358Z] STF 23:05:08.062 - TEARDOWN stage completed [2024-08-23T23:05:08.358Z] STF 23:05:08.073 - [2024-08-23T23:05:08.358Z] STF 23:05:08.073 - ===================== R E S U L T S ===================== [2024-08-23T23:05:08.358Z] STF 23:05:08.073 - Stage results: [2024-08-23T23:05:08.358Z] STF 23:05:08.073 - setUp: pass [2024-08-23T23:05:08.358Z] STF 23:05:08.073 - execute: pass [2024-08-23T23:05:08.358Z] STF 23:05:08.073 - teardown: pass [2024-08-23T23:05:08.358Z] STF 23:05:08.073 - [2024-08-23T23:05:08.358Z] STF 23:05:08.073 - Overall result: PASSED [2024-08-23T23:05:08.358Z] ----------------------------------- [2024-08-23T23:05:08.358Z] UpgModPath_JarImg_2_PASSED [2024-08-23T23:05:08.358Z] ----------------------------------- [2024-08-23T23:05:08.663Z] [2024-08-23T23:05:08.663Z] TEST TEARDOWN: [2024-08-23T23:05:08.663Z] Nothing to be done for teardown. [2024-08-23T23:05:09.025Z] UpgModPath_JarImg_2 Finish Time: Fri Aug 23 23:05:08 2024 Epoch Time (ms): 1724454308471