UpgModPath_Jar_2

[2025-05-16T22:00:53.076Z] Running test UpgModPath_Jar_2 ... [2025-05-16T22:00:53.076Z] =============================================== [2025-05-16T22:00:53.076Z] UpgModPath_Jar_2 Start Time: Fri May 16 22:00:52 2025 Epoch Time (ms): 1747432852584 [2025-05-16T22:00:53.076Z] variation: Mode1000 [2025-05-16T22:00:53.076Z] JVM_OPTIONS: [2025-05-16T22:00:53.076Z] { \ [2025-05-16T22:00:53.076Z] echo ""; echo "TEST SETUP:"; \ [2025-05-16T22:00:53.076Z] echo "Nothing to be done for setup."; \ [2025-05-16T22:00:53.076Z] mkdir -p "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/../TKG/output_17474315816960/UpgModPath_Jar_2"; \ [2025-05-16T22:00:53.076Z] cd "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/../TKG/output_17474315816960/UpgModPath_Jar_2"; \ [2025-05-16T22:00:53.076Z] echo ""; echo "TESTING:"; \ [2025-05-16T22:00:53.076Z] perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/../../testDependency/system_lib/" -java-args=' ' -results-root="/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/../TKG/output_17474315816960/UpgModPath_Jar_2" -test=UpgModPathTest -test-args="variant=Jar"; \ [2025-05-16T22:00:53.076Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_Jar_2""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/../TKG/output_17474315816960/UpgModPath_Jar_2"; else echo "-----------------------------------"; echo "UpgModPath_Jar_2""_FAILED"; echo "-----------------------------------"; fi; \ [2025-05-16T22:00:53.076Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-05-16T22:00:53.076Z] echo "Nothing to be done for teardown."; \ [2025-05-16T22:00:53.076Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/../TKG/output_17474315816960/TestTargetResult"; [2025-05-16T22:00:53.076Z] [2025-05-16T22:00:53.076Z] TEST SETUP: [2025-05-16T22:00:53.076Z] Nothing to be done for setup. [2025-05-16T22:00:53.076Z] [2025-05-16T22:00:53.076Z] TESTING: [2025-05-16T22:00:53.076Z] STF 22:00:52.667 - ========================= S T F ========================= [2025-05-16T22:00:53.076Z] systemtest-prereqs has been processed, and set to: /home/jenkins/testDependency/system_libRetrieving amount of free space on drive containing /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/../TKG/output_17474315816960/UpgModPath_Jar_2 [2025-05-16T22:00:53.076Z] There is 350729 Mb free [2025-05-16T22:00:53.076Z] STF 22:00:52.713 - ================== G E N E R A T I O N ================== [2025-05-16T22:00:53.076Z] STF 22:00:52.714 - Checking JVM: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jdkbinary/j2sdk-image [2025-05-16T22:00:53.076Z] STF 22:00:52.714 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/../../testDependency/system_lib//asm/asm.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/../../testDependency/system_lib//asm/asm-commons.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/../../testDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/../../testDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/../TKG/output_17474315816960/UpgModPath_Jar_2/20250516-220052-UpgModPathTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/../TKG/output_17474315816960/UpgModPath_Jar_2/20250516-220052-UpgModPathTest" [2025-05-16T22:00:54.726Z] GEN 22:00:54.320 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: '/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-05-16T22:00:54.726Z] GEN 22:00:54.373 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2025-05-16T22:00:55.503Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-05-16T22:00:55.503Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-05-16T22:00:55.503Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-05-16T22:00:55.503Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-05-16T22:00:55.503Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-05-16T22:00:55.503Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-05-16T22:00:55.503Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-05-16T22:00:55.503Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-05-16T22:00:55.503Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-05-16T22:00:55.503Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-05-16T22:00:55.503Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-05-16T22:00:55.503Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-05-16T22:00:55.503Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-05-16T22:00:55.503Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-05-16T22:00:55.503Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-05-16T22:00:55.503Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-05-16T22:00:55.503Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jvmtest/system/STF/stf.core/bin [2025-05-16T22:00:55.503Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-05-16T22:00:55.503Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-05-16T22:00:55.503Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar [2025-05-16T22:00:55.503Z] GEN 22:00:54.874 - Using Mode NoOptions. Values = '' [2025-05-16T22:00:55.503Z] GEN 22:00:55.135 - [2025-05-16T22:00:55.503Z] GEN 22:00:55.135 - Test command summary: [2025-05-16T22:00:55.503Z] GEN 22:00:55.137 - Step Stage Command Description [2025-05-16T22:00:55.504Z] GEN 22:00:55.137 - -----+--------+-----------------+------------ [2025-05-16T22:00:55.504Z] GEN 22:00:55.138 - 1 execute jar Create com.hello jar [2025-05-16T22:00:55.504Z] GEN 22:00:55.138 - 2 execute jar Create com.hola jar [2025-05-16T22:00:55.504Z] GEN 22:00:55.138 - 3 execute jar Create com.helper jar [2025-05-16T22:00:55.504Z] GEN 22:00:55.138 - 4 execute jar Create com.discreet jar [2025-05-16T22:00:55.504Z] GEN 22:00:55.138 - 5 execute jar Create tests jar [2025-05-16T22:00:55.504Z] GEN 22:00:55.138 - 6 execute jlink Create runtime image for upgrademodulepath test [2025-05-16T22:00:55.504Z] GEN 22:00:55.138 - 7 execute jar Create com.hello override jar [2025-05-16T22:00:55.504Z] GEN 22:00:55.138 - 8 execute jar Create com.hello override jar [2025-05-16T22:00:55.504Z] GEN 22:00:55.138 - 9 execute Run java Override an application module using modularized jar [2025-05-16T22:00:55.504Z] GEN 22:00:55.138 - 10 execute Run java (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar [2025-05-16T22:00:55.504Z] GEN 22:00:55.138 - 11 execute Run java Combine stderr and stdout files of process OT24 [2025-05-16T22:00:55.504Z] GEN 22:00:55.138 - 12 execute count Check output [2025-05-16T22:00:55.504Z] STF 22:00:55.228 - [2025-05-16T22:00:55.504Z] STF 22:00:55.228 - Script generation completed [2025-05-16T22:00:55.504Z] STF 22:00:55.228 - [2025-05-16T22:00:55.504Z] STF 22:00:55.229 - [2025-05-16T22:00:55.504Z] STF 22:00:55.229 - ======================= S E T U P ======================= [2025-05-16T22:00:55.504Z] STF 22:00:55.229 - Running setup: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/../TKG/output_17474315816960/UpgModPath_Jar_2/20250516-220052-UpgModPathTest/setUp.pl [2025-05-16T22:00:55.504Z] STF 22:00:55.342 - SETUP stage completed [2025-05-16T22:00:55.504Z] STF 22:00:55.349 - [2025-05-16T22:00:55.504Z] STF 22:00:55.349 - ==================== E X E C U T E - ==================== [2025-05-16T22:00:55.504Z] STF 22:00:55.349 - Running execute: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/../TKG/output_17474315816960/UpgModPath_Jar_2/20250516-220052-UpgModPathTest/execute.pl [2025-05-16T22:00:56.271Z] STF 22:00:55.410 - [2025-05-16T22:00:56.271Z] STF 22:00:55.438 - Java version [2025-05-16T22:00:56.271Z] STF 22:00:55.438 - Running: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jdkbinary/j2sdk-image/bin/java -version [2025-05-16T22:00:56.271Z] openjdk version "11.0.28-beta" 2025-07-15 [2025-05-16T22:00:56.271Z] OpenJDK Runtime Environment Temurin-11.0.28+2-202505162002 (build 11.0.28-beta+2-ea) [2025-05-16T22:00:56.271Z] OpenJDK Server VM Temurin-11.0.28+2-202505162002 (build 11.0.28-beta+2-ea, mixed mode) [2025-05-16T22:00:56.271Z] STF 22:00:55.677 - [2025-05-16T22:00:56.271Z] STF 22:00:55.677 - +------ Step 1 - Create com.hello jar [2025-05-16T22:00:56.271Z] STF 22:00:55.677 - | Create modular jar [2025-05-16T22:00:56.271Z] STF 22:00:55.677 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-05-16T22:00:56.271Z] STF 22:00:55.678 - | ModuleVersion: null [2025-05-16T22:00:56.271Z] STF 22:00:55.678 - | MainClass: null [2025-05-16T22:00:56.271Z] STF 22:00:55.678 - | HashModules: null [2025-05-16T22:00:56.271Z] STF 22:00:55.678 - | [2025-05-16T22:00:56.271Z] STF 22:00:55.679 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/output_17474315816960/UpgModPath_Jar_2/20250516-220052-UpgModPathTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-05-16T22:00:56.271Z] STF 22:00:55.679 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/output_17474315816960/UpgModPath_Jar_2/20250516-220052-UpgModPathTest/results/1.CMJ.stderr [2025-05-16T22:00:56.271Z] STF 22:00:55.679 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/output_17474315816960/UpgModPath_Jar_2/20250516-220052-UpgModPathTest/results/1.CMJ.stdout [2025-05-16T22:00:56.271Z] STF 22:00:55.691 - Monitoring processes: CMJ [2025-05-16T22:00:56.271Z] STF 22:00:56.108 - Monitoring Report Summary: [2025-05-16T22:00:56.271Z] STF 22:00:56.108 - o Process CMJ ended with the expected exit code (0) [2025-05-16T22:00:56.271Z] STF 22:00:56.109 - Created modular jar: 1.com.hello.jar [2025-05-16T22:00:56.271Z] STF 22:00:56.109 - [2025-05-16T22:00:56.271Z] STF 22:00:56.109 - +------ Step 2 - Create com.hola jar [2025-05-16T22:00:56.271Z] STF 22:00:56.109 - | Create modular jar [2025-05-16T22:00:56.271Z] STF 22:00:56.109 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-05-16T22:00:56.271Z] STF 22:00:56.109 - | ModuleVersion: null [2025-05-16T22:00:56.271Z] STF 22:00:56.109 - | MainClass: null [2025-05-16T22:00:56.271Z] STF 22:00:56.109 - | HashModules: null [2025-05-16T22:00:56.271Z] STF 22:00:56.109 - | [2025-05-16T22:00:56.271Z] STF 22:00:56.110 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/output_17474315816960/UpgModPath_Jar_2/20250516-220052-UpgModPathTest/modules/2.com.hola.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2025-05-16T22:00:56.271Z] STF 22:00:56.110 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/output_17474315816960/UpgModPath_Jar_2/20250516-220052-UpgModPathTest/results/2.CMJ.stderr [2025-05-16T22:00:56.271Z] STF 22:00:56.110 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/output_17474315816960/UpgModPath_Jar_2/20250516-220052-UpgModPathTest/results/2.CMJ.stdout [2025-05-16T22:00:56.271Z] STF 22:00:56.113 - Monitoring processes: CMJ [2025-05-16T22:00:57.066Z] STF 22:00:56.676 - Monitoring Report Summary: [2025-05-16T22:00:57.066Z] STF 22:00:56.678 - o Process CMJ ended with the expected exit code (0) [2025-05-16T22:00:57.066Z] STF 22:00:56.679 - Created modular jar: 2.com.hola.jar [2025-05-16T22:00:57.066Z] STF 22:00:56.679 - [2025-05-16T22:00:57.066Z] STF 22:00:56.679 - +------ Step 3 - Create com.helper jar [2025-05-16T22:00:57.066Z] STF 22:00:56.679 - | Create modular jar [2025-05-16T22:00:57.066Z] STF 22:00:56.679 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-05-16T22:00:57.066Z] STF 22:00:56.679 - | ModuleVersion: null [2025-05-16T22:00:57.066Z] STF 22:00:56.679 - | MainClass: null [2025-05-16T22:00:57.066Z] STF 22:00:56.679 - | HashModules: null [2025-05-16T22:00:57.066Z] STF 22:00:56.679 - | [2025-05-16T22:00:57.066Z] STF 22:00:56.679 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/output_17474315816960/UpgModPath_Jar_2/20250516-220052-UpgModPathTest/modules/3.com.helper.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2025-05-16T22:00:57.066Z] STF 22:00:56.679 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/output_17474315816960/UpgModPath_Jar_2/20250516-220052-UpgModPathTest/results/3.CMJ.stderr [2025-05-16T22:00:57.066Z] STF 22:00:56.679 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/output_17474315816960/UpgModPath_Jar_2/20250516-220052-UpgModPathTest/results/3.CMJ.stdout [2025-05-16T22:00:57.066Z] STF 22:00:56.683 - Monitoring processes: CMJ [2025-05-16T22:00:57.837Z] STF 22:00:57.091 - Monitoring Report Summary: [2025-05-16T22:00:57.837Z] STF 22:00:57.123 - o Process CMJ ended with the expected exit code (0) [2025-05-16T22:00:57.837Z] STF 22:00:57.124 - Created modular jar: 3.com.helper.jar [2025-05-16T22:00:57.837Z] STF 22:00:57.124 - [2025-05-16T22:00:57.837Z] STF 22:00:57.124 - +------ Step 4 - Create com.discreet jar [2025-05-16T22:00:57.837Z] STF 22:00:57.124 - | Create modular jar [2025-05-16T22:00:57.837Z] STF 22:00:57.124 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-05-16T22:00:57.837Z] STF 22:00:57.124 - | ModuleVersion: null [2025-05-16T22:00:57.837Z] STF 22:00:57.124 - | MainClass: null [2025-05-16T22:00:57.837Z] STF 22:00:57.124 - | HashModules: null [2025-05-16T22:00:57.837Z] STF 22:00:57.124 - | [2025-05-16T22:00:57.837Z] STF 22:00:57.125 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/output_17474315816960/UpgModPath_Jar_2/20250516-220052-UpgModPathTest/modules/4.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2025-05-16T22:00:57.837Z] STF 22:00:57.125 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/output_17474315816960/UpgModPath_Jar_2/20250516-220052-UpgModPathTest/results/4.CMJ.stderr [2025-05-16T22:00:57.837Z] STF 22:00:57.125 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/output_17474315816960/UpgModPath_Jar_2/20250516-220052-UpgModPathTest/results/4.CMJ.stdout [2025-05-16T22:00:57.837Z] STF 22:00:57.127 - Monitoring processes: CMJ [2025-05-16T22:00:57.837Z] STF 22:00:57.398 - Monitoring Report Summary: [2025-05-16T22:00:57.837Z] STF 22:00:57.398 - o Process CMJ ended with the expected exit code (0) [2025-05-16T22:00:57.837Z] STF 22:00:57.399 - Created modular jar: 4.com.discreet.jar [2025-05-16T22:00:57.837Z] STF 22:00:57.399 - [2025-05-16T22:00:57.837Z] STF 22:00:57.399 - +------ Step 5 - Create tests jar [2025-05-16T22:00:57.837Z] STF 22:00:57.399 - | Create modular jar [2025-05-16T22:00:57.837Z] STF 22:00:57.399 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-05-16T22:00:57.837Z] STF 22:00:57.399 - | ModuleVersion: null [2025-05-16T22:00:57.837Z] STF 22:00:57.399 - | MainClass: null [2025-05-16T22:00:57.837Z] STF 22:00:57.399 - | HashModules: null [2025-05-16T22:00:57.837Z] STF 22:00:57.399 - | [2025-05-16T22:00:57.837Z] STF 22:00:57.400 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/output_17474315816960/UpgModPath_Jar_2/20250516-220052-UpgModPathTest/modules/5.com.test.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2025-05-16T22:00:57.837Z] STF 22:00:57.400 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/output_17474315816960/UpgModPath_Jar_2/20250516-220052-UpgModPathTest/results/5.CMJ.stderr [2025-05-16T22:00:57.837Z] STF 22:00:57.400 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/output_17474315816960/UpgModPath_Jar_2/20250516-220052-UpgModPathTest/results/5.CMJ.stdout [2025-05-16T22:00:57.837Z] STF 22:00:57.402 - Monitoring processes: CMJ [2025-05-16T22:00:57.837Z] STF 22:00:57.747 - Monitoring Report Summary: [2025-05-16T22:00:57.837Z] STF 22:00:57.747 - o Process CMJ ended with the expected exit code (0) [2025-05-16T22:00:57.837Z] STF 22:00:57.747 - Created modular jar: 5.com.test.jar [2025-05-16T22:00:57.837Z] STF 22:00:57.748 - [2025-05-16T22:00:57.837Z] STF 22:00:57.748 - +------ Step 6 - Create runtime image for upgrademodulepath test [2025-05-16T22:00:57.837Z] STF 22:00:57.748 - | Run jlink to create runtime image [2025-05-16T22:00:57.837Z] STF 22:00:57.748 - | ImageName: UpJVM [2025-05-16T22:00:57.837Z] STF 22:00:57.748 - | [2025-05-16T22:00:57.838Z] STF 22:00:57.748 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/output_17474315816960/UpgModPath_Jar_2/20250516-220052-UpgModPathTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/output_17474315816960/UpgModPath_Jar_2/20250516-220052-UpgModPathTest/tmp/6.UpJVM [2025-05-16T22:00:57.838Z] STF 22:00:57.748 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/output_17474315816960/UpgModPath_Jar_2/20250516-220052-UpgModPathTest/results/6.JLNK.stderr [2025-05-16T22:00:57.838Z] STF 22:00:57.748 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/output_17474315816960/UpgModPath_Jar_2/20250516-220052-UpgModPathTest/results/6.JLNK.stdout [2025-05-16T22:00:57.838Z] STF 22:00:57.751 - Monitoring processes: JLNK [2025-05-16T22:01:04.903Z] STF 22:01:02.887 - Monitoring Report Summary: [2025-05-16T22:01:04.903Z] STF 22:01:02.887 - o Process JLNK ended with the expected exit code (0) [2025-05-16T22:01:04.903Z] STF 22:01:02.887 - [2025-05-16T22:01:04.903Z] STF 22:01:02.887 - +------ Step 7 - Create com.hello override jar [2025-05-16T22:01:04.903Z] STF 22:01:02.887 - | Create modular jar [2025-05-16T22:01:04.903Z] STF 22:01:02.887 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-05-16T22:01:04.903Z] STF 22:01:02.887 - | ModuleVersion: null [2025-05-16T22:01:04.903Z] STF 22:01:02.887 - | MainClass: null [2025-05-16T22:01:04.903Z] STF 22:01:02.887 - | HashModules: null [2025-05-16T22:01:04.903Z] STF 22:01:02.887 - | [2025-05-16T22:01:04.903Z] STF 22:01:02.888 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/output_17474315816960/UpgModPath_Jar_2/20250516-220052-UpgModPathTest/modules/7.com.hello.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2025-05-16T22:01:04.903Z] STF 22:01:02.888 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/output_17474315816960/UpgModPath_Jar_2/20250516-220052-UpgModPathTest/results/7.CMJ.stderr [2025-05-16T22:01:04.903Z] STF 22:01:02.888 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/output_17474315816960/UpgModPath_Jar_2/20250516-220052-UpgModPathTest/results/7.CMJ.stdout [2025-05-16T22:01:04.903Z] STF 22:01:02.891 - Monitoring processes: CMJ [2025-05-16T22:01:04.903Z] STF 22:01:03.153 - Monitoring Report Summary: [2025-05-16T22:01:04.903Z] STF 22:01:03.153 - o Process CMJ ended with the expected exit code (0) [2025-05-16T22:01:04.903Z] STF 22:01:03.153 - Created modular jar: 7.com.hello.jar [2025-05-16T22:01:04.903Z] STF 22:01:03.153 - [2025-05-16T22:01:04.903Z] STF 22:01:03.153 - +------ Step 8 - Create com.hello override jar [2025-05-16T22:01:04.903Z] STF 22:01:03.153 - | Create modular jar [2025-05-16T22:01:04.903Z] STF 22:01:03.153 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2025-05-16T22:01:04.903Z] STF 22:01:03.154 - | ModuleVersion: null [2025-05-16T22:01:04.903Z] STF 22:01:03.154 - | MainClass: null [2025-05-16T22:01:04.903Z] STF 22:01:03.154 - | HashModules: null [2025-05-16T22:01:04.903Z] STF 22:01:03.154 - | [2025-05-16T22:01:04.903Z] STF 22:01:03.154 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/output_17474315816960/UpgModPath_Jar_2/20250516-220052-UpgModPathTest/modules/8.java.logging.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.logging . [2025-05-16T22:01:04.903Z] STF 22:01:03.154 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/output_17474315816960/UpgModPath_Jar_2/20250516-220052-UpgModPathTest/results/8.CMJ.stderr [2025-05-16T22:01:04.903Z] STF 22:01:03.154 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/output_17474315816960/UpgModPath_Jar_2/20250516-220052-UpgModPathTest/results/8.CMJ.stdout [2025-05-16T22:01:04.903Z] STF 22:01:03.157 - Monitoring processes: CMJ [2025-05-16T22:01:04.903Z] STF 22:01:03.523 - Monitoring Report Summary: [2025-05-16T22:01:04.903Z] STF 22:01:03.524 - o Process CMJ ended with the expected exit code (0) [2025-05-16T22:01:04.903Z] STF 22:01:03.524 - Created modular jar: 8.java.logging.jar [2025-05-16T22:01:04.903Z] STF 22:01:03.524 - [2025-05-16T22:01:04.903Z] STF 22:01:03.524 - +------ Step 9 - Override an application module using modularized jar [2025-05-16T22:01:04.903Z] STF 22:01:03.524 - | Run foreground process [2025-05-16T22:01:04.903Z] STF 22:01:03.524 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jdkbinary/j2sdk-image/bin/java [2025-05-16T22:01:04.903Z] STF 22:01:03.524 - | Mnemonic: OT21 [2025-05-16T22:01:04.903Z] STF 22:01:03.524 - | Echo: ECHO_ON [2025-05-16T22:01:04.903Z] STF 22:01:03.524 - | Expectation: CLEAN_RUN within 1m [2025-05-16T22:01:04.903Z] STF 22:01:03.524 - | [2025-05-16T22:01:04.903Z] STF 22:01:03.525 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --upgrade-module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/output_17474315816960/UpgModPath_Jar_2/20250516-220052-UpgModPathTest/modules/7.com.hello.jar --add-modules=com.test -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-16T22:01:04.903Z] STF 22:01:03.525 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/output_17474315816960/UpgModPath_Jar_2/20250516-220052-UpgModPathTest/results/9.OT21.stderr [2025-05-16T22:01:04.903Z] STF 22:01:03.525 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/output_17474315816960/UpgModPath_Jar_2/20250516-220052-UpgModPathTest/results/9.OT21.stdout [2025-05-16T22:01:04.903Z] STF 22:01:03.528 - Monitoring processes: OT21 [2025-05-16T22:01:04.903Z] OT21 JUnit version 4.12 [2025-05-16T22:01:06.171Z] OT21 . [2025-05-16T22:01:06.171Z] OT21 Time: 0.006 [2025-05-16T22:01:06.171Z] OT21 [2025-05-16T22:01:06.171Z] OT21 OK (1 test) [2025-05-16T22:01:06.171Z] OT21 [2025-05-16T22:01:06.171Z] STF 22:01:03.877 - Monitoring Report Summary: [2025-05-16T22:01:06.171Z] STF 22:01:03.877 - o Process OT21 ended with the expected exit code (0) [2025-05-16T22:01:06.171Z] STF 22:01:03.878 - [2025-05-16T22:01:06.171Z] STF 22:01:03.878 - +------ Step 10 - (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar [2025-05-16T22:01:06.171Z] STF 22:01:03.878 - | Run foreground process [2025-05-16T22:01:06.171Z] STF 22:01:03.878 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jdkbinary/j2sdk-image/bin/java [2025-05-16T22:01:06.171Z] STF 22:01:03.878 - | Mnemonic: OT24 [2025-05-16T22:01:06.171Z] STF 22:01:03.878 - | Echo: ECHO_ON [2025-05-16T22:01:06.171Z] STF 22:01:03.878 - | Expectation: NON_ZERO_EXIT [1] within 1m [2025-05-16T22:01:06.171Z] STF 22:01:03.878 - | [2025-05-16T22:01:06.172Z] STF 22:01:03.879 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --upgrade-module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/output_17474315816960/UpgModPath_Jar_2/20250516-220052-UpgModPathTest/modules/8.java.logging.jar --add-modules=com.test -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-16T22:01:06.172Z] STF 22:01:03.879 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/output_17474315816960/UpgModPath_Jar_2/20250516-220052-UpgModPathTest/results/10.OT24.stderr [2025-05-16T22:01:06.172Z] STF 22:01:03.879 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/output_17474315816960/UpgModPath_Jar_2/20250516-220052-UpgModPathTest/results/10.OT24.stdout [2025-05-16T22:01:06.172Z] STF 22:01:03.882 - Monitoring processes: OT24 [2025-05-16T22:01:06.172Z] OT24 Error occurred during initialization of boot layer [2025-05-16T22:01:06.172Z] OT24 java.lang.module.FindException: Hash of java.logging (83b4240ddd5a0bdf573e65819e2187b066233697ffbcc0af8aa0762dae63edf7) differs to expected hash (ae334081b24ce51f4f430b8e0bce63380d6f06dea117d8a8e7a5f8bfaacf6ea4) recorded in java.base [2025-05-16T22:01:06.172Z] STF 22:01:04.175 - Monitoring Report Summary: [2025-05-16T22:01:06.172Z] STF 22:01:04.175 - o Process OT24 ended with the expected exit code (1) [2025-05-16T22:01:06.172Z] STF 22:01:04.175 - [2025-05-16T22:01:06.172Z] STF 22:01:04.175 - +------ Step 11 - Combine stderr and stdout files of process OT24 [2025-05-16T22:01:06.172Z] STF 22:01:04.175 - | Run foreground process [2025-05-16T22:01:06.172Z] STF 22:01:04.175 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jdkbinary/j2sdk-image/bin/java [2025-05-16T22:01:06.172Z] STF 22:01:04.175 - | Mnemonic: CO [2025-05-16T22:01:06.172Z] STF 22:01:04.176 - | Echo: ECHO_OFF [2025-05-16T22:01:06.172Z] STF 22:01:04.176 - | Expectation: NON_ZERO_EXIT [0] within 30s [2025-05-16T22:01:06.172Z] STF 22:01:04.176 - | [2025-05-16T22:01:06.172Z] STF 22:01:04.176 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jdkbinary/j2sdk-image/bin/java -Dfile1=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/output_17474315816960/UpgModPath_Jar_2/20250516-220052-UpgModPathTest/results/10.OT24.stdout -Dfile2=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/output_17474315816960/UpgModPath_Jar_2/20250516-220052-UpgModPathTest/results/10.OT24.stderr -Dfinal.file=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/output_17474315816960/UpgModPath_Jar_2/20250516-220052-UpgModPathTest/results/combinedOT24.txt -classpath /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jvmtest/system/STF/stf.core/bin:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin net.adoptopenjdk.test.modularity.TestUtil [2025-05-16T22:01:06.172Z] STF 22:01:04.176 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/output_17474315816960/UpgModPath_Jar_2/20250516-220052-UpgModPathTest/results/11.CO.stderr [2025-05-16T22:01:06.172Z] STF 22:01:04.176 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/output_17474315816960/UpgModPath_Jar_2/20250516-220052-UpgModPathTest/results/11.CO.stdout [2025-05-16T22:01:06.172Z] STF 22:01:04.179 - Monitoring processes: CO [2025-05-16T22:01:06.172Z] STF 22:01:04.431 - Monitoring Report Summary: [2025-05-16T22:01:06.172Z] STF 22:01:04.431 - o Process CO ended with the expected exit code (0) [2025-05-16T22:01:06.172Z] STF 22:01:04.431 - [2025-05-16T22:01:06.172Z] STF 22:01:04.431 - +------ Step 12 - Check output [2025-05-16T22:01:06.172Z] STF 22:01:04.431 - | Count file matches [2025-05-16T22:01:06.172Z] STF 22:01:04.431 - | TargetFile: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/output_17474315816960/UpgModPath_Jar_2/20250516-220052-UpgModPathTest/results/combinedOT24.txt [2025-05-16T22:01:06.172Z] STF 22:01:04.431 - | ExpectedNumMatches: 1 [2025-05-16T22:01:06.172Z] STF 22:01:04.431 - | SearchStrings: ["FindException: Hash of java.logging"] [2025-05-16T22:01:06.172Z] STF 22:01:04.431 - | [2025-05-16T22:01:06.172Z] STF 22:01:04.432 - Found 1 instances of ["FindException: Hash of java.logging"] [2025-05-16T22:01:06.172Z] STF 22:01:04.432 - EXECUTE stage completed [2025-05-16T22:01:06.172Z] STF 22:01:04.524 - [2025-05-16T22:01:06.172Z] STF 22:01:04.524 - ==================== T E A R D O W N ==================== [2025-05-16T22:01:06.172Z] STF 22:01:04.525 - Running teardown: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_0/aqa-tests/TKG/../TKG/output_17474315816960/UpgModPath_Jar_2/20250516-220052-UpgModPathTest/tearDown.pl [2025-05-16T22:01:06.172Z] STF 22:01:04.592 - TEARDOWN stage completed [2025-05-16T22:01:06.172Z] STF 22:01:04.599 - [2025-05-16T22:01:06.172Z] STF 22:01:04.599 - ===================== R E S U L T S ===================== [2025-05-16T22:01:06.172Z] STF 22:01:04.599 - Stage results: [2025-05-16T22:01:06.172Z] STF 22:01:04.600 - setUp: pass [2025-05-16T22:01:06.172Z] STF 22:01:04.600 - execute: pass [2025-05-16T22:01:06.172Z] STF 22:01:04.600 - teardown: pass [2025-05-16T22:01:06.172Z] STF 22:01:04.600 - [2025-05-16T22:01:06.172Z] STF 22:01:04.600 - Overall result: PASSED [2025-05-16T22:01:06.172Z] ----------------------------------- [2025-05-16T22:01:06.172Z] UpgModPath_Jar_2_PASSED [2025-05-16T22:01:06.172Z] ----------------------------------- [2025-05-16T22:01:06.172Z] [2025-05-16T22:01:06.172Z] TEST TEARDOWN: [2025-05-16T22:01:06.172Z] Nothing to be done for teardown. [2025-05-16T22:01:06.172Z] UpgModPath_Jar_2 Finish Time: Fri May 16 22:01:04 2025 Epoch Time (ms): 1747432864655