UpgModPath_Jar_2

[2025-06-11T23:54:23.388Z] Running test UpgModPath_Jar_2 ... [2025-06-11T23:54:23.388Z] =============================================== [2025-06-11T23:54:23.388Z] UpgModPath_Jar_2 Start Time: Wed Jun 11 23:54:22 2025 Epoch Time (ms): 1749686062690 [2025-06-11T23:54:23.388Z] variation: Mode1000 [2025-06-11T23:54:23.388Z] JVM_OPTIONS: [2025-06-11T23:54:23.388Z] { \ [2025-06-11T23:54:23.388Z] echo ""; echo "TEST SETUP:"; \ [2025-06-11T23:54:23.388Z] echo "Nothing to be done for setup."; \ [2025-06-11T23:54:23.388Z] mkdir -p "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/../TKG/output_1749683343479/UpgModPath_Jar_2"; \ [2025-06-11T23:54:23.388Z] cd "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/../TKG/output_1749683343479/UpgModPath_Jar_2"; \ [2025-06-11T23:54:23.388Z] echo ""; echo "TESTING:"; \ [2025-06-11T23:54:23.388Z] perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/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_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/../../testDependency/system_lib/" -java-args=' ' -results-root="/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/../TKG/output_1749683343479/UpgModPath_Jar_2" -test=UpgModPathTest -test-args="variant=Jar"; \ [2025-06-11T23:54:23.388Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_Jar_2""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/../TKG/output_1749683343479/UpgModPath_Jar_2"; else echo "-----------------------------------"; echo "UpgModPath_Jar_2""_FAILED"; echo "-----------------------------------"; fi; \ [2025-06-11T23:54:23.388Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-06-11T23:54:23.388Z] echo "Nothing to be done for teardown."; \ [2025-06-11T23:54:23.388Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/../TKG/output_1749683343479/TestTargetResult"; [2025-06-11T23:54:23.388Z] [2025-06-11T23:54:23.388Z] TEST SETUP: [2025-06-11T23:54:23.388Z] Nothing to be done for setup. [2025-06-11T23:54:23.388Z] [2025-06-11T23:54:23.388Z] TESTING: [2025-06-11T23:54:23.388Z] STF 23:54:22.868 - ========================= S T F ========================= [2025-06-11T23:54:23.388Z] 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_1/aqa-tests/TKG/../TKG/output_1749683343479/UpgModPath_Jar_2 [2025-06-11T23:54:23.388Z] There is 602213 Mb free [2025-06-11T23:54:23.388Z] STF 23:54:22.904 - ================== G E N E R A T I O N ================== [2025-06-11T23:54:23.388Z] STF 23:54:22.904 - Checking JVM: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jdkbinary/j2sdk-image [2025-06-11T23:54:23.388Z] STF 23:54:22.905 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/../../testDependency/system_lib//asm/asm.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/../../testDependency/system_lib//asm/asm-commons.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/../../testDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/../../testDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/../TKG/output_1749683343479/UpgModPath_Jar_2/20250611-235422-UpgModPathTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/../TKG/output_1749683343479/UpgModPath_Jar_2/20250611-235422-UpgModPathTest" [2025-06-11T23:54:29.333Z] GEN 23:54:28.601 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: '/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-06-11T23:54:29.333Z] GEN 23:54:28.633 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2025-06-11T23:54:30.180Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-06-11T23:54:30.180Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-06-11T23:54:30.180Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-06-11T23:54:30.180Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-06-11T23:54:30.180Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-06-11T23:54:30.180Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-06-11T23:54:30.180Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-06-11T23:54:30.180Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-06-11T23:54:30.180Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-06-11T23:54:30.180Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-06-11T23:54:30.180Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-06-11T23:54:30.180Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-06-11T23:54:30.180Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-06-11T23:54:30.180Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-06-11T23:54:30.180Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-06-11T23:54:30.180Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-06-11T23:54:30.180Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jvmtest/system/STF/stf.core/bin [2025-06-11T23:54:30.180Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-06-11T23:54:30.180Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-06-11T23:54:30.180Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar [2025-06-11T23:54:30.180Z] GEN 23:54:29.794 - Using Mode NoOptions. Values = '' [2025-06-11T23:54:31.043Z] GEN 23:54:30.809 - [2025-06-11T23:54:31.043Z] GEN 23:54:30.810 - Test command summary: [2025-06-11T23:54:31.043Z] GEN 23:54:30.810 - Step Stage Command Description [2025-06-11T23:54:31.043Z] GEN 23:54:30.810 - -----+--------+-----------------+------------ [2025-06-11T23:54:31.043Z] GEN 23:54:30.810 - 1 execute jar Create com.hello jar [2025-06-11T23:54:31.043Z] GEN 23:54:30.810 - 2 execute jar Create com.hola jar [2025-06-11T23:54:31.043Z] GEN 23:54:30.810 - 3 execute jar Create com.helper jar [2025-06-11T23:54:31.043Z] GEN 23:54:30.810 - 4 execute jar Create com.discreet jar [2025-06-11T23:54:31.043Z] GEN 23:54:30.810 - 5 execute jar Create tests jar [2025-06-11T23:54:31.043Z] GEN 23:54:30.810 - 6 execute jlink Create runtime image for upgrademodulepath test [2025-06-11T23:54:31.043Z] GEN 23:54:30.810 - 7 execute jar Create com.hello override jar [2025-06-11T23:54:31.043Z] GEN 23:54:30.810 - 8 execute jar Create com.hello override jar [2025-06-11T23:54:31.043Z] GEN 23:54:30.810 - 9 execute Run java Override an application module using modularized jar [2025-06-11T23:54:31.043Z] GEN 23:54:30.810 - 10 execute Run java (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar [2025-06-11T23:54:31.043Z] GEN 23:54:30.811 - 11 execute Run java Combine stderr and stdout files of process OT24 [2025-06-11T23:54:31.043Z] GEN 23:54:30.811 - 12 execute count Check output [2025-06-11T23:54:31.847Z] STF 23:54:31.153 - [2025-06-11T23:54:31.847Z] STF 23:54:31.153 - Script generation completed [2025-06-11T23:54:31.847Z] STF 23:54:31.153 - [2025-06-11T23:54:31.847Z] STF 23:54:31.153 - [2025-06-11T23:54:31.847Z] STF 23:54:31.154 - ======================= S E T U P ======================= [2025-06-11T23:54:31.847Z] STF 23:54:31.154 - Running setup: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/../TKG/output_1749683343479/UpgModPath_Jar_2/20250611-235422-UpgModPathTest/setUp.pl [2025-06-11T23:54:31.847Z] STF 23:54:31.324 - SETUP stage completed [2025-06-11T23:54:31.847Z] STF 23:54:31.328 - [2025-06-11T23:54:31.847Z] STF 23:54:31.328 - ==================== E X E C U T E - ==================== [2025-06-11T23:54:31.847Z] STF 23:54:31.328 - Running execute: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/../TKG/output_1749683343479/UpgModPath_Jar_2/20250611-235422-UpgModPathTest/execute.pl [2025-06-11T23:54:31.847Z] STF 23:54:31.470 - [2025-06-11T23:54:31.847Z] STF 23:54:31.470 - Java version [2025-06-11T23:54:31.847Z] STF 23:54:31.471 - Running: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jdkbinary/j2sdk-image/bin/java -version [2025-06-11T23:54:32.662Z] openjdk version "11.0.28-beta" 2025-07-15 [2025-06-11T23:54:32.662Z] OpenJDK Runtime Environment Temurin-11.0.28+4-202506112003 (build 11.0.28-beta+4-ea) [2025-06-11T23:54:32.662Z] OpenJDK Server VM Temurin-11.0.28+4-202506112003 (build 11.0.28-beta+4-ea, mixed mode) [2025-06-11T23:54:32.662Z] STF 23:54:31.937 - [2025-06-11T23:54:32.662Z] STF 23:54:31.937 - +------ Step 1 - Create com.hello jar [2025-06-11T23:54:32.662Z] STF 23:54:31.937 - | Create modular jar [2025-06-11T23:54:32.662Z] STF 23:54:31.937 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-06-11T23:54:32.662Z] STF 23:54:31.937 - | ModuleVersion: null [2025-06-11T23:54:32.662Z] STF 23:54:31.937 - | MainClass: null [2025-06-11T23:54:32.662Z] STF 23:54:31.937 - | HashModules: null [2025-06-11T23:54:32.662Z] STF 23:54:31.937 - | [2025-06-11T23:54:32.662Z] STF 23:54:31.938 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_1749683343479/UpgModPath_Jar_2/20250611-235422-UpgModPathTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-06-11T23:54:32.662Z] STF 23:54:31.938 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_1749683343479/UpgModPath_Jar_2/20250611-235422-UpgModPathTest/results/1.CMJ.stderr [2025-06-11T23:54:32.662Z] STF 23:54:31.938 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_1749683343479/UpgModPath_Jar_2/20250611-235422-UpgModPathTest/results/1.CMJ.stdout [2025-06-11T23:54:32.662Z] STF 23:54:31.972 - Monitoring processes: CMJ [2025-06-11T23:54:34.466Z] STF 23:54:33.431 - Monitoring Report Summary: [2025-06-11T23:54:34.466Z] STF 23:54:33.431 - o Process CMJ ended with the expected exit code (0) [2025-06-11T23:54:34.466Z] STF 23:54:33.431 - Created modular jar: 1.com.hello.jar [2025-06-11T23:54:34.466Z] STF 23:54:33.431 - [2025-06-11T23:54:34.466Z] STF 23:54:33.431 - +------ Step 2 - Create com.hola jar [2025-06-11T23:54:34.466Z] STF 23:54:33.431 - | Create modular jar [2025-06-11T23:54:34.466Z] STF 23:54:33.431 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-06-11T23:54:34.466Z] STF 23:54:33.431 - | ModuleVersion: null [2025-06-11T23:54:34.466Z] STF 23:54:33.431 - | MainClass: null [2025-06-11T23:54:34.466Z] STF 23:54:33.431 - | HashModules: null [2025-06-11T23:54:34.466Z] STF 23:54:33.431 - | [2025-06-11T23:54:34.466Z] STF 23:54:33.432 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_1749683343479/UpgModPath_Jar_2/20250611-235422-UpgModPathTest/modules/2.com.hola.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2025-06-11T23:54:34.466Z] STF 23:54:33.432 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_1749683343479/UpgModPath_Jar_2/20250611-235422-UpgModPathTest/results/2.CMJ.stderr [2025-06-11T23:54:34.466Z] STF 23:54:33.432 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_1749683343479/UpgModPath_Jar_2/20250611-235422-UpgModPathTest/results/2.CMJ.stdout [2025-06-11T23:54:34.466Z] STF 23:54:33.433 - Monitoring processes: CMJ [2025-06-11T23:54:35.311Z] STF 23:54:34.903 - Monitoring Report Summary: [2025-06-11T23:54:35.311Z] STF 23:54:34.903 - o Process CMJ ended with the expected exit code (0) [2025-06-11T23:54:35.311Z] STF 23:54:34.903 - Created modular jar: 2.com.hola.jar [2025-06-11T23:54:35.311Z] STF 23:54:34.903 - [2025-06-11T23:54:35.311Z] STF 23:54:34.903 - +------ Step 3 - Create com.helper jar [2025-06-11T23:54:35.311Z] STF 23:54:34.903 - | Create modular jar [2025-06-11T23:54:35.311Z] STF 23:54:34.903 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-06-11T23:54:35.311Z] STF 23:54:34.903 - | ModuleVersion: null [2025-06-11T23:54:35.311Z] STF 23:54:34.903 - | MainClass: null [2025-06-11T23:54:35.311Z] STF 23:54:34.903 - | HashModules: null [2025-06-11T23:54:35.311Z] STF 23:54:34.903 - | [2025-06-11T23:54:35.311Z] STF 23:54:34.903 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_1749683343479/UpgModPath_Jar_2/20250611-235422-UpgModPathTest/modules/3.com.helper.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2025-06-11T23:54:35.311Z] STF 23:54:34.903 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_1749683343479/UpgModPath_Jar_2/20250611-235422-UpgModPathTest/results/3.CMJ.stderr [2025-06-11T23:54:35.311Z] STF 23:54:34.903 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_1749683343479/UpgModPath_Jar_2/20250611-235422-UpgModPathTest/results/3.CMJ.stdout [2025-06-11T23:54:35.311Z] STF 23:54:34.905 - Monitoring processes: CMJ [2025-06-11T23:54:36.995Z] STF 23:54:36.105 - Monitoring Report Summary: [2025-06-11T23:54:36.995Z] STF 23:54:36.105 - o Process CMJ ended with the expected exit code (0) [2025-06-11T23:54:36.995Z] STF 23:54:36.105 - Created modular jar: 3.com.helper.jar [2025-06-11T23:54:36.995Z] STF 23:54:36.105 - [2025-06-11T23:54:36.995Z] STF 23:54:36.105 - +------ Step 4 - Create com.discreet jar [2025-06-11T23:54:36.995Z] STF 23:54:36.105 - | Create modular jar [2025-06-11T23:54:36.995Z] STF 23:54:36.105 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-06-11T23:54:36.995Z] STF 23:54:36.105 - | ModuleVersion: null [2025-06-11T23:54:36.995Z] STF 23:54:36.105 - | MainClass: null [2025-06-11T23:54:36.995Z] STF 23:54:36.105 - | HashModules: null [2025-06-11T23:54:36.995Z] STF 23:54:36.105 - | [2025-06-11T23:54:36.995Z] STF 23:54:36.105 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_1749683343479/UpgModPath_Jar_2/20250611-235422-UpgModPathTest/modules/4.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2025-06-11T23:54:36.995Z] STF 23:54:36.105 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_1749683343479/UpgModPath_Jar_2/20250611-235422-UpgModPathTest/results/4.CMJ.stderr [2025-06-11T23:54:36.995Z] STF 23:54:36.105 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_1749683343479/UpgModPath_Jar_2/20250611-235422-UpgModPathTest/results/4.CMJ.stdout [2025-06-11T23:54:36.995Z] STF 23:54:36.107 - Monitoring processes: CMJ [2025-06-11T23:54:37.812Z] STF 23:54:37.132 - Monitoring Report Summary: [2025-06-11T23:54:37.812Z] STF 23:54:37.133 - o Process CMJ ended with the expected exit code (0) [2025-06-11T23:54:37.812Z] STF 23:54:37.133 - Created modular jar: 4.com.discreet.jar [2025-06-11T23:54:37.812Z] STF 23:54:37.133 - [2025-06-11T23:54:37.812Z] STF 23:54:37.133 - +------ Step 5 - Create tests jar [2025-06-11T23:54:37.812Z] STF 23:54:37.133 - | Create modular jar [2025-06-11T23:54:37.812Z] STF 23:54:37.133 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-06-11T23:54:37.812Z] STF 23:54:37.133 - | ModuleVersion: null [2025-06-11T23:54:37.812Z] STF 23:54:37.133 - | MainClass: null [2025-06-11T23:54:37.812Z] STF 23:54:37.133 - | HashModules: null [2025-06-11T23:54:37.812Z] STF 23:54:37.133 - | [2025-06-11T23:54:37.812Z] STF 23:54:37.133 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_1749683343479/UpgModPath_Jar_2/20250611-235422-UpgModPathTest/modules/5.com.test.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2025-06-11T23:54:37.812Z] STF 23:54:37.133 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_1749683343479/UpgModPath_Jar_2/20250611-235422-UpgModPathTest/results/5.CMJ.stderr [2025-06-11T23:54:37.812Z] STF 23:54:37.133 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_1749683343479/UpgModPath_Jar_2/20250611-235422-UpgModPathTest/results/5.CMJ.stdout [2025-06-11T23:54:37.812Z] STF 23:54:37.135 - Monitoring processes: CMJ [2025-06-11T23:54:39.541Z] STF 23:54:38.624 - Monitoring Report Summary: [2025-06-11T23:54:39.541Z] STF 23:54:38.624 - o Process CMJ ended with the expected exit code (0) [2025-06-11T23:54:39.541Z] STF 23:54:38.624 - Created modular jar: 5.com.test.jar [2025-06-11T23:54:39.541Z] STF 23:54:38.624 - [2025-06-11T23:54:39.541Z] STF 23:54:38.624 - +------ Step 6 - Create runtime image for upgrademodulepath test [2025-06-11T23:54:39.541Z] STF 23:54:38.624 - | Run jlink to create runtime image [2025-06-11T23:54:39.541Z] STF 23:54:38.624 - | ImageName: UpJVM [2025-06-11T23:54:39.541Z] STF 23:54:38.624 - | [2025-06-11T23:54:39.541Z] STF 23:54:38.624 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_1749683343479/UpgModPath_Jar_2/20250611-235422-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_1/aqa-tests/TKG/output_1749683343479/UpgModPath_Jar_2/20250611-235422-UpgModPathTest/tmp/6.UpJVM [2025-06-11T23:54:39.541Z] STF 23:54:38.624 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_1749683343479/UpgModPath_Jar_2/20250611-235422-UpgModPathTest/results/6.JLNK.stderr [2025-06-11T23:54:39.541Z] STF 23:54:38.625 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_1749683343479/UpgModPath_Jar_2/20250611-235422-UpgModPathTest/results/6.JLNK.stdout [2025-06-11T23:54:39.541Z] STF 23:54:38.626 - Monitoring processes: JLNK [2025-06-11T23:55:02.220Z] STF 23:54:59.697 - Monitoring Report Summary: [2025-06-11T23:55:02.220Z] STF 23:54:59.697 - o Process JLNK ended with the expected exit code (0) [2025-06-11T23:55:02.220Z] STF 23:54:59.697 - [2025-06-11T23:55:02.220Z] STF 23:54:59.697 - +------ Step 7 - Create com.hello override jar [2025-06-11T23:55:02.220Z] STF 23:54:59.697 - | Create modular jar [2025-06-11T23:55:02.220Z] STF 23:54:59.697 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-06-11T23:55:02.220Z] STF 23:54:59.697 - | ModuleVersion: null [2025-06-11T23:55:02.220Z] STF 23:54:59.697 - | MainClass: null [2025-06-11T23:55:02.220Z] STF 23:54:59.697 - | HashModules: null [2025-06-11T23:55:02.220Z] STF 23:54:59.697 - | [2025-06-11T23:55:02.220Z] STF 23:54:59.697 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_1749683343479/UpgModPath_Jar_2/20250611-235422-UpgModPathTest/modules/7.com.hello.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2025-06-11T23:55:02.220Z] STF 23:54:59.697 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_1749683343479/UpgModPath_Jar_2/20250611-235422-UpgModPathTest/results/7.CMJ.stderr [2025-06-11T23:55:02.220Z] STF 23:54:59.697 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_1749683343479/UpgModPath_Jar_2/20250611-235422-UpgModPathTest/results/7.CMJ.stdout [2025-06-11T23:55:02.220Z] STF 23:54:59.699 - Monitoring processes: CMJ [2025-06-11T23:55:02.220Z] STF 23:55:01.045 - Monitoring Report Summary: [2025-06-11T23:55:02.220Z] STF 23:55:01.045 - o Process CMJ ended with the expected exit code (0) [2025-06-11T23:55:02.220Z] STF 23:55:01.045 - Created modular jar: 7.com.hello.jar [2025-06-11T23:55:02.220Z] STF 23:55:01.045 - [2025-06-11T23:55:02.220Z] STF 23:55:01.045 - +------ Step 8 - Create com.hello override jar [2025-06-11T23:55:02.220Z] STF 23:55:01.045 - | Create modular jar [2025-06-11T23:55:02.220Z] STF 23:55:01.045 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2025-06-11T23:55:02.220Z] STF 23:55:01.045 - | ModuleVersion: null [2025-06-11T23:55:02.220Z] STF 23:55:01.046 - | MainClass: null [2025-06-11T23:55:02.220Z] STF 23:55:01.046 - | HashModules: null [2025-06-11T23:55:02.220Z] STF 23:55:01.046 - | [2025-06-11T23:55:02.220Z] STF 23:55:01.046 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_1749683343479/UpgModPath_Jar_2/20250611-235422-UpgModPathTest/modules/8.java.logging.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.logging . [2025-06-11T23:55:02.220Z] STF 23:55:01.046 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_1749683343479/UpgModPath_Jar_2/20250611-235422-UpgModPathTest/results/8.CMJ.stderr [2025-06-11T23:55:02.220Z] STF 23:55:01.046 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_1749683343479/UpgModPath_Jar_2/20250611-235422-UpgModPathTest/results/8.CMJ.stdout [2025-06-11T23:55:02.220Z] STF 23:55:01.047 - Monitoring processes: CMJ [2025-06-11T23:55:02.220Z] STF 23:55:01.960 - Monitoring Report Summary: [2025-06-11T23:55:02.220Z] STF 23:55:01.960 - o Process CMJ ended with the expected exit code (0) [2025-06-11T23:55:02.220Z] STF 23:55:01.960 - Created modular jar: 8.java.logging.jar [2025-06-11T23:55:02.220Z] STF 23:55:01.960 - [2025-06-11T23:55:02.220Z] STF 23:55:01.960 - +------ Step 9 - Override an application module using modularized jar [2025-06-11T23:55:02.220Z] STF 23:55:01.960 - | Run foreground process [2025-06-11T23:55:02.220Z] STF 23:55:01.960 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jdkbinary/j2sdk-image/bin/java [2025-06-11T23:55:02.220Z] STF 23:55:01.960 - | Mnemonic: OT21 [2025-06-11T23:55:02.220Z] STF 23:55:01.960 - | Echo: ECHO_ON [2025-06-11T23:55:02.220Z] STF 23:55:01.960 - | Expectation: CLEAN_RUN within 1m [2025-06-11T23:55:02.220Z] STF 23:55:01.960 - | [2025-06-11T23:55:02.220Z] STF 23:55:01.961 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --upgrade-module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_1749683343479/UpgModPath_Jar_2/20250611-235422-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-06-11T23:55:02.220Z] STF 23:55:01.961 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_1749683343479/UpgModPath_Jar_2/20250611-235422-UpgModPathTest/results/9.OT21.stderr [2025-06-11T23:55:02.220Z] STF 23:55:01.961 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_1749683343479/UpgModPath_Jar_2/20250611-235422-UpgModPathTest/results/9.OT21.stdout [2025-06-11T23:55:02.220Z] STF 23:55:01.962 - Monitoring processes: OT21 [2025-06-11T23:55:03.902Z] OT21 JUnit version 4.12 [2025-06-11T23:55:03.902Z] OT21 . [2025-06-11T23:55:03.902Z] OT21 Time: 0.004 [2025-06-11T23:55:03.902Z] OT21 [2025-06-11T23:55:03.902Z] OT21 OK (1 test) [2025-06-11T23:55:03.902Z] OT21 [2025-06-11T23:55:03.902Z] STF 23:55:03.622 - Monitoring Report Summary: [2025-06-11T23:55:03.902Z] STF 23:55:03.622 - o Process OT21 ended with the expected exit code (0) [2025-06-11T23:55:03.902Z] STF 23:55:03.622 - [2025-06-11T23:55:03.902Z] STF 23:55:03.622 - +------ Step 10 - (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar [2025-06-11T23:55:03.902Z] STF 23:55:03.622 - | Run foreground process [2025-06-11T23:55:03.902Z] STF 23:55:03.622 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jdkbinary/j2sdk-image/bin/java [2025-06-11T23:55:03.902Z] STF 23:55:03.622 - | Mnemonic: OT24 [2025-06-11T23:55:03.902Z] STF 23:55:03.622 - | Echo: ECHO_ON [2025-06-11T23:55:03.902Z] STF 23:55:03.622 - | Expectation: NON_ZERO_EXIT [1] within 1m [2025-06-11T23:55:03.902Z] STF 23:55:03.622 - | [2025-06-11T23:55:03.902Z] STF 23:55:03.623 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --upgrade-module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_1749683343479/UpgModPath_Jar_2/20250611-235422-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-06-11T23:55:03.902Z] STF 23:55:03.623 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_1749683343479/UpgModPath_Jar_2/20250611-235422-UpgModPathTest/results/10.OT24.stderr [2025-06-11T23:55:03.902Z] STF 23:55:03.623 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_1749683343479/UpgModPath_Jar_2/20250611-235422-UpgModPathTest/results/10.OT24.stdout [2025-06-11T23:55:03.902Z] STF 23:55:03.624 - Monitoring processes: OT24 [2025-06-11T23:55:05.561Z] OT24 Error occurred during initialization of boot layer [2025-06-11T23:55:05.562Z] OT24 java.lang.module.FindException: Hash of java.logging (83b4240ddd5a0bdf573e65819e2187b066233697ffbcc0af8aa0762dae63edf7) differs to expected hash (ae334081b24ce51f4f430b8e0bce63380d6f06dea117d8a8e7a5f8bfaacf6ea4) recorded in java.base [2025-06-11T23:55:05.562Z] STF 23:55:04.666 - Monitoring Report Summary: [2025-06-11T23:55:05.562Z] STF 23:55:04.666 - o Process OT24 ended with the expected exit code (1) [2025-06-11T23:55:05.562Z] STF 23:55:04.667 - [2025-06-11T23:55:05.562Z] STF 23:55:04.667 - +------ Step 11 - Combine stderr and stdout files of process OT24 [2025-06-11T23:55:05.562Z] STF 23:55:04.667 - | Run foreground process [2025-06-11T23:55:05.562Z] STF 23:55:04.667 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jdkbinary/j2sdk-image/bin/java [2025-06-11T23:55:05.562Z] STF 23:55:04.667 - | Mnemonic: CO [2025-06-11T23:55:05.562Z] STF 23:55:04.667 - | Echo: ECHO_OFF [2025-06-11T23:55:05.562Z] STF 23:55:04.667 - | Expectation: NON_ZERO_EXIT [0] within 30s [2025-06-11T23:55:05.562Z] STF 23:55:04.667 - | [2025-06-11T23:55:05.562Z] STF 23:55:04.667 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jdkbinary/j2sdk-image/bin/java -Dfile1=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_1749683343479/UpgModPath_Jar_2/20250611-235422-UpgModPathTest/results/10.OT24.stdout -Dfile2=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_1749683343479/UpgModPath_Jar_2/20250611-235422-UpgModPathTest/results/10.OT24.stderr -Dfinal.file=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_1749683343479/UpgModPath_Jar_2/20250611-235422-UpgModPathTest/results/combinedOT24.txt -classpath /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jvmtest/system/STF/stf.core/bin:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin net.adoptopenjdk.test.modularity.TestUtil [2025-06-11T23:55:05.562Z] STF 23:55:04.667 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_1749683343479/UpgModPath_Jar_2/20250611-235422-UpgModPathTest/results/11.CO.stderr [2025-06-11T23:55:05.562Z] STF 23:55:04.667 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_1749683343479/UpgModPath_Jar_2/20250611-235422-UpgModPathTest/results/11.CO.stdout [2025-06-11T23:55:05.562Z] STF 23:55:04.668 - Monitoring processes: CO [2025-06-11T23:55:06.368Z] STF 23:55:05.604 - Monitoring Report Summary: [2025-06-11T23:55:06.368Z] STF 23:55:05.604 - o Process CO ended with the expected exit code (0) [2025-06-11T23:55:06.368Z] STF 23:55:05.604 - [2025-06-11T23:55:06.368Z] STF 23:55:05.604 - +------ Step 12 - Check output [2025-06-11T23:55:06.368Z] STF 23:55:05.604 - | Count file matches [2025-06-11T23:55:06.368Z] STF 23:55:05.604 - | TargetFile: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_1749683343479/UpgModPath_Jar_2/20250611-235422-UpgModPathTest/results/combinedOT24.txt [2025-06-11T23:55:06.368Z] STF 23:55:05.604 - | ExpectedNumMatches: 1 [2025-06-11T23:55:06.368Z] STF 23:55:05.604 - | SearchStrings: ["FindException: Hash of java.logging"] [2025-06-11T23:55:06.368Z] STF 23:55:05.604 - | [2025-06-11T23:55:06.368Z] STF 23:55:05.604 - Found 1 instances of ["FindException: Hash of java.logging"] [2025-06-11T23:55:06.368Z] STF 23:55:05.604 - EXECUTE stage completed [2025-06-11T23:55:06.368Z] STF 23:55:05.821 - [2025-06-11T23:55:06.368Z] STF 23:55:05.821 - ==================== T E A R D O W N ==================== [2025-06-11T23:55:06.368Z] STF 23:55:05.821 - Running teardown: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/../TKG/output_1749683343479/UpgModPath_Jar_2/20250611-235422-UpgModPathTest/tearDown.pl [2025-06-11T23:55:06.368Z] STF 23:55:06.006 - TEARDOWN stage completed [2025-06-11T23:55:06.368Z] STF 23:55:06.009 - [2025-06-11T23:55:06.368Z] STF 23:55:06.009 - ===================== R E S U L T S ===================== [2025-06-11T23:55:06.368Z] STF 23:55:06.009 - Stage results: [2025-06-11T23:55:06.368Z] STF 23:55:06.009 - setUp: pass [2025-06-11T23:55:06.368Z] STF 23:55:06.009 - execute: pass [2025-06-11T23:55:06.368Z] STF 23:55:06.009 - teardown: pass [2025-06-11T23:55:06.368Z] STF 23:55:06.009 - [2025-06-11T23:55:06.368Z] STF 23:55:06.009 - Overall result: PASSED [2025-06-11T23:55:06.368Z] ----------------------------------- [2025-06-11T23:55:06.368Z] UpgModPath_Jar_2_PASSED [2025-06-11T23:55:06.368Z] ----------------------------------- [2025-06-11T23:55:06.368Z] [2025-06-11T23:55:06.368Z] TEST TEARDOWN: [2025-06-11T23:55:06.368Z] Nothing to be done for teardown. [2025-06-11T23:55:06.368Z] UpgModPath_Jar_2 Finish Time: Wed Jun 11 23:55:06 2025 Epoch Time (ms): 1749686106106