UpgModPath_ExpImg_0

[2025-05-23T04:06:06.347Z] Running test UpgModPath_ExpImg_0 ... [2025-05-23T04:06:06.347Z] =============================================== [2025-05-23T04:06:06.347Z] UpgModPath_ExpImg_0 Start Time: Fri May 23 04:06:06 2025 Epoch Time (ms): 1747973166057 [2025-05-23T04:06:06.347Z] variation: Mode150 [2025-05-23T04:06:06.347Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-05-23T04:06:06.347Z] { \ [2025-05-23T04:06:06.347Z] echo ""; echo "TEST SETUP:"; \ [2025-05-23T04:06:06.347Z] echo "Nothing to be done for setup."; \ [2025-05-23T04:06:06.347Z] mkdir -p "/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17479713965615/UpgModPath_ExpImg_0"; \ [2025-05-23T04:06:06.347Z] cd "/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17479713965615/UpgModPath_ExpImg_0"; \ [2025-05-23T04:06:06.347Z] echo ""; echo "TESTING:"; \ [2025-05-23T04:06:06.347Z] perl /home/jenkins/workspace/Test_openjdk25_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_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/../../testDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17479713965615/UpgModPath_ExpImg_0" -test=UpgModPathTest -test-args="variant=ExpImg"; \ [2025-05-23T04:06:06.347Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_ExpImg_0""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17479713965615/UpgModPath_ExpImg_0"; else echo "-----------------------------------"; echo "UpgModPath_ExpImg_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-05-23T04:06:06.347Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-05-23T04:06:06.347Z] echo "Nothing to be done for teardown."; \ [2025-05-23T04:06:06.347Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17479713965615/TestTargetResult"; [2025-05-23T04:06:06.347Z] [2025-05-23T04:06:06.347Z] TEST SETUP: [2025-05-23T04:06:06.347Z] Nothing to be done for setup. [2025-05-23T04:06:06.347Z] [2025-05-23T04:06:06.347Z] TESTING: [2025-05-23T04:06:06.674Z] STF 04:06:06.327 - ========================= S T F ========================= [2025-05-23T04:06:06.674Z] systemtest-prereqs has been processed, and set to: /home/jenkins/testDependency/system_libRetrieving amount of free space on drive containing /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17479713965615/UpgModPath_ExpImg_0 [2025-05-23T04:06:06.674Z] There is 31245 Mb free [2025-05-23T04:06:06.674Z] STF 04:06:06.349 - ================== G E N E R A T I O N ================== [2025-05-23T04:06:06.674Z] STF 04:06:06.352 - Checking JVM: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image [2025-05-23T04:06:06.674Z] STF 04:06:06.353 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk25_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_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/../../testDependency/system_lib//asm/asm.jar:/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/../../testDependency/system_lib//asm/asm-commons.jar:/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/../../testDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/../../testDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17479713965615/UpgModPath_ExpImg_0/20250523-040606-UpgModPathTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17479713965615/UpgModPath_ExpImg_0/20250523-040606-UpgModPathTest" [2025-05-23T04:06:06.674Z] GEN [0.018s][warning][cds] 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 [2025-05-23T04:06:11.395Z] GEN 04:06:10.804 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: '/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-05-23T04:06:11.395Z] GEN 04:06:10.829 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2025-05-23T04:06:11.395Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-05-23T04:06:11.395Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-05-23T04:06:11.395Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-05-23T04:06:11.395Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-05-23T04:06:11.395Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-05-23T04:06:11.395Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-05-23T04:06:11.395Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-05-23T04:06:11.395Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-05-23T04:06:11.395Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-05-23T04:06:11.395Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-05-23T04:06:11.395Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-05-23T04:06:11.395Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-05-23T04:06:11.395Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-05-23T04:06:11.395Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-05-23T04:06:11.395Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-05-23T04:06:11.395Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-05-23T04:06:11.395Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/bin [2025-05-23T04:06:11.395Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-05-23T04:06:11.395Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-05-23T04:06:11.395Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar [2025-05-23T04:06:11.722Z] GEN 04:06:11.436 - Using Mode NoOptions. Values = '' [2025-05-23T04:06:12.108Z] GEN 04:06:11.721 - [2025-05-23T04:06:12.108Z] GEN 04:06:11.722 - Test command summary: [2025-05-23T04:06:12.108Z] GEN 04:06:11.724 - Step Stage Command Description [2025-05-23T04:06:12.108Z] GEN 04:06:11.725 - -----+--------+-----------------+------------ [2025-05-23T04:06:12.108Z] GEN 04:06:11.726 - 1 execute jar Create com.hello jar [2025-05-23T04:06:12.108Z] GEN 04:06:11.727 - 2 execute jar Create com.hola jar [2025-05-23T04:06:12.108Z] GEN 04:06:11.727 - 3 execute jar Create com.helper jar [2025-05-23T04:06:12.108Z] GEN 04:06:11.728 - 4 execute jar Create com.discreet jar [2025-05-23T04:06:12.108Z] GEN 04:06:11.731 - 5 execute jar Create tests jar [2025-05-23T04:06:12.108Z] GEN 04:06:11.731 - 6 execute jlink Create runtime image for upgrademodulepath test [2025-05-23T04:06:12.108Z] GEN 04:06:11.732 - 7 execute Run java Override an application module using a custom runtime image [2025-05-23T04:06:12.108Z] GEN 04:06:11.733 - 8 execute Run java (Negative test) Override a non-upgradable platform module using a custom runtime image [2025-05-23T04:06:12.108Z] GEN 04:06:11.733 - 9 execute Run java Combine stderr and stdout files of process OT16 [2025-05-23T04:06:12.108Z] GEN 04:06:11.734 - 10 execute count Check output [2025-05-23T04:06:12.108Z] STF 04:06:11.869 - [2025-05-23T04:06:12.108Z] STF 04:06:11.870 - Script generation completed [2025-05-23T04:06:12.108Z] STF 04:06:11.870 - [2025-05-23T04:06:12.108Z] STF 04:06:11.873 - [2025-05-23T04:06:12.108Z] STF 04:06:11.874 - ======================= S E T U P ======================= [2025-05-23T04:06:12.108Z] STF 04:06:11.874 - Running setup: perl /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17479713965615/UpgModPath_ExpImg_0/20250523-040606-UpgModPathTest/setUp.pl [2025-05-23T04:06:12.622Z] STF 04:06:12.123 - SETUP stage completed [2025-05-23T04:06:12.622Z] STF 04:06:12.133 - [2025-05-23T04:06:12.622Z] STF 04:06:12.133 - ==================== E X E C U T E - ==================== [2025-05-23T04:06:12.622Z] STF 04:06:12.134 - Running execute: perl /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17479713965615/UpgModPath_ExpImg_0/20250523-040606-UpgModPathTest/execute.pl [2025-05-23T04:06:12.622Z] STF 04:06:12.406 - [2025-05-23T04:06:12.622Z] STF 04:06:12.406 - Java version [2025-05-23T04:06:12.622Z] STF 04:06:12.406 - Running: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/java -version [2025-05-23T04:06:12.622Z] openjdk version "25-beta" 2025-09-16 [2025-05-23T04:06:12.622Z] OpenJDK Runtime Environment Temurin-25+24-202505222032 (build 25-beta+24-ea) [2025-05-23T04:06:12.622Z] OpenJDK 64-Bit Server VM Temurin-25+24-202505222032 (build 25-beta+24-ea, mixed mode, sharing) [2025-05-23T04:06:12.948Z] STF 04:06:12.609 - [2025-05-23T04:06:12.948Z] STF 04:06:12.609 - +------ Step 1 - Create com.hello jar [2025-05-23T04:06:12.948Z] STF 04:06:12.609 - | Create modular jar [2025-05-23T04:06:12.948Z] STF 04:06:12.609 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-05-23T04:06:12.948Z] STF 04:06:12.609 - | ModuleVersion: null [2025-05-23T04:06:12.948Z] STF 04:06:12.609 - | MainClass: null [2025-05-23T04:06:12.948Z] STF 04:06:12.609 - | HashModules: null [2025-05-23T04:06:12.948Z] STF 04:06:12.609 - | [2025-05-23T04:06:12.948Z] STF 04:06:12.611 - Running command: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17479713965615/UpgModPath_ExpImg_0/20250523-040606-UpgModPathTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-05-23T04:06:12.948Z] STF 04:06:12.611 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17479713965615/UpgModPath_ExpImg_0/20250523-040606-UpgModPathTest/results/1.CMJ.stderr [2025-05-23T04:06:12.948Z] STF 04:06:12.611 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17479713965615/UpgModPath_ExpImg_0/20250523-040606-UpgModPathTest/results/1.CMJ.stdout [2025-05-23T04:06:12.948Z] STF 04:06:12.650 - Monitoring processes: CMJ [2025-05-23T04:06:14.092Z] STF 04:06:13.694 - Monitoring Report Summary: [2025-05-23T04:06:14.092Z] STF 04:06:13.694 - o Process CMJ ended with the expected exit code (0) [2025-05-23T04:06:14.092Z] STF 04:06:13.695 - Created modular jar: 1.com.hello.jar [2025-05-23T04:06:14.092Z] STF 04:06:13.695 - [2025-05-23T04:06:14.092Z] STF 04:06:13.695 - +------ Step 2 - Create com.hola jar [2025-05-23T04:06:14.092Z] STF 04:06:13.695 - | Create modular jar [2025-05-23T04:06:14.092Z] STF 04:06:13.695 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-05-23T04:06:14.092Z] STF 04:06:13.695 - | ModuleVersion: null [2025-05-23T04:06:14.092Z] STF 04:06:13.695 - | MainClass: null [2025-05-23T04:06:14.092Z] STF 04:06:13.695 - | HashModules: null [2025-05-23T04:06:14.092Z] STF 04:06:13.695 - | [2025-05-23T04:06:14.092Z] STF 04:06:13.696 - Running command: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17479713965615/UpgModPath_ExpImg_0/20250523-040606-UpgModPathTest/modules/2.com.hola.jar -C /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2025-05-23T04:06:14.092Z] STF 04:06:13.697 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17479713965615/UpgModPath_ExpImg_0/20250523-040606-UpgModPathTest/results/2.CMJ.stderr [2025-05-23T04:06:14.092Z] STF 04:06:13.697 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17479713965615/UpgModPath_ExpImg_0/20250523-040606-UpgModPathTest/results/2.CMJ.stdout [2025-05-23T04:06:14.092Z] STF 04:06:13.701 - Monitoring processes: CMJ [2025-05-23T04:06:14.801Z] STF 04:06:14.693 - Monitoring Report Summary: [2025-05-23T04:06:14.801Z] STF 04:06:14.693 - o Process CMJ ended with the expected exit code (0) [2025-05-23T04:06:14.801Z] STF 04:06:14.694 - Created modular jar: 2.com.hola.jar [2025-05-23T04:06:14.801Z] STF 04:06:14.694 - [2025-05-23T04:06:14.801Z] STF 04:06:14.694 - +------ Step 3 - Create com.helper jar [2025-05-23T04:06:14.801Z] STF 04:06:14.694 - | Create modular jar [2025-05-23T04:06:14.801Z] STF 04:06:14.694 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-05-23T04:06:14.801Z] STF 04:06:14.694 - | ModuleVersion: null [2025-05-23T04:06:14.801Z] STF 04:06:14.694 - | MainClass: null [2025-05-23T04:06:14.801Z] STF 04:06:14.694 - | HashModules: null [2025-05-23T04:06:14.801Z] STF 04:06:14.694 - | [2025-05-23T04:06:14.802Z] STF 04:06:14.695 - Running command: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17479713965615/UpgModPath_ExpImg_0/20250523-040606-UpgModPathTest/modules/3.com.helper.jar -C /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2025-05-23T04:06:14.802Z] STF 04:06:14.695 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17479713965615/UpgModPath_ExpImg_0/20250523-040606-UpgModPathTest/results/3.CMJ.stderr [2025-05-23T04:06:14.802Z] STF 04:06:14.695 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17479713965615/UpgModPath_ExpImg_0/20250523-040606-UpgModPathTest/results/3.CMJ.stdout [2025-05-23T04:06:14.802Z] STF 04:06:14.699 - Monitoring processes: CMJ [2025-05-23T04:06:15.946Z] STF 04:06:15.678 - Monitoring Report Summary: [2025-05-23T04:06:15.946Z] STF 04:06:15.678 - o Process CMJ ended with the expected exit code (0) [2025-05-23T04:06:15.946Z] STF 04:06:15.678 - Created modular jar: 3.com.helper.jar [2025-05-23T04:06:15.946Z] STF 04:06:15.679 - [2025-05-23T04:06:15.946Z] STF 04:06:15.679 - +------ Step 4 - Create com.discreet jar [2025-05-23T04:06:15.946Z] STF 04:06:15.679 - | Create modular jar [2025-05-23T04:06:15.946Z] STF 04:06:15.679 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-05-23T04:06:15.946Z] STF 04:06:15.679 - | ModuleVersion: null [2025-05-23T04:06:15.946Z] STF 04:06:15.679 - | MainClass: null [2025-05-23T04:06:15.946Z] STF 04:06:15.679 - | HashModules: null [2025-05-23T04:06:15.946Z] STF 04:06:15.679 - | [2025-05-23T04:06:15.946Z] STF 04:06:15.680 - Running command: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17479713965615/UpgModPath_ExpImg_0/20250523-040606-UpgModPathTest/modules/4.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2025-05-23T04:06:15.947Z] STF 04:06:15.680 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17479713965615/UpgModPath_ExpImg_0/20250523-040606-UpgModPathTest/results/4.CMJ.stderr [2025-05-23T04:06:15.947Z] STF 04:06:15.680 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17479713965615/UpgModPath_ExpImg_0/20250523-040606-UpgModPathTest/results/4.CMJ.stdout [2025-05-23T04:06:15.947Z] STF 04:06:15.684 - Monitoring processes: CMJ [2025-05-23T04:06:17.083Z] STF 04:06:16.701 - Monitoring Report Summary: [2025-05-23T04:06:17.083Z] STF 04:06:16.701 - o Process CMJ ended with the expected exit code (0) [2025-05-23T04:06:17.083Z] STF 04:06:16.702 - Created modular jar: 4.com.discreet.jar [2025-05-23T04:06:17.083Z] STF 04:06:16.702 - [2025-05-23T04:06:17.083Z] STF 04:06:16.702 - +------ Step 5 - Create tests jar [2025-05-23T04:06:17.083Z] STF 04:06:16.702 - | Create modular jar [2025-05-23T04:06:17.083Z] STF 04:06:16.702 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-05-23T04:06:17.083Z] STF 04:06:16.702 - | ModuleVersion: null [2025-05-23T04:06:17.083Z] STF 04:06:16.702 - | MainClass: null [2025-05-23T04:06:17.083Z] STF 04:06:16.702 - | HashModules: null [2025-05-23T04:06:17.083Z] STF 04:06:16.702 - | [2025-05-23T04:06:17.083Z] STF 04:06:16.703 - Running command: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17479713965615/UpgModPath_ExpImg_0/20250523-040606-UpgModPathTest/modules/5.com.test.jar -C /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2025-05-23T04:06:17.083Z] STF 04:06:16.703 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17479713965615/UpgModPath_ExpImg_0/20250523-040606-UpgModPathTest/results/5.CMJ.stderr [2025-05-23T04:06:17.083Z] STF 04:06:16.703 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17479713965615/UpgModPath_ExpImg_0/20250523-040606-UpgModPathTest/results/5.CMJ.stdout [2025-05-23T04:06:17.083Z] STF 04:06:16.707 - Monitoring processes: CMJ [2025-05-23T04:06:17.794Z] STF 04:06:17.742 - Monitoring Report Summary: [2025-05-23T04:06:17.794Z] STF 04:06:17.742 - o Process CMJ ended with the expected exit code (0) [2025-05-23T04:06:17.794Z] STF 04:06:17.743 - Created modular jar: 5.com.test.jar [2025-05-23T04:06:17.794Z] STF 04:06:17.743 - [2025-05-23T04:06:17.794Z] STF 04:06:17.743 - +------ Step 6 - Create runtime image for upgrademodulepath test [2025-05-23T04:06:17.794Z] STF 04:06:17.743 - | Run jlink to create runtime image [2025-05-23T04:06:17.794Z] STF 04:06:17.743 - | ImageName: UpJVM [2025-05-23T04:06:17.794Z] STF 04:06:17.743 - | [2025-05-23T04:06:17.794Z] STF 04:06:17.744 - Running command: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17479713965615/UpgModPath_ExpImg_0/20250523-040606-UpgModPathTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17479713965615/UpgModPath_ExpImg_0/20250523-040606-UpgModPathTest/tmp/6.UpJVM [2025-05-23T04:06:17.794Z] STF 04:06:17.745 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17479713965615/UpgModPath_ExpImg_0/20250523-040606-UpgModPathTest/results/6.JLNK.stderr [2025-05-23T04:06:17.794Z] STF 04:06:17.745 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17479713965615/UpgModPath_ExpImg_0/20250523-040606-UpgModPathTest/results/6.JLNK.stdout [2025-05-23T04:06:17.794Z] STF 04:06:17.748 - Monitoring processes: JLNK [2025-05-23T04:06:28.590Z] STF 04:06:27.572 - Monitoring Report Summary: [2025-05-23T04:06:28.590Z] STF 04:06:27.573 - o Process JLNK ended with the expected exit code (0) [2025-05-23T04:06:28.590Z] STF 04:06:27.577 - [2025-05-23T04:06:28.590Z] STF 04:06:27.578 - +------ Step 7 - Override an application module using a custom runtime image [2025-05-23T04:06:28.591Z] STF 04:06:27.578 - | Run foreground process [2025-05-23T04:06:28.591Z] STF 04:06:27.578 - | Program: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17479713965615/UpgModPath_ExpImg_0/20250523-040606-UpgModPathTest/tmp/6.UpJVM/bin/java [2025-05-23T04:06:28.591Z] STF 04:06:27.579 - | Mnemonic: OT14 [2025-05-23T04:06:28.591Z] STF 04:06:27.579 - | Echo: ECHO_ON [2025-05-23T04:06:28.591Z] STF 04:06:27.579 - | Expectation: CLEAN_RUN within 1m [2025-05-23T04:06:28.591Z] STF 04:06:27.580 - | [2025-05-23T04:06:28.591Z] STF 04:06:27.585 - Running command: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17479713965615/UpgModPath_ExpImg_0/20250523-040606-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello -XX:+UseCompressedOops -classpath /home/jenkins/testDependency/system_lib/junit/junit.jar:/home/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2025-05-23T04:06:28.591Z] STF 04:06:27.586 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17479713965615/UpgModPath_ExpImg_0/20250523-040606-UpgModPathTest/results/7.OT14.stderr [2025-05-23T04:06:28.591Z] STF 04:06:27.586 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17479713965615/UpgModPath_ExpImg_0/20250523-040606-UpgModPathTest/results/7.OT14.stdout [2025-05-23T04:06:28.591Z] STF 04:06:27.590 - Monitoring processes: OT14 [2025-05-23T04:06:28.917Z] OT14 JUnit version 4.12 [2025-05-23T04:06:29.242Z] OT14 . [2025-05-23T04:06:29.574Z] OT14 Time: 0.028 [2025-05-23T04:06:29.574Z] OT14 [2025-05-23T04:06:29.574Z] OT14 OK (1 test) [2025-05-23T04:06:29.574Z] OT14 [2025-05-23T04:06:29.574Z] STF 04:06:29.341 - Monitoring Report Summary: [2025-05-23T04:06:29.574Z] STF 04:06:29.341 - o Process OT14 ended with the expected exit code (0) [2025-05-23T04:06:29.574Z] STF 04:06:29.344 - [2025-05-23T04:06:29.574Z] STF 04:06:29.345 - +------ Step 8 - (Negative test) Override a non-upgradable platform module using a custom runtime image [2025-05-23T04:06:29.574Z] STF 04:06:29.346 - | Run foreground process [2025-05-23T04:06:29.574Z] STF 04:06:29.346 - | Program: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17479713965615/UpgModPath_ExpImg_0/20250523-040606-UpgModPathTest/tmp/6.UpJVM/bin/java [2025-05-23T04:06:29.574Z] STF 04:06:29.347 - | Mnemonic: OT16 [2025-05-23T04:06:29.574Z] STF 04:06:29.347 - | Echo: ECHO_ON [2025-05-23T04:06:29.574Z] STF 04:06:29.347 - | Expectation: NON_ZERO_EXIT [1] within 1m [2025-05-23T04:06:29.574Z] STF 04:06:29.348 - | [2025-05-23T04:06:29.574Z] STF 04:06:29.351 - Running command: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17479713965615/UpgModPath_ExpImg_0/20250523-040606-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.logging -XX:+UseCompressedOops -classpath /home/jenkins/testDependency/system_lib/junit/junit.jar:/home/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingNonUpgradablePlatformModule [2025-05-23T04:06:29.574Z] STF 04:06:29.352 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17479713965615/UpgModPath_ExpImg_0/20250523-040606-UpgModPathTest/results/8.OT16.stderr [2025-05-23T04:06:29.574Z] STF 04:06:29.352 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17479713965615/UpgModPath_ExpImg_0/20250523-040606-UpgModPathTest/results/8.OT16.stdout [2025-05-23T04:06:29.574Z] STF 04:06:29.360 - Monitoring processes: OT16 [2025-05-23T04:06:30.284Z] OT16 Error occurred during initialization of boot layer [2025-05-23T04:06:30.284Z] OT16 java.lang.module.FindException: Unable to compute the hash of module java.logging [2025-05-23T04:06:30.284Z] STF 04:06:30.163 - Monitoring Report Summary: [2025-05-23T04:06:30.284Z] STF 04:06:30.163 - o Process OT16 ended with the expected exit code (1) [2025-05-23T04:06:30.284Z] STF 04:06:30.164 - [2025-05-23T04:06:30.284Z] STF 04:06:30.164 - +------ Step 9 - Combine stderr and stdout files of process OT16 [2025-05-23T04:06:30.284Z] STF 04:06:30.164 - | Run foreground process [2025-05-23T04:06:30.284Z] STF 04:06:30.164 - | Program: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/java [2025-05-23T04:06:30.284Z] STF 04:06:30.164 - | Mnemonic: CO [2025-05-23T04:06:30.284Z] STF 04:06:30.164 - | Echo: ECHO_OFF [2025-05-23T04:06:30.284Z] STF 04:06:30.164 - | Expectation: NON_ZERO_EXIT [0] within 5m [2025-05-23T04:06:30.284Z] STF 04:06:30.164 - | [2025-05-23T04:06:30.284Z] STF 04:06:30.165 - Running command: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/java -Dfile1=/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17479713965615/UpgModPath_ExpImg_0/20250523-040606-UpgModPathTest/results/8.OT16.stdout -Dfile2=/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17479713965615/UpgModPath_ExpImg_0/20250523-040606-UpgModPathTest/results/8.OT16.stderr -Dfinal.file=/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17479713965615/UpgModPath_ExpImg_0/20250523-040606-UpgModPathTest/results/combinedOT16.txt -XX:+UseCompressedOops -classpath /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/bin:/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin net.adoptopenjdk.test.modularity.TestUtil [2025-05-23T04:06:30.284Z] STF 04:06:30.166 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17479713965615/UpgModPath_ExpImg_0/20250523-040606-UpgModPathTest/results/9.CO.stderr [2025-05-23T04:06:30.284Z] STF 04:06:30.166 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17479713965615/UpgModPath_ExpImg_0/20250523-040606-UpgModPathTest/results/9.CO.stdout [2025-05-23T04:06:30.284Z] STF 04:06:30.172 - Monitoring processes: CO [2025-05-23T04:06:30.994Z] STF 04:06:30.635 - Monitoring Report Summary: [2025-05-23T04:06:30.994Z] STF 04:06:30.636 - o Process CO ended with the expected exit code (0) [2025-05-23T04:06:30.994Z] STF 04:06:30.637 - [2025-05-23T04:06:30.994Z] STF 04:06:30.637 - +------ Step 10 - Check output [2025-05-23T04:06:30.994Z] STF 04:06:30.637 - | Count file matches [2025-05-23T04:06:30.994Z] STF 04:06:30.637 - | TargetFile: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17479713965615/UpgModPath_ExpImg_0/20250523-040606-UpgModPathTest/results/combinedOT16.txt [2025-05-23T04:06:30.994Z] STF 04:06:30.637 - | ExpectedNumMatches: 1 [2025-05-23T04:06:30.994Z] STF 04:06:30.637 - | SearchStrings: ["FindException: Unable to compute the hash of module java.logging"] [2025-05-23T04:06:30.994Z] STF 04:06:30.637 - | [2025-05-23T04:06:30.994Z] STF 04:06:30.637 - Found 1 instances of ["FindException: Unable to compute the hash of module java.logging"] [2025-05-23T04:06:30.994Z] STF 04:06:30.637 - EXECUTE stage completed [2025-05-23T04:06:30.994Z] STF 04:06:30.792 - [2025-05-23T04:06:30.994Z] STF 04:06:30.793 - ==================== T E A R D O W N ==================== [2025-05-23T04:06:30.994Z] STF 04:06:30.793 - Running teardown: perl /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17479713965615/UpgModPath_ExpImg_0/20250523-040606-UpgModPathTest/tearDown.pl [2025-05-23T04:06:31.319Z] STF 04:06:31.032 - TEARDOWN stage completed [2025-05-23T04:06:31.319Z] STF 04:06:31.040 - [2025-05-23T04:06:31.319Z] STF 04:06:31.040 - ===================== R E S U L T S ===================== [2025-05-23T04:06:31.319Z] STF 04:06:31.040 - Stage results: [2025-05-23T04:06:31.319Z] STF 04:06:31.040 - setUp: pass [2025-05-23T04:06:31.319Z] STF 04:06:31.040 - execute: pass [2025-05-23T04:06:31.319Z] STF 04:06:31.041 - teardown: pass [2025-05-23T04:06:31.319Z] STF 04:06:31.041 - [2025-05-23T04:06:31.319Z] STF 04:06:31.041 - Overall result: PASSED [2025-05-23T04:06:31.319Z] ----------------------------------- [2025-05-23T04:06:31.319Z] UpgModPath_ExpImg_0_PASSED [2025-05-23T04:06:31.319Z] ----------------------------------- [2025-05-23T04:06:31.319Z] [2025-05-23T04:06:31.319Z] TEST TEARDOWN: [2025-05-23T04:06:31.319Z] Nothing to be done for teardown. [2025-05-23T04:06:31.319Z] UpgModPath_ExpImg_0 Finish Time: Fri May 23 04:06:31 2025 Epoch Time (ms): 1747973191226