UpgModPath_Exp_0

[2025-08-27T23:04:29.952Z] Running test UpgModPath_Exp_0 ... [2025-08-27T23:04:29.952Z] =============================================== [2025-08-27T23:04:30.325Z] UpgModPath_Exp_0 Start Time: Wed Aug 27 23:04:30 2025 Epoch Time (ms): 1756335870181 [2025-08-27T23:04:30.617Z] variation: Mode150 [2025-08-27T23:04:30.910Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-08-27T23:04:30.910Z] { \ [2025-08-27T23:04:30.910Z] echo ""; echo "TEST SETUP:"; \ [2025-08-27T23:04:30.910Z] echo "Nothing to be done for setup."; \ [2025-08-27T23:04:30.910Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17563337628859\\UpgModPath_Exp_0"; \ [2025-08-27T23:04:30.910Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17563337628859\\UpgModPath_Exp_0"; \ [2025-08-27T23:04:30.910Z] echo ""; echo "TESTING:"; \ [2025-08-27T23:04:30.910Z] perl C:/Users/jenkins/workspace/Test_openjdk21_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_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../externalDependency/system_lib\\" -java-args=' -XX:+UseCompressedOops ' -results-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17563337628859\\UpgModPath_Exp_0" -test=UpgModPathTest -test-args="variant=Exp"; \ [2025-08-27T23:04:30.910Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_Exp_0""_PASSED"; echo "-----------------------------------"; cd C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/; rm -f -r "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17563337628859\\UpgModPath_Exp_0"; else echo "-----------------------------------"; echo "UpgModPath_Exp_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-08-27T23:04:30.910Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-08-27T23:04:30.910Z] echo "Nothing to be done for teardown."; \ [2025-08-27T23:04:30.910Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17563337628859\\TestTargetResult"; [2025-08-27T23:04:31.206Z] [2025-08-27T23:04:31.206Z] TEST SETUP: [2025-08-27T23:04:31.206Z] Nothing to be done for setup. [2025-08-27T23:04:31.206Z] [2025-08-27T23:04:31.206Z] TESTING: [2025-08-27T23:04:31.498Z] STF 23:04:31.275 - ========================= S T F ========================= [2025-08-27T23:04:31.498Z] systemtest-prereqs has been processed, and set to: C:/Users/jenkins/externalDependency/system_libRetrieving amount of free space on drive containing C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17563337628859\UpgModPath_Exp_0 [2025-08-27T23:04:31.498Z] There is 19481 Mb free [2025-08-27T23:04:31.498Z] STF 23:04:31.360 - ================== G E N E R A T I O N ================== [2025-08-27T23:04:31.498Z] STF 23:04:31.366 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image [2025-08-27T23:04:31.498Z] STF 23:04:31.367 - Starting process to generate scripts: C:/Users/jenkins/workspace/Test_openjdk21_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_openjdk21_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_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../externalDependency/system_lib\/asm/asm.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../externalDependency/system_lib\/asm/asm-commons.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../externalDependency/system_lib\/log4j/log4j-api.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../externalDependency/system_lib\/log4j/log4j-core.jar;C:/Users/jenkins/workspace/Test_openjdk21_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_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17563337628859\UpgModPath_Exp_0/20250827-230431-UpgModPathTest/stf_parameters.properties, , C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17563337628859\UpgModPath_Exp_0/20250827-230431-UpgModPathTest" [2025-08-27T23:04:31.498Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-27T23:04:33.022Z] GEN 23:04:32.666 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: 'C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2025-08-27T23:04:33.022Z] GEN 23:04:32.681 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2025-08-27T23:04:33.022Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-08-27T23:04:33.022Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2025-08-27T23:04:33.022Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2025-08-27T23:04:33.022Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2025-08-27T23:04:33.022Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2025-08-27T23:04:33.022Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2025-08-27T23:04:33.022Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2025-08-27T23:04:33.022Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2025-08-27T23:04:33.022Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2025-08-27T23:04:33.022Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2025-08-27T23:04:33.022Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2025-08-27T23:04:33.022Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2025-08-27T23:04:33.022Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2025-08-27T23:04:33.022Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-08-27T23:04:33.022Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-08-27T23:04:33.022Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-08-27T23:04:33.022Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2025-08-27T23:04:33.022Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-api.jar [2025-08-27T23:04:33.022Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-core.jar [2025-08-27T23:04:33.022Z] GEN C:/Users/jenkins/externalDependency/system_lib/junit/junit.jar [2025-08-27T23:04:33.022Z] GEN 23:04:32.931 - Using Mode NoOptions. Values = '' [2025-08-27T23:04:33.315Z] GEN 23:04:33.087 - [2025-08-27T23:04:33.315Z] GEN 23:04:33.087 - Test command summary: [2025-08-27T23:04:33.315Z] GEN 23:04:33.087 - Step Stage Command Description [2025-08-27T23:04:33.315Z] GEN 23:04:33.087 - -----+--------+-----------------+------------ [2025-08-27T23:04:33.315Z] GEN 23:04:33.087 - 1 execute jar Create com.hello jar [2025-08-27T23:04:33.315Z] GEN 23:04:33.087 - 2 execute jar Create com.hola jar [2025-08-27T23:04:33.315Z] GEN 23:04:33.087 - 3 execute jar Create com.helper jar [2025-08-27T23:04:33.315Z] GEN 23:04:33.087 - 4 execute jar Create com.discreet jar [2025-08-27T23:04:33.315Z] GEN 23:04:33.087 - 5 execute jar Create tests jar [2025-08-27T23:04:33.315Z] GEN 23:04:33.087 - 6 execute jlink Create runtime image for upgrademodulepath test [2025-08-27T23:04:33.315Z] GEN 23:04:33.087 - 7 execute Run java Override an application module [2025-08-27T23:04:33.315Z] GEN 23:04:33.087 - 8 execute Run java (Negative test) Override a non-upgradable platform module [2025-08-27T23:04:33.315Z] GEN 23:04:33.087 - 9 execute Run java Combine stderr and stdout files of process OT13 [2025-08-27T23:04:33.315Z] GEN 23:04:33.087 - 10 execute count Check output [2025-08-27T23:04:33.315Z] STF 23:04:33.122 - [2025-08-27T23:04:33.315Z] STF 23:04:33.122 - Script generation completed [2025-08-27T23:04:33.315Z] STF 23:04:33.122 - [2025-08-27T23:04:33.315Z] STF 23:04:33.124 - [2025-08-27T23:04:33.315Z] STF 23:04:33.124 - ======================= S E T U P ======================= [2025-08-27T23:04:33.315Z] STF 23:04:33.124 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17563337628859\UpgModPath_Exp_0/20250827-230431-UpgModPathTest/setUp.pl [2025-08-27T23:04:33.609Z] STF 23:04:33.509 - SETUP stage completed [2025-08-27T23:04:33.609Z] STF 23:04:33.558 - [2025-08-27T23:04:33.609Z] STF 23:04:33.558 - ==================== E X E C U T E - ==================== [2025-08-27T23:04:33.609Z] STF 23:04:33.558 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17563337628859\UpgModPath_Exp_0/20250827-230431-UpgModPathTest/execute.pl [2025-08-27T23:04:34.245Z] STF 23:04:33.962 - [2025-08-27T23:04:34.245Z] STF 23:04:33.963 - Java version [2025-08-27T23:04:34.245Z] STF 23:04:33.963 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2025-08-27T23:04:34.245Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-27T23:04:34.245Z] openjdk version "21.0.9-beta" 2025-10-21 [2025-08-27T23:04:34.245Z] OpenJDK Runtime Environment Temurin-21.0.9+5-202508271902 (build 21.0.9-beta+5-ea) [2025-08-27T23:04:34.245Z] OpenJDK 64-Bit Server VM Temurin-21.0.9+5-202508271902 (build 21.0.9-beta+5-ea, mixed mode) [2025-08-27T23:04:34.245Z] STF 23:04:34.111 - [2025-08-27T23:04:34.245Z] STF 23:04:34.111 - +------ Step 1 - Create com.hello jar [2025-08-27T23:04:34.245Z] STF 23:04:34.111 - | Create modular jar [2025-08-27T23:04:34.245Z] STF 23:04:34.111 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-08-27T23:04:34.245Z] STF 23:04:34.111 - | ModuleVersion: null [2025-08-27T23:04:34.245Z] STF 23:04:34.111 - | MainClass: null [2025-08-27T23:04:34.245Z] STF 23:04:34.111 - | HashModules: null [2025-08-27T23:04:34.245Z] STF 23:04:34.112 - | [2025-08-27T23:04:34.245Z] STF 23:04:34.113 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/UpgModPath_Exp_0/20250827-230431-UpgModPathTest/modules/1.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2025-08-27T23:04:34.245Z] STF 23:04:34.113 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/UpgModPath_Exp_0/20250827-230431-UpgModPathTest/results/1.CMJ.stderr [2025-08-27T23:04:34.245Z] STF 23:04:34.113 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/UpgModPath_Exp_0/20250827-230431-UpgModPathTest/results/1.CMJ.stdout [2025-08-27T23:04:34.245Z] STF 23:04:34.183 - Monitoring processes: CMJ [2025-08-27T23:04:34.245Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-27T23:04:34.883Z] STF 23:04:34.637 - Monitoring Report Summary: [2025-08-27T23:04:34.884Z] STF 23:04:34.637 - o Process CMJ ended with the expected exit code (0) [2025-08-27T23:04:34.884Z] STF 23:04:34.638 - Created modular jar: 1.com.hello.jar [2025-08-27T23:04:34.884Z] STF 23:04:34.638 - [2025-08-27T23:04:34.884Z] STF 23:04:34.638 - +------ Step 2 - Create com.hola jar [2025-08-27T23:04:34.884Z] STF 23:04:34.638 - | Create modular jar [2025-08-27T23:04:34.884Z] STF 23:04:34.638 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-08-27T23:04:34.884Z] STF 23:04:34.638 - | ModuleVersion: null [2025-08-27T23:04:34.884Z] STF 23:04:34.638 - | MainClass: null [2025-08-27T23:04:34.884Z] STF 23:04:34.638 - | HashModules: null [2025-08-27T23:04:34.884Z] STF 23:04:34.638 - | [2025-08-27T23:04:34.884Z] STF 23:04:34.639 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/UpgModPath_Exp_0/20250827-230431-UpgModPathTest/modules/2.com.hola.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2025-08-27T23:04:34.884Z] STF 23:04:34.639 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/UpgModPath_Exp_0/20250827-230431-UpgModPathTest/results/2.CMJ.stderr [2025-08-27T23:04:34.884Z] STF 23:04:34.639 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/UpgModPath_Exp_0/20250827-230431-UpgModPathTest/results/2.CMJ.stdout [2025-08-27T23:04:34.884Z] STF 23:04:34.647 - Monitoring processes: CMJ [2025-08-27T23:04:34.884Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-27T23:04:35.181Z] STF 23:04:35.103 - Monitoring Report Summary: [2025-08-27T23:04:35.181Z] STF 23:04:35.103 - o Process CMJ ended with the expected exit code (0) [2025-08-27T23:04:35.181Z] STF 23:04:35.104 - Created modular jar: 2.com.hola.jar [2025-08-27T23:04:35.181Z] STF 23:04:35.104 - [2025-08-27T23:04:35.181Z] STF 23:04:35.104 - +------ Step 3 - Create com.helper jar [2025-08-27T23:04:35.181Z] STF 23:04:35.104 - | Create modular jar [2025-08-27T23:04:35.181Z] STF 23:04:35.104 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-08-27T23:04:35.181Z] STF 23:04:35.104 - | ModuleVersion: null [2025-08-27T23:04:35.181Z] STF 23:04:35.104 - | MainClass: null [2025-08-27T23:04:35.181Z] STF 23:04:35.105 - | HashModules: null [2025-08-27T23:04:35.181Z] STF 23:04:35.105 - | [2025-08-27T23:04:35.181Z] STF 23:04:35.105 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/UpgModPath_Exp_0/20250827-230431-UpgModPathTest/modules/3.com.helper.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2025-08-27T23:04:35.181Z] STF 23:04:35.105 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/UpgModPath_Exp_0/20250827-230431-UpgModPathTest/results/3.CMJ.stderr [2025-08-27T23:04:35.181Z] STF 23:04:35.105 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/UpgModPath_Exp_0/20250827-230431-UpgModPathTest/results/3.CMJ.stdout [2025-08-27T23:04:35.181Z] STF 23:04:35.113 - Monitoring processes: CMJ [2025-08-27T23:04:35.181Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-27T23:04:35.816Z] STF 23:04:35.575 - Monitoring Report Summary: [2025-08-27T23:04:35.816Z] STF 23:04:35.575 - o Process CMJ ended with the expected exit code (0) [2025-08-27T23:04:35.816Z] STF 23:04:35.576 - Created modular jar: 3.com.helper.jar [2025-08-27T23:04:35.816Z] STF 23:04:35.576 - [2025-08-27T23:04:35.816Z] STF 23:04:35.576 - +------ Step 4 - Create com.discreet jar [2025-08-27T23:04:35.816Z] STF 23:04:35.576 - | Create modular jar [2025-08-27T23:04:35.816Z] STF 23:04:35.576 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-08-27T23:04:35.816Z] STF 23:04:35.576 - | ModuleVersion: null [2025-08-27T23:04:35.816Z] STF 23:04:35.576 - | MainClass: null [2025-08-27T23:04:35.816Z] STF 23:04:35.576 - | HashModules: null [2025-08-27T23:04:35.816Z] STF 23:04:35.576 - | [2025-08-27T23:04:35.816Z] STF 23:04:35.577 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/UpgModPath_Exp_0/20250827-230431-UpgModPathTest/modules/4.com.discreet.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2025-08-27T23:04:35.816Z] STF 23:04:35.577 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/UpgModPath_Exp_0/20250827-230431-UpgModPathTest/results/4.CMJ.stderr [2025-08-27T23:04:35.816Z] STF 23:04:35.577 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/UpgModPath_Exp_0/20250827-230431-UpgModPathTest/results/4.CMJ.stdout [2025-08-27T23:04:35.816Z] STF 23:04:35.585 - Monitoring processes: CMJ [2025-08-27T23:04:35.816Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-27T23:04:36.108Z] STF 23:04:36.043 - Monitoring Report Summary: [2025-08-27T23:04:36.108Z] STF 23:04:36.043 - o Process CMJ ended with the expected exit code (0) [2025-08-27T23:04:36.108Z] STF 23:04:36.044 - Created modular jar: 4.com.discreet.jar [2025-08-27T23:04:36.108Z] STF 23:04:36.044 - [2025-08-27T23:04:36.108Z] STF 23:04:36.044 - +------ Step 5 - Create tests jar [2025-08-27T23:04:36.108Z] STF 23:04:36.044 - | Create modular jar [2025-08-27T23:04:36.108Z] STF 23:04:36.044 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-08-27T23:04:36.108Z] STF 23:04:36.044 - | ModuleVersion: null [2025-08-27T23:04:36.108Z] STF 23:04:36.044 - | MainClass: null [2025-08-27T23:04:36.108Z] STF 23:04:36.044 - | HashModules: null [2025-08-27T23:04:36.108Z] STF 23:04:36.044 - | [2025-08-27T23:04:36.108Z] STF 23:04:36.045 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/UpgModPath_Exp_0/20250827-230431-UpgModPathTest/modules/5.com.test.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2025-08-27T23:04:36.108Z] STF 23:04:36.045 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/UpgModPath_Exp_0/20250827-230431-UpgModPathTest/results/5.CMJ.stderr [2025-08-27T23:04:36.108Z] STF 23:04:36.045 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/UpgModPath_Exp_0/20250827-230431-UpgModPathTest/results/5.CMJ.stdout [2025-08-27T23:04:36.108Z] STF 23:04:36.052 - Monitoring processes: CMJ [2025-08-27T23:04:36.400Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-27T23:04:36.693Z] STF 23:04:36.510 - Monitoring Report Summary: [2025-08-27T23:04:36.693Z] STF 23:04:36.510 - o Process CMJ ended with the expected exit code (0) [2025-08-27T23:04:36.693Z] STF 23:04:36.511 - Created modular jar: 5.com.test.jar [2025-08-27T23:04:36.693Z] STF 23:04:36.511 - [2025-08-27T23:04:36.693Z] STF 23:04:36.511 - +------ Step 6 - Create runtime image for upgrademodulepath test [2025-08-27T23:04:36.693Z] STF 23:04:36.511 - | Run jlink to create runtime image [2025-08-27T23:04:36.693Z] STF 23:04:36.511 - | ImageName: UpJVM [2025-08-27T23:04:36.693Z] STF 23:04:36.511 - | [2025-08-27T23:04:36.693Z] STF 23:04:36.512 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jdkbinary\j2sdk-image\jmods;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\aqa-tests\TKG\output_17563337628859\UpgModPath_Exp_0\20250827-230431-UpgModPathTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\aqa-tests\TKG\output_17563337628859\UpgModPath_Exp_0\20250827-230431-UpgModPathTest\tmp\6.UpJVM [2025-08-27T23:04:36.693Z] STF 23:04:36.512 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/UpgModPath_Exp_0/20250827-230431-UpgModPathTest/results/6.JLNK.stderr [2025-08-27T23:04:36.694Z] STF 23:04:36.512 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/UpgModPath_Exp_0/20250827-230431-UpgModPathTest/results/6.JLNK.stdout [2025-08-27T23:04:36.694Z] STF 23:04:36.521 - Monitoring processes: JLNK [2025-08-27T23:04:36.694Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-27T23:04:39.437Z] STF 23:04:38.887 - Monitoring Report Summary: [2025-08-27T23:04:39.437Z] STF 23:04:38.887 - o Process JLNK ended with the expected exit code (0) [2025-08-27T23:04:39.437Z] STF 23:04:38.888 - [2025-08-27T23:04:39.437Z] STF 23:04:38.888 - +------ Step 7 - Override an application module [2025-08-27T23:04:39.437Z] STF 23:04:38.888 - | Run foreground process [2025-08-27T23:04:39.437Z] STF 23:04:38.888 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2025-08-27T23:04:39.437Z] STF 23:04:38.888 - | Mnemonic: OT11 [2025-08-27T23:04:39.437Z] STF 23:04:38.888 - | Echo: ECHO_ON [2025-08-27T23:04:39.437Z] STF 23:04:38.888 - | Expectation: CLEAN_RUN within 1m [2025-08-27T23:04:39.437Z] STF 23:04:38.888 - | [2025-08-27T23:04:39.437Z] STF 23:04:38.889 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_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_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --upgrade-module-path C:\Users\jenkins\workspace\Test_openjdk21_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/externalDependency/system_lib/junit/junit.jar;C:/Users/jenkins/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2025-08-27T23:04:39.437Z] STF 23:04:38.889 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/UpgModPath_Exp_0/20250827-230431-UpgModPathTest/results/7.OT11.stderr [2025-08-27T23:04:39.437Z] STF 23:04:38.889 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/UpgModPath_Exp_0/20250827-230431-UpgModPathTest/results/7.OT11.stdout [2025-08-27T23:04:39.437Z] STF 23:04:38.897 - Monitoring processes: OT11 [2025-08-27T23:04:39.437Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-27T23:04:39.437Z] OT11 JUnit version 4.12 [2025-08-27T23:04:39.437Z] OT11 . [2025-08-27T23:04:39.437Z] OT11 Time: 0 [2025-08-27T23:04:39.437Z] OT11 [2025-08-27T23:04:39.437Z] OT11 OK (1 test) [2025-08-27T23:04:39.437Z] OT11 [2025-08-27T23:04:39.437Z] STF 23:04:39.323 - Monitoring Report Summary: [2025-08-27T23:04:39.437Z] STF 23:04:39.323 - o Process OT11 ended with the expected exit code (0) [2025-08-27T23:04:39.437Z] STF 23:04:39.324 - [2025-08-27T23:04:39.437Z] STF 23:04:39.324 - +------ Step 8 - (Negative test) Override a non-upgradable platform module [2025-08-27T23:04:39.437Z] STF 23:04:39.324 - | Run foreground process [2025-08-27T23:04:39.437Z] STF 23:04:39.324 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2025-08-27T23:04:39.437Z] STF 23:04:39.324 - | Mnemonic: OT13 [2025-08-27T23:04:39.437Z] STF 23:04:39.324 - | Echo: ECHO_ON [2025-08-27T23:04:39.437Z] STF 23:04:39.324 - | Expectation: NON_ZERO_EXIT [1] within 1m [2025-08-27T23:04:39.437Z] STF 23:04:39.324 - | [2025-08-27T23:04:39.437Z] STF 23:04:39.325 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_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_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --upgrade-module-path C:\Users\jenkins\workspace\Test_openjdk21_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/externalDependency/system_lib/junit/junit.jar;C:/Users/jenkins/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingNonUpgradablePlatformModule [2025-08-27T23:04:39.437Z] STF 23:04:39.325 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/UpgModPath_Exp_0/20250827-230431-UpgModPathTest/results/8.OT13.stderr [2025-08-27T23:04:39.437Z] STF 23:04:39.325 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/UpgModPath_Exp_0/20250827-230431-UpgModPathTest/results/8.OT13.stdout [2025-08-27T23:04:39.437Z] STF 23:04:39.333 - Monitoring processes: OT13 [2025-08-27T23:04:39.730Z] OT13 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-27T23:04:39.730Z] OT13 Error occurred during initialization of boot layer [2025-08-27T23:04:39.730Z] OT13 java.lang.module.FindException: Unable to compute the hash of module java.logging [2025-08-27T23:04:39.730Z] STF 23:04:39.604 - Monitoring Report Summary: [2025-08-27T23:04:39.730Z] STF 23:04:39.604 - o Process OT13 ended with the expected exit code (1) [2025-08-27T23:04:39.730Z] STF 23:04:39.605 - [2025-08-27T23:04:39.730Z] STF 23:04:39.605 - +------ Step 9 - Combine stderr and stdout files of process OT13 [2025-08-27T23:04:39.730Z] STF 23:04:39.605 - | Run foreground process [2025-08-27T23:04:39.730Z] STF 23:04:39.605 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2025-08-27T23:04:39.730Z] STF 23:04:39.605 - | Mnemonic: CO [2025-08-27T23:04:39.730Z] STF 23:04:39.605 - | Echo: ECHO_OFF [2025-08-27T23:04:39.730Z] STF 23:04:39.605 - | Expectation: NON_ZERO_EXIT [0] within 30s [2025-08-27T23:04:39.730Z] STF 23:04:39.605 - | [2025-08-27T23:04:39.730Z] STF 23:04:39.606 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -Dfile1=C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/UpgModPath_Exp_0/20250827-230431-UpgModPathTest/results/8.OT13.stdout -Dfile2=C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/UpgModPath_Exp_0/20250827-230431-UpgModPathTest/results/8.OT13.stderr -Dfinal.file=C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\aqa-tests\TKG\output_17563337628859\UpgModPath_Exp_0\20250827-230431-UpgModPathTest\results\combinedOT13.txt -XX:+UseCompressedOops -classpath C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\STF\stf.core\bin;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin net.adoptopenjdk.test.modularity.TestUtil [2025-08-27T23:04:39.730Z] STF 23:04:39.606 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/UpgModPath_Exp_0/20250827-230431-UpgModPathTest/results/9.CO.stderr [2025-08-27T23:04:39.730Z] STF 23:04:39.606 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/UpgModPath_Exp_0/20250827-230431-UpgModPathTest/results/9.CO.stdout [2025-08-27T23:04:39.730Z] STF 23:04:39.614 - Monitoring processes: CO [2025-08-27T23:04:40.023Z] STF 23:04:39.838 - Monitoring Report Summary: [2025-08-27T23:04:40.023Z] STF 23:04:39.838 - o Process CO ended with the expected exit code (0) [2025-08-27T23:04:40.023Z] STF 23:04:39.839 - [2025-08-27T23:04:40.023Z] STF 23:04:39.839 - +------ Step 10 - Check output [2025-08-27T23:04:40.023Z] STF 23:04:39.839 - | Count file matches [2025-08-27T23:04:40.023Z] STF 23:04:39.839 - | TargetFile: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/UpgModPath_Exp_0/20250827-230431-UpgModPathTest/results/combinedOT13.txt [2025-08-27T23:04:40.023Z] STF 23:04:39.839 - | ExpectedNumMatches: 1 [2025-08-27T23:04:40.023Z] STF 23:04:39.839 - | SearchStrings: ["FindException: Unable to compute the hash of module java.logging"] [2025-08-27T23:04:40.023Z] STF 23:04:39.839 - | [2025-08-27T23:04:40.023Z] STF 23:04:39.856 - Found 1 instances of ["FindException: Unable to compute the hash of module java.logging"] [2025-08-27T23:04:40.023Z] STF 23:04:39.856 - EXECUTE stage completed [2025-08-27T23:04:40.023Z] STF 23:04:39.932 - [2025-08-27T23:04:40.023Z] STF 23:04:39.932 - ==================== T E A R D O W N ==================== [2025-08-27T23:04:40.023Z] STF 23:04:39.932 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17563337628859\UpgModPath_Exp_0/20250827-230431-UpgModPathTest/tearDown.pl [2025-08-27T23:04:40.659Z] STF 23:04:40.322 - TEARDOWN stage completed [2025-08-27T23:04:40.659Z] STF 23:04:40.350 - [2025-08-27T23:04:40.659Z] STF 23:04:40.350 - ===================== R E S U L T S ===================== [2025-08-27T23:04:40.659Z] STF 23:04:40.350 - Stage results: [2025-08-27T23:04:40.659Z] STF 23:04:40.350 - setUp: pass [2025-08-27T23:04:40.659Z] STF 23:04:40.350 - execute: pass [2025-08-27T23:04:40.659Z] STF 23:04:40.350 - teardown: pass [2025-08-27T23:04:40.659Z] STF 23:04:40.350 - [2025-08-27T23:04:40.659Z] STF 23:04:40.350 - Overall result: PASSED [2025-08-27T23:04:40.659Z] ----------------------------------- [2025-08-27T23:04:40.659Z] UpgModPath_Exp_0_PASSED [2025-08-27T23:04:40.659Z] ----------------------------------- [2025-08-27T23:04:40.659Z] [2025-08-27T23:04:40.659Z] TEST TEARDOWN: [2025-08-27T23:04:40.659Z] Nothing to be done for teardown. [2025-08-27T23:04:40.953Z] UpgModPath_Exp_0 Finish Time: Wed Aug 27 23:04:40 2025 Epoch Time (ms): 1756335880775