UpgModPath_Exp_1

[2026-04-22T23:25:51.530Z] Running test UpgModPath_Exp_1 ... [2026-04-22T23:25:51.530Z] =============================================== [2026-04-22T23:25:51.530Z] UpgModPath_Exp_1 Start Time: Wed Apr 22 23:25:51 2026 Epoch Time (ms): 1776900351304 [2026-04-22T23:25:51.530Z] variation: Mode650 [2026-04-22T23:25:51.530Z] JVM_OPTIONS: -XX:-UseCompressedOops [2026-04-22T23:25:51.530Z] { \ [2026-04-22T23:25:51.530Z] echo ""; echo "TEST SETUP:"; \ [2026-04-22T23:25:51.530Z] echo "Nothing to be done for setup."; \ [2026-04-22T23:25:51.530Z] mkdir -p "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17768997019234/UpgModPath_Exp_1"; \ [2026-04-22T23:25:51.530Z] cd "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17768997019234/UpgModPath_Exp_1"; \ [2026-04-22T23:25:51.530Z] echo ""; echo "TESTING:"; \ [2026-04-22T23:25:51.530Z] perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/../../externalDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17768997019234/UpgModPath_Exp_1" -test=UpgModPathTest -test-args="variant=Exp"; \ [2026-04-22T23:25:51.530Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_Exp_1""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17768997019234/UpgModPath_Exp_1"; else echo "-----------------------------------"; echo "UpgModPath_Exp_1""_FAILED"; echo "-----------------------------------"; fi; \ [2026-04-22T23:25:51.530Z] echo ""; echo "TEST TEARDOWN:"; \ [2026-04-22T23:25:51.530Z] echo "Nothing to be done for teardown."; \ [2026-04-22T23:25:51.530Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17768997019234/TestTargetResult"; [2026-04-22T23:25:51.530Z] [2026-04-22T23:25:51.530Z] TEST SETUP: [2026-04-22T23:25:51.530Z] Nothing to be done for setup. [2026-04-22T23:25:51.530Z] [2026-04-22T23:25:51.530Z] TESTING: [2026-04-22T23:25:51.863Z] STF 23:25:51.578 - ========================= S T F ========================= [2026-04-22T23:25:51.863Z] systemtest-prereqs has been processed, and set to: /home/jenkins/externalDependency/system_libRetrieving amount of free space on drive containing /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17768997019234/UpgModPath_Exp_1 [2026-04-22T23:25:51.863Z] There is 63232 Mb free [2026-04-22T23:25:51.863Z] STF 23:25:51.598 - ================== G E N E R A T I O N ================== [2026-04-22T23:25:51.863Z] STF 23:25:51.601 - Checking JVM: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image [2026-04-22T23:25:51.863Z] STF 23:25:51.602 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/../../externalDependency/system_lib//asm/asm.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/../../externalDependency/system_lib//asm/asm-commons.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/../../externalDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/../../externalDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17768997019234/UpgModPath_Exp_1/20260422-232551-UpgModPathTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17768997019234/UpgModPath_Exp_1/20260422-232551-UpgModPathTest" [2026-04-22T23:25:51.863Z] GEN stderr OpenJDK 64-Bit Server VM warning: Archived non-system classes are disabled because the java.system.class.loader property is specified (value = "net.adoptopenjdk.stf.runner.StfClassLoader"). To use archived non-system classes, this property must not be set [2026-04-22T23:25:55.659Z] GEN 23:25:55.583 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: '/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2026-04-22T23:25:55.659Z] GEN 23:25:55.604 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2026-04-22T23:25:56.371Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2026-04-22T23:25:56.371Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2026-04-22T23:25:56.371Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2026-04-22T23:25:56.371Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2026-04-22T23:25:56.371Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2026-04-22T23:25:56.371Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2026-04-22T23:25:56.371Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2026-04-22T23:25:56.371Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2026-04-22T23:25:56.371Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2026-04-22T23:25:56.371Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2026-04-22T23:25:56.371Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2026-04-22T23:25:56.371Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2026-04-22T23:25:56.371Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2026-04-22T23:25:56.371Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2026-04-22T23:25:56.371Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2026-04-22T23:25:56.371Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2026-04-22T23:25:56.371Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/bin [2026-04-22T23:25:56.371Z] GEN /home/jenkins/externalDependency/system_lib/log4j/log4j-api.jar [2026-04-22T23:25:56.371Z] GEN /home/jenkins/externalDependency/system_lib/log4j/log4j-core.jar [2026-04-22T23:25:56.371Z] GEN /home/jenkins/externalDependency/system_lib/junit/junit.jar [2026-04-22T23:25:56.371Z] GEN 23:25:56.242 - Using Mode NoOptions. Values = '' [2026-04-22T23:25:57.091Z] GEN 23:25:56.705 - [2026-04-22T23:25:57.091Z] GEN 23:25:56.706 - Test command summary: [2026-04-22T23:25:57.091Z] GEN 23:25:56.708 - Step Stage Command Description [2026-04-22T23:25:57.091Z] GEN 23:25:56.712 - -----+--------+-----------------+------------ [2026-04-22T23:25:57.091Z] GEN 23:25:56.713 - 1 execute jar Create com.hello jar [2026-04-22T23:25:57.091Z] GEN 23:25:56.714 - 2 execute jar Create com.hola jar [2026-04-22T23:25:57.091Z] GEN 23:25:56.715 - 3 execute jar Create com.helper jar [2026-04-22T23:25:57.091Z] GEN 23:25:56.715 - 4 execute jar Create com.discreet jar [2026-04-22T23:25:57.091Z] GEN 23:25:56.716 - 5 execute jar Create tests jar [2026-04-22T23:25:57.091Z] GEN 23:25:56.717 - 6 execute jlink Create runtime image for upgrademodulepath test [2026-04-22T23:25:57.091Z] GEN 23:25:56.718 - 7 execute Run java Override an application module [2026-04-22T23:25:57.091Z] GEN 23:25:56.719 - 8 execute Run java (Negative test) Override a non-upgradable platform module [2026-04-22T23:25:57.091Z] GEN 23:25:56.719 - 9 execute Run java Combine stderr and stdout files of process OT13 [2026-04-22T23:25:57.091Z] GEN 23:25:56.720 - 10 execute count Check output [2026-04-22T23:25:57.091Z] STF 23:25:56.853 - [2026-04-22T23:25:57.091Z] STF 23:25:56.853 - Script generation completed [2026-04-22T23:25:57.091Z] STF 23:25:56.853 - [2026-04-22T23:25:57.091Z] STF 23:25:56.857 - [2026-04-22T23:25:57.091Z] STF 23:25:56.858 - ======================= S E T U P ======================= [2026-04-22T23:25:57.091Z] STF 23:25:56.858 - Running setup: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17768997019234/UpgModPath_Exp_1/20260422-232551-UpgModPathTest/setUp.pl [2026-04-22T23:25:57.454Z] STF 23:25:57.087 - SETUP stage completed [2026-04-22T23:25:57.454Z] STF 23:25:57.095 - [2026-04-22T23:25:57.454Z] STF 23:25:57.095 - ==================== E X E C U T E - ==================== [2026-04-22T23:25:57.454Z] STF 23:25:57.095 - Running execute: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17768997019234/UpgModPath_Exp_1/20260422-232551-UpgModPathTest/execute.pl [2026-04-22T23:25:57.454Z] STF 23:25:57.329 - [2026-04-22T23:25:57.454Z] STF 23:25:57.330 - Java version [2026-04-22T23:25:57.454Z] STF 23:25:57.330 - Running: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/java -version [2026-04-22T23:25:57.799Z] openjdk version "17.0.19" 2026-04-21 [2026-04-22T23:25:57.799Z] OpenJDK Runtime Environment Temurin-17.0.19+10 (build 17.0.19+10) [2026-04-22T23:25:57.799Z] OpenJDK 64-Bit Server VM Temurin-17.0.19+10 (build 17.0.19+10, mixed mode, sharing) [2026-04-22T23:25:57.799Z] STF 23:25:57.560 - [2026-04-22T23:25:57.799Z] STF 23:25:57.561 - +------ Step 1 - Create com.hello jar [2026-04-22T23:25:57.799Z] STF 23:25:57.561 - | Create modular jar [2026-04-22T23:25:57.799Z] STF 23:25:57.561 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2026-04-22T23:25:57.799Z] STF 23:25:57.561 - | ModuleVersion: null [2026-04-22T23:25:57.799Z] STF 23:25:57.561 - | MainClass: null [2026-04-22T23:25:57.799Z] STF 23:25:57.561 - | HashModules: null [2026-04-22T23:25:57.799Z] STF 23:25:57.561 - | [2026-04-22T23:25:57.799Z] STF 23:25:57.563 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17768997019234/UpgModPath_Exp_1/20260422-232551-UpgModPathTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2026-04-22T23:25:57.799Z] STF 23:25:57.563 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17768997019234/UpgModPath_Exp_1/20260422-232551-UpgModPathTest/results/1.CMJ.stderr [2026-04-22T23:25:57.799Z] STF 23:25:57.563 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17768997019234/UpgModPath_Exp_1/20260422-232551-UpgModPathTest/results/1.CMJ.stdout [2026-04-22T23:25:57.799Z] STF 23:25:57.605 - Monitoring processes: CMJ [2026-04-22T23:25:58.954Z] STF 23:25:58.514 - Monitoring Report Summary: [2026-04-22T23:25:58.954Z] STF 23:25:58.515 - o Process CMJ ended with the expected exit code (0) [2026-04-22T23:25:58.954Z] STF 23:25:58.515 - Created modular jar: 1.com.hello.jar [2026-04-22T23:25:58.954Z] STF 23:25:58.515 - [2026-04-22T23:25:58.954Z] STF 23:25:58.516 - +------ Step 2 - Create com.hola jar [2026-04-22T23:25:58.954Z] STF 23:25:58.516 - | Create modular jar [2026-04-22T23:25:58.954Z] STF 23:25:58.516 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2026-04-22T23:25:58.954Z] STF 23:25:58.516 - | ModuleVersion: null [2026-04-22T23:25:58.954Z] STF 23:25:58.516 - | MainClass: null [2026-04-22T23:25:58.954Z] STF 23:25:58.516 - | HashModules: null [2026-04-22T23:25:58.954Z] STF 23:25:58.516 - | [2026-04-22T23:25:58.954Z] STF 23:25:58.517 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17768997019234/UpgModPath_Exp_1/20260422-232551-UpgModPathTest/modules/2.com.hola.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2026-04-22T23:25:58.954Z] STF 23:25:58.517 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17768997019234/UpgModPath_Exp_1/20260422-232551-UpgModPathTest/results/2.CMJ.stderr [2026-04-22T23:25:58.954Z] STF 23:25:58.517 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17768997019234/UpgModPath_Exp_1/20260422-232551-UpgModPathTest/results/2.CMJ.stdout [2026-04-22T23:25:58.954Z] STF 23:25:58.523 - Monitoring processes: CMJ [2026-04-22T23:25:59.664Z] STF 23:25:59.456 - Monitoring Report Summary: [2026-04-22T23:25:59.664Z] STF 23:25:59.457 - o Process CMJ ended with the expected exit code (0) [2026-04-22T23:25:59.664Z] STF 23:25:59.458 - Created modular jar: 2.com.hola.jar [2026-04-22T23:25:59.664Z] STF 23:25:59.458 - [2026-04-22T23:25:59.664Z] STF 23:25:59.458 - +------ Step 3 - Create com.helper jar [2026-04-22T23:25:59.664Z] STF 23:25:59.458 - | Create modular jar [2026-04-22T23:25:59.664Z] STF 23:25:59.458 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2026-04-22T23:25:59.664Z] STF 23:25:59.458 - | ModuleVersion: null [2026-04-22T23:25:59.664Z] STF 23:25:59.458 - | MainClass: null [2026-04-22T23:25:59.664Z] STF 23:25:59.458 - | HashModules: null [2026-04-22T23:25:59.664Z] STF 23:25:59.459 - | [2026-04-22T23:25:59.664Z] STF 23:25:59.460 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17768997019234/UpgModPath_Exp_1/20260422-232551-UpgModPathTest/modules/3.com.helper.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2026-04-22T23:25:59.664Z] STF 23:25:59.460 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17768997019234/UpgModPath_Exp_1/20260422-232551-UpgModPathTest/results/3.CMJ.stderr [2026-04-22T23:25:59.664Z] STF 23:25:59.460 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17768997019234/UpgModPath_Exp_1/20260422-232551-UpgModPathTest/results/3.CMJ.stdout [2026-04-22T23:25:59.664Z] STF 23:25:59.465 - Monitoring processes: CMJ [2026-04-22T23:26:00.823Z] STF 23:26:00.363 - Monitoring Report Summary: [2026-04-22T23:26:00.823Z] STF 23:26:00.366 - o Process CMJ ended with the expected exit code (0) [2026-04-22T23:26:00.823Z] STF 23:26:00.367 - Created modular jar: 3.com.helper.jar [2026-04-22T23:26:00.823Z] STF 23:26:00.367 - [2026-04-22T23:26:00.823Z] STF 23:26:00.367 - +------ Step 4 - Create com.discreet jar [2026-04-22T23:26:00.823Z] STF 23:26:00.367 - | Create modular jar [2026-04-22T23:26:00.823Z] STF 23:26:00.367 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2026-04-22T23:26:00.823Z] STF 23:26:00.367 - | ModuleVersion: null [2026-04-22T23:26:00.823Z] STF 23:26:00.367 - | MainClass: null [2026-04-22T23:26:00.823Z] STF 23:26:00.367 - | HashModules: null [2026-04-22T23:26:00.823Z] STF 23:26:00.367 - | [2026-04-22T23:26:00.823Z] STF 23:26:00.368 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17768997019234/UpgModPath_Exp_1/20260422-232551-UpgModPathTest/modules/4.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2026-04-22T23:26:00.823Z] STF 23:26:00.368 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17768997019234/UpgModPath_Exp_1/20260422-232551-UpgModPathTest/results/4.CMJ.stderr [2026-04-22T23:26:00.823Z] STF 23:26:00.368 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17768997019234/UpgModPath_Exp_1/20260422-232551-UpgModPathTest/results/4.CMJ.stdout [2026-04-22T23:26:00.823Z] STF 23:26:00.373 - Monitoring processes: CMJ [2026-04-22T23:26:01.531Z] STF 23:26:01.288 - Monitoring Report Summary: [2026-04-22T23:26:01.532Z] STF 23:26:01.288 - o Process CMJ ended with the expected exit code (0) [2026-04-22T23:26:01.532Z] STF 23:26:01.289 - Created modular jar: 4.com.discreet.jar [2026-04-22T23:26:01.532Z] STF 23:26:01.289 - [2026-04-22T23:26:01.532Z] STF 23:26:01.289 - +------ Step 5 - Create tests jar [2026-04-22T23:26:01.532Z] STF 23:26:01.289 - | Create modular jar [2026-04-22T23:26:01.532Z] STF 23:26:01.289 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2026-04-22T23:26:01.532Z] STF 23:26:01.289 - | ModuleVersion: null [2026-04-22T23:26:01.532Z] STF 23:26:01.290 - | MainClass: null [2026-04-22T23:26:01.532Z] STF 23:26:01.290 - | HashModules: null [2026-04-22T23:26:01.532Z] STF 23:26:01.290 - | [2026-04-22T23:26:01.532Z] STF 23:26:01.290 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17768997019234/UpgModPath_Exp_1/20260422-232551-UpgModPathTest/modules/5.com.test.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2026-04-22T23:26:01.532Z] STF 23:26:01.291 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17768997019234/UpgModPath_Exp_1/20260422-232551-UpgModPathTest/results/5.CMJ.stderr [2026-04-22T23:26:01.532Z] STF 23:26:01.291 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17768997019234/UpgModPath_Exp_1/20260422-232551-UpgModPathTest/results/5.CMJ.stdout [2026-04-22T23:26:01.532Z] STF 23:26:01.296 - Monitoring processes: CMJ [2026-04-22T23:26:02.703Z] STF 23:26:02.253 - Monitoring Report Summary: [2026-04-22T23:26:02.703Z] STF 23:26:02.253 - o Process CMJ ended with the expected exit code (0) [2026-04-22T23:26:02.703Z] STF 23:26:02.254 - Created modular jar: 5.com.test.jar [2026-04-22T23:26:02.703Z] STF 23:26:02.254 - [2026-04-22T23:26:02.703Z] STF 23:26:02.254 - +------ Step 6 - Create runtime image for upgrademodulepath test [2026-04-22T23:26:02.703Z] STF 23:26:02.254 - | Run jlink to create runtime image [2026-04-22T23:26:02.703Z] STF 23:26:02.254 - | ImageName: UpJVM [2026-04-22T23:26:02.703Z] STF 23:26:02.254 - | [2026-04-22T23:26:02.703Z] STF 23:26:02.255 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17768997019234/UpgModPath_Exp_1/20260422-232551-UpgModPathTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17768997019234/UpgModPath_Exp_1/20260422-232551-UpgModPathTest/tmp/6.UpJVM [2026-04-22T23:26:02.703Z] STF 23:26:02.255 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17768997019234/UpgModPath_Exp_1/20260422-232551-UpgModPathTest/results/6.JLNK.stderr [2026-04-22T23:26:02.703Z] STF 23:26:02.255 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17768997019234/UpgModPath_Exp_1/20260422-232551-UpgModPathTest/results/6.JLNK.stdout [2026-04-22T23:26:02.703Z] STF 23:26:02.260 - Monitoring processes: JLNK [2026-04-22T23:26:13.714Z] STF 23:26:12.672 - Monitoring Report Summary: [2026-04-22T23:26:13.714Z] STF 23:26:12.673 - o Process JLNK ended with the expected exit code (0) [2026-04-22T23:26:13.714Z] STF 23:26:12.675 - [2026-04-22T23:26:13.714Z] STF 23:26:12.675 - +------ Step 7 - Override an application module [2026-04-22T23:26:13.714Z] STF 23:26:12.675 - | Run foreground process [2026-04-22T23:26:13.714Z] STF 23:26:12.675 - | Program: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/java [2026-04-22T23:26:13.714Z] STF 23:26:12.675 - | Mnemonic: OT11 [2026-04-22T23:26:13.714Z] STF 23:26:12.675 - | Echo: ECHO_ON [2026-04-22T23:26:13.714Z] STF 23:26:12.675 - | Expectation: CLEAN_RUN within 1m [2026-04-22T23:26:13.714Z] STF 23:26:12.675 - | [2026-04-22T23:26:13.714Z] STF 23:26:12.677 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --upgrade-module-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello --add-modules=com.test -XX:-UseCompressedOops -classpath /home/jenkins/externalDependency/system_lib/junit/junit.jar:/home/jenkins/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2026-04-22T23:26:13.714Z] STF 23:26:12.677 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17768997019234/UpgModPath_Exp_1/20260422-232551-UpgModPathTest/results/7.OT11.stderr [2026-04-22T23:26:13.714Z] STF 23:26:12.677 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17768997019234/UpgModPath_Exp_1/20260422-232551-UpgModPathTest/results/7.OT11.stdout [2026-04-22T23:26:13.714Z] STF 23:26:12.686 - Monitoring processes: OT11 [2026-04-22T23:26:14.056Z] OT11 JUnit version 4.12 [2026-04-22T23:26:14.401Z] OT11 . [2026-04-22T23:26:14.731Z] OT11 Time: 0.018 [2026-04-22T23:26:14.731Z] OT11 [2026-04-22T23:26:14.731Z] OT11 OK (1 test) [2026-04-22T23:26:14.731Z] OT11 [2026-04-22T23:26:14.731Z] STF 23:26:14.385 - Monitoring Report Summary: [2026-04-22T23:26:14.731Z] STF 23:26:14.386 - o Process OT11 ended with the expected exit code (0) [2026-04-22T23:26:14.731Z] STF 23:26:14.388 - [2026-04-22T23:26:14.731Z] STF 23:26:14.388 - +------ Step 8 - (Negative test) Override a non-upgradable platform module [2026-04-22T23:26:14.731Z] STF 23:26:14.388 - | Run foreground process [2026-04-22T23:26:14.731Z] STF 23:26:14.388 - | Program: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/java [2026-04-22T23:26:14.731Z] STF 23:26:14.388 - | Mnemonic: OT13 [2026-04-22T23:26:14.731Z] STF 23:26:14.388 - | Echo: ECHO_ON [2026-04-22T23:26:14.731Z] STF 23:26:14.389 - | Expectation: NON_ZERO_EXIT [1] within 1m [2026-04-22T23:26:14.731Z] STF 23:26:14.389 - | [2026-04-22T23:26:14.731Z] STF 23:26:14.390 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --upgrade-module-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.logging --add-modules=com.test -XX:-UseCompressedOops -classpath /home/jenkins/externalDependency/system_lib/junit/junit.jar:/home/jenkins/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingNonUpgradablePlatformModule [2026-04-22T23:26:14.731Z] STF 23:26:14.390 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17768997019234/UpgModPath_Exp_1/20260422-232551-UpgModPathTest/results/8.OT13.stderr [2026-04-22T23:26:14.731Z] STF 23:26:14.390 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17768997019234/UpgModPath_Exp_1/20260422-232551-UpgModPathTest/results/8.OT13.stdout [2026-04-22T23:26:14.731Z] STF 23:26:14.396 - Monitoring processes: OT13 [2026-04-22T23:26:15.451Z] OT13 Error occurred during initialization of boot layer [2026-04-22T23:26:15.452Z] OT13 java.lang.module.FindException: Unable to compute the hash of module java.logging [2026-04-22T23:26:15.452Z] STF 23:26:15.253 - Monitoring Report Summary: [2026-04-22T23:26:15.452Z] STF 23:26:15.253 - o Process OT13 ended with the expected exit code (1) [2026-04-22T23:26:15.452Z] STF 23:26:15.254 - [2026-04-22T23:26:15.452Z] STF 23:26:15.254 - +------ Step 9 - Combine stderr and stdout files of process OT13 [2026-04-22T23:26:15.452Z] STF 23:26:15.254 - | Run foreground process [2026-04-22T23:26:15.452Z] STF 23:26:15.254 - | Program: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/java [2026-04-22T23:26:15.452Z] STF 23:26:15.254 - | Mnemonic: CO [2026-04-22T23:26:15.452Z] STF 23:26:15.254 - | Echo: ECHO_OFF [2026-04-22T23:26:15.452Z] STF 23:26:15.254 - | Expectation: NON_ZERO_EXIT [0] within 30s [2026-04-22T23:26:15.452Z] STF 23:26:15.254 - | [2026-04-22T23:26:15.452Z] STF 23:26:15.256 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/java -Dfile1=/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17768997019234/UpgModPath_Exp_1/20260422-232551-UpgModPathTest/results/8.OT13.stdout -Dfile2=/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17768997019234/UpgModPath_Exp_1/20260422-232551-UpgModPathTest/results/8.OT13.stderr -Dfinal.file=/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17768997019234/UpgModPath_Exp_1/20260422-232551-UpgModPathTest/results/combinedOT13.txt -XX:-UseCompressedOops -classpath /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/bin:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin net.adoptopenjdk.test.modularity.TestUtil [2026-04-22T23:26:15.452Z] STF 23:26:15.256 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17768997019234/UpgModPath_Exp_1/20260422-232551-UpgModPathTest/results/9.CO.stderr [2026-04-22T23:26:15.452Z] STF 23:26:15.256 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17768997019234/UpgModPath_Exp_1/20260422-232551-UpgModPathTest/results/9.CO.stdout [2026-04-22T23:26:15.452Z] STF 23:26:15.264 - Monitoring processes: CO [2026-04-22T23:26:16.169Z] STF 23:26:15.843 - Monitoring Report Summary: [2026-04-22T23:26:16.169Z] STF 23:26:15.843 - o Process CO ended with the expected exit code (0) [2026-04-22T23:26:16.169Z] STF 23:26:15.844 - [2026-04-22T23:26:16.169Z] STF 23:26:15.844 - +------ Step 10 - Check output [2026-04-22T23:26:16.169Z] STF 23:26:15.844 - | Count file matches [2026-04-22T23:26:16.169Z] STF 23:26:15.844 - | TargetFile: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17768997019234/UpgModPath_Exp_1/20260422-232551-UpgModPathTest/results/combinedOT13.txt [2026-04-22T23:26:16.169Z] STF 23:26:15.844 - | ExpectedNumMatches: 1 [2026-04-22T23:26:16.169Z] STF 23:26:15.844 - | SearchStrings: ["FindException: Unable to compute the hash of module java.logging"] [2026-04-22T23:26:16.169Z] STF 23:26:15.844 - | [2026-04-22T23:26:16.169Z] STF 23:26:15.845 - Found 1 instances of ["FindException: Unable to compute the hash of module java.logging"] [2026-04-22T23:26:16.169Z] STF 23:26:15.845 - EXECUTE stage completed [2026-04-22T23:26:16.169Z] STF 23:26:16.017 - [2026-04-22T23:26:16.169Z] STF 23:26:16.018 - ==================== T E A R D O W N ==================== [2026-04-22T23:26:16.169Z] STF 23:26:16.018 - Running teardown: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17768997019234/UpgModPath_Exp_1/20260422-232551-UpgModPathTest/tearDown.pl [2026-04-22T23:26:16.500Z] STF 23:26:16.248 - TEARDOWN stage completed [2026-04-22T23:26:16.500Z] STF 23:26:16.257 - [2026-04-22T23:26:16.500Z] STF 23:26:16.257 - ===================== R E S U L T S ===================== [2026-04-22T23:26:16.500Z] STF 23:26:16.258 - Stage results: [2026-04-22T23:26:16.500Z] STF 23:26:16.258 - setUp: pass [2026-04-22T23:26:16.500Z] STF 23:26:16.258 - execute: pass [2026-04-22T23:26:16.500Z] STF 23:26:16.258 - teardown: pass [2026-04-22T23:26:16.500Z] STF 23:26:16.258 - [2026-04-22T23:26:16.500Z] STF 23:26:16.258 - Overall result: PASSED [2026-04-22T23:26:16.500Z] ----------------------------------- [2026-04-22T23:26:16.500Z] UpgModPath_Exp_1_PASSED [2026-04-22T23:26:16.500Z] ----------------------------------- [2026-04-22T23:26:16.500Z] [2026-04-22T23:26:16.500Z] TEST TEARDOWN: [2026-04-22T23:26:16.500Z] Nothing to be done for teardown. [2026-04-22T23:26:16.500Z] UpgModPath_Exp_1 Finish Time: Wed Apr 22 23:26:16 2026 Epoch Time (ms): 1776900376423