UpgModPath_ExpImg_1

[2025-05-23T04:11:09.523Z] Running test UpgModPath_ExpImg_1 ... [2025-05-23T04:11:09.828Z] =============================================== [2025-05-23T04:11:10.140Z] UpgModPath_ExpImg_1 Start Time: Fri May 23 04:11:09 2025 Epoch Time (ms): 1747973469988 [2025-05-23T04:11:10.437Z] variation: Mode650 [2025-05-23T04:11:10.733Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-05-23T04:11:10.733Z] { \ [2025-05-23T04:11:10.733Z] echo ""; echo "TEST SETUP:"; \ [2025-05-23T04:11:10.733Z] echo "Nothing to be done for setup."; \ [2025-05-23T04:11:10.733Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17479712298\\UpgModPath_ExpImg_1"; \ [2025-05-23T04:11:10.733Z] cd "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17479712298\\UpgModPath_ExpImg_1"; \ [2025-05-23T04:11:10.733Z] echo ""; echo "TESTING:"; \ [2025-05-23T04:11:10.733Z] perl C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/../../testDependency/system_lib\\" -java-args=' -XX:-UseCompressedOops ' -results-root="C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17479712298\\UpgModPath_ExpImg_1" -test=UpgModPathTest -test-args="variant=ExpImg"; \ [2025-05-23T04:11:10.733Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_ExpImg_1""_PASSED"; echo "-----------------------------------"; cd C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/; rm -f -r "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17479712298\\UpgModPath_ExpImg_1"; else echo "-----------------------------------"; echo "UpgModPath_ExpImg_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-05-23T04:11:10.733Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-05-23T04:11:10.733Z] echo "Nothing to be done for teardown."; \ [2025-05-23T04:11:10.733Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17479712298\\TestTargetResult"; [2025-05-23T04:11:10.733Z] [2025-05-23T04:11:10.733Z] TEST SETUP: [2025-05-23T04:11:10.733Z] Nothing to be done for setup. [2025-05-23T04:11:10.733Z] [2025-05-23T04:11:10.733Z] TESTING: [2025-05-23T04:11:11.374Z] STF 04:11:11.126 - ========================= S T F ========================= [2025-05-23T04:11:11.374Z] systemtest-prereqs has been processed, and set to: C:/Users/jenkins/testDependency/system_libRetrieving amount of free space on drive containing C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17479712298\UpgModPath_ExpImg_1 [2025-05-23T04:11:11.374Z] There is 47773 Mb free [2025-05-23T04:11:11.374Z] STF 04:11:11.206 - ================== G E N E R A T I O N ================== [2025-05-23T04:11:11.374Z] STF 04:11:11.211 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image [2025-05-23T04:11:11.374Z] STF 04:11:11.212 - Starting process to generate scripts: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/../../testDependency/system_lib\/asm/asm.jar;C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/../../testDependency/system_lib\/asm/asm-commons.jar;C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/../../testDependency/system_lib\/log4j/log4j-api.jar;C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17479712298\UpgModPath_ExpImg_1/20250523-041111-UpgModPathTest/stf_parameters.properties, , C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17479712298\UpgModPath_ExpImg_1/20250523-041111-UpgModPathTest" [2025-05-23T04:11:12.422Z] GEN 04:11:12.371 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: 'C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2025-05-23T04:11:12.718Z] GEN 04:11:12.388 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2025-05-23T04:11:12.719Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-05-23T04:11:12.719Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2025-05-23T04:11:12.719Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2025-05-23T04:11:12.719Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2025-05-23T04:11:12.719Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2025-05-23T04:11:12.719Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2025-05-23T04:11:12.719Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2025-05-23T04:11:12.719Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2025-05-23T04:11:12.719Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2025-05-23T04:11:12.719Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2025-05-23T04:11:12.719Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2025-05-23T04:11:12.719Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2025-05-23T04:11:12.719Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2025-05-23T04:11:12.719Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-05-23T04:11:12.719Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-05-23T04:11:12.719Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-05-23T04:11:12.719Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\\jvmtest\\system\\STF\\stf.core\\bin [2025-05-23T04:11:12.719Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-05-23T04:11:12.719Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-05-23T04:11:12.719Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar [2025-05-23T04:11:12.719Z] GEN 04:11:12.616 - Using Mode NoOptions. Values = '' [2025-05-23T04:11:13.015Z] GEN 04:11:12.714 - [2025-05-23T04:11:13.015Z] GEN 04:11:12.715 - Test command summary: [2025-05-23T04:11:13.015Z] GEN 04:11:12.715 - Step Stage Command Description [2025-05-23T04:11:13.015Z] GEN 04:11:12.715 - -----+--------+-----------------+------------ [2025-05-23T04:11:13.015Z] GEN 04:11:12.715 - 1 execute jar Create com.hello jar [2025-05-23T04:11:13.015Z] GEN 04:11:12.715 - 2 execute jar Create com.hola jar [2025-05-23T04:11:13.015Z] GEN 04:11:12.715 - 3 execute jar Create com.helper jar [2025-05-23T04:11:13.015Z] GEN 04:11:12.715 - 4 execute jar Create com.discreet jar [2025-05-23T04:11:13.015Z] GEN 04:11:12.715 - 5 execute jar Create tests jar [2025-05-23T04:11:13.015Z] GEN 04:11:12.715 - 6 execute jlink Create runtime image for upgrademodulepath test [2025-05-23T04:11:13.015Z] GEN 04:11:12.715 - 7 execute Run java Override an application module using a custom runtime image [2025-05-23T04:11:13.015Z] GEN 04:11:12.715 - 8 execute Run java (Negative test) Override a non-upgradable platform module using a custom runtime image [2025-05-23T04:11:13.015Z] GEN 04:11:12.716 - 9 execute Run java Combine stderr and stdout files of process OT16 [2025-05-23T04:11:13.015Z] GEN 04:11:12.716 - 10 execute count Check output [2025-05-23T04:11:13.015Z] STF 04:11:12.749 - [2025-05-23T04:11:13.015Z] STF 04:11:12.749 - Script generation completed [2025-05-23T04:11:13.015Z] STF 04:11:12.749 - [2025-05-23T04:11:13.015Z] STF 04:11:12.751 - [2025-05-23T04:11:13.015Z] STF 04:11:12.752 - ======================= S E T U P ======================= [2025-05-23T04:11:13.015Z] STF 04:11:12.752 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17479712298\UpgModPath_ExpImg_1/20250523-041111-UpgModPathTest/setUp.pl [2025-05-23T04:11:13.311Z] STF 04:11:13.146 - SETUP stage completed [2025-05-23T04:11:13.311Z] STF 04:11:13.175 - [2025-05-23T04:11:13.311Z] STF 04:11:13.175 - ==================== E X E C U T E - ==================== [2025-05-23T04:11:13.311Z] STF 04:11:13.175 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17479712298\UpgModPath_ExpImg_1/20250523-041111-UpgModPathTest/execute.pl [2025-05-23T04:11:13.952Z] STF 04:11:13.579 - [2025-05-23T04:11:13.952Z] STF 04:11:13.579 - Java version [2025-05-23T04:11:13.952Z] STF 04:11:13.580 - Running: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/java -version [2025-05-23T04:11:13.952Z] openjdk version "25-beta" 2025-09-16 [2025-05-23T04:11:13.952Z] OpenJDK Runtime Environment Temurin-25+24-202505222039 (build 25-beta+24-ea) [2025-05-23T04:11:13.952Z] OpenJDK 64-Bit Server VM Temurin-25+24-202505222039 (build 25-beta+24-ea, mixed mode) [2025-05-23T04:11:13.952Z] STF 04:11:13.704 - [2025-05-23T04:11:13.952Z] STF 04:11:13.704 - +------ Step 1 - Create com.hello jar [2025-05-23T04:11:13.952Z] STF 04:11:13.704 - | Create modular jar [2025-05-23T04:11:13.952Z] STF 04:11:13.704 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-05-23T04:11:13.952Z] STF 04:11:13.704 - | ModuleVersion: null [2025-05-23T04:11:13.952Z] STF 04:11:13.704 - | MainClass: null [2025-05-23T04:11:13.952Z] STF 04:11:13.704 - | HashModules: null [2025-05-23T04:11:13.952Z] STF 04:11:13.704 - | [2025-05-23T04:11:13.952Z] STF 04:11:13.705 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/UpgModPath_ExpImg_1/20250523-041111-UpgModPathTest/modules/1.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2025-05-23T04:11:13.952Z] STF 04:11:13.706 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/UpgModPath_ExpImg_1/20250523-041111-UpgModPathTest/results/1.CMJ.stderr [2025-05-23T04:11:13.952Z] STF 04:11:13.706 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/UpgModPath_ExpImg_1/20250523-041111-UpgModPathTest/results/1.CMJ.stdout [2025-05-23T04:11:13.952Z] STF 04:11:13.778 - Monitoring processes: CMJ [2025-05-23T04:11:14.249Z] STF 04:11:14.182 - Monitoring Report Summary: [2025-05-23T04:11:14.249Z] STF 04:11:14.183 - o Process CMJ ended with the expected exit code (0) [2025-05-23T04:11:14.249Z] STF 04:11:14.183 - Created modular jar: 1.com.hello.jar [2025-05-23T04:11:14.249Z] STF 04:11:14.184 - [2025-05-23T04:11:14.249Z] STF 04:11:14.184 - +------ Step 2 - Create com.hola jar [2025-05-23T04:11:14.249Z] STF 04:11:14.184 - | Create modular jar [2025-05-23T04:11:14.249Z] STF 04:11:14.184 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-05-23T04:11:14.249Z] STF 04:11:14.184 - | ModuleVersion: null [2025-05-23T04:11:14.249Z] STF 04:11:14.184 - | MainClass: null [2025-05-23T04:11:14.249Z] STF 04:11:14.184 - | HashModules: null [2025-05-23T04:11:14.249Z] STF 04:11:14.184 - | [2025-05-23T04:11:14.249Z] STF 04:11:14.184 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/UpgModPath_ExpImg_1/20250523-041111-UpgModPathTest/modules/2.com.hola.jar -C C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2025-05-23T04:11:14.249Z] STF 04:11:14.184 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/UpgModPath_ExpImg_1/20250523-041111-UpgModPathTest/results/2.CMJ.stderr [2025-05-23T04:11:14.249Z] STF 04:11:14.184 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/UpgModPath_ExpImg_1/20250523-041111-UpgModPathTest/results/2.CMJ.stdout [2025-05-23T04:11:14.249Z] STF 04:11:14.192 - Monitoring processes: CMJ [2025-05-23T04:11:14.891Z] STF 04:11:14.571 - Monitoring Report Summary: [2025-05-23T04:11:14.891Z] STF 04:11:14.572 - o Process CMJ ended with the expected exit code (0) [2025-05-23T04:11:14.891Z] STF 04:11:14.572 - Created modular jar: 2.com.hola.jar [2025-05-23T04:11:14.891Z] STF 04:11:14.572 - [2025-05-23T04:11:14.891Z] STF 04:11:14.572 - +------ Step 3 - Create com.helper jar [2025-05-23T04:11:14.891Z] STF 04:11:14.572 - | Create modular jar [2025-05-23T04:11:14.891Z] STF 04:11:14.573 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-05-23T04:11:14.891Z] STF 04:11:14.573 - | ModuleVersion: null [2025-05-23T04:11:14.891Z] STF 04:11:14.573 - | MainClass: null [2025-05-23T04:11:14.891Z] STF 04:11:14.573 - | HashModules: null [2025-05-23T04:11:14.891Z] STF 04:11:14.573 - | [2025-05-23T04:11:14.891Z] STF 04:11:14.573 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/UpgModPath_ExpImg_1/20250523-041111-UpgModPathTest/modules/3.com.helper.jar -C C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2025-05-23T04:11:14.891Z] STF 04:11:14.573 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/UpgModPath_ExpImg_1/20250523-041111-UpgModPathTest/results/3.CMJ.stderr [2025-05-23T04:11:14.891Z] STF 04:11:14.573 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/UpgModPath_ExpImg_1/20250523-041111-UpgModPathTest/results/3.CMJ.stdout [2025-05-23T04:11:14.891Z] STF 04:11:14.581 - Monitoring processes: CMJ [2025-05-23T04:11:15.253Z] STF 04:11:14.972 - Monitoring Report Summary: [2025-05-23T04:11:15.253Z] STF 04:11:14.972 - o Process CMJ ended with the expected exit code (0) [2025-05-23T04:11:15.253Z] STF 04:11:14.973 - Created modular jar: 3.com.helper.jar [2025-05-23T04:11:15.253Z] STF 04:11:14.973 - [2025-05-23T04:11:15.253Z] STF 04:11:14.973 - +------ Step 4 - Create com.discreet jar [2025-05-23T04:11:15.253Z] STF 04:11:14.973 - | Create modular jar [2025-05-23T04:11:15.253Z] STF 04:11:14.973 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-05-23T04:11:15.253Z] STF 04:11:14.973 - | ModuleVersion: null [2025-05-23T04:11:15.253Z] STF 04:11:14.973 - | MainClass: null [2025-05-23T04:11:15.253Z] STF 04:11:14.973 - | HashModules: null [2025-05-23T04:11:15.253Z] STF 04:11:14.973 - | [2025-05-23T04:11:15.253Z] STF 04:11:14.974 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/UpgModPath_ExpImg_1/20250523-041111-UpgModPathTest/modules/4.com.discreet.jar -C C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2025-05-23T04:11:15.253Z] STF 04:11:14.974 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/UpgModPath_ExpImg_1/20250523-041111-UpgModPathTest/results/4.CMJ.stderr [2025-05-23T04:11:15.253Z] STF 04:11:14.974 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/UpgModPath_ExpImg_1/20250523-041111-UpgModPathTest/results/4.CMJ.stdout [2025-05-23T04:11:15.253Z] STF 04:11:14.982 - Monitoring processes: CMJ [2025-05-23T04:11:15.552Z] STF 04:11:15.413 - Monitoring Report Summary: [2025-05-23T04:11:15.552Z] STF 04:11:15.413 - o Process CMJ ended with the expected exit code (0) [2025-05-23T04:11:15.552Z] STF 04:11:15.414 - Created modular jar: 4.com.discreet.jar [2025-05-23T04:11:15.552Z] STF 04:11:15.414 - [2025-05-23T04:11:15.552Z] STF 04:11:15.414 - +------ Step 5 - Create tests jar [2025-05-23T04:11:15.552Z] STF 04:11:15.414 - | Create modular jar [2025-05-23T04:11:15.552Z] STF 04:11:15.414 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-05-23T04:11:15.552Z] STF 04:11:15.414 - | ModuleVersion: null [2025-05-23T04:11:15.552Z] STF 04:11:15.414 - | MainClass: null [2025-05-23T04:11:15.552Z] STF 04:11:15.414 - | HashModules: null [2025-05-23T04:11:15.552Z] STF 04:11:15.414 - | [2025-05-23T04:11:15.552Z] STF 04:11:15.415 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/UpgModPath_ExpImg_1/20250523-041111-UpgModPathTest/modules/5.com.test.jar -C C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2025-05-23T04:11:15.552Z] STF 04:11:15.415 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/UpgModPath_ExpImg_1/20250523-041111-UpgModPathTest/results/5.CMJ.stderr [2025-05-23T04:11:15.552Z] STF 04:11:15.415 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/UpgModPath_ExpImg_1/20250523-041111-UpgModPathTest/results/5.CMJ.stdout [2025-05-23T04:11:15.552Z] STF 04:11:15.423 - Monitoring processes: CMJ [2025-05-23T04:11:16.193Z] STF 04:11:15.814 - Monitoring Report Summary: [2025-05-23T04:11:16.193Z] STF 04:11:15.814 - o Process CMJ ended with the expected exit code (0) [2025-05-23T04:11:16.193Z] STF 04:11:15.815 - Created modular jar: 5.com.test.jar [2025-05-23T04:11:16.193Z] STF 04:11:15.815 - [2025-05-23T04:11:16.193Z] STF 04:11:15.815 - +------ Step 6 - Create runtime image for upgrademodulepath test [2025-05-23T04:11:16.193Z] STF 04:11:15.815 - | Run jlink to create runtime image [2025-05-23T04:11:16.193Z] STF 04:11:15.815 - | ImageName: UpJVM [2025-05-23T04:11:16.193Z] STF 04:11:15.815 - | [2025-05-23T04:11:16.193Z] STF 04:11:15.816 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jlink --module-path C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jdkbinary\j2sdk-image\jmods;C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\aqa-tests\TKG\output_17479712298\UpgModPath_ExpImg_1\20250523-041111-UpgModPathTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\aqa-tests\TKG\output_17479712298\UpgModPath_ExpImg_1\20250523-041111-UpgModPathTest\tmp\6.UpJVM [2025-05-23T04:11:16.193Z] STF 04:11:15.816 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/UpgModPath_ExpImg_1/20250523-041111-UpgModPathTest/results/6.JLNK.stderr [2025-05-23T04:11:16.193Z] STF 04:11:15.816 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/UpgModPath_ExpImg_1/20250523-041111-UpgModPathTest/results/6.JLNK.stdout [2025-05-23T04:11:16.193Z] STF 04:11:15.824 - Monitoring processes: JLNK [2025-05-23T04:11:18.281Z] STF 04:11:18.001 - Monitoring Report Summary: [2025-05-23T04:11:18.282Z] STF 04:11:18.001 - o Process JLNK ended with the expected exit code (0) [2025-05-23T04:11:18.282Z] STF 04:11:18.002 - [2025-05-23T04:11:18.282Z] STF 04:11:18.002 - +------ Step 7 - Override an application module using a custom runtime image [2025-05-23T04:11:18.282Z] STF 04:11:18.002 - | Run foreground process [2025-05-23T04:11:18.282Z] STF 04:11:18.002 - | Program: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/UpgModPath_ExpImg_1/20250523-041111-UpgModPathTest/tmp/6.UpJVM/bin/java [2025-05-23T04:11:18.282Z] STF 04:11:18.002 - | Mnemonic: OT14 [2025-05-23T04:11:18.282Z] STF 04:11:18.002 - | Echo: ECHO_ON [2025-05-23T04:11:18.282Z] STF 04:11:18.002 - | Expectation: CLEAN_RUN within 1m [2025-05-23T04:11:18.282Z] STF 04:11:18.002 - | [2025-05-23T04:11:18.282Z] STF 04:11:18.003 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/UpgModPath_ExpImg_1/20250523-041111-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello -XX:-UseCompressedOops -classpath C:/Users/jenkins/testDependency/system_lib/junit/junit.jar;C:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2025-05-23T04:11:18.282Z] STF 04:11:18.003 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/UpgModPath_ExpImg_1/20250523-041111-UpgModPathTest/results/7.OT14.stderr [2025-05-23T04:11:18.282Z] STF 04:11:18.003 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/UpgModPath_ExpImg_1/20250523-041111-UpgModPathTest/results/7.OT14.stdout [2025-05-23T04:11:18.282Z] STF 04:11:18.035 - Monitoring processes: OT14 [2025-05-23T04:11:18.578Z] OT14 JUnit version 4.12 [2025-05-23T04:11:18.578Z] OT14 . [2025-05-23T04:11:18.578Z] OT14 Time: 0.007 [2025-05-23T04:11:18.578Z] OT14 [2025-05-23T04:11:18.578Z] OT14 OK (1 test) [2025-05-23T04:11:18.578Z] OT14 [2025-05-23T04:11:18.578Z] STF 04:11:18.446 - Monitoring Report Summary: [2025-05-23T04:11:18.578Z] STF 04:11:18.447 - o Process OT14 ended with the expected exit code (0) [2025-05-23T04:11:18.578Z] STF 04:11:18.447 - [2025-05-23T04:11:18.578Z] STF 04:11:18.447 - +------ Step 8 - (Negative test) Override a non-upgradable platform module using a custom runtime image [2025-05-23T04:11:18.578Z] STF 04:11:18.447 - | Run foreground process [2025-05-23T04:11:18.578Z] STF 04:11:18.448 - | Program: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/UpgModPath_ExpImg_1/20250523-041111-UpgModPathTest/tmp/6.UpJVM/bin/java [2025-05-23T04:11:18.578Z] STF 04:11:18.448 - | Mnemonic: OT16 [2025-05-23T04:11:18.578Z] STF 04:11:18.448 - | Echo: ECHO_ON [2025-05-23T04:11:18.578Z] STF 04:11:18.448 - | Expectation: NON_ZERO_EXIT [1] within 1m [2025-05-23T04:11:18.578Z] STF 04:11:18.448 - | [2025-05-23T04:11:18.578Z] STF 04:11:18.449 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/UpgModPath_ExpImg_1/20250523-041111-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.logging -XX:-UseCompressedOops -classpath C:/Users/jenkins/testDependency/system_lib/junit/junit.jar;C:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingNonUpgradablePlatformModule [2025-05-23T04:11:18.578Z] STF 04:11:18.449 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/UpgModPath_ExpImg_1/20250523-041111-UpgModPathTest/results/8.OT16.stderr [2025-05-23T04:11:18.578Z] STF 04:11:18.449 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/UpgModPath_ExpImg_1/20250523-041111-UpgModPathTest/results/8.OT16.stdout [2025-05-23T04:11:18.578Z] STF 04:11:18.457 - Monitoring processes: OT16 [2025-05-23T04:11:18.875Z] OT16 Error occurred during initialization of boot layer [2025-05-23T04:11:18.875Z] OT16 java.lang.module.FindException: Unable to compute the hash of module java.logging [2025-05-23T04:11:18.875Z] STF 04:11:18.670 - Monitoring Report Summary: [2025-05-23T04:11:18.875Z] STF 04:11:18.671 - o Process OT16 ended with the expected exit code (1) [2025-05-23T04:11:18.875Z] STF 04:11:18.671 - [2025-05-23T04:11:18.875Z] STF 04:11:18.672 - +------ Step 9 - Combine stderr and stdout files of process OT16 [2025-05-23T04:11:18.875Z] STF 04:11:18.672 - | Run foreground process [2025-05-23T04:11:18.875Z] STF 04:11:18.672 - | Program: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/java [2025-05-23T04:11:18.875Z] STF 04:11:18.672 - | Mnemonic: CO [2025-05-23T04:11:18.875Z] STF 04:11:18.672 - | Echo: ECHO_OFF [2025-05-23T04:11:18.875Z] STF 04:11:18.672 - | Expectation: NON_ZERO_EXIT [0] within 5m [2025-05-23T04:11:18.875Z] STF 04:11:18.672 - | [2025-05-23T04:11:18.875Z] STF 04:11:18.672 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/java -Dfile1=C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/UpgModPath_ExpImg_1/20250523-041111-UpgModPathTest/results/8.OT16.stdout -Dfile2=C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/UpgModPath_ExpImg_1/20250523-041111-UpgModPathTest/results/8.OT16.stderr -Dfinal.file=C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\aqa-tests\TKG\output_17479712298\UpgModPath_ExpImg_1\20250523-041111-UpgModPathTest\results\combinedOT16.txt -XX:-UseCompressedOops -classpath C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\STF\stf.core\bin;C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin net.adoptopenjdk.test.modularity.TestUtil [2025-05-23T04:11:18.875Z] STF 04:11:18.672 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/UpgModPath_ExpImg_1/20250523-041111-UpgModPathTest/results/9.CO.stderr [2025-05-23T04:11:18.875Z] STF 04:11:18.673 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/UpgModPath_ExpImg_1/20250523-041111-UpgModPathTest/results/9.CO.stdout [2025-05-23T04:11:18.875Z] STF 04:11:18.680 - Monitoring processes: CO [2025-05-23T04:11:19.173Z] STF 04:11:18.910 - Monitoring Report Summary: [2025-05-23T04:11:19.173Z] STF 04:11:18.911 - o Process CO ended with the expected exit code (0) [2025-05-23T04:11:19.173Z] STF 04:11:18.912 - [2025-05-23T04:11:19.173Z] STF 04:11:18.912 - +------ Step 10 - Check output [2025-05-23T04:11:19.173Z] STF 04:11:18.912 - | Count file matches [2025-05-23T04:11:19.173Z] STF 04:11:18.912 - | TargetFile: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/UpgModPath_ExpImg_1/20250523-041111-UpgModPathTest/results/combinedOT16.txt [2025-05-23T04:11:19.173Z] STF 04:11:18.912 - | ExpectedNumMatches: 1 [2025-05-23T04:11:19.173Z] STF 04:11:18.912 - | SearchStrings: ["FindException: Unable to compute the hash of module java.logging"] [2025-05-23T04:11:19.173Z] STF 04:11:18.912 - | [2025-05-23T04:11:19.173Z] STF 04:11:18.913 - Found 1 instances of ["FindException: Unable to compute the hash of module java.logging"] [2025-05-23T04:11:19.173Z] STF 04:11:18.913 - EXECUTE stage completed [2025-05-23T04:11:19.173Z] STF 04:11:18.974 - [2025-05-23T04:11:19.173Z] STF 04:11:18.974 - ==================== T E A R D O W N ==================== [2025-05-23T04:11:19.173Z] STF 04:11:18.974 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17479712298\UpgModPath_ExpImg_1/20250523-041111-UpgModPathTest/tearDown.pl [2025-05-23T04:11:19.469Z] STF 04:11:19.372 - TEARDOWN stage completed [2025-05-23T04:11:19.469Z] STF 04:11:19.404 - [2025-05-23T04:11:19.469Z] STF 04:11:19.404 - ===================== R E S U L T S ===================== [2025-05-23T04:11:19.469Z] STF 04:11:19.404 - Stage results: [2025-05-23T04:11:19.469Z] STF 04:11:19.404 - setUp: pass [2025-05-23T04:11:19.469Z] STF 04:11:19.404 - execute: pass [2025-05-23T04:11:19.469Z] STF 04:11:19.404 - teardown: pass [2025-05-23T04:11:19.469Z] STF 04:11:19.404 - [2025-05-23T04:11:19.469Z] STF 04:11:19.404 - Overall result: PASSED [2025-05-23T04:11:19.469Z] ----------------------------------- [2025-05-23T04:11:19.469Z] UpgModPath_ExpImg_1_PASSED [2025-05-23T04:11:19.469Z] ----------------------------------- [2025-05-23T04:11:19.768Z] [2025-05-23T04:11:19.768Z] TEST TEARDOWN: [2025-05-23T04:11:19.768Z] Nothing to be done for teardown. [2025-05-23T04:11:20.064Z] UpgModPath_ExpImg_1 Finish Time: Fri May 23 04:11:19 2025 Epoch Time (ms): 1747973479830