UpgModPath_ExpImg_2

[2025-03-31T00:31:44.702Z] Running test UpgModPath_ExpImg_2 ... [2025-03-31T00:31:45.015Z] =============================================== [2025-03-31T00:31:45.015Z] UpgModPath_ExpImg_2 Start Time: Mon Mar 31 00:31:44 2025 Epoch Time (ms): 1743381104873 [2025-03-31T00:31:45.328Z] variation: Mode1000 [2025-03-31T00:31:45.328Z] JVM_OPTIONS: [2025-03-31T00:31:45.328Z] { \ [2025-03-31T00:31:45.328Z] echo ""; echo "TEST SETUP:"; \ [2025-03-31T00:31:45.328Z] echo "Nothing to be done for setup."; \ [2025-03-31T00:31:45.328Z] mkdir -p "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17433771238420\\UpgModPath_ExpImg_2"; \ [2025-03-31T00:31:45.328Z] cd "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17433771238420\\UpgModPath_ExpImg_2"; \ [2025-03-31T00:31:45.328Z] echo ""; echo "TESTING:"; \ [2025-03-31T00:31:45.328Z] 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_17433771238420\\UpgModPath_ExpImg_2" -test=UpgModPathTest -test-args="variant=ExpImg"; \ [2025-03-31T00:31:45.328Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_ExpImg_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_17433771238420\\UpgModPath_ExpImg_2"; else echo "-----------------------------------"; echo "UpgModPath_ExpImg_2""_FAILED"; echo "-----------------------------------"; fi; \ [2025-03-31T00:31:45.328Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-03-31T00:31:45.328Z] echo "Nothing to be done for teardown."; \ [2025-03-31T00:31:45.328Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17433771238420\\TestTargetResult"; [2025-03-31T00:31:45.653Z] [2025-03-31T00:31:45.653Z] TEST SETUP: [2025-03-31T00:31:45.653Z] Nothing to be done for setup. [2025-03-31T00:31:45.653Z] [2025-03-31T00:31:45.653Z] TESTING: [2025-03-31T00:31:45.653Z] STF 00:31:45.475 - ========================= S T F ========================= [2025-03-31T00:31:45.653Z] 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_17433771238420\UpgModPath_ExpImg_2 [2025-03-31T00:31:45.653Z] There is 95022 Mb free [2025-03-31T00:31:45.653Z] STF 00:31:45.522 - ================== G E N E R A T I O N ================== [2025-03-31T00:31:45.653Z] STF 00:31:45.524 - Checking JVM: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image [2025-03-31T00:31:45.653Z] STF 00:31:45.524 - 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 -Dload.agent.path=C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/../../testDependency/system_lib\/asm/asm.jar;c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/../../testDependency/system_lib\/asm/asm-commons.jar;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_17433771238420\UpgModPath_ExpImg_2/20250331-003145-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_17433771238420\UpgModPath_ExpImg_2/20250331-003145-UpgModPathTest" [2025-03-31T00:31:46.761Z] GEN 00:31:46.299 - 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-03-31T00:31:46.761Z] GEN 00:31:46.312 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2025-03-31T00:31:46.761Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-03-31T00:31:46.761Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2025-03-31T00:31:46.761Z] 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-03-31T00:31:46.761Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2025-03-31T00:31:46.761Z] 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-03-31T00:31:46.762Z] 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-03-31T00:31:46.762Z] 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-03-31T00:31:46.762Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2025-03-31T00:31:46.762Z] 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-03-31T00:31:46.762Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2025-03-31T00:31:46.762Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2025-03-31T00:31:46.762Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2025-03-31T00:31:46.762Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2025-03-31T00:31:46.762Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-03-31T00:31:46.762Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-03-31T00:31:46.762Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-32_windows\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-03-31T00:31:46.762Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-32_windows\\jvmtest\\system\\STF\\stf.core\\bin [2025-03-31T00:31:46.762Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-03-31T00:31:46.762Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-03-31T00:31:46.762Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar [2025-03-31T00:31:46.762Z] GEN 00:31:46.505 - Using Mode NoOptions. Values = '' [2025-03-31T00:31:46.762Z] GEN 00:31:46.596 - [2025-03-31T00:31:46.762Z] GEN 00:31:46.596 - Test command summary: [2025-03-31T00:31:46.762Z] GEN 00:31:46.596 - Step Stage Command Description [2025-03-31T00:31:46.762Z] GEN 00:31:46.596 - -----+--------+-----------------+------------ [2025-03-31T00:31:46.762Z] GEN 00:31:46.597 - 1 execute jar Create com.hello jar [2025-03-31T00:31:46.762Z] GEN 00:31:46.597 - 2 execute jar Create com.hola jar [2025-03-31T00:31:46.762Z] GEN 00:31:46.597 - 3 execute jar Create com.helper jar [2025-03-31T00:31:46.762Z] GEN 00:31:46.597 - 4 execute jar Create com.discreet jar [2025-03-31T00:31:46.762Z] GEN 00:31:46.597 - 5 execute jar Create tests jar [2025-03-31T00:31:46.762Z] GEN 00:31:46.597 - 6 execute jlink Create runtime image for upgrademodulepath test [2025-03-31T00:31:46.762Z] GEN 00:31:46.597 - 7 execute Run java Override an application module using a custom runtime image [2025-03-31T00:31:46.762Z] GEN 00:31:46.597 - 8 execute Run java (Negative test) Override a non-upgradable platform module using a custom runtime image [2025-03-31T00:31:46.762Z] GEN 00:31:46.597 - 9 execute Run java Combine stderr and stdout files of process OT16 [2025-03-31T00:31:46.762Z] GEN 00:31:46.597 - 10 execute count Check output [2025-03-31T00:31:46.762Z] STF 00:31:46.614 - [2025-03-31T00:31:46.762Z] STF 00:31:46.614 - Script generation completed [2025-03-31T00:31:46.762Z] STF 00:31:46.614 - [2025-03-31T00:31:46.762Z] STF 00:31:46.615 - [2025-03-31T00:31:46.762Z] STF 00:31:46.615 - ======================= S E T U P ======================= [2025-03-31T00:31:46.762Z] STF 00:31:46.615 - Running setup: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17433771238420\UpgModPath_ExpImg_2/20250331-003145-UpgModPathTest/setUp.pl [2025-03-31T00:31:47.086Z] STF 00:31:46.738 - SETUP stage completed [2025-03-31T00:31:47.086Z] STF 00:31:46.751 - [2025-03-31T00:31:47.086Z] STF 00:31:46.751 - ==================== E X E C U T E - ==================== [2025-03-31T00:31:47.086Z] STF 00:31:46.751 - Running execute: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17433771238420\UpgModPath_ExpImg_2/20250331-003145-UpgModPathTest/execute.pl [2025-03-31T00:31:47.086Z] STF 00:31:46.877 - [2025-03-31T00:31:47.086Z] STF 00:31:46.877 - Java version [2025-03-31T00:31:47.086Z] STF 00:31:46.877 - Running: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/java -version [2025-03-31T00:31:47.086Z] openjdk version "11.0.27-beta" 2025-04-15 [2025-03-31T00:31:47.086Z] OpenJDK Runtime Environment Temurin-11.0.27+5-202503302011 (build 11.0.27-beta+5-ea) [2025-03-31T00:31:47.086Z] OpenJDK Client VM Temurin-11.0.27+5-202503302011 (build 11.0.27-beta+5-ea, mixed mode) [2025-03-31T00:31:47.086Z] STF 00:31:46.972 - [2025-03-31T00:31:47.086Z] STF 00:31:46.972 - +------ Step 1 - Create com.hello jar [2025-03-31T00:31:47.086Z] STF 00:31:46.972 - | Create modular jar [2025-03-31T00:31:47.086Z] STF 00:31:46.972 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-03-31T00:31:47.086Z] STF 00:31:46.972 - | ModuleVersion: null [2025-03-31T00:31:47.086Z] STF 00:31:46.972 - | MainClass: null [2025-03-31T00:31:47.086Z] STF 00:31:46.972 - | HashModules: null [2025-03-31T00:31:47.086Z] STF 00:31:46.972 - | [2025-03-31T00:31:47.086Z] STF 00:31:46.973 - 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_17433771238420/UpgModPath_ExpImg_2/20250331-003145-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-03-31T00:31:47.086Z] STF 00:31:46.973 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17433771238420/UpgModPath_ExpImg_2/20250331-003145-UpgModPathTest/results/1.CMJ.stderr [2025-03-31T00:31:47.086Z] STF 00:31:46.973 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17433771238420/UpgModPath_ExpImg_2/20250331-003145-UpgModPathTest/results/1.CMJ.stdout [2025-03-31T00:31:47.086Z] STF 00:31:47.001 - Monitoring processes: CMJ [2025-03-31T00:31:47.415Z] STF 00:31:47.257 - Monitoring Report Summary: [2025-03-31T00:31:47.415Z] STF 00:31:47.257 - o Process CMJ ended with the expected exit code (0) [2025-03-31T00:31:47.415Z] STF 00:31:47.257 - Created modular jar: 1.com.hello.jar [2025-03-31T00:31:47.415Z] STF 00:31:47.257 - [2025-03-31T00:31:47.415Z] STF 00:31:47.257 - +------ Step 2 - Create com.hola jar [2025-03-31T00:31:47.415Z] STF 00:31:47.257 - | Create modular jar [2025-03-31T00:31:47.415Z] STF 00:31:47.257 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-03-31T00:31:47.415Z] STF 00:31:47.257 - | ModuleVersion: null [2025-03-31T00:31:47.415Z] STF 00:31:47.257 - | MainClass: null [2025-03-31T00:31:47.415Z] STF 00:31:47.257 - | HashModules: null [2025-03-31T00:31:47.415Z] STF 00:31:47.257 - | [2025-03-31T00:31:47.415Z] STF 00:31:47.257 - 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_17433771238420/UpgModPath_ExpImg_2/20250331-003145-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-03-31T00:31:47.415Z] STF 00:31:47.257 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17433771238420/UpgModPath_ExpImg_2/20250331-003145-UpgModPathTest/results/2.CMJ.stderr [2025-03-31T00:31:47.415Z] STF 00:31:47.257 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17433771238420/UpgModPath_ExpImg_2/20250331-003145-UpgModPathTest/results/2.CMJ.stdout [2025-03-31T00:31:47.415Z] STF 00:31:47.264 - Monitoring processes: CMJ [2025-03-31T00:31:47.742Z] STF 00:31:47.528 - Monitoring Report Summary: [2025-03-31T00:31:47.742Z] STF 00:31:47.528 - o Process CMJ ended with the expected exit code (0) [2025-03-31T00:31:47.742Z] STF 00:31:47.529 - Created modular jar: 2.com.hola.jar [2025-03-31T00:31:47.742Z] STF 00:31:47.529 - [2025-03-31T00:31:47.742Z] STF 00:31:47.529 - +------ Step 3 - Create com.helper jar [2025-03-31T00:31:47.742Z] STF 00:31:47.529 - | Create modular jar [2025-03-31T00:31:47.742Z] STF 00:31:47.529 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-03-31T00:31:47.742Z] STF 00:31:47.529 - | ModuleVersion: null [2025-03-31T00:31:47.742Z] STF 00:31:47.529 - | MainClass: null [2025-03-31T00:31:47.742Z] STF 00:31:47.529 - | HashModules: null [2025-03-31T00:31:47.742Z] STF 00:31:47.529 - | [2025-03-31T00:31:47.742Z] STF 00:31:47.529 - 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_17433771238420/UpgModPath_ExpImg_2/20250331-003145-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-03-31T00:31:47.742Z] STF 00:31:47.529 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17433771238420/UpgModPath_ExpImg_2/20250331-003145-UpgModPathTest/results/3.CMJ.stderr [2025-03-31T00:31:47.742Z] STF 00:31:47.529 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17433771238420/UpgModPath_ExpImg_2/20250331-003145-UpgModPathTest/results/3.CMJ.stdout [2025-03-31T00:31:47.742Z] STF 00:31:47.535 - Monitoring processes: CMJ [2025-03-31T00:31:48.066Z] STF 00:31:47.790 - Monitoring Report Summary: [2025-03-31T00:31:48.066Z] STF 00:31:47.791 - o Process CMJ ended with the expected exit code (0) [2025-03-31T00:31:48.066Z] STF 00:31:47.791 - Created modular jar: 3.com.helper.jar [2025-03-31T00:31:48.066Z] STF 00:31:47.791 - [2025-03-31T00:31:48.066Z] STF 00:31:47.791 - +------ Step 4 - Create com.discreet jar [2025-03-31T00:31:48.066Z] STF 00:31:47.791 - | Create modular jar [2025-03-31T00:31:48.066Z] STF 00:31:47.791 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-03-31T00:31:48.066Z] STF 00:31:47.791 - | ModuleVersion: null [2025-03-31T00:31:48.066Z] STF 00:31:47.791 - | MainClass: null [2025-03-31T00:31:48.066Z] STF 00:31:47.791 - | HashModules: null [2025-03-31T00:31:48.066Z] STF 00:31:47.791 - | [2025-03-31T00:31:48.066Z] STF 00:31:47.791 - 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_17433771238420/UpgModPath_ExpImg_2/20250331-003145-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-03-31T00:31:48.066Z] STF 00:31:47.791 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17433771238420/UpgModPath_ExpImg_2/20250331-003145-UpgModPathTest/results/4.CMJ.stderr [2025-03-31T00:31:48.066Z] STF 00:31:47.791 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17433771238420/UpgModPath_ExpImg_2/20250331-003145-UpgModPathTest/results/4.CMJ.stdout [2025-03-31T00:31:48.066Z] STF 00:31:47.796 - Monitoring processes: CMJ [2025-03-31T00:31:48.377Z] STF 00:31:48.052 - Monitoring Report Summary: [2025-03-31T00:31:48.377Z] STF 00:31:48.052 - o Process CMJ ended with the expected exit code (0) [2025-03-31T00:31:48.378Z] STF 00:31:48.052 - Created modular jar: 4.com.discreet.jar [2025-03-31T00:31:48.378Z] STF 00:31:48.052 - [2025-03-31T00:31:48.378Z] STF 00:31:48.052 - +------ Step 5 - Create tests jar [2025-03-31T00:31:48.378Z] STF 00:31:48.052 - | Create modular jar [2025-03-31T00:31:48.378Z] STF 00:31:48.052 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-03-31T00:31:48.378Z] STF 00:31:48.052 - | ModuleVersion: null [2025-03-31T00:31:48.378Z] STF 00:31:48.052 - | MainClass: null [2025-03-31T00:31:48.378Z] STF 00:31:48.052 - | HashModules: null [2025-03-31T00:31:48.378Z] STF 00:31:48.052 - | [2025-03-31T00:31:48.378Z] STF 00:31:48.052 - 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_17433771238420/UpgModPath_ExpImg_2/20250331-003145-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-03-31T00:31:48.378Z] STF 00:31:48.052 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17433771238420/UpgModPath_ExpImg_2/20250331-003145-UpgModPathTest/results/5.CMJ.stderr [2025-03-31T00:31:48.378Z] STF 00:31:48.052 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17433771238420/UpgModPath_ExpImg_2/20250331-003145-UpgModPathTest/results/5.CMJ.stdout [2025-03-31T00:31:48.378Z] STF 00:31:48.057 - Monitoring processes: CMJ [2025-03-31T00:31:48.702Z] STF 00:31:48.339 - Monitoring Report Summary: [2025-03-31T00:31:48.702Z] STF 00:31:48.339 - o Process CMJ ended with the expected exit code (0) [2025-03-31T00:31:48.702Z] STF 00:31:48.339 - Created modular jar: 5.com.test.jar [2025-03-31T00:31:48.702Z] STF 00:31:48.339 - [2025-03-31T00:31:48.702Z] STF 00:31:48.339 - +------ Step 6 - Create runtime image for upgrademodulepath test [2025-03-31T00:31:48.702Z] STF 00:31:48.339 - | Run jlink to create runtime image [2025-03-31T00:31:48.702Z] STF 00:31:48.339 - | ImageName: UpJVM [2025-03-31T00:31:48.702Z] STF 00:31:48.339 - | [2025-03-31T00:31:48.702Z] STF 00:31:48.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_17433771238420\UpgModPath_ExpImg_2\20250331-003145-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_17433771238420\UpgModPath_ExpImg_2\20250331-003145-UpgModPathTest\tmp\6.UpJVM [2025-03-31T00:31:48.702Z] STF 00:31:48.339 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17433771238420/UpgModPath_ExpImg_2/20250331-003145-UpgModPathTest/results/6.JLNK.stderr [2025-03-31T00:31:48.702Z] STF 00:31:48.339 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17433771238420/UpgModPath_ExpImg_2/20250331-003145-UpgModPathTest/results/6.JLNK.stdout [2025-03-31T00:31:48.702Z] STF 00:31:48.345 - Monitoring processes: JLNK [2025-03-31T00:31:50.304Z] STF 00:31:50.126 - Monitoring Report Summary: [2025-03-31T00:31:50.304Z] STF 00:31:50.126 - o Process JLNK ended with the expected exit code (0) [2025-03-31T00:31:50.304Z] STF 00:31:50.126 - [2025-03-31T00:31:50.304Z] STF 00:31:50.126 - +------ Step 7 - Override an application module using a custom runtime image [2025-03-31T00:31:50.304Z] STF 00:31:50.126 - | Run foreground process [2025-03-31T00:31:50.304Z] STF 00:31:50.126 - | Program: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17433771238420/UpgModPath_ExpImg_2/20250331-003145-UpgModPathTest/tmp/6.UpJVM/bin/java [2025-03-31T00:31:50.304Z] STF 00:31:50.126 - | Mnemonic: OT14 [2025-03-31T00:31:50.304Z] STF 00:31:50.126 - | Echo: ECHO_ON [2025-03-31T00:31:50.304Z] STF 00:31:50.126 - | Expectation: CLEAN_RUN within 1m [2025-03-31T00:31:50.304Z] STF 00:31:50.126 - | [2025-03-31T00:31:50.304Z] STF 00:31:50.126 - Running command: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17433771238420/UpgModPath_ExpImg_2/20250331-003145-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\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello -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-03-31T00:31:50.304Z] STF 00:31:50.126 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17433771238420/UpgModPath_ExpImg_2/20250331-003145-UpgModPathTest/results/7.OT14.stderr [2025-03-31T00:31:50.304Z] STF 00:31:50.126 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17433771238420/UpgModPath_ExpImg_2/20250331-003145-UpgModPathTest/results/7.OT14.stdout [2025-03-31T00:31:50.304Z] STF 00:31:50.151 - Monitoring processes: OT14 [2025-03-31T00:31:50.630Z] OT14 JUnit version 4.12 [2025-03-31T00:31:50.630Z] OT14 . [2025-03-31T00:31:50.630Z] OT14 Time: 0.004 [2025-03-31T00:31:50.630Z] OT14 [2025-03-31T00:31:50.630Z] OT14 OK (1 test) [2025-03-31T00:31:50.630Z] OT14 [2025-03-31T00:31:50.630Z] STF 00:31:50.393 - Monitoring Report Summary: [2025-03-31T00:31:50.630Z] STF 00:31:50.393 - o Process OT14 ended with the expected exit code (0) [2025-03-31T00:31:50.630Z] STF 00:31:50.393 - [2025-03-31T00:31:50.630Z] STF 00:31:50.393 - +------ Step 8 - (Negative test) Override a non-upgradable platform module using a custom runtime image [2025-03-31T00:31:50.630Z] STF 00:31:50.393 - | Run foreground process [2025-03-31T00:31:50.630Z] STF 00:31:50.393 - | Program: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17433771238420/UpgModPath_ExpImg_2/20250331-003145-UpgModPathTest/tmp/6.UpJVM/bin/java [2025-03-31T00:31:50.630Z] STF 00:31:50.393 - | Mnemonic: OT16 [2025-03-31T00:31:50.630Z] STF 00:31:50.393 - | Echo: ECHO_ON [2025-03-31T00:31:50.630Z] STF 00:31:50.393 - | Expectation: NON_ZERO_EXIT [1] within 1m [2025-03-31T00:31:50.630Z] STF 00:31:50.393 - | [2025-03-31T00:31:50.630Z] STF 00:31:50.393 - Running command: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17433771238420/UpgModPath_ExpImg_2/20250331-003145-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\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.logging -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-03-31T00:31:50.630Z] STF 00:31:50.393 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17433771238420/UpgModPath_ExpImg_2/20250331-003145-UpgModPathTest/results/8.OT16.stderr [2025-03-31T00:31:50.630Z] STF 00:31:50.393 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17433771238420/UpgModPath_ExpImg_2/20250331-003145-UpgModPathTest/results/8.OT16.stdout [2025-03-31T00:31:50.630Z] STF 00:31:50.401 - Monitoring processes: OT16 [2025-03-31T00:31:50.630Z] OT16 Error occurred during initialization of boot layer [2025-03-31T00:31:50.630Z] OT16 java.lang.module.FindException: Unable to compute the hash of module java.logging [2025-03-31T00:31:50.630Z] STF 00:31:50.537 - Monitoring Report Summary: [2025-03-31T00:31:50.630Z] STF 00:31:50.538 - o Process OT16 ended with the expected exit code (1) [2025-03-31T00:31:50.630Z] STF 00:31:50.538 - [2025-03-31T00:31:50.630Z] STF 00:31:50.538 - +------ Step 9 - Combine stderr and stdout files of process OT16 [2025-03-31T00:31:50.630Z] STF 00:31:50.538 - | Run foreground process [2025-03-31T00:31:50.630Z] STF 00:31:50.538 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/java [2025-03-31T00:31:50.630Z] STF 00:31:50.538 - | Mnemonic: CO [2025-03-31T00:31:50.630Z] STF 00:31:50.538 - | Echo: ECHO_OFF [2025-03-31T00:31:50.630Z] STF 00:31:50.538 - | Expectation: NON_ZERO_EXIT [0] within 5m [2025-03-31T00:31:50.630Z] STF 00:31:50.538 - | [2025-03-31T00:31:50.630Z] STF 00:31:50.538 - 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_17433771238420/UpgModPath_ExpImg_2/20250331-003145-UpgModPathTest/results/8.OT16.stdout -Dfile2=C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17433771238420/UpgModPath_ExpImg_2/20250331-003145-UpgModPathTest/results/8.OT16.stderr -Dfinal.file=C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\aqa-tests\TKG\output_17433771238420\UpgModPath_ExpImg_2\20250331-003145-UpgModPathTest\results\combinedOT16.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-03-31T00:31:50.630Z] STF 00:31:50.538 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17433771238420/UpgModPath_ExpImg_2/20250331-003145-UpgModPathTest/results/9.CO.stderr [2025-03-31T00:31:50.630Z] STF 00:31:50.538 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17433771238420/UpgModPath_ExpImg_2/20250331-003145-UpgModPathTest/results/9.CO.stdout [2025-03-31T00:31:50.630Z] STF 00:31:50.546 - Monitoring processes: CO [2025-03-31T00:31:51.028Z] STF 00:31:50.701 - Monitoring Report Summary: [2025-03-31T00:31:51.028Z] STF 00:31:50.701 - o Process CO ended with the expected exit code (0) [2025-03-31T00:31:51.028Z] STF 00:31:50.701 - [2025-03-31T00:31:51.028Z] STF 00:31:50.701 - +------ Step 10 - Check output [2025-03-31T00:31:51.028Z] STF 00:31:50.701 - | Count file matches [2025-03-31T00:31:51.028Z] STF 00:31:50.701 - | TargetFile: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17433771238420/UpgModPath_ExpImg_2/20250331-003145-UpgModPathTest/results/combinedOT16.txt [2025-03-31T00:31:51.028Z] STF 00:31:50.701 - | ExpectedNumMatches: 1 [2025-03-31T00:31:51.028Z] STF 00:31:50.701 - | SearchStrings: ["FindException: Unable to compute the hash of module java.logging"] [2025-03-31T00:31:51.028Z] STF 00:31:50.701 - | [2025-03-31T00:31:51.028Z] STF 00:31:50.702 - Found 1 instances of ["FindException: Unable to compute the hash of module java.logging"] [2025-03-31T00:31:51.028Z] STF 00:31:50.702 - EXECUTE stage completed [2025-03-31T00:31:51.028Z] STF 00:31:50.748 - [2025-03-31T00:31:51.028Z] STF 00:31:50.748 - ==================== T E A R D O W N ==================== [2025-03-31T00:31:51.028Z] STF 00:31:50.748 - Running teardown: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17433771238420\UpgModPath_ExpImg_2/20250331-003145-UpgModPathTest/tearDown.pl [2025-03-31T00:31:51.028Z] STF 00:31:50.874 - TEARDOWN stage completed [2025-03-31T00:31:51.028Z] STF 00:31:50.891 - [2025-03-31T00:31:51.028Z] STF 00:31:50.891 - ===================== R E S U L T S ===================== [2025-03-31T00:31:51.028Z] STF 00:31:50.891 - Stage results: [2025-03-31T00:31:51.028Z] STF 00:31:50.891 - setUp: pass [2025-03-31T00:31:51.028Z] STF 00:31:50.891 - execute: pass [2025-03-31T00:31:51.028Z] STF 00:31:50.891 - teardown: pass [2025-03-31T00:31:51.028Z] STF 00:31:50.891 - [2025-03-31T00:31:51.028Z] STF 00:31:50.891 - Overall result: PASSED [2025-03-31T00:31:51.028Z] ----------------------------------- [2025-03-31T00:31:51.028Z] UpgModPath_ExpImg_2_PASSED [2025-03-31T00:31:51.028Z] ----------------------------------- [2025-03-31T00:31:51.393Z] [2025-03-31T00:31:51.393Z] TEST TEARDOWN: [2025-03-31T00:31:51.393Z] Nothing to be done for teardown. [2025-03-31T00:31:51.393Z] UpgModPath_ExpImg_2 Finish Time: Mon Mar 31 00:31:51 2025 Epoch Time (ms): 1743381111168