UpgModPath_Jar_2

[2025-05-28T22:10:45.397Z] Running test UpgModPath_Jar_2 ... [2025-05-28T22:10:45.397Z] =============================================== [2025-05-28T22:10:45.397Z] UpgModPath_Jar_2 Start Time: Wed May 28 22:10:45 2025 Epoch Time (ms): 1748470245031 [2025-05-28T22:10:45.397Z] variation: Mode1000 [2025-05-28T22:10:45.397Z] JVM_OPTIONS: [2025-05-28T22:10:45.397Z] { \ [2025-05-28T22:10:45.397Z] echo ""; echo "TEST SETUP:"; \ [2025-05-28T22:10:45.397Z] echo "Nothing to be done for setup."; \ [2025-05-28T22:10:45.397Z] mkdir -p "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/../TKG/output_17484671535399/UpgModPath_Jar_2"; \ [2025-05-28T22:10:45.397Z] cd "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/../TKG/output_17484671535399/UpgModPath_Jar_2"; \ [2025-05-28T22:10:45.397Z] echo ""; echo "TESTING:"; \ [2025-05-28T22:10:45.397Z] 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_17484671535399/UpgModPath_Jar_2" -test=UpgModPathTest -test-args="variant=Jar"; \ [2025-05-28T22:10:45.397Z] 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_17484671535399/UpgModPath_Jar_2"; else echo "-----------------------------------"; echo "UpgModPath_Jar_2""_FAILED"; echo "-----------------------------------"; fi; \ [2025-05-28T22:10:45.397Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-05-28T22:10:45.397Z] echo "Nothing to be done for teardown."; \ [2025-05-28T22:10:45.397Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/../TKG/output_17484671535399/TestTargetResult"; [2025-05-28T22:10:45.397Z] [2025-05-28T22:10:45.397Z] TEST SETUP: [2025-05-28T22:10:45.397Z] Nothing to be done for setup. [2025-05-28T22:10:45.397Z] [2025-05-28T22:10:45.397Z] TESTING: [2025-05-28T22:10:46.172Z] STF 22:10:45.578 - ========================= S T F ========================= [2025-05-28T22:10:46.172Z] 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_17484671535399/UpgModPath_Jar_2 [2025-05-28T22:10:46.172Z] There is 605392 Mb free [2025-05-28T22:10:46.172Z] STF 22:10:45.708 - ================== G E N E R A T I O N ================== [2025-05-28T22:10:46.172Z] STF 22:10:45.709 - Checking JVM: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jdkbinary/j2sdk-image [2025-05-28T22:10:46.172Z] STF 22:10:45.709 - 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_17484671535399/UpgModPath_Jar_2/20250528-221045-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_17484671535399/UpgModPath_Jar_2/20250528-221045-UpgModPathTest" [2025-05-28T22:11:00.032Z] GEN 22:10:58.748 - 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-05-28T22:11:00.032Z] GEN 22:10:58.877 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2025-05-28T22:11:00.032Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-05-28T22:11:00.032Z] 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-05-28T22:11:00.032Z] 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-05-28T22:11:00.032Z] 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-05-28T22:11:00.032Z] 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-05-28T22:11:00.032Z] 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-05-28T22:11:00.032Z] 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-05-28T22:11:00.032Z] 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-05-28T22:11:00.032Z] 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-05-28T22:11:00.032Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-05-28T22:11:00.032Z] 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-05-28T22:11:00.032Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-05-28T22:11:00.032Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-05-28T22:11:00.032Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-05-28T22:11:00.032Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-05-28T22:11:00.032Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-05-28T22:11:00.032Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jvmtest/system/STF/stf.core/bin [2025-05-28T22:11:00.032Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-05-28T22:11:00.032Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-05-28T22:11:00.032Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar [2025-05-28T22:11:00.816Z] GEN 22:11:00.663 - Using Mode NoOptions. Values = '' [2025-05-28T22:11:03.304Z] GEN 22:11:02.576 - [2025-05-28T22:11:03.304Z] GEN 22:11:02.577 - Test command summary: [2025-05-28T22:11:03.304Z] GEN 22:11:02.577 - Step Stage Command Description [2025-05-28T22:11:03.304Z] GEN 22:11:02.577 - -----+--------+-----------------+------------ [2025-05-28T22:11:03.304Z] GEN 22:11:02.577 - 1 execute jar Create com.hello jar [2025-05-28T22:11:03.304Z] GEN 22:11:02.577 - 2 execute jar Create com.hola jar [2025-05-28T22:11:03.304Z] GEN 22:11:02.577 - 3 execute jar Create com.helper jar [2025-05-28T22:11:03.304Z] GEN 22:11:02.577 - 4 execute jar Create com.discreet jar [2025-05-28T22:11:03.304Z] GEN 22:11:02.577 - 5 execute jar Create tests jar [2025-05-28T22:11:03.304Z] GEN 22:11:02.577 - 6 execute jlink Create runtime image for upgrademodulepath test [2025-05-28T22:11:03.304Z] GEN 22:11:02.577 - 7 execute jar Create com.hello override jar [2025-05-28T22:11:03.304Z] GEN 22:11:02.577 - 8 execute jar Create com.hello override jar [2025-05-28T22:11:03.304Z] GEN 22:11:02.577 - 9 execute Run java Override an application module using modularized jar [2025-05-28T22:11:03.304Z] GEN 22:11:02.577 - 10 execute Run java (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar [2025-05-28T22:11:03.304Z] GEN 22:11:02.578 - 11 execute Run java Combine stderr and stdout files of process OT24 [2025-05-28T22:11:03.304Z] GEN 22:11:02.578 - 12 execute count Check output [2025-05-28T22:11:03.304Z] STF 22:11:02.905 - [2025-05-28T22:11:03.304Z] STF 22:11:02.905 - Script generation completed [2025-05-28T22:11:03.304Z] STF 22:11:02.905 - [2025-05-28T22:11:03.304Z] STF 22:11:02.905 - [2025-05-28T22:11:03.304Z] STF 22:11:02.905 - ======================= S E T U P ======================= [2025-05-28T22:11:03.304Z] STF 22:11:02.905 - Running setup: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/../TKG/output_17484671535399/UpgModPath_Jar_2/20250528-221045-UpgModPathTest/setUp.pl [2025-05-28T22:11:04.067Z] STF 22:11:03.295 - SETUP stage completed [2025-05-28T22:11:04.067Z] STF 22:11:03.336 - [2025-05-28T22:11:04.067Z] STF 22:11:03.336 - ==================== E X E C U T E - ==================== [2025-05-28T22:11:04.067Z] STF 22:11:03.336 - Running execute: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/../TKG/output_17484671535399/UpgModPath_Jar_2/20250528-221045-UpgModPathTest/execute.pl [2025-05-28T22:11:04.067Z] STF 22:11:03.713 - [2025-05-28T22:11:04.067Z] STF 22:11:03.713 - Java version [2025-05-28T22:11:04.067Z] STF 22:11:03.713 - Running: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jdkbinary/j2sdk-image/bin/java -version [2025-05-28T22:11:04.921Z] openjdk version "11.0.28-beta" 2025-07-15 [2025-05-28T22:11:04.921Z] OpenJDK Runtime Environment Temurin-11.0.28+3-202505282003 (build 11.0.28-beta+3-ea) [2025-05-28T22:11:04.921Z] OpenJDK Server VM Temurin-11.0.28+3-202505282003 (build 11.0.28-beta+3-ea, mixed mode) [2025-05-28T22:11:04.921Z] STF 22:11:04.387 - [2025-05-28T22:11:04.921Z] STF 22:11:04.387 - +------ Step 1 - Create com.hello jar [2025-05-28T22:11:04.921Z] STF 22:11:04.387 - | Create modular jar [2025-05-28T22:11:04.921Z] STF 22:11:04.387 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-05-28T22:11:04.921Z] STF 22:11:04.387 - | ModuleVersion: null [2025-05-28T22:11:04.921Z] STF 22:11:04.387 - | MainClass: null [2025-05-28T22:11:04.921Z] STF 22:11:04.387 - | HashModules: null [2025-05-28T22:11:04.922Z] STF 22:11:04.387 - | [2025-05-28T22:11:04.922Z] STF 22:11:04.392 - 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_17484671535399/UpgModPath_Jar_2/20250528-221045-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-05-28T22:11:04.922Z] STF 22:11:04.392 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_17484671535399/UpgModPath_Jar_2/20250528-221045-UpgModPathTest/results/1.CMJ.stderr [2025-05-28T22:11:04.922Z] STF 22:11:04.392 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_17484671535399/UpgModPath_Jar_2/20250528-221045-UpgModPathTest/results/1.CMJ.stdout [2025-05-28T22:11:04.922Z] STF 22:11:04.457 - Monitoring processes: CMJ [2025-05-28T22:11:07.563Z] STF 22:11:06.947 - Monitoring Report Summary: [2025-05-28T22:11:07.563Z] STF 22:11:06.947 - o Process CMJ ended with the expected exit code (0) [2025-05-28T22:11:07.563Z] STF 22:11:06.948 - Created modular jar: 1.com.hello.jar [2025-05-28T22:11:07.563Z] STF 22:11:06.948 - [2025-05-28T22:11:07.563Z] STF 22:11:06.948 - +------ Step 2 - Create com.hola jar [2025-05-28T22:11:07.563Z] STF 22:11:06.948 - | Create modular jar [2025-05-28T22:11:07.563Z] STF 22:11:06.948 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-05-28T22:11:07.563Z] STF 22:11:06.948 - | ModuleVersion: null [2025-05-28T22:11:07.563Z] STF 22:11:06.948 - | MainClass: null [2025-05-28T22:11:07.563Z] STF 22:11:06.948 - | HashModules: null [2025-05-28T22:11:07.563Z] STF 22:11:06.948 - | [2025-05-28T22:11:07.563Z] STF 22:11:06.948 - 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_17484671535399/UpgModPath_Jar_2/20250528-221045-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-05-28T22:11:07.564Z] STF 22:11:06.948 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_17484671535399/UpgModPath_Jar_2/20250528-221045-UpgModPathTest/results/2.CMJ.stderr [2025-05-28T22:11:07.564Z] STF 22:11:06.948 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_17484671535399/UpgModPath_Jar_2/20250528-221045-UpgModPathTest/results/2.CMJ.stdout [2025-05-28T22:11:07.564Z] STF 22:11:06.949 - Monitoring processes: CMJ [2025-05-28T22:11:09.259Z] STF 22:11:08.797 - Monitoring Report Summary: [2025-05-28T22:11:09.259Z] STF 22:11:08.797 - o Process CMJ ended with the expected exit code (0) [2025-05-28T22:11:09.259Z] STF 22:11:08.797 - Created modular jar: 2.com.hola.jar [2025-05-28T22:11:09.259Z] STF 22:11:08.797 - [2025-05-28T22:11:09.259Z] STF 22:11:08.797 - +------ Step 3 - Create com.helper jar [2025-05-28T22:11:09.259Z] STF 22:11:08.797 - | Create modular jar [2025-05-28T22:11:09.259Z] STF 22:11:08.797 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-05-28T22:11:09.259Z] STF 22:11:08.797 - | ModuleVersion: null [2025-05-28T22:11:09.259Z] STF 22:11:08.797 - | MainClass: null [2025-05-28T22:11:09.259Z] STF 22:11:08.797 - | HashModules: null [2025-05-28T22:11:09.259Z] STF 22:11:08.797 - | [2025-05-28T22:11:09.259Z] STF 22:11:08.798 - 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_17484671535399/UpgModPath_Jar_2/20250528-221045-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-05-28T22:11:09.259Z] STF 22:11:08.798 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_17484671535399/UpgModPath_Jar_2/20250528-221045-UpgModPathTest/results/3.CMJ.stderr [2025-05-28T22:11:09.259Z] STF 22:11:08.798 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_17484671535399/UpgModPath_Jar_2/20250528-221045-UpgModPathTest/results/3.CMJ.stdout [2025-05-28T22:11:09.259Z] STF 22:11:08.799 - Monitoring processes: CMJ [2025-05-28T22:11:11.951Z] STF 22:11:11.129 - Monitoring Report Summary: [2025-05-28T22:11:11.951Z] STF 22:11:11.130 - o Process CMJ ended with the expected exit code (0) [2025-05-28T22:11:11.951Z] STF 22:11:11.130 - Created modular jar: 3.com.helper.jar [2025-05-28T22:11:11.951Z] STF 22:11:11.130 - [2025-05-28T22:11:11.951Z] STF 22:11:11.130 - +------ Step 4 - Create com.discreet jar [2025-05-28T22:11:11.951Z] STF 22:11:11.130 - | Create modular jar [2025-05-28T22:11:11.951Z] STF 22:11:11.130 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-05-28T22:11:11.951Z] STF 22:11:11.130 - | ModuleVersion: null [2025-05-28T22:11:11.951Z] STF 22:11:11.130 - | MainClass: null [2025-05-28T22:11:11.951Z] STF 22:11:11.130 - | HashModules: null [2025-05-28T22:11:11.951Z] STF 22:11:11.130 - | [2025-05-28T22:11:11.951Z] STF 22:11:11.130 - 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_17484671535399/UpgModPath_Jar_2/20250528-221045-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-05-28T22:11:11.951Z] STF 22:11:11.130 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_17484671535399/UpgModPath_Jar_2/20250528-221045-UpgModPathTest/results/4.CMJ.stderr [2025-05-28T22:11:11.951Z] STF 22:11:11.130 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_17484671535399/UpgModPath_Jar_2/20250528-221045-UpgModPathTest/results/4.CMJ.stdout [2025-05-28T22:11:11.951Z] STF 22:11:11.132 - Monitoring processes: CMJ [2025-05-28T22:11:13.643Z] STF 22:11:13.464 - Monitoring Report Summary: [2025-05-28T22:11:13.643Z] STF 22:11:13.464 - o Process CMJ ended with the expected exit code (0) [2025-05-28T22:11:13.643Z] STF 22:11:13.464 - Created modular jar: 4.com.discreet.jar [2025-05-28T22:11:13.643Z] STF 22:11:13.464 - [2025-05-28T22:11:13.643Z] STF 22:11:13.464 - +------ Step 5 - Create tests jar [2025-05-28T22:11:13.643Z] STF 22:11:13.464 - | Create modular jar [2025-05-28T22:11:13.643Z] STF 22:11:13.464 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-05-28T22:11:13.643Z] STF 22:11:13.464 - | ModuleVersion: null [2025-05-28T22:11:13.643Z] STF 22:11:13.464 - | MainClass: null [2025-05-28T22:11:13.643Z] STF 22:11:13.464 - | HashModules: null [2025-05-28T22:11:13.643Z] STF 22:11:13.465 - | [2025-05-28T22:11:13.643Z] STF 22:11:13.465 - 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_17484671535399/UpgModPath_Jar_2/20250528-221045-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-05-28T22:11:13.643Z] STF 22:11:13.465 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_17484671535399/UpgModPath_Jar_2/20250528-221045-UpgModPathTest/results/5.CMJ.stderr [2025-05-28T22:11:13.643Z] STF 22:11:13.465 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_17484671535399/UpgModPath_Jar_2/20250528-221045-UpgModPathTest/results/5.CMJ.stdout [2025-05-28T22:11:13.643Z] STF 22:11:13.466 - Monitoring processes: CMJ [2025-05-28T22:11:16.220Z] STF 22:11:15.577 - Monitoring Report Summary: [2025-05-28T22:11:16.220Z] STF 22:11:15.577 - o Process CMJ ended with the expected exit code (0) [2025-05-28T22:11:16.220Z] STF 22:11:15.577 - Created modular jar: 5.com.test.jar [2025-05-28T22:11:16.220Z] STF 22:11:15.577 - [2025-05-28T22:11:16.220Z] STF 22:11:15.577 - +------ Step 6 - Create runtime image for upgrademodulepath test [2025-05-28T22:11:16.220Z] STF 22:11:15.577 - | Run jlink to create runtime image [2025-05-28T22:11:16.220Z] STF 22:11:15.577 - | ImageName: UpJVM [2025-05-28T22:11:16.220Z] STF 22:11:15.577 - | [2025-05-28T22:11:16.220Z] STF 22:11:15.577 - 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_17484671535399/UpgModPath_Jar_2/20250528-221045-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_17484671535399/UpgModPath_Jar_2/20250528-221045-UpgModPathTest/tmp/6.UpJVM [2025-05-28T22:11:16.220Z] STF 22:11:15.577 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_17484671535399/UpgModPath_Jar_2/20250528-221045-UpgModPathTest/results/6.JLNK.stderr [2025-05-28T22:11:16.220Z] STF 22:11:15.577 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_17484671535399/UpgModPath_Jar_2/20250528-221045-UpgModPathTest/results/6.JLNK.stdout [2025-05-28T22:11:16.220Z] STF 22:11:15.579 - Monitoring processes: JLNK [2025-05-28T22:11:52.675Z] STF 22:11:48.997 - Monitoring Report Summary: [2025-05-28T22:11:52.675Z] STF 22:11:48.997 - o Process JLNK ended with the expected exit code (0) [2025-05-28T22:11:52.675Z] STF 22:11:48.997 - [2025-05-28T22:11:52.675Z] STF 22:11:48.997 - +------ Step 7 - Create com.hello override jar [2025-05-28T22:11:52.675Z] STF 22:11:48.997 - | Create modular jar [2025-05-28T22:11:52.675Z] STF 22:11:48.997 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-05-28T22:11:52.675Z] STF 22:11:48.997 - | ModuleVersion: null [2025-05-28T22:11:52.675Z] STF 22:11:48.997 - | MainClass: null [2025-05-28T22:11:52.675Z] STF 22:11:48.997 - | HashModules: null [2025-05-28T22:11:52.675Z] STF 22:11:48.997 - | [2025-05-28T22:11:52.675Z] STF 22:11:48.997 - 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_17484671535399/UpgModPath_Jar_2/20250528-221045-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-05-28T22:11:52.675Z] STF 22:11:48.997 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_17484671535399/UpgModPath_Jar_2/20250528-221045-UpgModPathTest/results/7.CMJ.stderr [2025-05-28T22:11:52.675Z] STF 22:11:48.997 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_17484671535399/UpgModPath_Jar_2/20250528-221045-UpgModPathTest/results/7.CMJ.stdout [2025-05-28T22:11:52.675Z] STF 22:11:48.999 - Monitoring processes: CMJ [2025-05-28T22:11:52.675Z] STF 22:11:51.378 - Monitoring Report Summary: [2025-05-28T22:11:52.675Z] STF 22:11:51.378 - o Process CMJ ended with the expected exit code (0) [2025-05-28T22:11:52.675Z] STF 22:11:51.378 - Created modular jar: 7.com.hello.jar [2025-05-28T22:11:52.675Z] STF 22:11:51.378 - [2025-05-28T22:11:52.675Z] STF 22:11:51.378 - +------ Step 8 - Create com.hello override jar [2025-05-28T22:11:52.675Z] STF 22:11:51.378 - | Create modular jar [2025-05-28T22:11:52.675Z] STF 22:11:51.378 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2025-05-28T22:11:52.675Z] STF 22:11:51.378 - | ModuleVersion: null [2025-05-28T22:11:52.675Z] STF 22:11:51.378 - | MainClass: null [2025-05-28T22:11:52.675Z] STF 22:11:51.378 - | HashModules: null [2025-05-28T22:11:52.675Z] STF 22:11:51.378 - | [2025-05-28T22:11:52.675Z] STF 22:11:51.379 - 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_17484671535399/UpgModPath_Jar_2/20250528-221045-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-05-28T22:11:52.675Z] STF 22:11:51.379 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_17484671535399/UpgModPath_Jar_2/20250528-221045-UpgModPathTest/results/8.CMJ.stderr [2025-05-28T22:11:52.675Z] STF 22:11:51.379 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_17484671535399/UpgModPath_Jar_2/20250528-221045-UpgModPathTest/results/8.CMJ.stdout [2025-05-28T22:11:52.675Z] STF 22:11:51.380 - Monitoring processes: CMJ [2025-05-28T22:11:54.262Z] STF 22:11:53.598 - Monitoring Report Summary: [2025-05-28T22:11:54.262Z] STF 22:11:53.599 - o Process CMJ ended with the expected exit code (0) [2025-05-28T22:11:54.262Z] STF 22:11:53.599 - Created modular jar: 8.java.logging.jar [2025-05-28T22:11:54.262Z] STF 22:11:53.599 - [2025-05-28T22:11:54.262Z] STF 22:11:53.599 - +------ Step 9 - Override an application module using modularized jar [2025-05-28T22:11:54.262Z] STF 22:11:53.599 - | Run foreground process [2025-05-28T22:11:54.262Z] STF 22:11:53.599 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jdkbinary/j2sdk-image/bin/java [2025-05-28T22:11:54.263Z] STF 22:11:53.599 - | Mnemonic: OT21 [2025-05-28T22:11:54.263Z] STF 22:11:53.599 - | Echo: ECHO_ON [2025-05-28T22:11:54.263Z] STF 22:11:53.599 - | Expectation: CLEAN_RUN within 1m [2025-05-28T22:11:54.263Z] STF 22:11:53.599 - | [2025-05-28T22:11:54.263Z] STF 22:11:53.599 - 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_17484671535399/UpgModPath_Jar_2/20250528-221045-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-28T22:11:54.263Z] STF 22:11:53.599 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_17484671535399/UpgModPath_Jar_2/20250528-221045-UpgModPathTest/results/9.OT21.stderr [2025-05-28T22:11:54.263Z] STF 22:11:53.599 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_17484671535399/UpgModPath_Jar_2/20250528-221045-UpgModPathTest/results/9.OT21.stdout [2025-05-28T22:11:54.263Z] STF 22:11:53.600 - Monitoring processes: OT21 [2025-05-28T22:11:55.983Z] OT21 JUnit version 4.12 [2025-05-28T22:11:56.759Z] OT21 . [2025-05-28T22:11:56.759Z] OT21 Time: 0.068 [2025-05-28T22:11:56.759Z] OT21 [2025-05-28T22:11:56.759Z] OT21 OK (1 test) [2025-05-28T22:11:56.759Z] OT21 [2025-05-28T22:11:57.565Z] STF 22:11:56.277 - Monitoring Report Summary: [2025-05-28T22:11:57.565Z] STF 22:11:56.277 - o Process OT21 ended with the expected exit code (0) [2025-05-28T22:11:57.565Z] STF 22:11:56.278 - [2025-05-28T22:11:57.565Z] STF 22:11:56.278 - +------ Step 10 - (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar [2025-05-28T22:11:57.565Z] STF 22:11:56.278 - | Run foreground process [2025-05-28T22:11:57.565Z] STF 22:11:56.278 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jdkbinary/j2sdk-image/bin/java [2025-05-28T22:11:57.565Z] STF 22:11:56.278 - | Mnemonic: OT24 [2025-05-28T22:11:57.565Z] STF 22:11:56.278 - | Echo: ECHO_ON [2025-05-28T22:11:57.565Z] STF 22:11:56.278 - | Expectation: NON_ZERO_EXIT [1] within 1m [2025-05-28T22:11:57.565Z] STF 22:11:56.278 - | [2025-05-28T22:11:57.565Z] STF 22:11:56.278 - 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_17484671535399/UpgModPath_Jar_2/20250528-221045-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-28T22:11:57.565Z] STF 22:11:56.278 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_17484671535399/UpgModPath_Jar_2/20250528-221045-UpgModPathTest/results/10.OT24.stderr [2025-05-28T22:11:57.565Z] STF 22:11:56.278 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_17484671535399/UpgModPath_Jar_2/20250528-221045-UpgModPathTest/results/10.OT24.stdout [2025-05-28T22:11:57.565Z] STF 22:11:56.279 - Monitoring processes: OT24 [2025-05-28T22:11:59.140Z] OT24 Error occurred during initialization of boot layer [2025-05-28T22:11:59.141Z] OT24 java.lang.module.FindException: Hash of java.logging (83b4240ddd5a0bdf573e65819e2187b066233697ffbcc0af8aa0762dae63edf7) differs to expected hash (ae334081b24ce51f4f430b8e0bce63380d6f06dea117d8a8e7a5f8bfaacf6ea4) recorded in java.base [2025-05-28T22:11:59.141Z] STF 22:11:58.458 - Monitoring Report Summary: [2025-05-28T22:11:59.141Z] STF 22:11:58.458 - o Process OT24 ended with the expected exit code (1) [2025-05-28T22:11:59.141Z] STF 22:11:58.458 - [2025-05-28T22:11:59.141Z] STF 22:11:58.458 - +------ Step 11 - Combine stderr and stdout files of process OT24 [2025-05-28T22:11:59.141Z] STF 22:11:58.458 - | Run foreground process [2025-05-28T22:11:59.141Z] STF 22:11:58.458 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/jdkbinary/j2sdk-image/bin/java [2025-05-28T22:11:59.141Z] STF 22:11:58.458 - | Mnemonic: CO [2025-05-28T22:11:59.141Z] STF 22:11:58.458 - | Echo: ECHO_OFF [2025-05-28T22:11:59.141Z] STF 22:11:58.458 - | Expectation: NON_ZERO_EXIT [0] within 30s [2025-05-28T22:11:59.141Z] STF 22:11:58.458 - | [2025-05-28T22:11:59.141Z] STF 22:11:58.481 - 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_17484671535399/UpgModPath_Jar_2/20250528-221045-UpgModPathTest/results/10.OT24.stdout -Dfile2=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_17484671535399/UpgModPath_Jar_2/20250528-221045-UpgModPathTest/results/10.OT24.stderr -Dfinal.file=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_17484671535399/UpgModPath_Jar_2/20250528-221045-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-05-28T22:11:59.141Z] STF 22:11:58.481 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_17484671535399/UpgModPath_Jar_2/20250528-221045-UpgModPathTest/results/11.CO.stderr [2025-05-28T22:11:59.141Z] STF 22:11:58.481 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_17484671535399/UpgModPath_Jar_2/20250528-221045-UpgModPathTest/results/11.CO.stdout [2025-05-28T22:11:59.141Z] STF 22:11:58.482 - Monitoring processes: CO [2025-05-28T22:12:00.772Z] STF 22:11:59.906 - Monitoring Report Summary: [2025-05-28T22:12:00.772Z] STF 22:11:59.906 - o Process CO ended with the expected exit code (0) [2025-05-28T22:12:00.772Z] STF 22:11:59.906 - [2025-05-28T22:12:00.772Z] STF 22:11:59.906 - +------ Step 12 - Check output [2025-05-28T22:12:00.772Z] STF 22:11:59.906 - | Count file matches [2025-05-28T22:12:00.772Z] STF 22:11:59.906 - | TargetFile: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/output_17484671535399/UpgModPath_Jar_2/20250528-221045-UpgModPathTest/results/combinedOT24.txt [2025-05-28T22:12:00.772Z] STF 22:11:59.906 - | ExpectedNumMatches: 1 [2025-05-28T22:12:00.772Z] STF 22:11:59.906 - | SearchStrings: ["FindException: Hash of java.logging"] [2025-05-28T22:12:00.772Z] STF 22:11:59.906 - | [2025-05-28T22:12:00.772Z] STF 22:11:59.906 - Found 1 instances of ["FindException: Hash of java.logging"] [2025-05-28T22:12:00.772Z] STF 22:11:59.906 - EXECUTE stage completed [2025-05-28T22:12:00.772Z] STF 22:12:00.376 - [2025-05-28T22:12:00.772Z] STF 22:12:00.376 - ==================== T E A R D O W N ==================== [2025-05-28T22:12:00.772Z] STF 22:12:00.376 - Running teardown: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux_testList_1/aqa-tests/TKG/../TKG/output_17484671535399/UpgModPath_Jar_2/20250528-221045-UpgModPathTest/tearDown.pl [2025-05-28T22:12:01.550Z] STF 22:12:00.805 - TEARDOWN stage completed [2025-05-28T22:12:01.550Z] STF 22:12:00.812 - [2025-05-28T22:12:01.550Z] STF 22:12:00.812 - ===================== R E S U L T S ===================== [2025-05-28T22:12:01.550Z] STF 22:12:00.813 - Stage results: [2025-05-28T22:12:01.550Z] STF 22:12:00.813 - setUp: pass [2025-05-28T22:12:01.550Z] STF 22:12:00.813 - execute: pass [2025-05-28T22:12:01.550Z] STF 22:12:00.813 - teardown: pass [2025-05-28T22:12:01.550Z] STF 22:12:00.813 - [2025-05-28T22:12:01.550Z] STF 22:12:00.813 - Overall result: PASSED [2025-05-28T22:12:01.550Z] ----------------------------------- [2025-05-28T22:12:01.550Z] UpgModPath_Jar_2_PASSED [2025-05-28T22:12:01.550Z] ----------------------------------- [2025-05-28T22:12:01.550Z] [2025-05-28T22:12:01.550Z] TEST TEARDOWN: [2025-05-28T22:12:01.550Z] Nothing to be done for teardown. [2025-05-28T22:12:01.550Z] UpgModPath_Jar_2 Finish Time: Wed May 28 22:12:01 2025 Epoch Time (ms): 1748470321154