UpgModPath_JarImg_2

[2025-04-16T05:48:17.374Z] Running test UpgModPath_JarImg_2 ... [2025-04-16T05:48:17.374Z] =============================================== [2025-04-16T05:48:18.322Z] UpgModPath_JarImg_2 Start Time: Wed Apr 16 05:48:17 2025 Epoch Time (ms): 1744782497289 [2025-04-16T05:48:18.322Z] variation: Mode1000 [2025-04-16T05:48:18.322Z] JVM_OPTIONS: [2025-04-16T05:48:18.322Z] { \ [2025-04-16T05:48:18.322Z] echo ""; echo "TEST SETUP:"; \ [2025-04-16T05:48:18.322Z] echo "Nothing to be done for setup."; \ [2025-04-16T05:48:18.322Z] mkdir -p "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/../TKG/output_1744780822380/UpgModPath_JarImg_2"; \ [2025-04-16T05:48:18.322Z] cd "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/../TKG/output_1744780822380/UpgModPath_JarImg_2"; \ [2025-04-16T05:48:18.322Z] echo ""; echo "TESTING:"; \ [2025-04-16T05:48:18.323Z] perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/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_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/../../testDependency/system_lib/" -java-args=' ' -results-root="/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/../TKG/output_1744780822380/UpgModPath_JarImg_2" -test=UpgModPathTest -test-args="variant=JarImg"; \ [2025-04-16T05:48:18.323Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_JarImg_2""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/../TKG/output_1744780822380/UpgModPath_JarImg_2"; else echo "-----------------------------------"; echo "UpgModPath_JarImg_2""_FAILED"; echo "-----------------------------------"; fi; \ [2025-04-16T05:48:18.323Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-04-16T05:48:18.323Z] echo "Nothing to be done for teardown."; \ [2025-04-16T05:48:18.323Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/../TKG/output_1744780822380/TestTargetResult"; [2025-04-16T05:48:18.323Z] [2025-04-16T05:48:18.323Z] TEST SETUP: [2025-04-16T05:48:18.323Z] Nothing to be done for setup. [2025-04-16T05:48:18.323Z] [2025-04-16T05:48:18.323Z] TESTING: [2025-04-16T05:48:18.323Z] STF 05:48:17.358 - ========================= S T F ========================= [2025-04-16T05:48:18.323Z] 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_2/aqa-tests/TKG/../TKG/output_1744780822380/UpgModPath_JarImg_2 [2025-04-16T05:48:18.323Z] There is 59266 Mb free [2025-04-16T05:48:18.323Z] STF 05:48:17.365 - ================== G E N E R A T I O N ================== [2025-04-16T05:48:18.323Z] STF 05:48:17.366 - Checking JVM: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/jdkbinary/j2sdk-image [2025-04-16T05:48:18.323Z] STF 05:48:17.366 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/../../testDependency/system_lib//asm/asm.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/../../testDependency/system_lib//asm/asm-commons.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/../../testDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/../../testDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/../TKG/output_1744780822380/UpgModPath_JarImg_2/20250416-054817-UpgModPathTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/../TKG/output_1744780822380/UpgModPath_JarImg_2/20250416-054817-UpgModPathTest" [2025-04-16T05:48:19.270Z] GEN 05:48:18.640 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: '/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-04-16T05:48:19.270Z] GEN 05:48:18.669 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2025-04-16T05:48:19.270Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-04-16T05:48:19.270Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-04-16T05:48:19.270Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-04-16T05:48:19.270Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-04-16T05:48:19.270Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-04-16T05:48:19.270Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-04-16T05:48:19.270Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-04-16T05:48:19.270Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-04-16T05:48:19.270Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-04-16T05:48:19.271Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-04-16T05:48:19.271Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-04-16T05:48:19.271Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-04-16T05:48:19.271Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-04-16T05:48:19.271Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-04-16T05:48:19.271Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-04-16T05:48:19.271Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-04-16T05:48:19.271Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/jvmtest/system/STF/stf.core/bin [2025-04-16T05:48:19.271Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-04-16T05:48:19.271Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-04-16T05:48:19.271Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar [2025-04-16T05:48:19.271Z] GEN 05:48:18.883 - Using Mode NoOptions. Values = '' [2025-04-16T05:48:19.271Z] GEN 05:48:19.053 - [2025-04-16T05:48:19.271Z] GEN 05:48:19.054 - Test command summary: [2025-04-16T05:48:19.271Z] GEN 05:48:19.054 - Step Stage Command Description [2025-04-16T05:48:19.271Z] GEN 05:48:19.055 - -----+--------+-----------------+------------ [2025-04-16T05:48:19.271Z] GEN 05:48:19.055 - 1 execute jar Create com.hello jar [2025-04-16T05:48:19.271Z] GEN 05:48:19.055 - 2 execute jar Create com.hola jar [2025-04-16T05:48:19.271Z] GEN 05:48:19.055 - 3 execute jar Create com.helper jar [2025-04-16T05:48:19.271Z] GEN 05:48:19.055 - 4 execute jar Create com.discreet jar [2025-04-16T05:48:19.271Z] GEN 05:48:19.055 - 5 execute jar Create tests jar [2025-04-16T05:48:19.271Z] GEN 05:48:19.055 - 6 execute jlink Create runtime image for upgrademodulepath test [2025-04-16T05:48:19.271Z] GEN 05:48:19.055 - 7 execute jar Create com.hello override jar [2025-04-16T05:48:19.271Z] GEN 05:48:19.055 - 8 execute jar Create com.hello override jar [2025-04-16T05:48:19.271Z] GEN 05:48:19.055 - 9 execute Run java Override an application module using a custom runtime image where the overriding module is in a modularized jar [2025-04-16T05:48:19.271Z] GEN 05:48:19.055 - 10 execute Run java (Negative test) Override a non-upgradable platform module using a custom runtime imagewhere the overriding module is in a modularized jar [2025-04-16T05:48:19.271Z] GEN 05:48:19.055 - 11 execute Run java Combine stderr and stdout files of process OT27 [2025-04-16T05:48:19.271Z] GEN 05:48:19.055 - 12 execute count Check output [2025-04-16T05:48:19.271Z] STF 05:48:19.090 - [2025-04-16T05:48:19.271Z] STF 05:48:19.090 - Script generation completed [2025-04-16T05:48:19.271Z] STF 05:48:19.090 - [2025-04-16T05:48:19.271Z] STF 05:48:19.090 - [2025-04-16T05:48:19.271Z] STF 05:48:19.090 - ======================= S E T U P ======================= [2025-04-16T05:48:19.271Z] STF 05:48:19.090 - Running setup: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/../TKG/output_1744780822380/UpgModPath_JarImg_2/20250416-054817-UpgModPathTest/setUp.pl [2025-04-16T05:48:19.271Z] STF 05:48:19.146 - SETUP stage completed [2025-04-16T05:48:19.271Z] STF 05:48:19.150 - [2025-04-16T05:48:19.271Z] STF 05:48:19.150 - ==================== E X E C U T E - ==================== [2025-04-16T05:48:19.271Z] STF 05:48:19.150 - Running execute: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/../TKG/output_1744780822380/UpgModPath_JarImg_2/20250416-054817-UpgModPathTest/execute.pl [2025-04-16T05:48:20.223Z] STF 05:48:19.206 - [2025-04-16T05:48:20.223Z] STF 05:48:19.206 - Java version [2025-04-16T05:48:20.223Z] STF 05:48:19.206 - Running: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/jdkbinary/j2sdk-image/bin/java -version [2025-04-16T05:48:20.223Z] openjdk version "11.0.27" 2025-04-15 [2025-04-16T05:48:20.223Z] OpenJDK Runtime Environment Temurin-11.0.27+6 (build 11.0.27+6) [2025-04-16T05:48:20.223Z] OpenJDK Server VM Temurin-11.0.27+6 (build 11.0.27+6, mixed mode) [2025-04-16T05:48:20.223Z] STF 05:48:19.300 - [2025-04-16T05:48:20.223Z] STF 05:48:19.300 - +------ Step 1 - Create com.hello jar [2025-04-16T05:48:20.223Z] STF 05:48:19.300 - | Create modular jar [2025-04-16T05:48:20.223Z] STF 05:48:19.301 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-04-16T05:48:20.223Z] STF 05:48:19.301 - | ModuleVersion: null [2025-04-16T05:48:20.223Z] STF 05:48:19.301 - | MainClass: null [2025-04-16T05:48:20.223Z] STF 05:48:19.301 - | HashModules: null [2025-04-16T05:48:20.223Z] STF 05:48:19.301 - | [2025-04-16T05:48:20.223Z] STF 05:48:19.301 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/output_1744780822380/UpgModPath_JarImg_2/20250416-054817-UpgModPathTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-04-16T05:48:20.223Z] STF 05:48:19.301 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/output_1744780822380/UpgModPath_JarImg_2/20250416-054817-UpgModPathTest/results/1.CMJ.stderr [2025-04-16T05:48:20.224Z] STF 05:48:19.301 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/output_1744780822380/UpgModPath_JarImg_2/20250416-054817-UpgModPathTest/results/1.CMJ.stdout [2025-04-16T05:48:20.224Z] STF 05:48:19.312 - Monitoring processes: CMJ [2025-04-16T05:48:20.224Z] STF 05:48:19.609 - Monitoring Report Summary: [2025-04-16T05:48:20.224Z] STF 05:48:19.609 - o Process CMJ ended with the expected exit code (0) [2025-04-16T05:48:20.224Z] STF 05:48:19.609 - Created modular jar: 1.com.hello.jar [2025-04-16T05:48:20.224Z] STF 05:48:19.609 - [2025-04-16T05:48:20.224Z] STF 05:48:19.609 - +------ Step 2 - Create com.hola jar [2025-04-16T05:48:20.224Z] STF 05:48:19.609 - | Create modular jar [2025-04-16T05:48:20.224Z] STF 05:48:19.609 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-04-16T05:48:20.224Z] STF 05:48:19.609 - | ModuleVersion: null [2025-04-16T05:48:20.224Z] STF 05:48:19.609 - | MainClass: null [2025-04-16T05:48:20.224Z] STF 05:48:19.609 - | HashModules: null [2025-04-16T05:48:20.224Z] STF 05:48:19.609 - | [2025-04-16T05:48:20.224Z] STF 05:48:19.610 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/output_1744780822380/UpgModPath_JarImg_2/20250416-054817-UpgModPathTest/modules/2.com.hola.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2025-04-16T05:48:20.224Z] STF 05:48:19.610 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/output_1744780822380/UpgModPath_JarImg_2/20250416-054817-UpgModPathTest/results/2.CMJ.stderr [2025-04-16T05:48:20.224Z] STF 05:48:19.610 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/output_1744780822380/UpgModPath_JarImg_2/20250416-054817-UpgModPathTest/results/2.CMJ.stdout [2025-04-16T05:48:20.224Z] STF 05:48:19.612 - Monitoring processes: CMJ [2025-04-16T05:48:20.224Z] STF 05:48:19.884 - Monitoring Report Summary: [2025-04-16T05:48:20.224Z] STF 05:48:19.884 - o Process CMJ ended with the expected exit code (0) [2025-04-16T05:48:20.224Z] STF 05:48:19.885 - Created modular jar: 2.com.hola.jar [2025-04-16T05:48:20.224Z] STF 05:48:19.885 - [2025-04-16T05:48:20.224Z] STF 05:48:19.885 - +------ Step 3 - Create com.helper jar [2025-04-16T05:48:20.224Z] STF 05:48:19.885 - | Create modular jar [2025-04-16T05:48:20.224Z] STF 05:48:19.885 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-04-16T05:48:20.224Z] STF 05:48:19.885 - | ModuleVersion: null [2025-04-16T05:48:20.224Z] STF 05:48:19.885 - | MainClass: null [2025-04-16T05:48:20.224Z] STF 05:48:19.885 - | HashModules: null [2025-04-16T05:48:20.224Z] STF 05:48:19.885 - | [2025-04-16T05:48:20.224Z] STF 05:48:19.885 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/output_1744780822380/UpgModPath_JarImg_2/20250416-054817-UpgModPathTest/modules/3.com.helper.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2025-04-16T05:48:20.224Z] STF 05:48:19.885 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/output_1744780822380/UpgModPath_JarImg_2/20250416-054817-UpgModPathTest/results/3.CMJ.stderr [2025-04-16T05:48:20.224Z] STF 05:48:19.885 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/output_1744780822380/UpgModPath_JarImg_2/20250416-054817-UpgModPathTest/results/3.CMJ.stdout [2025-04-16T05:48:20.224Z] STF 05:48:19.887 - Monitoring processes: CMJ [2025-04-16T05:48:21.176Z] STF 05:48:20.155 - Monitoring Report Summary: [2025-04-16T05:48:21.176Z] STF 05:48:20.155 - o Process CMJ ended with the expected exit code (0) [2025-04-16T05:48:21.176Z] STF 05:48:20.156 - Created modular jar: 3.com.helper.jar [2025-04-16T05:48:21.176Z] STF 05:48:20.156 - [2025-04-16T05:48:21.176Z] STF 05:48:20.156 - +------ Step 4 - Create com.discreet jar [2025-04-16T05:48:21.176Z] STF 05:48:20.156 - | Create modular jar [2025-04-16T05:48:21.176Z] STF 05:48:20.156 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-04-16T05:48:21.176Z] STF 05:48:20.156 - | ModuleVersion: null [2025-04-16T05:48:21.176Z] STF 05:48:20.156 - | MainClass: null [2025-04-16T05:48:21.176Z] STF 05:48:20.156 - | HashModules: null [2025-04-16T05:48:21.176Z] STF 05:48:20.156 - | [2025-04-16T05:48:21.176Z] STF 05:48:20.156 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/output_1744780822380/UpgModPath_JarImg_2/20250416-054817-UpgModPathTest/modules/4.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2025-04-16T05:48:21.176Z] STF 05:48:20.156 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/output_1744780822380/UpgModPath_JarImg_2/20250416-054817-UpgModPathTest/results/4.CMJ.stderr [2025-04-16T05:48:21.176Z] STF 05:48:20.156 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/output_1744780822380/UpgModPath_JarImg_2/20250416-054817-UpgModPathTest/results/4.CMJ.stdout [2025-04-16T05:48:21.176Z] STF 05:48:20.158 - Monitoring processes: CMJ [2025-04-16T05:48:21.176Z] STF 05:48:20.439 - Monitoring Report Summary: [2025-04-16T05:48:21.176Z] STF 05:48:20.439 - o Process CMJ ended with the expected exit code (0) [2025-04-16T05:48:21.176Z] STF 05:48:20.439 - Created modular jar: 4.com.discreet.jar [2025-04-16T05:48:21.176Z] STF 05:48:20.439 - [2025-04-16T05:48:21.176Z] STF 05:48:20.439 - +------ Step 5 - Create tests jar [2025-04-16T05:48:21.176Z] STF 05:48:20.439 - | Create modular jar [2025-04-16T05:48:21.176Z] STF 05:48:20.439 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-04-16T05:48:21.176Z] STF 05:48:20.439 - | ModuleVersion: null [2025-04-16T05:48:21.176Z] STF 05:48:20.439 - | MainClass: null [2025-04-16T05:48:21.176Z] STF 05:48:20.439 - | HashModules: null [2025-04-16T05:48:21.176Z] STF 05:48:20.439 - | [2025-04-16T05:48:21.176Z] STF 05:48:20.439 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/output_1744780822380/UpgModPath_JarImg_2/20250416-054817-UpgModPathTest/modules/5.com.test.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2025-04-16T05:48:21.176Z] STF 05:48:20.439 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/output_1744780822380/UpgModPath_JarImg_2/20250416-054817-UpgModPathTest/results/5.CMJ.stderr [2025-04-16T05:48:21.176Z] STF 05:48:20.439 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/output_1744780822380/UpgModPath_JarImg_2/20250416-054817-UpgModPathTest/results/5.CMJ.stdout [2025-04-16T05:48:21.176Z] STF 05:48:20.441 - Monitoring processes: CMJ [2025-04-16T05:48:21.176Z] STF 05:48:20.706 - Monitoring Report Summary: [2025-04-16T05:48:21.176Z] STF 05:48:20.706 - o Process CMJ ended with the expected exit code (0) [2025-04-16T05:48:21.176Z] STF 05:48:20.706 - Created modular jar: 5.com.test.jar [2025-04-16T05:48:21.176Z] STF 05:48:20.707 - [2025-04-16T05:48:21.176Z] STF 05:48:20.707 - +------ Step 6 - Create runtime image for upgrademodulepath test [2025-04-16T05:48:21.176Z] STF 05:48:20.707 - | Run jlink to create runtime image [2025-04-16T05:48:21.176Z] STF 05:48:20.707 - | ImageName: UpJVM [2025-04-16T05:48:21.176Z] STF 05:48:20.707 - | [2025-04-16T05:48:21.177Z] STF 05:48:20.707 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/output_1744780822380/UpgModPath_JarImg_2/20250416-054817-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_2/aqa-tests/TKG/output_1744780822380/UpgModPath_JarImg_2/20250416-054817-UpgModPathTest/tmp/6.UpJVM [2025-04-16T05:48:21.177Z] STF 05:48:20.707 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/output_1744780822380/UpgModPath_JarImg_2/20250416-054817-UpgModPathTest/results/6.JLNK.stderr [2025-04-16T05:48:21.177Z] STF 05:48:20.707 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/output_1744780822380/UpgModPath_JarImg_2/20250416-054817-UpgModPathTest/results/6.JLNK.stdout [2025-04-16T05:48:21.177Z] STF 05:48:20.709 - Monitoring processes: JLNK [2025-04-16T05:48:25.312Z] STF 05:48:24.102 - Monitoring Report Summary: [2025-04-16T05:48:25.312Z] STF 05:48:24.103 - o Process JLNK ended with the expected exit code (0) [2025-04-16T05:48:25.313Z] STF 05:48:24.103 - [2025-04-16T05:48:25.313Z] STF 05:48:24.103 - +------ Step 7 - Create com.hello override jar [2025-04-16T05:48:25.313Z] STF 05:48:24.103 - | Create modular jar [2025-04-16T05:48:25.313Z] STF 05:48:24.103 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-04-16T05:48:25.313Z] STF 05:48:24.103 - | ModuleVersion: null [2025-04-16T05:48:25.313Z] STF 05:48:24.103 - | MainClass: null [2025-04-16T05:48:25.313Z] STF 05:48:24.103 - | HashModules: null [2025-04-16T05:48:25.313Z] STF 05:48:24.103 - | [2025-04-16T05:48:25.313Z] STF 05:48:24.103 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/output_1744780822380/UpgModPath_JarImg_2/20250416-054817-UpgModPathTest/modules/7.com.hello.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2025-04-16T05:48:25.313Z] STF 05:48:24.103 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/output_1744780822380/UpgModPath_JarImg_2/20250416-054817-UpgModPathTest/results/7.CMJ.stderr [2025-04-16T05:48:25.313Z] STF 05:48:24.103 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/output_1744780822380/UpgModPath_JarImg_2/20250416-054817-UpgModPathTest/results/7.CMJ.stdout [2025-04-16T05:48:25.313Z] STF 05:48:24.105 - Monitoring processes: CMJ [2025-04-16T05:48:25.313Z] STF 05:48:24.556 - Monitoring Report Summary: [2025-04-16T05:48:25.313Z] STF 05:48:24.556 - o Process CMJ ended with the expected exit code (0) [2025-04-16T05:48:25.313Z] STF 05:48:24.556 - Created modular jar: 7.com.hello.jar [2025-04-16T05:48:25.313Z] STF 05:48:24.556 - [2025-04-16T05:48:25.313Z] STF 05:48:24.556 - +------ Step 8 - Create com.hello override jar [2025-04-16T05:48:25.313Z] STF 05:48:24.556 - | Create modular jar [2025-04-16T05:48:25.313Z] STF 05:48:24.556 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2025-04-16T05:48:25.313Z] STF 05:48:24.556 - | ModuleVersion: null [2025-04-16T05:48:25.313Z] STF 05:48:24.556 - | MainClass: null [2025-04-16T05:48:25.313Z] STF 05:48:24.556 - | HashModules: null [2025-04-16T05:48:25.313Z] STF 05:48:24.556 - | [2025-04-16T05:48:25.313Z] STF 05:48:24.557 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/output_1744780822380/UpgModPath_JarImg_2/20250416-054817-UpgModPathTest/modules/8.java.logging.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.logging . [2025-04-16T05:48:25.313Z] STF 05:48:24.557 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/output_1744780822380/UpgModPath_JarImg_2/20250416-054817-UpgModPathTest/results/8.CMJ.stderr [2025-04-16T05:48:25.313Z] STF 05:48:24.557 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/output_1744780822380/UpgModPath_JarImg_2/20250416-054817-UpgModPathTest/results/8.CMJ.stdout [2025-04-16T05:48:25.313Z] STF 05:48:24.560 - Monitoring processes: CMJ [2025-04-16T05:48:25.313Z] STF 05:48:24.846 - Monitoring Report Summary: [2025-04-16T05:48:25.313Z] STF 05:48:24.846 - o Process CMJ ended with the expected exit code (0) [2025-04-16T05:48:25.313Z] STF 05:48:24.846 - Created modular jar: 8.java.logging.jar [2025-04-16T05:48:25.313Z] STF 05:48:24.846 - [2025-04-16T05:48:25.313Z] STF 05:48:24.846 - +------ Step 9 - Override an application module using a custom runtime image where the overriding module is in a modularized jar [2025-04-16T05:48:25.313Z] STF 05:48:24.846 - | Run foreground process [2025-04-16T05:48:25.313Z] STF 05:48:24.846 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/output_1744780822380/UpgModPath_JarImg_2/20250416-054817-UpgModPathTest/tmp/6.UpJVM/bin/java [2025-04-16T05:48:25.313Z] STF 05:48:24.846 - | Mnemonic: OT25 [2025-04-16T05:48:25.313Z] STF 05:48:24.846 - | Echo: ECHO_ON [2025-04-16T05:48:25.313Z] STF 05:48:24.846 - | Expectation: CLEAN_RUN within 1m [2025-04-16T05:48:25.313Z] STF 05:48:24.846 - | [2025-04-16T05:48:25.313Z] STF 05:48:24.847 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/output_1744780822380/UpgModPath_JarImg_2/20250416-054817-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/output_1744780822380/UpgModPath_JarImg_2/20250416-054817-UpgModPathTest/modules/7.com.hello.jar -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-04-16T05:48:25.313Z] STF 05:48:24.847 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/output_1744780822380/UpgModPath_JarImg_2/20250416-054817-UpgModPathTest/results/9.OT25.stderr [2025-04-16T05:48:25.313Z] STF 05:48:24.847 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/output_1744780822380/UpgModPath_JarImg_2/20250416-054817-UpgModPathTest/results/9.OT25.stdout [2025-04-16T05:48:25.313Z] STF 05:48:24.850 - Monitoring processes: OT25 [2025-04-16T05:48:26.262Z] OT25 JUnit version 4.12 [2025-04-16T05:48:26.262Z] OT25 . [2025-04-16T05:48:26.262Z] OT25 Time: 0.018 [2025-04-16T05:48:26.262Z] OT25 [2025-04-16T05:48:26.262Z] OT25 OK (1 test) [2025-04-16T05:48:26.262Z] OT25 [2025-04-16T05:48:26.262Z] STF 05:48:25.477 - Monitoring Report Summary: [2025-04-16T05:48:26.262Z] STF 05:48:25.477 - o Process OT25 ended with the expected exit code (0) [2025-04-16T05:48:26.262Z] STF 05:48:25.477 - [2025-04-16T05:48:26.262Z] STF 05:48:25.477 - +------ Step 10 - (Negative test) Override a non-upgradable platform module using a custom runtime imagewhere the overriding module is in a modularized jar [2025-04-16T05:48:26.262Z] STF 05:48:25.477 - | Run foreground process [2025-04-16T05:48:26.262Z] STF 05:48:25.477 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/output_1744780822380/UpgModPath_JarImg_2/20250416-054817-UpgModPathTest/tmp/6.UpJVM/bin/java [2025-04-16T05:48:26.262Z] STF 05:48:25.477 - | Mnemonic: OT27 [2025-04-16T05:48:26.262Z] STF 05:48:25.477 - | Echo: ECHO_ON [2025-04-16T05:48:26.262Z] STF 05:48:25.477 - | Expectation: NON_ZERO_EXIT [1] within 1m [2025-04-16T05:48:26.262Z] STF 05:48:25.477 - | [2025-04-16T05:48:26.263Z] STF 05:48:25.478 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/output_1744780822380/UpgModPath_JarImg_2/20250416-054817-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/output_1744780822380/UpgModPath_JarImg_2/20250416-054817-UpgModPathTest/modules/8.java.logging.jar -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-04-16T05:48:26.263Z] STF 05:48:25.478 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/output_1744780822380/UpgModPath_JarImg_2/20250416-054817-UpgModPathTest/results/10.OT27.stderr [2025-04-16T05:48:26.263Z] STF 05:48:25.478 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/output_1744780822380/UpgModPath_JarImg_2/20250416-054817-UpgModPathTest/results/10.OT27.stdout [2025-04-16T05:48:26.263Z] STF 05:48:25.480 - Monitoring processes: OT27 [2025-04-16T05:48:26.263Z] OT27 Error occurred during initialization of boot layer [2025-04-16T05:48:26.263Z] OT27 java.lang.module.FindException: Hash of java.logging (0232c03660ad226a2ec666739ceda8291dae7c1415abb8de5574f364998cc164) differs to expected hash (0bc8b414bfa953b1296d7f3a736b2f8bf79c6cd7f7d50d7227479c8b62cf69a0) recorded in java.base [2025-04-16T05:48:26.263Z] STF 05:48:25.738 - Monitoring Report Summary: [2025-04-16T05:48:26.263Z] STF 05:48:25.738 - o Process OT27 ended with the expected exit code (1) [2025-04-16T05:48:26.263Z] STF 05:48:25.739 - [2025-04-16T05:48:26.263Z] STF 05:48:25.739 - +------ Step 11 - Combine stderr and stdout files of process OT27 [2025-04-16T05:48:26.263Z] STF 05:48:25.739 - | Run foreground process [2025-04-16T05:48:26.263Z] STF 05:48:25.739 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/jdkbinary/j2sdk-image/bin/java [2025-04-16T05:48:26.263Z] STF 05:48:25.739 - | Mnemonic: CO [2025-04-16T05:48:26.263Z] STF 05:48:25.739 - | Echo: ECHO_OFF [2025-04-16T05:48:26.263Z] STF 05:48:25.739 - | Expectation: NON_ZERO_EXIT [0] within 30s [2025-04-16T05:48:26.263Z] STF 05:48:25.739 - | [2025-04-16T05:48:26.263Z] STF 05:48:25.739 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/jdkbinary/j2sdk-image/bin/java -Dfile1=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/output_1744780822380/UpgModPath_JarImg_2/20250416-054817-UpgModPathTest/results/10.OT27.stdout -Dfile2=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/output_1744780822380/UpgModPath_JarImg_2/20250416-054817-UpgModPathTest/results/10.OT27.stderr -Dfinal.file=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/output_1744780822380/UpgModPath_JarImg_2/20250416-054817-UpgModPathTest/results/combinedOT27.txt -classpath /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/jvmtest/system/STF/stf.core/bin:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin net.adoptopenjdk.test.modularity.TestUtil [2025-04-16T05:48:26.263Z] STF 05:48:25.739 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/output_1744780822380/UpgModPath_JarImg_2/20250416-054817-UpgModPathTest/results/11.CO.stderr [2025-04-16T05:48:26.263Z] STF 05:48:25.739 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/output_1744780822380/UpgModPath_JarImg_2/20250416-054817-UpgModPathTest/results/11.CO.stdout [2025-04-16T05:48:26.263Z] STF 05:48:25.741 - Monitoring processes: CO [2025-04-16T05:48:26.263Z] STF 05:48:26.110 - Monitoring Report Summary: [2025-04-16T05:48:26.263Z] STF 05:48:26.110 - o Process CO ended with the expected exit code (0) [2025-04-16T05:48:26.263Z] STF 05:48:26.110 - [2025-04-16T05:48:26.263Z] STF 05:48:26.110 - +------ Step 12 - Check output [2025-04-16T05:48:26.263Z] STF 05:48:26.110 - | Count file matches [2025-04-16T05:48:26.263Z] STF 05:48:26.110 - | TargetFile: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/output_1744780822380/UpgModPath_JarImg_2/20250416-054817-UpgModPathTest/results/combinedOT27.txt [2025-04-16T05:48:26.263Z] STF 05:48:26.110 - | ExpectedNumMatches: 1 [2025-04-16T05:48:26.263Z] STF 05:48:26.110 - | SearchStrings: ["FindException: Hash of java.logging"] [2025-04-16T05:48:26.263Z] STF 05:48:26.110 - | [2025-04-16T05:48:26.263Z] STF 05:48:26.110 - Found 1 instances of ["FindException: Hash of java.logging"] [2025-04-16T05:48:26.263Z] STF 05:48:26.110 - EXECUTE stage completed [2025-04-16T05:48:26.263Z] STF 05:48:26.160 - [2025-04-16T05:48:26.263Z] STF 05:48:26.160 - ==================== T E A R D O W N ==================== [2025-04-16T05:48:26.263Z] STF 05:48:26.160 - Running teardown: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_2/aqa-tests/TKG/../TKG/output_1744780822380/UpgModPath_JarImg_2/20250416-054817-UpgModPathTest/tearDown.pl [2025-04-16T05:48:27.215Z] STF 05:48:26.244 - TEARDOWN stage completed [2025-04-16T05:48:27.215Z] STF 05:48:26.253 - [2025-04-16T05:48:27.215Z] STF 05:48:26.253 - ===================== R E S U L T S ===================== [2025-04-16T05:48:27.215Z] STF 05:48:26.253 - Stage results: [2025-04-16T05:48:27.215Z] STF 05:48:26.253 - setUp: pass [2025-04-16T05:48:27.215Z] STF 05:48:26.253 - execute: pass [2025-04-16T05:48:27.215Z] STF 05:48:26.253 - teardown: pass [2025-04-16T05:48:27.215Z] STF 05:48:26.253 - [2025-04-16T05:48:27.215Z] STF 05:48:26.253 - Overall result: PASSED [2025-04-16T05:48:27.215Z] ----------------------------------- [2025-04-16T05:48:27.215Z] UpgModPath_JarImg_2_PASSED [2025-04-16T05:48:27.215Z] ----------------------------------- [2025-04-16T05:48:27.215Z] [2025-04-16T05:48:27.215Z] TEST TEARDOWN: [2025-04-16T05:48:27.215Z] Nothing to be done for teardown. [2025-04-16T05:48:27.215Z] UpgModPath_JarImg_2 Finish Time: Wed Apr 16 05:48:26 2025 Epoch Time (ms): 1744782506299