UpgModPath_JarImg_2

[2025-01-24T17:03:35.637Z] Running test UpgModPath_JarImg_2 ... [2025-01-24T17:03:35.637Z] =============================================== [2025-01-24T17:03:36.035Z] UpgModPath_JarImg_2 Start Time: Fri Jan 24 17:03:35 2025 Epoch Time (ms): 1737738215693 [2025-01-24T17:03:36.035Z] variation: Mode1000 [2025-01-24T17:03:36.419Z] JVM_OPTIONS: [2025-01-24T17:03:36.420Z] { \ [2025-01-24T17:03:36.420Z] echo ""; echo "TEST SETUP:"; \ [2025-01-24T17:03:36.420Z] echo "Nothing to be done for setup."; \ [2025-01-24T17:03:36.420Z] mkdir -p "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17377342045413\\UpgModPath_JarImg_2"; \ [2025-01-24T17:03:36.420Z] cd "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17377342045413\\UpgModPath_JarImg_2"; \ [2025-01-24T17:03:36.420Z] echo ""; echo "TESTING:"; \ [2025-01-24T17:03:36.420Z] 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_17377342045413\\UpgModPath_JarImg_2" -test=UpgModPathTest -test-args="variant=JarImg"; \ [2025-01-24T17:03:36.420Z] 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_17377342045413\\UpgModPath_JarImg_2"; else echo "-----------------------------------"; echo "UpgModPath_JarImg_2""_FAILED"; echo "-----------------------------------"; fi; \ [2025-01-24T17:03:36.420Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-01-24T17:03:36.420Z] echo "Nothing to be done for teardown."; \ [2025-01-24T17:03:36.420Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17377342045413\\TestTargetResult"; [2025-01-24T17:03:36.420Z] [2025-01-24T17:03:36.420Z] TEST SETUP: [2025-01-24T17:03:36.420Z] Nothing to be done for setup. [2025-01-24T17:03:36.420Z] [2025-01-24T17:03:36.420Z] TESTING: [2025-01-24T17:03:36.730Z] STF 17:03:36.342 - ========================= S T F ========================= [2025-01-24T17:03:36.730Z] 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_17377342045413\UpgModPath_JarImg_2 [2025-01-24T17:03:36.730Z] There is 95890 Mb free [2025-01-24T17:03:36.730Z] STF 17:03:36.395 - ================== G E N E R A T I O N ================== [2025-01-24T17:03:36.730Z] STF 17:03:36.398 - Checking JVM: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image [2025-01-24T17:03:36.730Z] STF 17:03:36.398 - 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_17377342045413\UpgModPath_JarImg_2/20250124-170336-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_17377342045413\UpgModPath_JarImg_2/20250124-170336-UpgModPathTest" [2025-01-24T17:03:37.418Z] GEN 17:03:37.229 - 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' [2025-01-24T17:03:37.418Z] GEN 17:03:37.240 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2025-01-24T17:03:37.746Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-01-24T17:03:37.746Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2025-01-24T17:03:37.746Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2025-01-24T17:03:37.746Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2025-01-24T17:03:37.746Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2025-01-24T17:03:37.746Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2025-01-24T17:03:37.746Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2025-01-24T17:03:37.746Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2025-01-24T17:03:37.746Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2025-01-24T17:03:37.746Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2025-01-24T17:03:37.746Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2025-01-24T17:03:37.746Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2025-01-24T17:03:37.746Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2025-01-24T17:03:37.746Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-01-24T17:03:37.746Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-01-24T17:03:37.746Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-32_windows\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-01-24T17:03:37.746Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-32_windows\\jvmtest\\system\\STF\\stf.core\\bin [2025-01-24T17:03:37.746Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-01-24T17:03:37.746Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-01-24T17:03:37.746Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar [2025-01-24T17:03:37.746Z] GEN 17:03:37.446 - Using Mode NoOptions. Values = '' [2025-01-24T17:03:37.746Z] GEN 17:03:37.538 - [2025-01-24T17:03:37.746Z] GEN 17:03:37.538 - Test command summary: [2025-01-24T17:03:37.746Z] GEN 17:03:37.539 - Step Stage Command Description [2025-01-24T17:03:37.746Z] GEN 17:03:37.539 - -----+--------+-----------------+------------ [2025-01-24T17:03:37.746Z] GEN 17:03:37.539 - 1 execute jar Create com.hello jar [2025-01-24T17:03:37.746Z] GEN 17:03:37.539 - 2 execute jar Create com.hola jar [2025-01-24T17:03:37.746Z] GEN 17:03:37.539 - 3 execute jar Create com.helper jar [2025-01-24T17:03:37.746Z] GEN 17:03:37.539 - 4 execute jar Create com.discreet jar [2025-01-24T17:03:37.746Z] GEN 17:03:37.539 - 5 execute jar Create tests jar [2025-01-24T17:03:37.746Z] GEN 17:03:37.539 - 6 execute jlink Create runtime image for upgrademodulepath test [2025-01-24T17:03:37.746Z] GEN 17:03:37.539 - 7 execute jar Create com.hello override jar [2025-01-24T17:03:37.746Z] GEN 17:03:37.539 - 8 execute jar Create com.hello override jar [2025-01-24T17:03:37.746Z] GEN 17:03:37.539 - 9 execute Run java Override an application module using a custom runtime image where the overriding module is in a modularized jar [2025-01-24T17:03:37.746Z] GEN 17:03:37.539 - 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 [2025-01-24T17:03:37.746Z] GEN 17:03:37.539 - 11 execute Run java Combine stderr and stdout files of process OT27 [2025-01-24T17:03:37.746Z] GEN 17:03:37.539 - 12 execute count Check output [2025-01-24T17:03:37.746Z] STF 17:03:37.560 - [2025-01-24T17:03:37.746Z] STF 17:03:37.561 - Script generation completed [2025-01-24T17:03:37.746Z] STF 17:03:37.561 - [2025-01-24T17:03:37.746Z] STF 17:03:37.562 - [2025-01-24T17:03:37.746Z] STF 17:03:37.562 - ======================= S E T U P ======================= [2025-01-24T17:03:37.746Z] STF 17:03:37.562 - Running setup: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17377342045413\UpgModPath_JarImg_2/20250124-170336-UpgModPathTest/setUp.pl [2025-01-24T17:03:37.746Z] STF 17:03:37.695 - SETUP stage completed [2025-01-24T17:03:37.746Z] STF 17:03:37.710 - [2025-01-24T17:03:37.746Z] STF 17:03:37.711 - ==================== E X E C U T E - ==================== [2025-01-24T17:03:37.746Z] STF 17:03:37.711 - Running execute: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17377342045413\UpgModPath_JarImg_2/20250124-170336-UpgModPathTest/execute.pl [2025-01-24T17:03:38.079Z] STF 17:03:37.854 - [2025-01-24T17:03:38.079Z] STF 17:03:37.854 - Java version [2025-01-24T17:03:38.079Z] STF 17:03:37.854 - Running: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/java -version [2025-01-24T17:03:38.079Z] openjdk version "11.0.26" 2025-01-21 [2025-01-24T17:03:38.079Z] OpenJDK Runtime Environment Temurin-11.0.26+4 (build 11.0.26+4) [2025-01-24T17:03:38.079Z] OpenJDK Client VM Temurin-11.0.26+4 (build 11.0.26+4, mixed mode) [2025-01-24T17:03:38.079Z] STF 17:03:37.954 - [2025-01-24T17:03:38.079Z] STF 17:03:37.954 - +------ Step 1 - Create com.hello jar [2025-01-24T17:03:38.079Z] STF 17:03:37.954 - | Create modular jar [2025-01-24T17:03:38.079Z] STF 17:03:37.954 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-01-24T17:03:38.079Z] STF 17:03:37.954 - | ModuleVersion: null [2025-01-24T17:03:38.079Z] STF 17:03:37.954 - | MainClass: null [2025-01-24T17:03:38.079Z] STF 17:03:37.954 - | HashModules: null [2025-01-24T17:03:38.079Z] STF 17:03:37.954 - | [2025-01-24T17:03:38.079Z] STF 17:03:37.955 - 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_17377342045413/UpgModPath_JarImg_2/20250124-170336-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 . [2025-01-24T17:03:38.079Z] STF 17:03:37.955 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_JarImg_2/20250124-170336-UpgModPathTest/results/1.CMJ.stderr [2025-01-24T17:03:38.079Z] STF 17:03:37.955 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_JarImg_2/20250124-170336-UpgModPathTest/results/1.CMJ.stdout [2025-01-24T17:03:38.079Z] STF 17:03:37.983 - Monitoring processes: CMJ [2025-01-24T17:03:38.411Z] STF 17:03:38.244 - Monitoring Report Summary: [2025-01-24T17:03:38.411Z] STF 17:03:38.244 - o Process CMJ ended with the expected exit code (0) [2025-01-24T17:03:38.411Z] STF 17:03:38.244 - Created modular jar: 1.com.hello.jar [2025-01-24T17:03:38.411Z] STF 17:03:38.244 - [2025-01-24T17:03:38.411Z] STF 17:03:38.244 - +------ Step 2 - Create com.hola jar [2025-01-24T17:03:38.411Z] STF 17:03:38.244 - | Create modular jar [2025-01-24T17:03:38.411Z] STF 17:03:38.244 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-01-24T17:03:38.411Z] STF 17:03:38.244 - | ModuleVersion: null [2025-01-24T17:03:38.411Z] STF 17:03:38.244 - | MainClass: null [2025-01-24T17:03:38.411Z] STF 17:03:38.244 - | HashModules: null [2025-01-24T17:03:38.411Z] STF 17:03:38.244 - | [2025-01-24T17:03:38.411Z] STF 17:03:38.245 - 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_17377342045413/UpgModPath_JarImg_2/20250124-170336-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 . [2025-01-24T17:03:38.411Z] STF 17:03:38.245 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_JarImg_2/20250124-170336-UpgModPathTest/results/2.CMJ.stderr [2025-01-24T17:03:38.411Z] STF 17:03:38.245 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_JarImg_2/20250124-170336-UpgModPathTest/results/2.CMJ.stdout [2025-01-24T17:03:38.411Z] STF 17:03:38.251 - Monitoring processes: CMJ [2025-01-24T17:03:38.737Z] STF 17:03:38.514 - Monitoring Report Summary: [2025-01-24T17:03:38.737Z] STF 17:03:38.514 - o Process CMJ ended with the expected exit code (0) [2025-01-24T17:03:38.737Z] STF 17:03:38.514 - Created modular jar: 2.com.hola.jar [2025-01-24T17:03:38.737Z] STF 17:03:38.514 - [2025-01-24T17:03:38.737Z] STF 17:03:38.514 - +------ Step 3 - Create com.helper jar [2025-01-24T17:03:38.737Z] STF 17:03:38.514 - | Create modular jar [2025-01-24T17:03:38.737Z] STF 17:03:38.514 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-01-24T17:03:38.737Z] STF 17:03:38.514 - | ModuleVersion: null [2025-01-24T17:03:38.737Z] STF 17:03:38.514 - | MainClass: null [2025-01-24T17:03:38.737Z] STF 17:03:38.514 - | HashModules: null [2025-01-24T17:03:38.737Z] STF 17:03:38.514 - | [2025-01-24T17:03:38.737Z] STF 17:03:38.514 - 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_17377342045413/UpgModPath_JarImg_2/20250124-170336-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 . [2025-01-24T17:03:38.737Z] STF 17:03:38.514 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_JarImg_2/20250124-170336-UpgModPathTest/results/3.CMJ.stderr [2025-01-24T17:03:38.737Z] STF 17:03:38.514 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_JarImg_2/20250124-170336-UpgModPathTest/results/3.CMJ.stdout [2025-01-24T17:03:38.737Z] STF 17:03:38.520 - Monitoring processes: CMJ [2025-01-24T17:03:39.066Z] STF 17:03:38.788 - Monitoring Report Summary: [2025-01-24T17:03:39.066Z] STF 17:03:38.788 - o Process CMJ ended with the expected exit code (0) [2025-01-24T17:03:39.066Z] STF 17:03:38.788 - Created modular jar: 3.com.helper.jar [2025-01-24T17:03:39.066Z] STF 17:03:38.788 - [2025-01-24T17:03:39.066Z] STF 17:03:38.788 - +------ Step 4 - Create com.discreet jar [2025-01-24T17:03:39.066Z] STF 17:03:38.788 - | Create modular jar [2025-01-24T17:03:39.066Z] STF 17:03:38.788 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-01-24T17:03:39.066Z] STF 17:03:38.788 - | ModuleVersion: null [2025-01-24T17:03:39.066Z] STF 17:03:38.788 - | MainClass: null [2025-01-24T17:03:39.066Z] STF 17:03:38.788 - | HashModules: null [2025-01-24T17:03:39.066Z] STF 17:03:38.788 - | [2025-01-24T17:03:39.066Z] STF 17:03:38.789 - 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_17377342045413/UpgModPath_JarImg_2/20250124-170336-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 . [2025-01-24T17:03:39.066Z] STF 17:03:38.789 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_JarImg_2/20250124-170336-UpgModPathTest/results/4.CMJ.stderr [2025-01-24T17:03:39.066Z] STF 17:03:38.789 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_JarImg_2/20250124-170336-UpgModPathTest/results/4.CMJ.stdout [2025-01-24T17:03:39.066Z] STF 17:03:38.795 - Monitoring processes: CMJ [2025-01-24T17:03:39.391Z] STF 17:03:39.058 - Monitoring Report Summary: [2025-01-24T17:03:39.391Z] STF 17:03:39.058 - o Process CMJ ended with the expected exit code (0) [2025-01-24T17:03:39.391Z] STF 17:03:39.058 - Created modular jar: 4.com.discreet.jar [2025-01-24T17:03:39.391Z] STF 17:03:39.058 - [2025-01-24T17:03:39.391Z] STF 17:03:39.058 - +------ Step 5 - Create tests jar [2025-01-24T17:03:39.391Z] STF 17:03:39.058 - | Create modular jar [2025-01-24T17:03:39.391Z] STF 17:03:39.058 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-01-24T17:03:39.391Z] STF 17:03:39.058 - | ModuleVersion: null [2025-01-24T17:03:39.391Z] STF 17:03:39.058 - | MainClass: null [2025-01-24T17:03:39.391Z] STF 17:03:39.058 - | HashModules: null [2025-01-24T17:03:39.391Z] STF 17:03:39.058 - | [2025-01-24T17:03:39.392Z] STF 17:03:39.059 - 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_17377342045413/UpgModPath_JarImg_2/20250124-170336-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 . [2025-01-24T17:03:39.392Z] STF 17:03:39.059 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_JarImg_2/20250124-170336-UpgModPathTest/results/5.CMJ.stderr [2025-01-24T17:03:39.392Z] STF 17:03:39.059 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_JarImg_2/20250124-170336-UpgModPathTest/results/5.CMJ.stdout [2025-01-24T17:03:39.392Z] STF 17:03:39.064 - Monitoring processes: CMJ [2025-01-24T17:03:39.727Z] STF 17:03:39.338 - Monitoring Report Summary: [2025-01-24T17:03:39.727Z] STF 17:03:39.338 - o Process CMJ ended with the expected exit code (0) [2025-01-24T17:03:39.727Z] STF 17:03:39.338 - Created modular jar: 5.com.test.jar [2025-01-24T17:03:39.727Z] STF 17:03:39.338 - [2025-01-24T17:03:39.727Z] STF 17:03:39.338 - +------ Step 6 - Create runtime image for upgrademodulepath test [2025-01-24T17:03:39.727Z] STF 17:03:39.338 - | Run jlink to create runtime image [2025-01-24T17:03:39.727Z] STF 17:03:39.338 - | ImageName: UpJVM [2025-01-24T17:03:39.727Z] STF 17:03:39.338 - | [2025-01-24T17:03:39.727Z] STF 17:03:39.339 - 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_17377342045413\UpgModPath_JarImg_2\20250124-170336-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_17377342045413\UpgModPath_JarImg_2\20250124-170336-UpgModPathTest\tmp\6.UpJVM [2025-01-24T17:03:39.727Z] STF 17:03:39.339 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_JarImg_2/20250124-170336-UpgModPathTest/results/6.JLNK.stderr [2025-01-24T17:03:39.727Z] STF 17:03:39.339 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_JarImg_2/20250124-170336-UpgModPathTest/results/6.JLNK.stdout [2025-01-24T17:03:39.727Z] STF 17:03:39.344 - Monitoring processes: JLNK [2025-01-24T17:03:41.329Z] STF 17:03:41.212 - Monitoring Report Summary: [2025-01-24T17:03:41.329Z] STF 17:03:41.212 - o Process JLNK ended with the expected exit code (0) [2025-01-24T17:03:41.329Z] STF 17:03:41.213 - [2025-01-24T17:03:41.329Z] STF 17:03:41.213 - +------ Step 7 - Create com.hello override jar [2025-01-24T17:03:41.329Z] STF 17:03:41.213 - | Create modular jar [2025-01-24T17:03:41.329Z] STF 17:03:41.213 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-01-24T17:03:41.329Z] STF 17:03:41.213 - | ModuleVersion: null [2025-01-24T17:03:41.329Z] STF 17:03:41.213 - | MainClass: null [2025-01-24T17:03:41.329Z] STF 17:03:41.213 - | HashModules: null [2025-01-24T17:03:41.329Z] STF 17:03:41.213 - | [2025-01-24T17:03:41.329Z] STF 17:03:41.213 - 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_17377342045413/UpgModPath_JarImg_2/20250124-170336-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 . [2025-01-24T17:03:41.329Z] STF 17:03:41.213 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_JarImg_2/20250124-170336-UpgModPathTest/results/7.CMJ.stderr [2025-01-24T17:03:41.329Z] STF 17:03:41.213 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_JarImg_2/20250124-170336-UpgModPathTest/results/7.CMJ.stdout [2025-01-24T17:03:41.329Z] STF 17:03:41.219 - Monitoring processes: CMJ [2025-01-24T17:03:41.655Z] STF 17:03:41.475 - Monitoring Report Summary: [2025-01-24T17:03:41.655Z] STF 17:03:41.475 - o Process CMJ ended with the expected exit code (0) [2025-01-24T17:03:41.655Z] STF 17:03:41.475 - Created modular jar: 7.com.hello.jar [2025-01-24T17:03:41.655Z] STF 17:03:41.475 - [2025-01-24T17:03:41.655Z] STF 17:03:41.475 - +------ Step 8 - Create com.hello override jar [2025-01-24T17:03:41.655Z] STF 17:03:41.475 - | Create modular jar [2025-01-24T17:03:41.655Z] STF 17:03:41.475 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2025-01-24T17:03:41.655Z] STF 17:03:41.475 - | ModuleVersion: null [2025-01-24T17:03:41.655Z] STF 17:03:41.475 - | MainClass: null [2025-01-24T17:03:41.655Z] STF 17:03:41.475 - | HashModules: null [2025-01-24T17:03:41.655Z] STF 17:03:41.475 - | [2025-01-24T17:03:41.655Z] STF 17:03:41.476 - 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_17377342045413/UpgModPath_JarImg_2/20250124-170336-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 . [2025-01-24T17:03:41.655Z] STF 17:03:41.476 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_JarImg_2/20250124-170336-UpgModPathTest/results/8.CMJ.stderr [2025-01-24T17:03:41.655Z] STF 17:03:41.476 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_JarImg_2/20250124-170336-UpgModPathTest/results/8.CMJ.stdout [2025-01-24T17:03:41.655Z] STF 17:03:41.482 - Monitoring processes: CMJ [2025-01-24T17:03:41.984Z] STF 17:03:41.744 - Monitoring Report Summary: [2025-01-24T17:03:41.984Z] STF 17:03:41.744 - o Process CMJ ended with the expected exit code (0) [2025-01-24T17:03:41.984Z] STF 17:03:41.744 - Created modular jar: 8.java.logging.jar [2025-01-24T17:03:41.984Z] STF 17:03:41.744 - [2025-01-24T17:03:41.984Z] STF 17:03:41.744 - +------ Step 9 - Override an application module using a custom runtime image where the overriding module is in a modularized jar [2025-01-24T17:03:41.984Z] STF 17:03:41.744 - | Run foreground process [2025-01-24T17:03:41.984Z] STF 17:03:41.744 - | Program: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_JarImg_2/20250124-170336-UpgModPathTest/tmp/6.UpJVM/bin/java [2025-01-24T17:03:41.984Z] STF 17:03:41.744 - | Mnemonic: OT25 [2025-01-24T17:03:41.984Z] STF 17:03:41.744 - | Echo: ECHO_ON [2025-01-24T17:03:41.984Z] STF 17:03:41.744 - | Expectation: CLEAN_RUN within 1m [2025-01-24T17:03:41.984Z] STF 17:03:41.744 - | [2025-01-24T17:03:41.985Z] STF 17:03:41.744 - Running command: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_JarImg_2/20250124-170336-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_17377342045413/UpgModPath_JarImg_2/20250124-170336-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 [2025-01-24T17:03:41.985Z] STF 17:03:41.744 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_JarImg_2/20250124-170336-UpgModPathTest/results/9.OT25.stderr [2025-01-24T17:03:41.985Z] STF 17:03:41.744 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_JarImg_2/20250124-170336-UpgModPathTest/results/9.OT25.stdout [2025-01-24T17:03:41.985Z] STF 17:03:41.773 - Monitoring processes: OT25 [2025-01-24T17:03:42.311Z] OT25 JUnit version 4.12 [2025-01-24T17:03:42.311Z] OT25 . [2025-01-24T17:03:42.311Z] OT25 Time: 0.004 [2025-01-24T17:03:42.311Z] OT25 [2025-01-24T17:03:42.311Z] OT25 OK (1 test) [2025-01-24T17:03:42.311Z] OT25 [2025-01-24T17:03:42.311Z] STF 17:03:42.027 - Monitoring Report Summary: [2025-01-24T17:03:42.311Z] STF 17:03:42.027 - o Process OT25 ended with the expected exit code (0) [2025-01-24T17:03:42.311Z] STF 17:03:42.027 - [2025-01-24T17:03:42.311Z] STF 17:03:42.027 - +------ Step 10 - (Negative test) Override a non-upgradable platform module using a custom runtime imagewhere the overriding module is in a modularized jar [2025-01-24T17:03:42.311Z] STF 17:03:42.027 - | Run foreground process [2025-01-24T17:03:42.311Z] STF 17:03:42.027 - | Program: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_JarImg_2/20250124-170336-UpgModPathTest/tmp/6.UpJVM/bin/java [2025-01-24T17:03:42.311Z] STF 17:03:42.027 - | Mnemonic: OT27 [2025-01-24T17:03:42.311Z] STF 17:03:42.027 - | Echo: ECHO_ON [2025-01-24T17:03:42.311Z] STF 17:03:42.027 - | Expectation: NON_ZERO_EXIT [1] within 1m [2025-01-24T17:03:42.311Z] STF 17:03:42.027 - | [2025-01-24T17:03:42.311Z] STF 17:03:42.028 - Running command: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_JarImg_2/20250124-170336-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_17377342045413/UpgModPath_JarImg_2/20250124-170336-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 [2025-01-24T17:03:42.311Z] STF 17:03:42.028 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_JarImg_2/20250124-170336-UpgModPathTest/results/10.OT27.stderr [2025-01-24T17:03:42.311Z] STF 17:03:42.028 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_JarImg_2/20250124-170336-UpgModPathTest/results/10.OT27.stdout [2025-01-24T17:03:42.311Z] STF 17:03:42.037 - Monitoring processes: OT27 [2025-01-24T17:03:42.311Z] OT27 Error occurred during initialization of boot layer [2025-01-24T17:03:42.311Z] OT27 java.lang.module.FindException: Hash of java.logging (b563d91fccb4d61c5547d134bd25b6f3a7031d9348bb4b767606106dccd884f1) differs to expected hash (b6d24daf1cb54e133c63af5c9c4e789c02ddd2df8ad789dcce516ee957f766ea) recorded in java.base [2025-01-24T17:03:42.311Z] STF 17:03:42.199 - Monitoring Report Summary: [2025-01-24T17:03:42.311Z] STF 17:03:42.199 - o Process OT27 ended with the expected exit code (1) [2025-01-24T17:03:42.311Z] STF 17:03:42.199 - [2025-01-24T17:03:42.311Z] STF 17:03:42.199 - +------ Step 11 - Combine stderr and stdout files of process OT27 [2025-01-24T17:03:42.311Z] STF 17:03:42.199 - | Run foreground process [2025-01-24T17:03:42.311Z] STF 17:03:42.199 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/java [2025-01-24T17:03:42.311Z] STF 17:03:42.199 - | Mnemonic: CO [2025-01-24T17:03:42.311Z] STF 17:03:42.200 - | Echo: ECHO_OFF [2025-01-24T17:03:42.311Z] STF 17:03:42.200 - | Expectation: NON_ZERO_EXIT [0] within 30s [2025-01-24T17:03:42.311Z] STF 17:03:42.200 - | [2025-01-24T17:03:42.311Z] STF 17:03:42.200 - 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_17377342045413/UpgModPath_JarImg_2/20250124-170336-UpgModPathTest/results/10.OT27.stdout -Dfile2=C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_JarImg_2/20250124-170336-UpgModPathTest/results/10.OT27.stderr -Dfinal.file=C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\aqa-tests\TKG\output_17377342045413\UpgModPath_JarImg_2\20250124-170336-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 [2025-01-24T17:03:42.311Z] STF 17:03:42.200 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_JarImg_2/20250124-170336-UpgModPathTest/results/11.CO.stderr [2025-01-24T17:03:42.311Z] STF 17:03:42.200 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_JarImg_2/20250124-170336-UpgModPathTest/results/11.CO.stdout [2025-01-24T17:03:42.311Z] STF 17:03:42.209 - Monitoring processes: CO [2025-01-24T17:03:42.705Z] STF 17:03:42.373 - Monitoring Report Summary: [2025-01-24T17:03:42.705Z] STF 17:03:42.373 - o Process CO ended with the expected exit code (0) [2025-01-24T17:03:42.705Z] STF 17:03:42.373 - [2025-01-24T17:03:42.705Z] STF 17:03:42.373 - +------ Step 12 - Check output [2025-01-24T17:03:42.705Z] STF 17:03:42.373 - | Count file matches [2025-01-24T17:03:42.705Z] STF 17:03:42.373 - | TargetFile: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_JarImg_2/20250124-170336-UpgModPathTest/results/combinedOT27.txt [2025-01-24T17:03:42.705Z] STF 17:03:42.373 - | ExpectedNumMatches: 1 [2025-01-24T17:03:42.705Z] STF 17:03:42.373 - | SearchStrings: ["FindException: Hash of java.logging"] [2025-01-24T17:03:42.705Z] STF 17:03:42.373 - | [2025-01-24T17:03:42.705Z] STF 17:03:42.375 - Found 1 instances of ["FindException: Hash of java.logging"] [2025-01-24T17:03:42.705Z] STF 17:03:42.375 - EXECUTE stage completed [2025-01-24T17:03:42.705Z] STF 17:03:42.397 - [2025-01-24T17:03:42.705Z] STF 17:03:42.397 - ==================== T E A R D O W N ==================== [2025-01-24T17:03:42.705Z] STF 17:03:42.397 - Running teardown: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17377342045413\UpgModPath_JarImg_2/20250124-170336-UpgModPathTest/tearDown.pl [2025-01-24T17:03:42.705Z] STF 17:03:42.530 - TEARDOWN stage completed [2025-01-24T17:03:42.705Z] STF 17:03:42.545 - [2025-01-24T17:03:42.705Z] STF 17:03:42.546 - ===================== R E S U L T S ===================== [2025-01-24T17:03:42.705Z] STF 17:03:42.546 - Stage results: [2025-01-24T17:03:42.705Z] STF 17:03:42.546 - setUp: pass [2025-01-24T17:03:42.705Z] STF 17:03:42.546 - execute: pass [2025-01-24T17:03:42.705Z] STF 17:03:42.546 - teardown: pass [2025-01-24T17:03:42.705Z] STF 17:03:42.546 - [2025-01-24T17:03:42.705Z] STF 17:03:42.546 - Overall result: PASSED [2025-01-24T17:03:42.705Z] ----------------------------------- [2025-01-24T17:03:42.705Z] UpgModPath_JarImg_2_PASSED [2025-01-24T17:03:42.705Z] ----------------------------------- [2025-01-24T17:03:43.081Z] [2025-01-24T17:03:43.081Z] TEST TEARDOWN: [2025-01-24T17:03:43.081Z] Nothing to be done for teardown. [2025-01-24T17:03:43.081Z] UpgModPath_JarImg_2 Finish Time: Fri Jan 24 17:03:42 2025 Epoch Time (ms): 1737738222849