UpgModPath_ExpImg_1

[2025-11-13T10:52:19.670Z] Running test UpgModPath_ExpImg_1 ... [2025-11-13T10:52:19.963Z] =============================================== [2025-11-13T10:52:20.258Z] UpgModPath_ExpImg_1 Start Time: Thu Nov 13 10:52:20 2025 Epoch Time (ms): 1763031140021 [2025-11-13T10:52:20.258Z] variation: Mode650 [2025-11-13T10:52:20.587Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-11-13T10:52:20.587Z] { \ [2025-11-13T10:52:20.587Z] echo ""; echo "TEST SETUP:"; \ [2025-11-13T10:52:20.587Z] echo "Nothing to be done for setup."; \ [2025-11-13T10:52:20.587Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17630286149894\\UpgModPath_ExpImg_1"; \ [2025-11-13T10:52:20.587Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17630286149894\\UpgModPath_ExpImg_1"; \ [2025-11-13T10:52:20.587Z] echo ""; echo "TESTING:"; \ [2025-11-13T10:52:20.587Z] perl C:/Users/jenkins/workspace/Test_openjdk21_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_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/../../externalDependency/system_lib\\" -java-args=' -XX:-UseCompressedOops ' -results-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17630286149894\\UpgModPath_ExpImg_1" -test=UpgModPathTest -test-args="variant=ExpImg"; \ [2025-11-13T10:52:20.587Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_ExpImg_1""_PASSED"; echo "-----------------------------------"; cd C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/; rm -f -r "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17630286149894\\UpgModPath_ExpImg_1"; else echo "-----------------------------------"; echo "UpgModPath_ExpImg_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-11-13T10:52:20.587Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-11-13T10:52:20.587Z] echo "Nothing to be done for teardown."; \ [2025-11-13T10:52:20.587Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17630286149894\\TestTargetResult"; [2025-11-13T10:52:20.888Z] [2025-11-13T10:52:20.888Z] TEST SETUP: [2025-11-13T10:52:20.888Z] Nothing to be done for setup. [2025-11-13T10:52:20.888Z] [2025-11-13T10:52:20.888Z] TESTING: [2025-11-13T10:52:21.188Z] STF 10:52:21.096 - ========================= S T F ========================= [2025-11-13T10:52:21.188Z] 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_0/aqa-tests/\TKG\output_17630286149894\UpgModPath_ExpImg_1 [2025-11-13T10:52:21.487Z] There is 66404 Mb free [2025-11-13T10:52:21.487Z] STF 10:52:21.183 - ================== G E N E R A T I O N ================== [2025-11-13T10:52:21.487Z] STF 10:52:21.188 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image [2025-11-13T10:52:21.487Z] STF 10:52:21.189 - Starting process to generate scripts: C:/Users/jenkins/workspace/Test_openjdk21_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_openjdk21_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_openjdk21_hs_sanity.system_aarch64_windows_testList_0/../../externalDependency/system_lib\/asm/asm.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/../../externalDependency/system_lib\/asm/asm-commons.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/../../externalDependency/system_lib\/log4j/log4j-api.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/../../externalDependency/system_lib\/log4j/log4j-core.jar;C:/Users/jenkins/workspace/Test_openjdk21_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_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17630286149894\UpgModPath_ExpImg_1/20251113-105221-UpgModPathTest/stf_parameters.properties, , C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17630286149894\UpgModPath_ExpImg_1/20251113-105221-UpgModPathTest" [2025-11-13T10:52:21.487Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-13T10:52:22.539Z] GEN 10:52:22.381 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: 'C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2025-11-13T10:52:22.539Z] GEN 10:52:22.397 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2025-11-13T10:52:22.834Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-11-13T10:52:22.834Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2025-11-13T10:52:22.834Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2025-11-13T10:52:22.834Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2025-11-13T10:52:22.834Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2025-11-13T10:52:22.835Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2025-11-13T10:52:22.835Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2025-11-13T10:52:22.835Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2025-11-13T10:52:22.835Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2025-11-13T10:52:22.835Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2025-11-13T10:52:22.835Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2025-11-13T10:52:22.835Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2025-11-13T10:52:22.835Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2025-11-13T10:52:22.835Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-11-13T10:52:22.835Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-11-13T10:52:22.835Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-11-13T10:52:22.835Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\\jvmtest\\system\\STF\\stf.core\\bin [2025-11-13T10:52:22.835Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-api.jar [2025-11-13T10:52:22.835Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-core.jar [2025-11-13T10:52:22.835Z] GEN C:/Users/jenkins/externalDependency/system_lib/junit/junit.jar [2025-11-13T10:52:22.835Z] GEN 10:52:22.629 - Using Mode NoOptions. Values = '' [2025-11-13T10:52:22.835Z] GEN 10:52:22.754 - [2025-11-13T10:52:22.835Z] GEN 10:52:22.754 - Test command summary: [2025-11-13T10:52:22.835Z] GEN 10:52:22.755 - Step Stage Command Description [2025-11-13T10:52:22.835Z] GEN 10:52:22.755 - -----+--------+-----------------+------------ [2025-11-13T10:52:22.835Z] GEN 10:52:22.755 - 1 execute jar Create com.hello jar [2025-11-13T10:52:22.835Z] GEN 10:52:22.755 - 2 execute jar Create com.hola jar [2025-11-13T10:52:22.835Z] GEN 10:52:22.755 - 3 execute jar Create com.helper jar [2025-11-13T10:52:22.835Z] GEN 10:52:22.755 - 4 execute jar Create com.discreet jar [2025-11-13T10:52:22.835Z] GEN 10:52:22.755 - 5 execute jar Create tests jar [2025-11-13T10:52:22.835Z] GEN 10:52:22.756 - 6 execute jlink Create runtime image for upgrademodulepath test [2025-11-13T10:52:22.835Z] GEN 10:52:22.756 - 7 execute Run java Override an application module using a custom runtime image [2025-11-13T10:52:22.835Z] GEN 10:52:22.756 - 8 execute Run java (Negative test) Override a non-upgradable platform module using a custom runtime image [2025-11-13T10:52:22.835Z] GEN 10:52:22.756 - 9 execute Run java Combine stderr and stdout files of process OT16 [2025-11-13T10:52:22.835Z] GEN 10:52:22.756 - 10 execute count Check output [2025-11-13T10:52:22.835Z] STF 10:52:22.785 - [2025-11-13T10:52:22.835Z] STF 10:52:22.785 - Script generation completed [2025-11-13T10:52:22.835Z] STF 10:52:22.785 - [2025-11-13T10:52:22.835Z] STF 10:52:22.788 - [2025-11-13T10:52:22.835Z] STF 10:52:22.788 - ======================= S E T U P ======================= [2025-11-13T10:52:22.835Z] STF 10:52:22.788 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17630286149894\UpgModPath_ExpImg_1/20251113-105221-UpgModPathTest/setUp.pl [2025-11-13T10:52:23.477Z] STF 10:52:23.164 - SETUP stage completed [2025-11-13T10:52:23.477Z] STF 10:52:23.200 - [2025-11-13T10:52:23.477Z] STF 10:52:23.201 - ==================== E X E C U T E - ==================== [2025-11-13T10:52:23.477Z] STF 10:52:23.201 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17630286149894\UpgModPath_ExpImg_1/20251113-105221-UpgModPathTest/execute.pl [2025-11-13T10:52:23.772Z] STF 10:52:23.583 - [2025-11-13T10:52:23.772Z] STF 10:52:23.583 - Java version [2025-11-13T10:52:23.772Z] STF 10:52:23.583 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/java -version [2025-11-13T10:52:23.772Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-13T10:52:23.772Z] openjdk version "21.0.10-beta" 2026-01-20 [2025-11-13T10:52:23.772Z] OpenJDK Runtime Environment Temurin-21.0.10+2-202511122012 (build 21.0.10-beta+2-ea) [2025-11-13T10:52:23.772Z] OpenJDK 64-Bit Server VM Temurin-21.0.10+2-202511122012 (build 21.0.10-beta+2-ea, mixed mode) [2025-11-13T10:52:23.772Z] STF 10:52:23.701 - [2025-11-13T10:52:23.772Z] STF 10:52:23.702 - +------ Step 1 - Create com.hello jar [2025-11-13T10:52:23.772Z] STF 10:52:23.702 - | Create modular jar [2025-11-13T10:52:23.772Z] STF 10:52:23.702 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-11-13T10:52:23.772Z] STF 10:52:23.702 - | ModuleVersion: null [2025-11-13T10:52:23.772Z] STF 10:52:23.702 - | MainClass: null [2025-11-13T10:52:23.772Z] STF 10:52:23.702 - | HashModules: null [2025-11-13T10:52:23.772Z] STF 10:52:23.702 - | [2025-11-13T10:52:23.772Z] STF 10:52:23.703 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17630286149894/UpgModPath_ExpImg_1/20251113-105221-UpgModPathTest/modules/1.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2025-11-13T10:52:23.772Z] STF 10:52:23.703 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17630286149894/UpgModPath_ExpImg_1/20251113-105221-UpgModPathTest/results/1.CMJ.stderr [2025-11-13T10:52:23.772Z] STF 10:52:23.703 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17630286149894/UpgModPath_ExpImg_1/20251113-105221-UpgModPathTest/results/1.CMJ.stdout [2025-11-13T10:52:24.068Z] STF 10:52:23.773 - Monitoring processes: CMJ [2025-11-13T10:52:24.068Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-13T10:52:24.363Z] STF 10:52:24.216 - Monitoring Report Summary: [2025-11-13T10:52:24.363Z] STF 10:52:24.216 - o Process CMJ ended with the expected exit code (0) [2025-11-13T10:52:24.363Z] STF 10:52:24.217 - Created modular jar: 1.com.hello.jar [2025-11-13T10:52:24.363Z] STF 10:52:24.217 - [2025-11-13T10:52:24.363Z] STF 10:52:24.217 - +------ Step 2 - Create com.hola jar [2025-11-13T10:52:24.363Z] STF 10:52:24.217 - | Create modular jar [2025-11-13T10:52:24.363Z] STF 10:52:24.217 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-11-13T10:52:24.363Z] STF 10:52:24.217 - | ModuleVersion: null [2025-11-13T10:52:24.363Z] STF 10:52:24.217 - | MainClass: null [2025-11-13T10:52:24.363Z] STF 10:52:24.217 - | HashModules: null [2025-11-13T10:52:24.363Z] STF 10:52:24.217 - | [2025-11-13T10:52:24.363Z] STF 10:52:24.218 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17630286149894/UpgModPath_ExpImg_1/20251113-105221-UpgModPathTest/modules/2.com.hola.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2025-11-13T10:52:24.363Z] STF 10:52:24.218 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17630286149894/UpgModPath_ExpImg_1/20251113-105221-UpgModPathTest/results/2.CMJ.stderr [2025-11-13T10:52:24.363Z] STF 10:52:24.218 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17630286149894/UpgModPath_ExpImg_1/20251113-105221-UpgModPathTest/results/2.CMJ.stdout [2025-11-13T10:52:24.363Z] STF 10:52:24.231 - Monitoring processes: CMJ [2025-11-13T10:52:24.363Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-13T10:52:25.004Z] STF 10:52:24.674 - Monitoring Report Summary: [2025-11-13T10:52:25.004Z] STF 10:52:24.674 - o Process CMJ ended with the expected exit code (0) [2025-11-13T10:52:25.004Z] STF 10:52:24.675 - Created modular jar: 2.com.hola.jar [2025-11-13T10:52:25.004Z] STF 10:52:24.675 - [2025-11-13T10:52:25.004Z] STF 10:52:24.675 - +------ Step 3 - Create com.helper jar [2025-11-13T10:52:25.004Z] STF 10:52:24.675 - | Create modular jar [2025-11-13T10:52:25.004Z] STF 10:52:24.675 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-11-13T10:52:25.004Z] STF 10:52:24.675 - | ModuleVersion: null [2025-11-13T10:52:25.004Z] STF 10:52:24.675 - | MainClass: null [2025-11-13T10:52:25.004Z] STF 10:52:24.675 - | HashModules: null [2025-11-13T10:52:25.004Z] STF 10:52:24.675 - | [2025-11-13T10:52:25.004Z] STF 10:52:24.676 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17630286149894/UpgModPath_ExpImg_1/20251113-105221-UpgModPathTest/modules/3.com.helper.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2025-11-13T10:52:25.004Z] STF 10:52:24.676 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17630286149894/UpgModPath_ExpImg_1/20251113-105221-UpgModPathTest/results/3.CMJ.stderr [2025-11-13T10:52:25.004Z] STF 10:52:24.676 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17630286149894/UpgModPath_ExpImg_1/20251113-105221-UpgModPathTest/results/3.CMJ.stdout [2025-11-13T10:52:25.004Z] STF 10:52:24.683 - Monitoring processes: CMJ [2025-11-13T10:52:25.004Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-13T10:52:25.304Z] STF 10:52:25.121 - Monitoring Report Summary: [2025-11-13T10:52:25.304Z] STF 10:52:25.121 - o Process CMJ ended with the expected exit code (0) [2025-11-13T10:52:25.304Z] STF 10:52:25.122 - Created modular jar: 3.com.helper.jar [2025-11-13T10:52:25.304Z] STF 10:52:25.122 - [2025-11-13T10:52:25.304Z] STF 10:52:25.122 - +------ Step 4 - Create com.discreet jar [2025-11-13T10:52:25.304Z] STF 10:52:25.122 - | Create modular jar [2025-11-13T10:52:25.304Z] STF 10:52:25.122 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-11-13T10:52:25.304Z] STF 10:52:25.122 - | ModuleVersion: null [2025-11-13T10:52:25.304Z] STF 10:52:25.122 - | MainClass: null [2025-11-13T10:52:25.304Z] STF 10:52:25.122 - | HashModules: null [2025-11-13T10:52:25.304Z] STF 10:52:25.122 - | [2025-11-13T10:52:25.304Z] STF 10:52:25.122 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17630286149894/UpgModPath_ExpImg_1/20251113-105221-UpgModPathTest/modules/4.com.discreet.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2025-11-13T10:52:25.304Z] STF 10:52:25.123 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17630286149894/UpgModPath_ExpImg_1/20251113-105221-UpgModPathTest/results/4.CMJ.stderr [2025-11-13T10:52:25.304Z] STF 10:52:25.123 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17630286149894/UpgModPath_ExpImg_1/20251113-105221-UpgModPathTest/results/4.CMJ.stdout [2025-11-13T10:52:25.304Z] STF 10:52:25.130 - Monitoring processes: CMJ [2025-11-13T10:52:25.304Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-13T10:52:25.949Z] STF 10:52:25.552 - Monitoring Report Summary: [2025-11-13T10:52:25.949Z] STF 10:52:25.553 - o Process CMJ ended with the expected exit code (0) [2025-11-13T10:52:25.949Z] STF 10:52:25.553 - Created modular jar: 4.com.discreet.jar [2025-11-13T10:52:25.949Z] STF 10:52:25.554 - [2025-11-13T10:52:25.949Z] STF 10:52:25.554 - +------ Step 5 - Create tests jar [2025-11-13T10:52:25.949Z] STF 10:52:25.554 - | Create modular jar [2025-11-13T10:52:25.949Z] STF 10:52:25.554 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-11-13T10:52:25.949Z] STF 10:52:25.554 - | ModuleVersion: null [2025-11-13T10:52:25.949Z] STF 10:52:25.554 - | MainClass: null [2025-11-13T10:52:25.949Z] STF 10:52:25.554 - | HashModules: null [2025-11-13T10:52:25.949Z] STF 10:52:25.554 - | [2025-11-13T10:52:25.949Z] STF 10:52:25.554 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17630286149894/UpgModPath_ExpImg_1/20251113-105221-UpgModPathTest/modules/5.com.test.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2025-11-13T10:52:25.949Z] STF 10:52:25.555 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17630286149894/UpgModPath_ExpImg_1/20251113-105221-UpgModPathTest/results/5.CMJ.stderr [2025-11-13T10:52:25.949Z] STF 10:52:25.555 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17630286149894/UpgModPath_ExpImg_1/20251113-105221-UpgModPathTest/results/5.CMJ.stdout [2025-11-13T10:52:25.949Z] STF 10:52:25.562 - Monitoring processes: CMJ [2025-11-13T10:52:25.949Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-13T10:52:26.244Z] STF 10:52:26.047 - Monitoring Report Summary: [2025-11-13T10:52:26.244Z] STF 10:52:26.047 - o Process CMJ ended with the expected exit code (0) [2025-11-13T10:52:26.245Z] STF 10:52:26.048 - Created modular jar: 5.com.test.jar [2025-11-13T10:52:26.245Z] STF 10:52:26.048 - [2025-11-13T10:52:26.245Z] STF 10:52:26.048 - +------ Step 6 - Create runtime image for upgrademodulepath test [2025-11-13T10:52:26.245Z] STF 10:52:26.048 - | Run jlink to create runtime image [2025-11-13T10:52:26.245Z] STF 10:52:26.048 - | ImageName: UpJVM [2025-11-13T10:52:26.245Z] STF 10:52:26.048 - | [2025-11-13T10:52:26.245Z] STF 10:52:26.049 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jlink --module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jdkbinary\j2sdk-image\jmods;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\aqa-tests\TKG\output_17630286149894\UpgModPath_ExpImg_1\20251113-105221-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_0\aqa-tests\TKG\output_17630286149894\UpgModPath_ExpImg_1\20251113-105221-UpgModPathTest\tmp\6.UpJVM [2025-11-13T10:52:26.245Z] STF 10:52:26.049 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17630286149894/UpgModPath_ExpImg_1/20251113-105221-UpgModPathTest/results/6.JLNK.stderr [2025-11-13T10:52:26.245Z] STF 10:52:26.049 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17630286149894/UpgModPath_ExpImg_1/20251113-105221-UpgModPathTest/results/6.JLNK.stdout [2025-11-13T10:52:26.245Z] STF 10:52:26.057 - Monitoring processes: JLNK [2025-11-13T10:52:26.245Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-13T10:52:29.015Z] STF 10:52:28.483 - Monitoring Report Summary: [2025-11-13T10:52:29.015Z] STF 10:52:28.483 - o Process JLNK ended with the expected exit code (0) [2025-11-13T10:52:29.015Z] STF 10:52:28.484 - [2025-11-13T10:52:29.015Z] STF 10:52:28.484 - +------ Step 7 - Override an application module using a custom runtime image [2025-11-13T10:52:29.015Z] STF 10:52:28.484 - | Run foreground process [2025-11-13T10:52:29.015Z] STF 10:52:28.484 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17630286149894/UpgModPath_ExpImg_1/20251113-105221-UpgModPathTest/tmp/6.UpJVM/bin/java [2025-11-13T10:52:29.015Z] STF 10:52:28.484 - | Mnemonic: OT14 [2025-11-13T10:52:29.015Z] STF 10:52:28.484 - | Echo: ECHO_ON [2025-11-13T10:52:29.015Z] STF 10:52:28.484 - | Expectation: CLEAN_RUN within 1m [2025-11-13T10:52:29.015Z] STF 10:52:28.484 - | [2025-11-13T10:52:29.015Z] STF 10:52:28.485 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17630286149894/UpgModPath_ExpImg_1/20251113-105221-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path C:\Users\jenkins\workspace\Test_openjdk21_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/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-11-13T10:52:29.015Z] STF 10:52:28.485 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17630286149894/UpgModPath_ExpImg_1/20251113-105221-UpgModPathTest/results/7.OT14.stderr [2025-11-13T10:52:29.015Z] STF 10:52:28.485 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17630286149894/UpgModPath_ExpImg_1/20251113-105221-UpgModPathTest/results/7.OT14.stdout [2025-11-13T10:52:29.015Z] STF 10:52:28.510 - Monitoring processes: OT14 [2025-11-13T10:52:29.015Z] OT14 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-13T10:52:29.015Z] OT14 JUnit version 4.12 [2025-11-13T10:52:29.310Z] OT14 . [2025-11-13T10:52:29.310Z] OT14 Time: 0.007 [2025-11-13T10:52:29.310Z] OT14 [2025-11-13T10:52:29.310Z] OT14 OK (1 test) [2025-11-13T10:52:29.310Z] OT14 [2025-11-13T10:52:29.310Z] STF 10:52:29.007 - Monitoring Report Summary: [2025-11-13T10:52:29.310Z] STF 10:52:29.007 - o Process OT14 ended with the expected exit code (0) [2025-11-13T10:52:29.310Z] STF 10:52:29.008 - [2025-11-13T10:52:29.310Z] STF 10:52:29.008 - +------ Step 8 - (Negative test) Override a non-upgradable platform module using a custom runtime image [2025-11-13T10:52:29.310Z] STF 10:52:29.008 - | Run foreground process [2025-11-13T10:52:29.310Z] STF 10:52:29.008 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17630286149894/UpgModPath_ExpImg_1/20251113-105221-UpgModPathTest/tmp/6.UpJVM/bin/java [2025-11-13T10:52:29.310Z] STF 10:52:29.008 - | Mnemonic: OT16 [2025-11-13T10:52:29.310Z] STF 10:52:29.008 - | Echo: ECHO_ON [2025-11-13T10:52:29.310Z] STF 10:52:29.008 - | Expectation: NON_ZERO_EXIT [1] within 1m [2025-11-13T10:52:29.310Z] STF 10:52:29.008 - | [2025-11-13T10:52:29.310Z] STF 10:52:29.009 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17630286149894/UpgModPath_ExpImg_1/20251113-105221-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path C:\Users\jenkins\workspace\Test_openjdk21_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/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-11-13T10:52:29.310Z] STF 10:52:29.009 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17630286149894/UpgModPath_ExpImg_1/20251113-105221-UpgModPathTest/results/8.OT16.stderr [2025-11-13T10:52:29.310Z] STF 10:52:29.009 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17630286149894/UpgModPath_ExpImg_1/20251113-105221-UpgModPathTest/results/8.OT16.stdout [2025-11-13T10:52:29.310Z] STF 10:52:29.017 - Monitoring processes: OT16 [2025-11-13T10:52:29.310Z] OT16 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-13T10:52:29.310Z] OT16 Error occurred during initialization of boot layer [2025-11-13T10:52:29.310Z] OT16 java.lang.module.FindException: Unable to compute the hash of module java.logging [2025-11-13T10:52:29.310Z] STF 10:52:29.214 - Monitoring Report Summary: [2025-11-13T10:52:29.310Z] STF 10:52:29.215 - o Process OT16 ended with the expected exit code (1) [2025-11-13T10:52:29.310Z] STF 10:52:29.215 - [2025-11-13T10:52:29.310Z] STF 10:52:29.215 - +------ Step 9 - Combine stderr and stdout files of process OT16 [2025-11-13T10:52:29.310Z] STF 10:52:29.216 - | Run foreground process [2025-11-13T10:52:29.310Z] STF 10:52:29.216 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/java [2025-11-13T10:52:29.310Z] STF 10:52:29.216 - | Mnemonic: CO [2025-11-13T10:52:29.310Z] STF 10:52:29.216 - | Echo: ECHO_OFF [2025-11-13T10:52:29.310Z] STF 10:52:29.216 - | Expectation: NON_ZERO_EXIT [0] within 5m [2025-11-13T10:52:29.310Z] STF 10:52:29.216 - | [2025-11-13T10:52:29.310Z] STF 10:52:29.216 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/java -Dfile1=C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17630286149894/UpgModPath_ExpImg_1/20251113-105221-UpgModPathTest/results/8.OT16.stdout -Dfile2=C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17630286149894/UpgModPath_ExpImg_1/20251113-105221-UpgModPathTest/results/8.OT16.stderr -Dfinal.file=C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\aqa-tests\TKG\output_17630286149894\UpgModPath_ExpImg_1\20251113-105221-UpgModPathTest\results\combinedOT16.txt -XX:-UseCompressedOops -classpath C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\STF\stf.core\bin;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin net.adoptopenjdk.test.modularity.TestUtil [2025-11-13T10:52:29.310Z] STF 10:52:29.216 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17630286149894/UpgModPath_ExpImg_1/20251113-105221-UpgModPathTest/results/9.CO.stderr [2025-11-13T10:52:29.310Z] STF 10:52:29.216 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17630286149894/UpgModPath_ExpImg_1/20251113-105221-UpgModPathTest/results/9.CO.stdout [2025-11-13T10:52:29.310Z] STF 10:52:29.224 - Monitoring processes: CO [2025-11-13T10:52:29.605Z] STF 10:52:29.438 - Monitoring Report Summary: [2025-11-13T10:52:29.605Z] STF 10:52:29.438 - o Process CO ended with the expected exit code (0) [2025-11-13T10:52:29.605Z] STF 10:52:29.439 - [2025-11-13T10:52:29.605Z] STF 10:52:29.439 - +------ Step 10 - Check output [2025-11-13T10:52:29.605Z] STF 10:52:29.439 - | Count file matches [2025-11-13T10:52:29.605Z] STF 10:52:29.439 - | TargetFile: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17630286149894/UpgModPath_ExpImg_1/20251113-105221-UpgModPathTest/results/combinedOT16.txt [2025-11-13T10:52:29.605Z] STF 10:52:29.439 - | ExpectedNumMatches: 1 [2025-11-13T10:52:29.605Z] STF 10:52:29.439 - | SearchStrings: ["FindException: Unable to compute the hash of module java.logging"] [2025-11-13T10:52:29.605Z] STF 10:52:29.439 - | [2025-11-13T10:52:29.605Z] STF 10:52:29.440 - Found 1 instances of ["FindException: Unable to compute the hash of module java.logging"] [2025-11-13T10:52:29.605Z] STF 10:52:29.440 - EXECUTE stage completed [2025-11-13T10:52:29.605Z] STF 10:52:29.499 - [2025-11-13T10:52:29.605Z] STF 10:52:29.499 - ==================== T E A R D O W N ==================== [2025-11-13T10:52:29.605Z] STF 10:52:29.499 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17630286149894\UpgModPath_ExpImg_1/20251113-105221-UpgModPathTest/tearDown.pl [2025-11-13T10:52:30.248Z] STF 10:52:29.882 - TEARDOWN stage completed [2025-11-13T10:52:30.248Z] STF 10:52:29.909 - [2025-11-13T10:52:30.248Z] STF 10:52:29.910 - ===================== R E S U L T S ===================== [2025-11-13T10:52:30.248Z] STF 10:52:29.910 - Stage results: [2025-11-13T10:52:30.248Z] STF 10:52:29.910 - setUp: pass [2025-11-13T10:52:30.248Z] STF 10:52:29.910 - execute: pass [2025-11-13T10:52:30.248Z] STF 10:52:29.910 - teardown: pass [2025-11-13T10:52:30.248Z] STF 10:52:29.910 - [2025-11-13T10:52:30.248Z] STF 10:52:29.910 - Overall result: PASSED [2025-11-13T10:52:30.248Z] ----------------------------------- [2025-11-13T10:52:30.248Z] UpgModPath_ExpImg_1_PASSED [2025-11-13T10:52:30.248Z] ----------------------------------- [2025-11-13T10:52:30.248Z] [2025-11-13T10:52:30.248Z] TEST TEARDOWN: [2025-11-13T10:52:30.248Z] Nothing to be done for teardown. [2025-11-13T10:52:30.544Z] UpgModPath_ExpImg_1 Finish Time: Thu Nov 13 10:52:30 2025 Epoch Time (ms): 1763031150298