UpgModPath_Jar_2

[2025-10-02T14:19:22.643Z] Running test UpgModPath_Jar_2 ... [2025-10-02T14:19:22.643Z] =============================================== [2025-10-02T14:19:22.643Z] UpgModPath_Jar_2 Start Time: Thu Oct 2 14:19:21 2025 Epoch Time (ms): 1759414761678 [2025-10-02T14:19:22.643Z] variation: Mode1000 [2025-10-02T14:19:22.643Z] JVM_OPTIONS: [2025-10-02T14:19:22.643Z] { \ [2025-10-02T14:19:22.643Z] echo ""; echo "TEST SETUP:"; \ [2025-10-02T14:19:22.643Z] echo "Nothing to be done for setup."; \ [2025-10-02T14:19:22.643Z] mkdir -p "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_17594114233097/UpgModPath_Jar_2"; \ [2025-10-02T14:19:22.643Z] cd "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_17594114233097/UpgModPath_Jar_2"; \ [2025-10-02T14:19:22.643Z] echo ""; echo "TESTING:"; \ [2025-10-02T14:19:22.643Z] perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/../../externalDependency/system_lib/" -java-args=' ' -results-root="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_17594114233097/UpgModPath_Jar_2" -test=UpgModPathTest -test-args="variant=Jar"; \ [2025-10-02T14:19:22.643Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_Jar_2""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_17594114233097/UpgModPath_Jar_2"; else echo "-----------------------------------"; echo "UpgModPath_Jar_2""_FAILED"; echo "-----------------------------------"; fi; \ [2025-10-02T14:19:22.643Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-10-02T14:19:22.643Z] echo "Nothing to be done for teardown."; \ [2025-10-02T14:19:22.643Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_17594114233097/TestTargetResult"; [2025-10-02T14:19:22.643Z] [2025-10-02T14:19:22.643Z] TEST SETUP: [2025-10-02T14:19:22.643Z] Nothing to be done for setup. [2025-10-02T14:19:22.643Z] [2025-10-02T14:19:22.643Z] TESTING: [2025-10-02T14:19:22.643Z] STF 14:19:21.764 - ========================= S T F ========================= [2025-10-02T14:19:22.643Z] 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_arm_linux/aqa-tests/TKG/../TKG/output_17594114233097/UpgModPath_Jar_2 [2025-10-02T14:19:22.643Z] There is 35673 Mb free [2025-10-02T14:19:22.643Z] STF 14:19:21.773 - ================== G E N E R A T I O N ================== [2025-10-02T14:19:22.643Z] STF 14:19:21.775 - Checking JVM: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jdkbinary/j2sdk-image [2025-10-02T14:19:22.644Z] STF 14:19:21.775 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/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_arm_linux/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/../../externalDependency/system_lib//asm/asm.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/../../externalDependency/system_lib//asm/asm-commons.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/../../externalDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/../../externalDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_17594114233097/UpgModPath_Jar_2/20251002-141921-UpgModPathTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_17594114233097/UpgModPath_Jar_2/20251002-141921-UpgModPathTest" [2025-10-02T14:19:22.644Z] GEN stderr OpenJDK 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-10-02T14:19:23.597Z] GEN 14:19:23.202 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: '/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-10-02T14:19:23.597Z] GEN 14:19:23.213 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2025-10-02T14:19:23.597Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-10-02T14:19:23.597Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-10-02T14:19:23.597Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-10-02T14:19:23.597Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-10-02T14:19:23.597Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-10-02T14:19:23.597Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-10-02T14:19:23.597Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-10-02T14:19:23.597Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-10-02T14:19:23.597Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-10-02T14:19:23.597Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-10-02T14:19:23.597Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-10-02T14:19:23.597Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-10-02T14:19:23.597Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-10-02T14:19:23.597Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-10-02T14:19:23.597Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-10-02T14:19:23.597Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-10-02T14:19:23.597Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/STF/stf.core/bin [2025-10-02T14:19:23.597Z] GEN /home/jenkins/externalDependency/system_lib/log4j/log4j-api.jar [2025-10-02T14:19:23.597Z] GEN /home/jenkins/externalDependency/system_lib/log4j/log4j-core.jar [2025-10-02T14:19:23.597Z] GEN /home/jenkins/externalDependency/system_lib/junit/junit.jar [2025-10-02T14:19:23.597Z] GEN 14:19:23.447 - Using Mode NoOptions. Values = '' [2025-10-02T14:19:24.544Z] GEN 14:19:23.610 - [2025-10-02T14:19:24.544Z] GEN 14:19:23.610 - Test command summary: [2025-10-02T14:19:24.544Z] GEN 14:19:23.611 - Step Stage Command Description [2025-10-02T14:19:24.544Z] GEN 14:19:23.611 - -----+--------+-----------------+------------ [2025-10-02T14:19:24.544Z] GEN 14:19:23.612 - 1 execute jar Create com.hello jar [2025-10-02T14:19:24.544Z] GEN 14:19:23.612 - 2 execute jar Create com.hola jar [2025-10-02T14:19:24.544Z] GEN 14:19:23.612 - 3 execute jar Create com.helper jar [2025-10-02T14:19:24.544Z] GEN 14:19:23.612 - 4 execute jar Create com.discreet jar [2025-10-02T14:19:24.544Z] GEN 14:19:23.612 - 5 execute jar Create tests jar [2025-10-02T14:19:24.544Z] GEN 14:19:23.612 - 6 execute jlink Create runtime image for upgrademodulepath test [2025-10-02T14:19:24.544Z] GEN 14:19:23.612 - 7 execute jar Create com.hello override jar [2025-10-02T14:19:24.544Z] GEN 14:19:23.612 - 8 execute jar Create com.hello override jar [2025-10-02T14:19:24.544Z] GEN 14:19:23.612 - 9 execute Run java Override an application module using modularized jar [2025-10-02T14:19:24.544Z] GEN 14:19:23.612 - 10 execute Run java (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar [2025-10-02T14:19:24.544Z] GEN 14:19:23.612 - 11 execute Run java Combine stderr and stdout files of process OT24 [2025-10-02T14:19:24.544Z] GEN 14:19:23.612 - 12 execute count Check output [2025-10-02T14:19:24.544Z] STF 14:19:23.652 - [2025-10-02T14:19:24.544Z] STF 14:19:23.653 - Script generation completed [2025-10-02T14:19:24.544Z] STF 14:19:23.653 - [2025-10-02T14:19:24.544Z] STF 14:19:23.653 - [2025-10-02T14:19:24.544Z] STF 14:19:23.653 - ======================= S E T U P ======================= [2025-10-02T14:19:24.544Z] STF 14:19:23.654 - Running setup: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_17594114233097/UpgModPath_Jar_2/20251002-141921-UpgModPathTest/setUp.pl [2025-10-02T14:19:24.544Z] STF 14:19:23.723 - SETUP stage completed [2025-10-02T14:19:24.544Z] STF 14:19:23.726 - [2025-10-02T14:19:24.544Z] STF 14:19:23.726 - ==================== E X E C U T E - ==================== [2025-10-02T14:19:24.544Z] STF 14:19:23.726 - Running execute: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_17594114233097/UpgModPath_Jar_2/20251002-141921-UpgModPathTest/execute.pl [2025-10-02T14:19:24.544Z] STF 14:19:23.797 - [2025-10-02T14:19:24.544Z] STF 14:19:23.797 - Java version [2025-10-02T14:19:24.544Z] STF 14:19:23.797 - Running: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jdkbinary/j2sdk-image/bin/java -version [2025-10-02T14:19:24.544Z] openjdk version "17.0.17-beta" 2025-10-21 [2025-10-02T14:19:24.544Z] OpenJDK Runtime Environment Temurin-17.0.17+9-202510012030 (build 17.0.17-beta+9-ea) [2025-10-02T14:19:24.544Z] OpenJDK Server VM Temurin-17.0.17+9-202510012030 (build 17.0.17-beta+9-ea, mixed mode, sharing) [2025-10-02T14:19:24.545Z] STF 14:19:23.876 - [2025-10-02T14:19:24.545Z] STF 14:19:23.876 - +------ Step 1 - Create com.hello jar [2025-10-02T14:19:24.545Z] STF 14:19:23.876 - | Create modular jar [2025-10-02T14:19:24.545Z] STF 14:19:23.876 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-10-02T14:19:24.545Z] STF 14:19:23.876 - | ModuleVersion: null [2025-10-02T14:19:24.545Z] STF 14:19:23.876 - | MainClass: null [2025-10-02T14:19:24.545Z] STF 14:19:23.876 - | HashModules: null [2025-10-02T14:19:24.545Z] STF 14:19:23.876 - | [2025-10-02T14:19:24.545Z] STF 14:19:23.877 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17594114233097/UpgModPath_Jar_2/20251002-141921-UpgModPathTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-10-02T14:19:24.545Z] STF 14:19:23.877 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17594114233097/UpgModPath_Jar_2/20251002-141921-UpgModPathTest/results/1.CMJ.stderr [2025-10-02T14:19:24.545Z] STF 14:19:23.877 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17594114233097/UpgModPath_Jar_2/20251002-141921-UpgModPathTest/results/1.CMJ.stdout [2025-10-02T14:19:24.545Z] STF 14:19:23.891 - Monitoring processes: CMJ [2025-10-02T14:19:24.545Z] STF 14:19:24.174 - Monitoring Report Summary: [2025-10-02T14:19:24.545Z] STF 14:19:24.174 - o Process CMJ ended with the expected exit code (0) [2025-10-02T14:19:24.545Z] STF 14:19:24.174 - Created modular jar: 1.com.hello.jar [2025-10-02T14:19:24.545Z] STF 14:19:24.174 - [2025-10-02T14:19:24.545Z] STF 14:19:24.174 - +------ Step 2 - Create com.hola jar [2025-10-02T14:19:24.545Z] STF 14:19:24.174 - | Create modular jar [2025-10-02T14:19:24.545Z] STF 14:19:24.174 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-10-02T14:19:24.545Z] STF 14:19:24.174 - | ModuleVersion: null [2025-10-02T14:19:24.545Z] STF 14:19:24.174 - | MainClass: null [2025-10-02T14:19:24.545Z] STF 14:19:24.174 - | HashModules: null [2025-10-02T14:19:24.545Z] STF 14:19:24.174 - | [2025-10-02T14:19:24.545Z] STF 14:19:24.175 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17594114233097/UpgModPath_Jar_2/20251002-141921-UpgModPathTest/modules/2.com.hola.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2025-10-02T14:19:24.545Z] STF 14:19:24.175 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17594114233097/UpgModPath_Jar_2/20251002-141921-UpgModPathTest/results/2.CMJ.stderr [2025-10-02T14:19:24.545Z] STF 14:19:24.175 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17594114233097/UpgModPath_Jar_2/20251002-141921-UpgModPathTest/results/2.CMJ.stdout [2025-10-02T14:19:24.545Z] STF 14:19:24.178 - Monitoring processes: CMJ [2025-10-02T14:19:25.493Z] STF 14:19:24.467 - Monitoring Report Summary: [2025-10-02T14:19:25.493Z] STF 14:19:24.467 - o Process CMJ ended with the expected exit code (0) [2025-10-02T14:19:25.493Z] STF 14:19:24.468 - Created modular jar: 2.com.hola.jar [2025-10-02T14:19:25.493Z] STF 14:19:24.468 - [2025-10-02T14:19:25.493Z] STF 14:19:24.468 - +------ Step 3 - Create com.helper jar [2025-10-02T14:19:25.493Z] STF 14:19:24.468 - | Create modular jar [2025-10-02T14:19:25.493Z] STF 14:19:24.468 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-10-02T14:19:25.493Z] STF 14:19:24.468 - | ModuleVersion: null [2025-10-02T14:19:25.493Z] STF 14:19:24.468 - | MainClass: null [2025-10-02T14:19:25.493Z] STF 14:19:24.468 - | HashModules: null [2025-10-02T14:19:25.493Z] STF 14:19:24.468 - | [2025-10-02T14:19:25.493Z] STF 14:19:24.468 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17594114233097/UpgModPath_Jar_2/20251002-141921-UpgModPathTest/modules/3.com.helper.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2025-10-02T14:19:25.493Z] STF 14:19:24.469 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17594114233097/UpgModPath_Jar_2/20251002-141921-UpgModPathTest/results/3.CMJ.stderr [2025-10-02T14:19:25.493Z] STF 14:19:24.469 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17594114233097/UpgModPath_Jar_2/20251002-141921-UpgModPathTest/results/3.CMJ.stdout [2025-10-02T14:19:25.493Z] STF 14:19:24.471 - Monitoring processes: CMJ [2025-10-02T14:19:25.493Z] STF 14:19:24.809 - Monitoring Report Summary: [2025-10-02T14:19:25.493Z] STF 14:19:24.809 - o Process CMJ ended with the expected exit code (0) [2025-10-02T14:19:25.493Z] STF 14:19:24.809 - Created modular jar: 3.com.helper.jar [2025-10-02T14:19:25.493Z] STF 14:19:24.809 - [2025-10-02T14:19:25.493Z] STF 14:19:24.809 - +------ Step 4 - Create com.discreet jar [2025-10-02T14:19:25.493Z] STF 14:19:24.809 - | Create modular jar [2025-10-02T14:19:25.493Z] STF 14:19:24.809 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-10-02T14:19:25.493Z] STF 14:19:24.809 - | ModuleVersion: null [2025-10-02T14:19:25.493Z] STF 14:19:24.809 - | MainClass: null [2025-10-02T14:19:25.493Z] STF 14:19:24.809 - | HashModules: null [2025-10-02T14:19:25.493Z] STF 14:19:24.809 - | [2025-10-02T14:19:25.493Z] STF 14:19:24.810 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17594114233097/UpgModPath_Jar_2/20251002-141921-UpgModPathTest/modules/4.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2025-10-02T14:19:25.493Z] STF 14:19:24.810 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17594114233097/UpgModPath_Jar_2/20251002-141921-UpgModPathTest/results/4.CMJ.stderr [2025-10-02T14:19:25.493Z] STF 14:19:24.810 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17594114233097/UpgModPath_Jar_2/20251002-141921-UpgModPathTest/results/4.CMJ.stdout [2025-10-02T14:19:25.493Z] STF 14:19:24.812 - Monitoring processes: CMJ [2025-10-02T14:19:25.493Z] STF 14:19:25.147 - Monitoring Report Summary: [2025-10-02T14:19:25.493Z] STF 14:19:25.147 - o Process CMJ ended with the expected exit code (0) [2025-10-02T14:19:25.493Z] STF 14:19:25.147 - Created modular jar: 4.com.discreet.jar [2025-10-02T14:19:25.493Z] STF 14:19:25.148 - [2025-10-02T14:19:25.493Z] STF 14:19:25.148 - +------ Step 5 - Create tests jar [2025-10-02T14:19:25.493Z] STF 14:19:25.148 - | Create modular jar [2025-10-02T14:19:25.493Z] STF 14:19:25.148 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-10-02T14:19:25.493Z] STF 14:19:25.148 - | ModuleVersion: null [2025-10-02T14:19:25.493Z] STF 14:19:25.148 - | MainClass: null [2025-10-02T14:19:25.493Z] STF 14:19:25.148 - | HashModules: null [2025-10-02T14:19:25.493Z] STF 14:19:25.148 - | [2025-10-02T14:19:25.493Z] STF 14:19:25.148 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17594114233097/UpgModPath_Jar_2/20251002-141921-UpgModPathTest/modules/5.com.test.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2025-10-02T14:19:25.493Z] STF 14:19:25.148 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17594114233097/UpgModPath_Jar_2/20251002-141921-UpgModPathTest/results/5.CMJ.stderr [2025-10-02T14:19:25.493Z] STF 14:19:25.148 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17594114233097/UpgModPath_Jar_2/20251002-141921-UpgModPathTest/results/5.CMJ.stdout [2025-10-02T14:19:25.493Z] STF 14:19:25.151 - Monitoring processes: CMJ [2025-10-02T14:19:26.442Z] STF 14:19:25.454 - Monitoring Report Summary: [2025-10-02T14:19:26.442Z] STF 14:19:25.454 - o Process CMJ ended with the expected exit code (0) [2025-10-02T14:19:26.442Z] STF 14:19:25.455 - Created modular jar: 5.com.test.jar [2025-10-02T14:19:26.442Z] STF 14:19:25.455 - [2025-10-02T14:19:26.442Z] STF 14:19:25.455 - +------ Step 6 - Create runtime image for upgrademodulepath test [2025-10-02T14:19:26.442Z] STF 14:19:25.455 - | Run jlink to create runtime image [2025-10-02T14:19:26.442Z] STF 14:19:25.455 - | ImageName: UpJVM [2025-10-02T14:19:26.442Z] STF 14:19:25.455 - | [2025-10-02T14:19:26.442Z] STF 14:19:25.455 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17594114233097/UpgModPath_Jar_2/20251002-141921-UpgModPathTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17594114233097/UpgModPath_Jar_2/20251002-141921-UpgModPathTest/tmp/6.UpJVM [2025-10-02T14:19:26.442Z] STF 14:19:25.455 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17594114233097/UpgModPath_Jar_2/20251002-141921-UpgModPathTest/results/6.JLNK.stderr [2025-10-02T14:19:26.442Z] STF 14:19:25.455 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17594114233097/UpgModPath_Jar_2/20251002-141921-UpgModPathTest/results/6.JLNK.stdout [2025-10-02T14:19:26.442Z] STF 14:19:25.458 - Monitoring processes: JLNK [2025-10-02T14:19:29.460Z] STF 14:19:29.011 - Monitoring Report Summary: [2025-10-02T14:19:29.460Z] STF 14:19:29.011 - o Process JLNK ended with the expected exit code (0) [2025-10-02T14:19:29.460Z] STF 14:19:29.012 - [2025-10-02T14:19:29.460Z] STF 14:19:29.012 - +------ Step 7 - Create com.hello override jar [2025-10-02T14:19:29.461Z] STF 14:19:29.012 - | Create modular jar [2025-10-02T14:19:29.461Z] STF 14:19:29.012 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-10-02T14:19:29.461Z] STF 14:19:29.012 - | ModuleVersion: null [2025-10-02T14:19:29.461Z] STF 14:19:29.012 - | MainClass: null [2025-10-02T14:19:29.461Z] STF 14:19:29.012 - | HashModules: null [2025-10-02T14:19:29.461Z] STF 14:19:29.012 - | [2025-10-02T14:19:29.461Z] STF 14:19:29.012 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17594114233097/UpgModPath_Jar_2/20251002-141921-UpgModPathTest/modules/7.com.hello.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2025-10-02T14:19:29.461Z] STF 14:19:29.012 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17594114233097/UpgModPath_Jar_2/20251002-141921-UpgModPathTest/results/7.CMJ.stderr [2025-10-02T14:19:29.461Z] STF 14:19:29.012 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17594114233097/UpgModPath_Jar_2/20251002-141921-UpgModPathTest/results/7.CMJ.stdout [2025-10-02T14:19:29.461Z] STF 14:19:29.016 - Monitoring processes: CMJ [2025-10-02T14:19:29.461Z] STF 14:19:29.291 - Monitoring Report Summary: [2025-10-02T14:19:29.461Z] STF 14:19:29.291 - o Process CMJ ended with the expected exit code (0) [2025-10-02T14:19:29.461Z] STF 14:19:29.291 - Created modular jar: 7.com.hello.jar [2025-10-02T14:19:29.461Z] STF 14:19:29.291 - [2025-10-02T14:19:29.461Z] STF 14:19:29.291 - +------ Step 8 - Create com.hello override jar [2025-10-02T14:19:29.461Z] STF 14:19:29.291 - | Create modular jar [2025-10-02T14:19:29.461Z] STF 14:19:29.292 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2025-10-02T14:19:29.461Z] STF 14:19:29.292 - | ModuleVersion: null [2025-10-02T14:19:29.461Z] STF 14:19:29.292 - | MainClass: null [2025-10-02T14:19:29.461Z] STF 14:19:29.292 - | HashModules: null [2025-10-02T14:19:29.461Z] STF 14:19:29.292 - | [2025-10-02T14:19:29.461Z] STF 14:19:29.292 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17594114233097/UpgModPath_Jar_2/20251002-141921-UpgModPathTest/modules/8.java.logging.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.logging . [2025-10-02T14:19:29.461Z] STF 14:19:29.292 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17594114233097/UpgModPath_Jar_2/20251002-141921-UpgModPathTest/results/8.CMJ.stderr [2025-10-02T14:19:29.461Z] STF 14:19:29.292 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17594114233097/UpgModPath_Jar_2/20251002-141921-UpgModPathTest/results/8.CMJ.stdout [2025-10-02T14:19:29.461Z] STF 14:19:29.295 - Monitoring processes: CMJ [2025-10-02T14:19:30.407Z] STF 14:19:29.577 - Monitoring Report Summary: [2025-10-02T14:19:30.407Z] STF 14:19:29.578 - o Process CMJ ended with the expected exit code (0) [2025-10-02T14:19:30.407Z] STF 14:19:29.578 - Created modular jar: 8.java.logging.jar [2025-10-02T14:19:30.407Z] STF 14:19:29.578 - [2025-10-02T14:19:30.407Z] STF 14:19:29.578 - +------ Step 9 - Override an application module using modularized jar [2025-10-02T14:19:30.407Z] STF 14:19:29.578 - | Run foreground process [2025-10-02T14:19:30.407Z] STF 14:19:29.578 - | Program: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jdkbinary/j2sdk-image/bin/java [2025-10-02T14:19:30.407Z] STF 14:19:29.578 - | Mnemonic: OT21 [2025-10-02T14:19:30.407Z] STF 14:19:29.578 - | Echo: ECHO_ON [2025-10-02T14:19:30.407Z] STF 14:19:29.578 - | Expectation: CLEAN_RUN within 1m [2025-10-02T14:19:30.407Z] STF 14:19:29.578 - | [2025-10-02T14:19:30.407Z] STF 14:19:29.579 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --upgrade-module-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17594114233097/UpgModPath_Jar_2/20251002-141921-UpgModPathTest/modules/7.com.hello.jar --add-modules=com.test -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 [2025-10-02T14:19:30.407Z] STF 14:19:29.579 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17594114233097/UpgModPath_Jar_2/20251002-141921-UpgModPathTest/results/9.OT21.stderr [2025-10-02T14:19:30.407Z] STF 14:19:29.579 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17594114233097/UpgModPath_Jar_2/20251002-141921-UpgModPathTest/results/9.OT21.stdout [2025-10-02T14:19:30.407Z] STF 14:19:29.581 - Monitoring processes: OT21 [2025-10-02T14:19:30.407Z] OT21 JUnit version 4.12 [2025-10-02T14:19:30.407Z] OT21 . [2025-10-02T14:19:30.407Z] OT21 Time: 0.011 [2025-10-02T14:19:30.407Z] OT21 [2025-10-02T14:19:30.407Z] OT21 OK (1 test) [2025-10-02T14:19:30.407Z] OT21 [2025-10-02T14:19:30.407Z] STF 14:19:30.140 - Monitoring Report Summary: [2025-10-02T14:19:30.407Z] STF 14:19:30.140 - o Process OT21 ended with the expected exit code (0) [2025-10-02T14:19:30.407Z] STF 14:19:30.140 - [2025-10-02T14:19:30.407Z] STF 14:19:30.140 - +------ Step 10 - (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar [2025-10-02T14:19:30.407Z] STF 14:19:30.140 - | Run foreground process [2025-10-02T14:19:30.407Z] STF 14:19:30.140 - | Program: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jdkbinary/j2sdk-image/bin/java [2025-10-02T14:19:30.407Z] STF 14:19:30.140 - | Mnemonic: OT24 [2025-10-02T14:19:30.407Z] STF 14:19:30.140 - | Echo: ECHO_ON [2025-10-02T14:19:30.407Z] STF 14:19:30.140 - | Expectation: NON_ZERO_EXIT [1] within 1m [2025-10-02T14:19:30.407Z] STF 14:19:30.140 - | [2025-10-02T14:19:30.407Z] STF 14:19:30.141 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --upgrade-module-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17594114233097/UpgModPath_Jar_2/20251002-141921-UpgModPathTest/modules/8.java.logging.jar --add-modules=com.test -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 [2025-10-02T14:19:30.407Z] STF 14:19:30.141 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17594114233097/UpgModPath_Jar_2/20251002-141921-UpgModPathTest/results/10.OT24.stderr [2025-10-02T14:19:30.407Z] STF 14:19:30.141 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17594114233097/UpgModPath_Jar_2/20251002-141921-UpgModPathTest/results/10.OT24.stdout [2025-10-02T14:19:30.407Z] STF 14:19:30.143 - Monitoring processes: OT24 [2025-10-02T14:19:31.353Z] OT24 Error occurred during initialization of boot layer [2025-10-02T14:19:31.353Z] OT24 java.lang.module.FindException: Hash of java.logging (130622831af83a913dc203c25aa21ad4545c927c450c3873b9fe672a512c271f) differs to expected hash (0a2de74417e2ae5408d16665c5b06495fab0ece660e980262e56c611aa7e4d6b) recorded in java.base [2025-10-02T14:19:31.353Z] STF 14:19:30.504 - Monitoring Report Summary: [2025-10-02T14:19:31.353Z] STF 14:19:30.505 - o Process OT24 ended with the expected exit code (1) [2025-10-02T14:19:31.353Z] STF 14:19:30.505 - [2025-10-02T14:19:31.353Z] STF 14:19:30.505 - +------ Step 11 - Combine stderr and stdout files of process OT24 [2025-10-02T14:19:31.353Z] STF 14:19:30.505 - | Run foreground process [2025-10-02T14:19:31.353Z] STF 14:19:30.505 - | Program: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jdkbinary/j2sdk-image/bin/java [2025-10-02T14:19:31.353Z] STF 14:19:30.505 - | Mnemonic: CO [2025-10-02T14:19:31.353Z] STF 14:19:30.505 - | Echo: ECHO_OFF [2025-10-02T14:19:31.353Z] STF 14:19:30.505 - | Expectation: NON_ZERO_EXIT [0] within 30s [2025-10-02T14:19:31.353Z] STF 14:19:30.505 - | [2025-10-02T14:19:31.353Z] STF 14:19:30.506 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jdkbinary/j2sdk-image/bin/java -Dfile1=/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17594114233097/UpgModPath_Jar_2/20251002-141921-UpgModPathTest/results/10.OT24.stdout -Dfile2=/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17594114233097/UpgModPath_Jar_2/20251002-141921-UpgModPathTest/results/10.OT24.stderr -Dfinal.file=/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17594114233097/UpgModPath_Jar_2/20251002-141921-UpgModPathTest/results/combinedOT24.txt -classpath /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/STF/stf.core/bin:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin net.adoptopenjdk.test.modularity.TestUtil [2025-10-02T14:19:31.353Z] STF 14:19:30.506 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17594114233097/UpgModPath_Jar_2/20251002-141921-UpgModPathTest/results/11.CO.stderr [2025-10-02T14:19:31.353Z] STF 14:19:30.506 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17594114233097/UpgModPath_Jar_2/20251002-141921-UpgModPathTest/results/11.CO.stdout [2025-10-02T14:19:31.353Z] STF 14:19:30.508 - Monitoring processes: CO [2025-10-02T14:19:31.353Z] STF 14:19:30.649 - Monitoring Report Summary: [2025-10-02T14:19:31.353Z] STF 14:19:30.649 - o Process CO ended with the expected exit code (0) [2025-10-02T14:19:31.353Z] STF 14:19:30.650 - [2025-10-02T14:19:31.353Z] STF 14:19:30.650 - +------ Step 12 - Check output [2025-10-02T14:19:31.353Z] STF 14:19:30.650 - | Count file matches [2025-10-02T14:19:31.353Z] STF 14:19:30.650 - | TargetFile: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17594114233097/UpgModPath_Jar_2/20251002-141921-UpgModPathTest/results/combinedOT24.txt [2025-10-02T14:19:31.353Z] STF 14:19:30.650 - | ExpectedNumMatches: 1 [2025-10-02T14:19:31.353Z] STF 14:19:30.650 - | SearchStrings: ["FindException: Hash of java.logging"] [2025-10-02T14:19:31.353Z] STF 14:19:30.650 - | [2025-10-02T14:19:31.353Z] STF 14:19:30.650 - Found 1 instances of ["FindException: Hash of java.logging"] [2025-10-02T14:19:31.353Z] STF 14:19:30.650 - EXECUTE stage completed [2025-10-02T14:19:31.353Z] STF 14:19:30.669 - [2025-10-02T14:19:31.353Z] STF 14:19:30.669 - ==================== T E A R D O W N ==================== [2025-10-02T14:19:31.353Z] STF 14:19:30.669 - Running teardown: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_17594114233097/UpgModPath_Jar_2/20251002-141921-UpgModPathTest/tearDown.pl [2025-10-02T14:19:31.353Z] STF 14:19:30.736 - TEARDOWN stage completed [2025-10-02T14:19:31.353Z] STF 14:19:30.742 - [2025-10-02T14:19:31.354Z] STF 14:19:30.742 - ===================== R E S U L T S ===================== [2025-10-02T14:19:31.354Z] STF 14:19:30.742 - Stage results: [2025-10-02T14:19:31.354Z] STF 14:19:30.742 - setUp: pass [2025-10-02T14:19:31.354Z] STF 14:19:30.742 - execute: pass [2025-10-02T14:19:31.354Z] STF 14:19:30.742 - teardown: pass [2025-10-02T14:19:31.354Z] STF 14:19:30.742 - [2025-10-02T14:19:31.354Z] STF 14:19:30.742 - Overall result: PASSED [2025-10-02T14:19:31.354Z] ----------------------------------- [2025-10-02T14:19:31.354Z] UpgModPath_Jar_2_PASSED [2025-10-02T14:19:31.354Z] ----------------------------------- [2025-10-02T14:19:31.354Z] [2025-10-02T14:19:31.354Z] TEST TEARDOWN: [2025-10-02T14:19:31.354Z] Nothing to be done for teardown. [2025-10-02T14:19:31.354Z] UpgModPath_Jar_2 Finish Time: Thu Oct 2 14:19:30 2025 Epoch Time (ms): 1759414770801