UpgModPath_Exp_0

[2025-06-19T04:31:44.059Z] Running test UpgModPath_Exp_0 ... [2025-06-19T04:31:44.059Z] =============================================== [2025-06-19T04:31:44.059Z] UpgModPath_Exp_0 Start Time: Thu Jun 19 04:31:43 2025 Epoch Time (ms): 1750307503478 [2025-06-19T04:31:44.059Z] variation: Mode150 [2025-06-19T04:31:44.059Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-06-19T04:31:44.059Z] { \ [2025-06-19T04:31:44.059Z] echo ""; echo "TEST SETUP:"; \ [2025-06-19T04:31:44.059Z] echo "Nothing to be done for setup."; \ [2025-06-19T04:31:44.059Z] mkdir -p "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17503023603594/UpgModPath_Exp_0"; \ [2025-06-19T04:31:44.059Z] cd "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17503023603594/UpgModPath_Exp_0"; \ [2025-06-19T04:31:44.059Z] echo ""; echo "TESTING:"; \ [2025-06-19T04:31:44.059Z] perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/../../testDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17503023603594/UpgModPath_Exp_0" -test=UpgModPathTest -test-args="variant=Exp"; \ [2025-06-19T04:31:44.059Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_Exp_0""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17503023603594/UpgModPath_Exp_0"; else echo "-----------------------------------"; echo "UpgModPath_Exp_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-06-19T04:31:44.059Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-06-19T04:31:44.059Z] echo "Nothing to be done for teardown."; \ [2025-06-19T04:31:44.059Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17503023603594/TestTargetResult"; [2025-06-19T04:31:44.059Z] [2025-06-19T04:31:44.059Z] TEST SETUP: [2025-06-19T04:31:44.059Z] Nothing to be done for setup. [2025-06-19T04:31:44.059Z] [2025-06-19T04:31:44.059Z] TESTING: [2025-06-19T04:31:44.059Z] STF 04:31:43.524 - ========================= S T F ========================= [2025-06-19T04:31:44.059Z] systemtest-prereqs has been processed, and set to: /home/jenkins/testDependency/system_libRetrieving amount of free space on drive containing /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17503023603594/UpgModPath_Exp_0 [2025-06-19T04:31:44.059Z] There is 109415 Mb free [2025-06-19T04:31:44.059Z] STF 04:31:43.528 - ================== G E N E R A T I O N ================== [2025-06-19T04:31:44.059Z] STF 04:31:43.528 - Checking JVM: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image [2025-06-19T04:31:44.059Z] STF 04:31:43.528 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/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_x86-64_linux_testList_1/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/../../testDependency/system_lib//asm/asm.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/../../testDependency/system_lib//asm/asm-commons.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/../../testDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/../../testDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17503023603594/UpgModPath_Exp_0/20250619-043143-UpgModPathTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17503023603594/UpgModPath_Exp_0/20250619-043143-UpgModPathTest" [2025-06-19T04:31:44.059Z] 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 [2025-06-19T04:31:44.690Z] GEN 04:31:44.218 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: '/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-06-19T04:31:44.690Z] GEN 04:31:44.223 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2025-06-19T04:31:44.690Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-06-19T04:31:44.690Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-06-19T04:31:44.690Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-06-19T04:31:44.690Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-06-19T04:31:44.690Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-06-19T04:31:44.690Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-06-19T04:31:44.690Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-06-19T04:31:44.690Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-06-19T04:31:44.690Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-06-19T04:31:44.690Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-06-19T04:31:44.690Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-06-19T04:31:44.690Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-06-19T04:31:44.690Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-06-19T04:31:44.690Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-06-19T04:31:44.690Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-06-19T04:31:44.690Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-06-19T04:31:44.690Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/STF/stf.core/bin [2025-06-19T04:31:44.690Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-06-19T04:31:44.690Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-06-19T04:31:44.690Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar [2025-06-19T04:31:44.690Z] GEN 04:31:44.372 - Using Mode NoOptions. Values = '' [2025-06-19T04:31:44.690Z] GEN 04:31:44.448 - [2025-06-19T04:31:44.690Z] GEN 04:31:44.448 - Test command summary: [2025-06-19T04:31:44.690Z] GEN 04:31:44.449 - Step Stage Command Description [2025-06-19T04:31:44.690Z] GEN 04:31:44.450 - -----+--------+-----------------+------------ [2025-06-19T04:31:44.690Z] GEN 04:31:44.450 - 1 execute jar Create com.hello jar [2025-06-19T04:31:44.690Z] GEN 04:31:44.450 - 2 execute jar Create com.hola jar [2025-06-19T04:31:44.690Z] GEN 04:31:44.450 - 3 execute jar Create com.helper jar [2025-06-19T04:31:44.690Z] GEN 04:31:44.450 - 4 execute jar Create com.discreet jar [2025-06-19T04:31:44.690Z] GEN 04:31:44.450 - 5 execute jar Create tests jar [2025-06-19T04:31:44.690Z] GEN 04:31:44.450 - 6 execute jlink Create runtime image for upgrademodulepath test [2025-06-19T04:31:44.690Z] GEN 04:31:44.451 - 7 execute Run java Override an application module [2025-06-19T04:31:44.690Z] GEN 04:31:44.451 - 8 execute Run java (Negative test) Override a non-upgradable platform module [2025-06-19T04:31:44.690Z] GEN 04:31:44.451 - 9 execute Run java Combine stderr and stdout files of process OT13 [2025-06-19T04:31:44.690Z] GEN 04:31:44.451 - 10 execute count Check output [2025-06-19T04:31:44.690Z] STF 04:31:44.475 - [2025-06-19T04:31:44.691Z] STF 04:31:44.475 - Script generation completed [2025-06-19T04:31:44.691Z] STF 04:31:44.475 - [2025-06-19T04:31:44.691Z] STF 04:31:44.475 - [2025-06-19T04:31:44.691Z] STF 04:31:44.475 - ======================= S E T U P ======================= [2025-06-19T04:31:44.691Z] STF 04:31:44.475 - Running setup: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17503023603594/UpgModPath_Exp_0/20250619-043143-UpgModPathTest/setUp.pl [2025-06-19T04:31:44.691Z] STF 04:31:44.515 - SETUP stage completed [2025-06-19T04:31:44.691Z] STF 04:31:44.520 - [2025-06-19T04:31:44.691Z] STF 04:31:44.520 - ==================== E X E C U T E - ==================== [2025-06-19T04:31:44.691Z] STF 04:31:44.520 - Running execute: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17503023603594/UpgModPath_Exp_0/20250619-043143-UpgModPathTest/execute.pl [2025-06-19T04:31:44.691Z] STF 04:31:44.560 - [2025-06-19T04:31:44.691Z] STF 04:31:44.560 - Java version [2025-06-19T04:31:44.691Z] STF 04:31:44.560 - Running: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/java -version [2025-06-19T04:31:44.691Z] openjdk version "17.0.16-beta" 2025-07-15 [2025-06-19T04:31:44.691Z] OpenJDK Runtime Environment Temurin-17.0.16+7-202506181943 (build 17.0.16-beta+7-ea) [2025-06-19T04:31:44.691Z] OpenJDK 64-Bit Server VM Temurin-17.0.16+7-202506181943 (build 17.0.16-beta+7-ea, mixed mode, sharing) [2025-06-19T04:31:44.691Z] STF 04:31:44.597 - [2025-06-19T04:31:44.691Z] STF 04:31:44.597 - +------ Step 1 - Create com.hello jar [2025-06-19T04:31:44.691Z] STF 04:31:44.597 - | Create modular jar [2025-06-19T04:31:44.691Z] STF 04:31:44.597 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-06-19T04:31:44.691Z] STF 04:31:44.597 - | ModuleVersion: null [2025-06-19T04:31:44.691Z] STF 04:31:44.597 - | MainClass: null [2025-06-19T04:31:44.691Z] STF 04:31:44.597 - | HashModules: null [2025-06-19T04:31:44.691Z] STF 04:31:44.597 - | [2025-06-19T04:31:44.691Z] STF 04:31:44.597 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17503023603594/UpgModPath_Exp_0/20250619-043143-UpgModPathTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-06-19T04:31:44.691Z] STF 04:31:44.597 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17503023603594/UpgModPath_Exp_0/20250619-043143-UpgModPathTest/results/1.CMJ.stderr [2025-06-19T04:31:44.691Z] STF 04:31:44.597 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17503023603594/UpgModPath_Exp_0/20250619-043143-UpgModPathTest/results/1.CMJ.stdout [2025-06-19T04:31:44.691Z] STF 04:31:44.604 - Monitoring processes: CMJ [2025-06-19T04:31:45.323Z] STF 04:31:44.754 - Monitoring Report Summary: [2025-06-19T04:31:45.323Z] STF 04:31:44.754 - o Process CMJ ended with the expected exit code (0) [2025-06-19T04:31:45.323Z] STF 04:31:44.754 - Created modular jar: 1.com.hello.jar [2025-06-19T04:31:45.323Z] STF 04:31:44.754 - [2025-06-19T04:31:45.323Z] STF 04:31:44.754 - +------ Step 2 - Create com.hola jar [2025-06-19T04:31:45.323Z] STF 04:31:44.754 - | Create modular jar [2025-06-19T04:31:45.323Z] STF 04:31:44.754 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-06-19T04:31:45.323Z] STF 04:31:44.754 - | ModuleVersion: null [2025-06-19T04:31:45.323Z] STF 04:31:44.754 - | MainClass: null [2025-06-19T04:31:45.323Z] STF 04:31:44.754 - | HashModules: null [2025-06-19T04:31:45.323Z] STF 04:31:44.754 - | [2025-06-19T04:31:45.323Z] STF 04:31:44.754 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17503023603594/UpgModPath_Exp_0/20250619-043143-UpgModPathTest/modules/2.com.hola.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2025-06-19T04:31:45.323Z] STF 04:31:44.754 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17503023603594/UpgModPath_Exp_0/20250619-043143-UpgModPathTest/results/2.CMJ.stderr [2025-06-19T04:31:45.323Z] STF 04:31:44.754 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17503023603594/UpgModPath_Exp_0/20250619-043143-UpgModPathTest/results/2.CMJ.stdout [2025-06-19T04:31:45.323Z] STF 04:31:44.755 - Monitoring processes: CMJ [2025-06-19T04:31:45.323Z] STF 04:31:44.908 - Monitoring Report Summary: [2025-06-19T04:31:45.323Z] STF 04:31:44.908 - o Process CMJ ended with the expected exit code (0) [2025-06-19T04:31:45.323Z] STF 04:31:44.908 - Created modular jar: 2.com.hola.jar [2025-06-19T04:31:45.323Z] STF 04:31:44.908 - [2025-06-19T04:31:45.323Z] STF 04:31:44.908 - +------ Step 3 - Create com.helper jar [2025-06-19T04:31:45.323Z] STF 04:31:44.908 - | Create modular jar [2025-06-19T04:31:45.323Z] STF 04:31:44.908 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-06-19T04:31:45.323Z] STF 04:31:44.909 - | ModuleVersion: null [2025-06-19T04:31:45.323Z] STF 04:31:44.909 - | MainClass: null [2025-06-19T04:31:45.323Z] STF 04:31:44.909 - | HashModules: null [2025-06-19T04:31:45.323Z] STF 04:31:44.909 - | [2025-06-19T04:31:45.323Z] STF 04:31:44.909 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17503023603594/UpgModPath_Exp_0/20250619-043143-UpgModPathTest/modules/3.com.helper.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2025-06-19T04:31:45.323Z] STF 04:31:44.909 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17503023603594/UpgModPath_Exp_0/20250619-043143-UpgModPathTest/results/3.CMJ.stderr [2025-06-19T04:31:45.323Z] STF 04:31:44.909 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17503023603594/UpgModPath_Exp_0/20250619-043143-UpgModPathTest/results/3.CMJ.stdout [2025-06-19T04:31:45.323Z] STF 04:31:44.910 - Monitoring processes: CMJ [2025-06-19T04:31:45.323Z] STF 04:31:45.057 - Monitoring Report Summary: [2025-06-19T04:31:45.323Z] STF 04:31:45.057 - o Process CMJ ended with the expected exit code (0) [2025-06-19T04:31:45.323Z] STF 04:31:45.058 - Created modular jar: 3.com.helper.jar [2025-06-19T04:31:45.323Z] STF 04:31:45.058 - [2025-06-19T04:31:45.323Z] STF 04:31:45.058 - +------ Step 4 - Create com.discreet jar [2025-06-19T04:31:45.323Z] STF 04:31:45.058 - | Create modular jar [2025-06-19T04:31:45.323Z] STF 04:31:45.058 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-06-19T04:31:45.323Z] STF 04:31:45.058 - | ModuleVersion: null [2025-06-19T04:31:45.324Z] STF 04:31:45.058 - | MainClass: null [2025-06-19T04:31:45.324Z] STF 04:31:45.058 - | HashModules: null [2025-06-19T04:31:45.324Z] STF 04:31:45.058 - | [2025-06-19T04:31:45.324Z] STF 04:31:45.058 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17503023603594/UpgModPath_Exp_0/20250619-043143-UpgModPathTest/modules/4.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2025-06-19T04:31:45.324Z] STF 04:31:45.058 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17503023603594/UpgModPath_Exp_0/20250619-043143-UpgModPathTest/results/4.CMJ.stderr [2025-06-19T04:31:45.324Z] STF 04:31:45.058 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17503023603594/UpgModPath_Exp_0/20250619-043143-UpgModPathTest/results/4.CMJ.stdout [2025-06-19T04:31:45.324Z] STF 04:31:45.059 - Monitoring processes: CMJ [2025-06-19T04:31:45.324Z] STF 04:31:45.208 - Monitoring Report Summary: [2025-06-19T04:31:45.324Z] STF 04:31:45.208 - o Process CMJ ended with the expected exit code (0) [2025-06-19T04:31:45.324Z] STF 04:31:45.208 - Created modular jar: 4.com.discreet.jar [2025-06-19T04:31:45.324Z] STF 04:31:45.208 - [2025-06-19T04:31:45.324Z] STF 04:31:45.208 - +------ Step 5 - Create tests jar [2025-06-19T04:31:45.324Z] STF 04:31:45.208 - | Create modular jar [2025-06-19T04:31:45.324Z] STF 04:31:45.208 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-06-19T04:31:45.324Z] STF 04:31:45.208 - | ModuleVersion: null [2025-06-19T04:31:45.324Z] STF 04:31:45.208 - | MainClass: null [2025-06-19T04:31:45.324Z] STF 04:31:45.208 - | HashModules: null [2025-06-19T04:31:45.324Z] STF 04:31:45.208 - | [2025-06-19T04:31:45.324Z] STF 04:31:45.209 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17503023603594/UpgModPath_Exp_0/20250619-043143-UpgModPathTest/modules/5.com.test.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2025-06-19T04:31:45.324Z] STF 04:31:45.209 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17503023603594/UpgModPath_Exp_0/20250619-043143-UpgModPathTest/results/5.CMJ.stderr [2025-06-19T04:31:45.324Z] STF 04:31:45.209 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17503023603594/UpgModPath_Exp_0/20250619-043143-UpgModPathTest/results/5.CMJ.stdout [2025-06-19T04:31:45.324Z] STF 04:31:45.209 - Monitoring processes: CMJ [2025-06-19T04:31:45.958Z] STF 04:31:45.358 - Monitoring Report Summary: [2025-06-19T04:31:45.958Z] STF 04:31:45.358 - o Process CMJ ended with the expected exit code (0) [2025-06-19T04:31:45.958Z] STF 04:31:45.359 - Created modular jar: 5.com.test.jar [2025-06-19T04:31:45.958Z] STF 04:31:45.359 - [2025-06-19T04:31:45.958Z] STF 04:31:45.359 - +------ Step 6 - Create runtime image for upgrademodulepath test [2025-06-19T04:31:45.958Z] STF 04:31:45.359 - | Run jlink to create runtime image [2025-06-19T04:31:45.958Z] STF 04:31:45.359 - | ImageName: UpJVM [2025-06-19T04:31:45.958Z] STF 04:31:45.359 - | [2025-06-19T04:31:45.958Z] STF 04:31:45.359 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17503023603594/UpgModPath_Exp_0/20250619-043143-UpgModPathTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17503023603594/UpgModPath_Exp_0/20250619-043143-UpgModPathTest/tmp/6.UpJVM [2025-06-19T04:31:45.958Z] STF 04:31:45.359 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17503023603594/UpgModPath_Exp_0/20250619-043143-UpgModPathTest/results/6.JLNK.stderr [2025-06-19T04:31:45.958Z] STF 04:31:45.359 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17503023603594/UpgModPath_Exp_0/20250619-043143-UpgModPathTest/results/6.JLNK.stdout [2025-06-19T04:31:45.958Z] STF 04:31:45.360 - Monitoring processes: JLNK [2025-06-19T04:31:48.012Z] STF 04:31:47.334 - Monitoring Report Summary: [2025-06-19T04:31:48.012Z] STF 04:31:47.334 - o Process JLNK ended with the expected exit code (0) [2025-06-19T04:31:48.012Z] STF 04:31:47.334 - [2025-06-19T04:31:48.012Z] STF 04:31:47.334 - +------ Step 7 - Override an application module [2025-06-19T04:31:48.012Z] STF 04:31:47.334 - | Run foreground process [2025-06-19T04:31:48.012Z] STF 04:31:47.335 - | Program: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/java [2025-06-19T04:31:48.012Z] STF 04:31:47.335 - | Mnemonic: OT11 [2025-06-19T04:31:48.012Z] STF 04:31:47.335 - | Echo: ECHO_ON [2025-06-19T04:31:48.012Z] STF 04:31:47.335 - | Expectation: CLEAN_RUN within 1m [2025-06-19T04:31:48.012Z] STF 04:31:47.335 - | [2025-06-19T04:31:48.012Z] STF 04:31:47.335 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --upgrade-module-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello --add-modules=com.test -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-06-19T04:31:48.012Z] STF 04:31:47.335 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17503023603594/UpgModPath_Exp_0/20250619-043143-UpgModPathTest/results/7.OT11.stderr [2025-06-19T04:31:48.012Z] STF 04:31:47.335 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17503023603594/UpgModPath_Exp_0/20250619-043143-UpgModPathTest/results/7.OT11.stdout [2025-06-19T04:31:48.012Z] STF 04:31:47.336 - Monitoring processes: OT11 [2025-06-19T04:31:48.012Z] OT11 JUnit version 4.12 [2025-06-19T04:31:48.012Z] OT11 . [2025-06-19T04:31:48.012Z] OT11 Time: 0.003 [2025-06-19T04:31:48.012Z] OT11 [2025-06-19T04:31:48.012Z] OT11 OK (1 test) [2025-06-19T04:31:48.012Z] OT11 [2025-06-19T04:31:48.012Z] STF 04:31:47.605 - Monitoring Report Summary: [2025-06-19T04:31:48.012Z] STF 04:31:47.605 - o Process OT11 ended with the expected exit code (0) [2025-06-19T04:31:48.012Z] STF 04:31:47.605 - [2025-06-19T04:31:48.012Z] STF 04:31:47.605 - +------ Step 8 - (Negative test) Override a non-upgradable platform module [2025-06-19T04:31:48.012Z] STF 04:31:47.605 - | Run foreground process [2025-06-19T04:31:48.012Z] STF 04:31:47.605 - | Program: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/java [2025-06-19T04:31:48.012Z] STF 04:31:47.605 - | Mnemonic: OT13 [2025-06-19T04:31:48.012Z] STF 04:31:47.605 - | Echo: ECHO_ON [2025-06-19T04:31:48.012Z] STF 04:31:47.605 - | Expectation: NON_ZERO_EXIT [1] within 1m [2025-06-19T04:31:48.012Z] STF 04:31:47.605 - | [2025-06-19T04:31:48.012Z] STF 04:31:47.606 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --upgrade-module-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.logging --add-modules=com.test -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-06-19T04:31:48.012Z] STF 04:31:47.606 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17503023603594/UpgModPath_Exp_0/20250619-043143-UpgModPathTest/results/8.OT13.stderr [2025-06-19T04:31:48.012Z] STF 04:31:47.606 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17503023603594/UpgModPath_Exp_0/20250619-043143-UpgModPathTest/results/8.OT13.stdout [2025-06-19T04:31:48.012Z] STF 04:31:47.606 - Monitoring processes: OT13 [2025-06-19T04:31:48.012Z] OT13 Error occurred during initialization of boot layer [2025-06-19T04:31:48.012Z] OT13 java.lang.module.FindException: Unable to compute the hash of module java.logging [2025-06-19T04:31:48.012Z] STF 04:31:47.743 - Monitoring Report Summary: [2025-06-19T04:31:48.012Z] STF 04:31:47.743 - o Process OT13 ended with the expected exit code (1) [2025-06-19T04:31:48.012Z] STF 04:31:47.744 - [2025-06-19T04:31:48.012Z] STF 04:31:47.744 - +------ Step 9 - Combine stderr and stdout files of process OT13 [2025-06-19T04:31:48.012Z] STF 04:31:47.744 - | Run foreground process [2025-06-19T04:31:48.012Z] STF 04:31:47.744 - | Program: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/java [2025-06-19T04:31:48.012Z] STF 04:31:47.744 - | Mnemonic: CO [2025-06-19T04:31:48.012Z] STF 04:31:47.744 - | Echo: ECHO_OFF [2025-06-19T04:31:48.012Z] STF 04:31:47.744 - | Expectation: NON_ZERO_EXIT [0] within 30s [2025-06-19T04:31:48.012Z] STF 04:31:47.744 - | [2025-06-19T04:31:48.012Z] STF 04:31:47.744 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/java -Dfile1=/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17503023603594/UpgModPath_Exp_0/20250619-043143-UpgModPathTest/results/8.OT13.stdout -Dfile2=/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17503023603594/UpgModPath_Exp_0/20250619-043143-UpgModPathTest/results/8.OT13.stderr -Dfinal.file=/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17503023603594/UpgModPath_Exp_0/20250619-043143-UpgModPathTest/results/combinedOT13.txt -XX:+UseCompressedOops -classpath /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/STF/stf.core/bin:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin net.adoptopenjdk.test.modularity.TestUtil [2025-06-19T04:31:48.012Z] STF 04:31:47.744 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17503023603594/UpgModPath_Exp_0/20250619-043143-UpgModPathTest/results/9.CO.stderr [2025-06-19T04:31:48.012Z] STF 04:31:47.744 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17503023603594/UpgModPath_Exp_0/20250619-043143-UpgModPathTest/results/9.CO.stdout [2025-06-19T04:31:48.012Z] STF 04:31:47.745 - Monitoring processes: CO [2025-06-19T04:31:48.012Z] STF 04:31:47.822 - Monitoring Report Summary: [2025-06-19T04:31:48.012Z] STF 04:31:47.822 - o Process CO ended with the expected exit code (0) [2025-06-19T04:31:48.012Z] STF 04:31:47.822 - [2025-06-19T04:31:48.012Z] STF 04:31:47.822 - +------ Step 10 - Check output [2025-06-19T04:31:48.012Z] STF 04:31:47.822 - | Count file matches [2025-06-19T04:31:48.012Z] STF 04:31:47.822 - | TargetFile: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17503023603594/UpgModPath_Exp_0/20250619-043143-UpgModPathTest/results/combinedOT13.txt [2025-06-19T04:31:48.012Z] STF 04:31:47.822 - | ExpectedNumMatches: 1 [2025-06-19T04:31:48.012Z] STF 04:31:47.822 - | SearchStrings: ["FindException: Unable to compute the hash of module java.logging"] [2025-06-19T04:31:48.012Z] STF 04:31:47.822 - | [2025-06-19T04:31:48.012Z] STF 04:31:47.822 - Found 1 instances of ["FindException: Unable to compute the hash of module java.logging"] [2025-06-19T04:31:48.012Z] STF 04:31:47.822 - EXECUTE stage completed [2025-06-19T04:31:48.012Z] STF 04:31:47.838 - [2025-06-19T04:31:48.012Z] STF 04:31:47.838 - ==================== T E A R D O W N ==================== [2025-06-19T04:31:48.012Z] STF 04:31:47.838 - Running teardown: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17503023603594/UpgModPath_Exp_0/20250619-043143-UpgModPathTest/tearDown.pl [2025-06-19T04:31:48.012Z] STF 04:31:47.878 - TEARDOWN stage completed [2025-06-19T04:31:48.012Z] STF 04:31:47.883 - [2025-06-19T04:31:48.012Z] STF 04:31:47.883 - ===================== R E S U L T S ===================== [2025-06-19T04:31:48.012Z] STF 04:31:47.883 - Stage results: [2025-06-19T04:31:48.012Z] STF 04:31:47.883 - setUp: pass [2025-06-19T04:31:48.012Z] STF 04:31:47.883 - execute: pass [2025-06-19T04:31:48.012Z] STF 04:31:47.883 - teardown: pass [2025-06-19T04:31:48.012Z] STF 04:31:47.883 - [2025-06-19T04:31:48.012Z] STF 04:31:47.883 - Overall result: PASSED [2025-06-19T04:31:48.012Z] ----------------------------------- [2025-06-19T04:31:48.012Z] UpgModPath_Exp_0_PASSED [2025-06-19T04:31:48.012Z] ----------------------------------- [2025-06-19T04:31:48.012Z] [2025-06-19T04:31:48.012Z] TEST TEARDOWN: [2025-06-19T04:31:48.012Z] Nothing to be done for teardown. [2025-06-19T04:31:48.012Z] UpgModPath_Exp_0 Finish Time: Thu Jun 19 04:31:47 2025 Epoch Time (ms): 1750307507910