UpgModPath_Exp_1

[2025-05-23T04:08:24.844Z] Running test UpgModPath_Exp_1 ... [2025-05-23T04:08:25.144Z] =============================================== [2025-05-23T04:08:25.445Z] UpgModPath_Exp_1 Start Time: Fri May 23 04:08:25 2025 Epoch Time (ms): 1747973305167 [2025-05-23T04:08:25.445Z] variation: Mode650 [2025-05-23T04:08:25.745Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-05-23T04:08:25.745Z] { \ [2025-05-23T04:08:25.745Z] echo ""; echo "TEST SETUP:"; \ [2025-05-23T04:08:25.745Z] echo "Nothing to be done for setup."; \ [2025-05-23T04:08:25.745Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17479714157918\\UpgModPath_Exp_1"; \ [2025-05-23T04:08:25.745Z] cd "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17479714157918\\UpgModPath_Exp_1"; \ [2025-05-23T04:08:25.745Z] echo ""; echo "TESTING:"; \ [2025-05-23T04:08:25.745Z] perl C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/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_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/../../testDependency/system_lib\\" -java-args=' -XX:-UseCompressedOops ' -results-root="C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17479714157918\\UpgModPath_Exp_1" -test=UpgModPathTest -test-args="variant=Exp"; \ [2025-05-23T04:08:25.745Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_Exp_1""_PASSED"; echo "-----------------------------------"; cd C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/; rm -f -r "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17479714157918\\UpgModPath_Exp_1"; else echo "-----------------------------------"; echo "UpgModPath_Exp_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-05-23T04:08:25.745Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-05-23T04:08:25.745Z] echo "Nothing to be done for teardown."; \ [2025-05-23T04:08:25.745Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17479714157918\\TestTargetResult"; [2025-05-23T04:08:26.046Z] [2025-05-23T04:08:26.046Z] TEST SETUP: [2025-05-23T04:08:26.046Z] Nothing to be done for setup. [2025-05-23T04:08:26.046Z] [2025-05-23T04:08:26.046Z] TESTING: [2025-05-23T04:08:26.346Z] STF 04:08:26.198 - ========================= S T F ========================= [2025-05-23T04:08:26.346Z] 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_1/aqa-tests/\TKG\output_17479714157918\UpgModPath_Exp_1 [2025-05-23T04:08:26.646Z] There is 21764 Mb free [2025-05-23T04:08:26.646Z] STF 04:08:26.273 - ================== G E N E R A T I O N ================== [2025-05-23T04:08:26.646Z] STF 04:08:26.278 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image [2025-05-23T04:08:26.646Z] STF 04:08:26.279 - Starting process to generate scripts: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/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_1/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_1/../../testDependency/system_lib\/asm/asm.jar;C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/../../testDependency/system_lib\/asm/asm-commons.jar;C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-api.jar;C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/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_1/aqa-tests/\TKG\output_17479714157918\UpgModPath_Exp_1/20250523-040826-UpgModPathTest/stf_parameters.properties, , C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17479714157918\UpgModPath_Exp_1/20250523-040826-UpgModPathTest" [2025-05-23T04:08:27.707Z] GEN 04:08:27.447 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: 'C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2025-05-23T04:08:27.707Z] GEN 04:08:27.462 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2025-05-23T04:08:27.707Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-05-23T04:08:27.707Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2025-05-23T04:08:27.707Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2025-05-23T04:08:27.707Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2025-05-23T04:08:27.707Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2025-05-23T04:08:27.707Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2025-05-23T04:08:27.707Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2025-05-23T04:08:27.707Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2025-05-23T04:08:27.707Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2025-05-23T04:08:27.707Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2025-05-23T04:08:27.707Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2025-05-23T04:08:27.707Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2025-05-23T04:08:27.707Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2025-05-23T04:08:27.707Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-05-23T04:08:27.707Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-05-23T04:08:27.707Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-05-23T04:08:27.707Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2025-05-23T04:08:27.707Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-05-23T04:08:27.707Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-05-23T04:08:27.707Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar [2025-05-23T04:08:28.008Z] GEN 04:08:27.712 - Using Mode NoOptions. Values = '' [2025-05-23T04:08:28.008Z] GEN 04:08:27.803 - [2025-05-23T04:08:28.008Z] GEN 04:08:27.803 - Test command summary: [2025-05-23T04:08:28.008Z] GEN 04:08:27.804 - Step Stage Command Description [2025-05-23T04:08:28.008Z] GEN 04:08:27.804 - -----+--------+-----------------+------------ [2025-05-23T04:08:28.008Z] GEN 04:08:27.804 - 1 execute jar Create com.hello jar [2025-05-23T04:08:28.008Z] GEN 04:08:27.804 - 2 execute jar Create com.hola jar [2025-05-23T04:08:28.008Z] GEN 04:08:27.804 - 3 execute jar Create com.helper jar [2025-05-23T04:08:28.008Z] GEN 04:08:27.804 - 4 execute jar Create com.discreet jar [2025-05-23T04:08:28.008Z] GEN 04:08:27.804 - 5 execute jar Create tests jar [2025-05-23T04:08:28.008Z] GEN 04:08:27.804 - 6 execute jlink Create runtime image for upgrademodulepath test [2025-05-23T04:08:28.008Z] GEN 04:08:27.804 - 7 execute Run java Override an application module [2025-05-23T04:08:28.008Z] GEN 04:08:27.804 - 8 execute Run java (Negative test) Override a non-upgradable platform module [2025-05-23T04:08:28.008Z] GEN 04:08:27.804 - 9 execute Run java Combine stderr and stdout files of process OT13 [2025-05-23T04:08:28.008Z] GEN 04:08:27.804 - 10 execute count Check output [2025-05-23T04:08:28.008Z] STF 04:08:27.849 - [2025-05-23T04:08:28.008Z] STF 04:08:27.849 - Script generation completed [2025-05-23T04:08:28.008Z] STF 04:08:27.849 - [2025-05-23T04:08:28.008Z] STF 04:08:27.851 - [2025-05-23T04:08:28.008Z] STF 04:08:27.851 - ======================= S E T U P ======================= [2025-05-23T04:08:28.008Z] STF 04:08:27.851 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17479714157918\UpgModPath_Exp_1/20250523-040826-UpgModPathTest/setUp.pl [2025-05-23T04:08:28.308Z] STF 04:08:28.218 - SETUP stage completed [2025-05-23T04:08:28.309Z] STF 04:08:28.247 - [2025-05-23T04:08:28.309Z] STF 04:08:28.248 - ==================== E X E C U T E - ==================== [2025-05-23T04:08:28.309Z] STF 04:08:28.248 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17479714157918\UpgModPath_Exp_1/20250523-040826-UpgModPathTest/execute.pl [2025-05-23T04:08:28.961Z] STF 04:08:28.624 - [2025-05-23T04:08:28.961Z] STF 04:08:28.624 - Java version [2025-05-23T04:08:28.961Z] STF 04:08:28.624 - Running: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2025-05-23T04:08:28.961Z] openjdk version "25-beta" 2025-09-16 [2025-05-23T04:08:28.961Z] OpenJDK Runtime Environment Temurin-25+24-202505222039 (build 25-beta+24-ea) [2025-05-23T04:08:28.961Z] OpenJDK 64-Bit Server VM Temurin-25+24-202505222039 (build 25-beta+24-ea, mixed mode) [2025-05-23T04:08:28.961Z] STF 04:08:28.746 - [2025-05-23T04:08:28.961Z] STF 04:08:28.747 - +------ Step 1 - Create com.hello jar [2025-05-23T04:08:28.961Z] STF 04:08:28.747 - | Create modular jar [2025-05-23T04:08:28.961Z] STF 04:08:28.747 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-05-23T04:08:28.961Z] STF 04:08:28.747 - | ModuleVersion: null [2025-05-23T04:08:28.961Z] STF 04:08:28.747 - | MainClass: null [2025-05-23T04:08:28.961Z] STF 04:08:28.747 - | HashModules: null [2025-05-23T04:08:28.961Z] STF 04:08:28.747 - | [2025-05-23T04:08:28.961Z] STF 04:08:28.748 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17479714157918/UpgModPath_Exp_1/20250523-040826-UpgModPathTest/modules/1.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2025-05-23T04:08:28.961Z] STF 04:08:28.748 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17479714157918/UpgModPath_Exp_1/20250523-040826-UpgModPathTest/results/1.CMJ.stderr [2025-05-23T04:08:28.961Z] STF 04:08:28.748 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17479714157918/UpgModPath_Exp_1/20250523-040826-UpgModPathTest/results/1.CMJ.stdout [2025-05-23T04:08:28.961Z] STF 04:08:28.816 - Monitoring processes: CMJ [2025-05-23T04:08:29.262Z] STF 04:08:29.172 - Monitoring Report Summary: [2025-05-23T04:08:29.262Z] STF 04:08:29.172 - o Process CMJ ended with the expected exit code (0) [2025-05-23T04:08:29.262Z] STF 04:08:29.173 - Created modular jar: 1.com.hello.jar [2025-05-23T04:08:29.262Z] STF 04:08:29.173 - [2025-05-23T04:08:29.262Z] STF 04:08:29.173 - +------ Step 2 - Create com.hola jar [2025-05-23T04:08:29.262Z] STF 04:08:29.173 - | Create modular jar [2025-05-23T04:08:29.262Z] STF 04:08:29.173 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-05-23T04:08:29.262Z] STF 04:08:29.173 - | ModuleVersion: null [2025-05-23T04:08:29.262Z] STF 04:08:29.173 - | MainClass: null [2025-05-23T04:08:29.262Z] STF 04:08:29.173 - | HashModules: null [2025-05-23T04:08:29.262Z] STF 04:08:29.173 - | [2025-05-23T04:08:29.262Z] STF 04:08:29.174 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17479714157918/UpgModPath_Exp_1/20250523-040826-UpgModPathTest/modules/2.com.hola.jar -C C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2025-05-23T04:08:29.262Z] STF 04:08:29.174 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17479714157918/UpgModPath_Exp_1/20250523-040826-UpgModPathTest/results/2.CMJ.stderr [2025-05-23T04:08:29.262Z] STF 04:08:29.174 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17479714157918/UpgModPath_Exp_1/20250523-040826-UpgModPathTest/results/2.CMJ.stdout [2025-05-23T04:08:29.262Z] STF 04:08:29.181 - Monitoring processes: CMJ [2025-05-23T04:08:29.913Z] STF 04:08:29.550 - Monitoring Report Summary: [2025-05-23T04:08:29.913Z] STF 04:08:29.550 - o Process CMJ ended with the expected exit code (0) [2025-05-23T04:08:29.913Z] STF 04:08:29.551 - Created modular jar: 2.com.hola.jar [2025-05-23T04:08:29.913Z] STF 04:08:29.551 - [2025-05-23T04:08:29.913Z] STF 04:08:29.551 - +------ Step 3 - Create com.helper jar [2025-05-23T04:08:29.913Z] STF 04:08:29.551 - | Create modular jar [2025-05-23T04:08:29.913Z] STF 04:08:29.551 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-05-23T04:08:29.913Z] STF 04:08:29.551 - | ModuleVersion: null [2025-05-23T04:08:29.913Z] STF 04:08:29.551 - | MainClass: null [2025-05-23T04:08:29.913Z] STF 04:08:29.552 - | HashModules: null [2025-05-23T04:08:29.913Z] STF 04:08:29.552 - | [2025-05-23T04:08:29.913Z] STF 04:08:29.552 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17479714157918/UpgModPath_Exp_1/20250523-040826-UpgModPathTest/modules/3.com.helper.jar -C C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2025-05-23T04:08:29.913Z] STF 04:08:29.552 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17479714157918/UpgModPath_Exp_1/20250523-040826-UpgModPathTest/results/3.CMJ.stderr [2025-05-23T04:08:29.913Z] STF 04:08:29.552 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17479714157918/UpgModPath_Exp_1/20250523-040826-UpgModPathTest/results/3.CMJ.stdout [2025-05-23T04:08:29.913Z] STF 04:08:29.560 - Monitoring processes: CMJ [2025-05-23T04:08:30.213Z] STF 04:08:29.912 - Monitoring Report Summary: [2025-05-23T04:08:30.213Z] STF 04:08:29.912 - o Process CMJ ended with the expected exit code (0) [2025-05-23T04:08:30.213Z] STF 04:08:29.913 - Created modular jar: 3.com.helper.jar [2025-05-23T04:08:30.213Z] STF 04:08:29.913 - [2025-05-23T04:08:30.213Z] STF 04:08:29.913 - +------ Step 4 - Create com.discreet jar [2025-05-23T04:08:30.213Z] STF 04:08:29.913 - | Create modular jar [2025-05-23T04:08:30.213Z] STF 04:08:29.913 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-05-23T04:08:30.213Z] STF 04:08:29.913 - | ModuleVersion: null [2025-05-23T04:08:30.213Z] STF 04:08:29.913 - | MainClass: null [2025-05-23T04:08:30.213Z] STF 04:08:29.913 - | HashModules: null [2025-05-23T04:08:30.213Z] STF 04:08:29.913 - | [2025-05-23T04:08:30.213Z] STF 04:08:29.914 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17479714157918/UpgModPath_Exp_1/20250523-040826-UpgModPathTest/modules/4.com.discreet.jar -C C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2025-05-23T04:08:30.213Z] STF 04:08:29.914 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17479714157918/UpgModPath_Exp_1/20250523-040826-UpgModPathTest/results/4.CMJ.stderr [2025-05-23T04:08:30.213Z] STF 04:08:29.914 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17479714157918/UpgModPath_Exp_1/20250523-040826-UpgModPathTest/results/4.CMJ.stdout [2025-05-23T04:08:30.213Z] STF 04:08:29.921 - Monitoring processes: CMJ [2025-05-23T04:08:30.513Z] STF 04:08:30.292 - Monitoring Report Summary: [2025-05-23T04:08:30.514Z] STF 04:08:30.292 - o Process CMJ ended with the expected exit code (0) [2025-05-23T04:08:30.514Z] STF 04:08:30.293 - Created modular jar: 4.com.discreet.jar [2025-05-23T04:08:30.514Z] STF 04:08:30.293 - [2025-05-23T04:08:30.514Z] STF 04:08:30.293 - +------ Step 5 - Create tests jar [2025-05-23T04:08:30.514Z] STF 04:08:30.293 - | Create modular jar [2025-05-23T04:08:30.514Z] STF 04:08:30.293 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-05-23T04:08:30.514Z] STF 04:08:30.293 - | ModuleVersion: null [2025-05-23T04:08:30.514Z] STF 04:08:30.293 - | MainClass: null [2025-05-23T04:08:30.514Z] STF 04:08:30.293 - | HashModules: null [2025-05-23T04:08:30.514Z] STF 04:08:30.293 - | [2025-05-23T04:08:30.514Z] STF 04:08:30.294 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17479714157918/UpgModPath_Exp_1/20250523-040826-UpgModPathTest/modules/5.com.test.jar -C C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2025-05-23T04:08:30.514Z] STF 04:08:30.294 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17479714157918/UpgModPath_Exp_1/20250523-040826-UpgModPathTest/results/5.CMJ.stderr [2025-05-23T04:08:30.514Z] STF 04:08:30.294 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17479714157918/UpgModPath_Exp_1/20250523-040826-UpgModPathTest/results/5.CMJ.stdout [2025-05-23T04:08:30.514Z] STF 04:08:30.301 - Monitoring processes: CMJ [2025-05-23T04:08:30.815Z] STF 04:08:30.670 - Monitoring Report Summary: [2025-05-23T04:08:30.815Z] STF 04:08:30.670 - o Process CMJ ended with the expected exit code (0) [2025-05-23T04:08:30.815Z] STF 04:08:30.670 - Created modular jar: 5.com.test.jar [2025-05-23T04:08:30.815Z] STF 04:08:30.671 - [2025-05-23T04:08:30.815Z] STF 04:08:30.671 - +------ Step 6 - Create runtime image for upgrademodulepath test [2025-05-23T04:08:30.815Z] STF 04:08:30.671 - | Run jlink to create runtime image [2025-05-23T04:08:30.815Z] STF 04:08:30.671 - | ImageName: UpJVM [2025-05-23T04:08:30.815Z] STF 04:08:30.671 - | [2025-05-23T04:08:30.815Z] STF 04:08:30.671 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jdkbinary\j2sdk-image\jmods;C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\aqa-tests\TKG\output_17479714157918\UpgModPath_Exp_1\20250523-040826-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_1\aqa-tests\TKG\output_17479714157918\UpgModPath_Exp_1\20250523-040826-UpgModPathTest\tmp\6.UpJVM [2025-05-23T04:08:30.815Z] STF 04:08:30.672 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17479714157918/UpgModPath_Exp_1/20250523-040826-UpgModPathTest/results/6.JLNK.stderr [2025-05-23T04:08:30.815Z] STF 04:08:30.672 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17479714157918/UpgModPath_Exp_1/20250523-040826-UpgModPathTest/results/6.JLNK.stdout [2025-05-23T04:08:30.815Z] STF 04:08:30.679 - Monitoring processes: JLNK [2025-05-23T04:08:32.947Z] STF 04:08:32.497 - Monitoring Report Summary: [2025-05-23T04:08:32.947Z] STF 04:08:32.497 - o Process JLNK ended with the expected exit code (0) [2025-05-23T04:08:32.947Z] STF 04:08:32.498 - [2025-05-23T04:08:32.947Z] STF 04:08:32.498 - +------ Step 7 - Override an application module [2025-05-23T04:08:32.947Z] STF 04:08:32.498 - | Run foreground process [2025-05-23T04:08:32.947Z] STF 04:08:32.498 - | Program: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2025-05-23T04:08:32.947Z] STF 04:08:32.498 - | Mnemonic: OT11 [2025-05-23T04:08:32.947Z] STF 04:08:32.498 - | Echo: ECHO_ON [2025-05-23T04:08:32.947Z] STF 04:08:32.498 - | Expectation: CLEAN_RUN within 1m [2025-05-23T04:08:32.947Z] STF 04:08:32.498 - | [2025-05-23T04:08:32.947Z] STF 04:08:32.499 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --upgrade-module-path C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello --add-modules=com.test -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:08:32.947Z] STF 04:08:32.499 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17479714157918/UpgModPath_Exp_1/20250523-040826-UpgModPathTest/results/7.OT11.stderr [2025-05-23T04:08:32.947Z] STF 04:08:32.499 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17479714157918/UpgModPath_Exp_1/20250523-040826-UpgModPathTest/results/7.OT11.stdout [2025-05-23T04:08:32.947Z] STF 04:08:32.506 - Monitoring processes: OT11 [2025-05-23T04:08:32.947Z] OT11 JUnit version 4.12 [2025-05-23T04:08:32.947Z] OT11 . [2025-05-23T04:08:32.947Z] OT11 Time: 0.006 [2025-05-23T04:08:32.947Z] OT11 [2025-05-23T04:08:32.947Z] OT11 OK (1 test) [2025-05-23T04:08:32.947Z] OT11 [2025-05-23T04:08:33.248Z] STF 04:08:32.913 - Monitoring Report Summary: [2025-05-23T04:08:33.248Z] STF 04:08:32.913 - o Process OT11 ended with the expected exit code (0) [2025-05-23T04:08:33.248Z] STF 04:08:32.914 - [2025-05-23T04:08:33.248Z] STF 04:08:32.914 - +------ Step 8 - (Negative test) Override a non-upgradable platform module [2025-05-23T04:08:33.248Z] STF 04:08:32.914 - | Run foreground process [2025-05-23T04:08:33.248Z] STF 04:08:32.914 - | Program: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2025-05-23T04:08:33.248Z] STF 04:08:32.914 - | Mnemonic: OT13 [2025-05-23T04:08:33.248Z] STF 04:08:32.914 - | Echo: ECHO_ON [2025-05-23T04:08:33.248Z] STF 04:08:32.914 - | Expectation: NON_ZERO_EXIT [1] within 1m [2025-05-23T04:08:33.248Z] STF 04:08:32.914 - | [2025-05-23T04:08:33.248Z] STF 04:08:32.915 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --upgrade-module-path C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.logging --add-modules=com.test -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:08:33.248Z] STF 04:08:32.915 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17479714157918/UpgModPath_Exp_1/20250523-040826-UpgModPathTest/results/8.OT13.stderr [2025-05-23T04:08:33.248Z] STF 04:08:32.915 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17479714157918/UpgModPath_Exp_1/20250523-040826-UpgModPathTest/results/8.OT13.stdout [2025-05-23T04:08:33.248Z] STF 04:08:32.923 - Monitoring processes: OT13 [2025-05-23T04:08:33.248Z] OT13 Error occurred during initialization of boot layer [2025-05-23T04:08:33.248Z] OT13 java.lang.module.FindException: Unable to compute the hash of module java.logging [2025-05-23T04:08:33.248Z] STF 04:08:33.182 - Monitoring Report Summary: [2025-05-23T04:08:33.248Z] STF 04:08:33.182 - o Process OT13 ended with the expected exit code (1) [2025-05-23T04:08:33.248Z] STF 04:08:33.183 - [2025-05-23T04:08:33.248Z] STF 04:08:33.183 - +------ Step 9 - Combine stderr and stdout files of process OT13 [2025-05-23T04:08:33.248Z] STF 04:08:33.183 - | Run foreground process [2025-05-23T04:08:33.248Z] STF 04:08:33.183 - | Program: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2025-05-23T04:08:33.248Z] STF 04:08:33.183 - | Mnemonic: CO [2025-05-23T04:08:33.248Z] STF 04:08:33.183 - | Echo: ECHO_OFF [2025-05-23T04:08:33.248Z] STF 04:08:33.183 - | Expectation: NON_ZERO_EXIT [0] within 30s [2025-05-23T04:08:33.248Z] STF 04:08:33.183 - | [2025-05-23T04:08:33.248Z] STF 04:08:33.184 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -Dfile1=C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17479714157918/UpgModPath_Exp_1/20250523-040826-UpgModPathTest/results/8.OT13.stdout -Dfile2=C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17479714157918/UpgModPath_Exp_1/20250523-040826-UpgModPathTest/results/8.OT13.stderr -Dfinal.file=C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\aqa-tests\TKG\output_17479714157918\UpgModPath_Exp_1\20250523-040826-UpgModPathTest\results\combinedOT13.txt -XX:-UseCompressedOops -classpath C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\STF\stf.core\bin;C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin net.adoptopenjdk.test.modularity.TestUtil [2025-05-23T04:08:33.248Z] STF 04:08:33.184 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17479714157918/UpgModPath_Exp_1/20250523-040826-UpgModPathTest/results/9.CO.stderr [2025-05-23T04:08:33.248Z] STF 04:08:33.184 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17479714157918/UpgModPath_Exp_1/20250523-040826-UpgModPathTest/results/9.CO.stdout [2025-05-23T04:08:33.248Z] STF 04:08:33.192 - Monitoring processes: CO [2025-05-23T04:08:33.549Z] STF 04:08:33.406 - Monitoring Report Summary: [2025-05-23T04:08:33.549Z] STF 04:08:33.406 - o Process CO ended with the expected exit code (0) [2025-05-23T04:08:33.549Z] STF 04:08:33.407 - [2025-05-23T04:08:33.549Z] STF 04:08:33.407 - +------ Step 10 - Check output [2025-05-23T04:08:33.549Z] STF 04:08:33.407 - | Count file matches [2025-05-23T04:08:33.549Z] STF 04:08:33.407 - | TargetFile: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17479714157918/UpgModPath_Exp_1/20250523-040826-UpgModPathTest/results/combinedOT13.txt [2025-05-23T04:08:33.549Z] STF 04:08:33.407 - | ExpectedNumMatches: 1 [2025-05-23T04:08:33.549Z] STF 04:08:33.407 - | SearchStrings: ["FindException: Unable to compute the hash of module java.logging"] [2025-05-23T04:08:33.549Z] STF 04:08:33.407 - | [2025-05-23T04:08:33.549Z] STF 04:08:33.421 - Found 1 instances of ["FindException: Unable to compute the hash of module java.logging"] [2025-05-23T04:08:33.549Z] STF 04:08:33.421 - EXECUTE stage completed [2025-05-23T04:08:33.549Z] STF 04:08:33.513 - [2025-05-23T04:08:33.549Z] STF 04:08:33.513 - ==================== T E A R D O W N ==================== [2025-05-23T04:08:33.549Z] STF 04:08:33.513 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17479714157918\UpgModPath_Exp_1/20250523-040826-UpgModPathTest/tearDown.pl [2025-05-23T04:08:34.203Z] STF 04:08:33.871 - TEARDOWN stage completed [2025-05-23T04:08:34.203Z] STF 04:08:33.925 - [2025-05-23T04:08:34.203Z] STF 04:08:33.925 - ===================== R E S U L T S ===================== [2025-05-23T04:08:34.203Z] STF 04:08:33.925 - Stage results: [2025-05-23T04:08:34.203Z] STF 04:08:33.925 - setUp: pass [2025-05-23T04:08:34.203Z] STF 04:08:33.925 - execute: pass [2025-05-23T04:08:34.203Z] STF 04:08:33.925 - teardown: pass [2025-05-23T04:08:34.203Z] STF 04:08:33.925 - [2025-05-23T04:08:34.203Z] STF 04:08:33.925 - Overall result: PASSED [2025-05-23T04:08:34.203Z] ----------------------------------- [2025-05-23T04:08:34.203Z] UpgModPath_Exp_1_PASSED [2025-05-23T04:08:34.203Z] ----------------------------------- [2025-05-23T04:08:34.203Z] [2025-05-23T04:08:34.203Z] TEST TEARDOWN: [2025-05-23T04:08:34.203Z] Nothing to be done for teardown. [2025-05-23T04:08:34.502Z] UpgModPath_Exp_1 Finish Time: Fri May 23 04:08:34 2025 Epoch Time (ms): 1747973314324