UpgModPath_Jar_1

[2025-02-27T05:27:09.076Z] Running test UpgModPath_Jar_1 ... [2025-02-27T05:27:09.076Z] =============================================== [2025-02-27T05:27:09.076Z] UpgModPath_Jar_1 Start Time: Thu Feb 27 05:27:08 2025 Epoch Time (ms): 1740634028998 [2025-02-27T05:27:09.076Z] variation: Mode650 [2025-02-27T05:27:09.076Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-02-27T05:27:09.076Z] { \ [2025-02-27T05:27:09.076Z] echo ""; echo "TEST SETUP:"; \ [2025-02-27T05:27:09.076Z] echo "Nothing to be done for setup."; \ [2025-02-27T05:27:09.076Z] mkdir -p "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/../TKG/output_17406333533416/UpgModPath_Jar_1"; \ [2025-02-27T05:27:09.076Z] cd "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/../TKG/output_17406333533416/UpgModPath_Jar_1"; \ [2025-02-27T05:27:09.076Z] echo ""; echo "TESTING:"; \ [2025-02-27T05:27:09.076Z] perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/../../testDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/../TKG/output_17406333533416/UpgModPath_Jar_1" -test=UpgModPathTest -test-args="variant=Jar"; \ [2025-02-27T05:27:09.076Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_Jar_1""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/../TKG/output_17406333533416/UpgModPath_Jar_1"; else echo "-----------------------------------"; echo "UpgModPath_Jar_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-02-27T05:27:09.076Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-02-27T05:27:09.076Z] echo "Nothing to be done for teardown."; \ [2025-02-27T05:27:09.076Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/../TKG/output_17406333533416/TestTargetResult"; [2025-02-27T05:27:09.076Z] [2025-02-27T05:27:09.076Z] TEST SETUP: [2025-02-27T05:27:09.076Z] Nothing to be done for setup. [2025-02-27T05:27:09.076Z] [2025-02-27T05:27:09.076Z] TESTING: [2025-02-27T05:27:09.771Z] STF 05:27:09.056 - ========================= S T F ========================= [2025-02-27T05:27:09.771Z] systemtest-prereqs has been processed, and set to: /home/jenkins/testDependency/system_libRetrieving amount of free space on drive containing /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/../TKG/output_17406333533416/UpgModPath_Jar_1 [2025-02-27T05:27:09.771Z] There is 55480 Mb free [2025-02-27T05:27:09.771Z] STF 05:27:09.061 - ================== G E N E R A T I O N ================== [2025-02-27T05:27:09.771Z] STF 05:27:09.061 - Checking JVM: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jdkbinary/j2sdk-image [2025-02-27T05:27:09.771Z] STF 05:27:09.061 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/../../testDependency/system_lib//asm/asm.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/../../testDependency/system_lib//asm/asm-commons.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/../../testDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/../../testDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/../TKG/output_17406333533416/UpgModPath_Jar_1/20250227-052709-UpgModPathTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/../TKG/output_17406333533416/UpgModPath_Jar_1/20250227-052709-UpgModPathTest" [2025-02-27T05:27:09.771Z] GEN stderr OpenJDK 64-Bit Server VM warning: Archived non-system classes are disabled because the java.system.class.loader property is specified (value = "net.adoptopenjdk.stf.runner.StfClassLoader"). To use archived non-system classes, this property must not be set [2025-02-27T05:27:11.138Z] GEN 05:27:10.981 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: '/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-02-27T05:27:11.138Z] GEN 05:27:10.990 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2025-02-27T05:27:11.795Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-02-27T05:27:11.795Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-02-27T05:27:11.795Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-02-27T05:27:11.795Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-02-27T05:27:11.795Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-02-27T05:27:11.795Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-02-27T05:27:11.795Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-02-27T05:27:11.795Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-02-27T05:27:11.795Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-02-27T05:27:11.795Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-02-27T05:27:11.795Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-02-27T05:27:11.795Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-02-27T05:27:11.795Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-02-27T05:27:11.795Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-02-27T05:27:11.795Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-02-27T05:27:11.795Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-02-27T05:27:11.795Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jvmtest/system/STF/stf.core/bin [2025-02-27T05:27:11.795Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-02-27T05:27:11.795Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-02-27T05:27:11.795Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar [2025-02-27T05:27:11.795Z] GEN 05:27:11.250 - Using Mode NoOptions. Values = '' [2025-02-27T05:27:11.795Z] GEN 05:27:11.442 - [2025-02-27T05:27:11.795Z] GEN 05:27:11.451 - Test command summary: [2025-02-27T05:27:11.795Z] GEN 05:27:11.451 - Step Stage Command Description [2025-02-27T05:27:11.795Z] GEN 05:27:11.455 - -----+--------+-----------------+------------ [2025-02-27T05:27:11.795Z] GEN 05:27:11.455 - 1 execute jar Create com.hello jar [2025-02-27T05:27:11.796Z] GEN 05:27:11.455 - 2 execute jar Create com.hola jar [2025-02-27T05:27:11.796Z] GEN 05:27:11.456 - 3 execute jar Create com.helper jar [2025-02-27T05:27:11.796Z] GEN 05:27:11.456 - 4 execute jar Create com.discreet jar [2025-02-27T05:27:11.796Z] GEN 05:27:11.458 - 5 execute jar Create tests jar [2025-02-27T05:27:11.796Z] GEN 05:27:11.458 - 6 execute jlink Create runtime image for upgrademodulepath test [2025-02-27T05:27:11.796Z] GEN 05:27:11.458 - 7 execute jar Create com.hello override jar [2025-02-27T05:27:11.796Z] GEN 05:27:11.458 - 8 execute jar Create com.hello override jar [2025-02-27T05:27:11.796Z] GEN 05:27:11.461 - 9 execute Run java Override an application module using modularized jar [2025-02-27T05:27:11.796Z] GEN 05:27:11.461 - 10 execute Run java (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar [2025-02-27T05:27:11.796Z] GEN 05:27:11.462 - 11 execute Run java Combine stderr and stdout files of process OT24 [2025-02-27T05:27:11.796Z] GEN 05:27:11.462 - 12 execute count Check output [2025-02-27T05:27:11.796Z] STF 05:27:11.512 - [2025-02-27T05:27:11.796Z] STF 05:27:11.512 - Script generation completed [2025-02-27T05:27:11.796Z] STF 05:27:11.512 - [2025-02-27T05:27:11.796Z] STF 05:27:11.513 - [2025-02-27T05:27:11.796Z] STF 05:27:11.513 - ======================= S E T U P ======================= [2025-02-27T05:27:11.796Z] STF 05:27:11.513 - Running setup: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/../TKG/output_17406333533416/UpgModPath_Jar_1/20250227-052709-UpgModPathTest/setUp.pl [2025-02-27T05:27:11.796Z] STF 05:27:11.595 - SETUP stage completed [2025-02-27T05:27:11.796Z] STF 05:27:11.602 - [2025-02-27T05:27:11.796Z] STF 05:27:11.602 - ==================== E X E C U T E - ==================== [2025-02-27T05:27:11.796Z] STF 05:27:11.602 - Running execute: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/../TKG/output_17406333533416/UpgModPath_Jar_1/20250227-052709-UpgModPathTest/execute.pl [2025-02-27T05:27:11.796Z] STF 05:27:11.659 - [2025-02-27T05:27:11.796Z] STF 05:27:11.659 - Java version [2025-02-27T05:27:11.796Z] STF 05:27:11.659 - Running: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jdkbinary/j2sdk-image/bin/java -version [2025-02-27T05:27:11.796Z] openjdk version "17.0.15-beta" 2025-04-15 [2025-02-27T05:27:11.796Z] OpenJDK Runtime Environment Temurin-17.0.15+4-202502262211 (build 17.0.15-beta+4-ea) [2025-02-27T05:27:11.796Z] OpenJDK 64-Bit Server VM Temurin-17.0.15+4-202502262211 (build 17.0.15-beta+4-ea, mixed mode, sharing) [2025-02-27T05:27:11.796Z] STF 05:27:11.709 - [2025-02-27T05:27:11.796Z] STF 05:27:11.709 - +------ Step 1 - Create com.hello jar [2025-02-27T05:27:11.796Z] STF 05:27:11.709 - | Create modular jar [2025-02-27T05:27:11.796Z] STF 05:27:11.709 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-02-27T05:27:11.796Z] STF 05:27:11.709 - | ModuleVersion: null [2025-02-27T05:27:11.796Z] STF 05:27:11.709 - | MainClass: null [2025-02-27T05:27:11.796Z] STF 05:27:11.709 - | HashModules: null [2025-02-27T05:27:11.796Z] STF 05:27:11.709 - | [2025-02-27T05:27:11.796Z] STF 05:27:11.710 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/output_17406333533416/UpgModPath_Jar_1/20250227-052709-UpgModPathTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-02-27T05:27:11.796Z] STF 05:27:11.710 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/output_17406333533416/UpgModPath_Jar_1/20250227-052709-UpgModPathTest/results/1.CMJ.stderr [2025-02-27T05:27:11.796Z] STF 05:27:11.710 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/output_17406333533416/UpgModPath_Jar_1/20250227-052709-UpgModPathTest/results/1.CMJ.stdout [2025-02-27T05:27:11.796Z] STF 05:27:11.717 - Monitoring processes: CMJ [2025-02-27T05:27:12.461Z] STF 05:27:12.226 - Monitoring Report Summary: [2025-02-27T05:27:12.461Z] STF 05:27:12.226 - o Process CMJ ended with the expected exit code (0) [2025-02-27T05:27:12.461Z] STF 05:27:12.227 - Created modular jar: 1.com.hello.jar [2025-02-27T05:27:12.461Z] STF 05:27:12.227 - [2025-02-27T05:27:12.461Z] STF 05:27:12.227 - +------ Step 2 - Create com.hola jar [2025-02-27T05:27:12.461Z] STF 05:27:12.227 - | Create modular jar [2025-02-27T05:27:12.461Z] STF 05:27:12.227 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-02-27T05:27:12.461Z] STF 05:27:12.227 - | ModuleVersion: null [2025-02-27T05:27:12.461Z] STF 05:27:12.227 - | MainClass: null [2025-02-27T05:27:12.461Z] STF 05:27:12.227 - | HashModules: null [2025-02-27T05:27:12.461Z] STF 05:27:12.227 - | [2025-02-27T05:27:12.461Z] STF 05:27:12.227 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/output_17406333533416/UpgModPath_Jar_1/20250227-052709-UpgModPathTest/modules/2.com.hola.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2025-02-27T05:27:12.461Z] STF 05:27:12.227 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/output_17406333533416/UpgModPath_Jar_1/20250227-052709-UpgModPathTest/results/2.CMJ.stderr [2025-02-27T05:27:12.461Z] STF 05:27:12.227 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/output_17406333533416/UpgModPath_Jar_1/20250227-052709-UpgModPathTest/results/2.CMJ.stdout [2025-02-27T05:27:12.461Z] STF 05:27:12.228 - Monitoring processes: CMJ [2025-02-27T05:27:13.140Z] STF 05:27:12.726 - Monitoring Report Summary: [2025-02-27T05:27:13.140Z] STF 05:27:12.726 - o Process CMJ ended with the expected exit code (0) [2025-02-27T05:27:13.140Z] STF 05:27:12.726 - Created modular jar: 2.com.hola.jar [2025-02-27T05:27:13.140Z] STF 05:27:12.726 - [2025-02-27T05:27:13.140Z] STF 05:27:12.726 - +------ Step 3 - Create com.helper jar [2025-02-27T05:27:13.140Z] STF 05:27:12.726 - | Create modular jar [2025-02-27T05:27:13.140Z] STF 05:27:12.726 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-02-27T05:27:13.140Z] STF 05:27:12.726 - | ModuleVersion: null [2025-02-27T05:27:13.140Z] STF 05:27:12.726 - | MainClass: null [2025-02-27T05:27:13.140Z] STF 05:27:12.726 - | HashModules: null [2025-02-27T05:27:13.140Z] STF 05:27:12.726 - | [2025-02-27T05:27:13.140Z] STF 05:27:12.726 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/output_17406333533416/UpgModPath_Jar_1/20250227-052709-UpgModPathTest/modules/3.com.helper.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2025-02-27T05:27:13.140Z] STF 05:27:12.727 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/output_17406333533416/UpgModPath_Jar_1/20250227-052709-UpgModPathTest/results/3.CMJ.stderr [2025-02-27T05:27:13.140Z] STF 05:27:12.727 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/output_17406333533416/UpgModPath_Jar_1/20250227-052709-UpgModPathTest/results/3.CMJ.stdout [2025-02-27T05:27:13.140Z] STF 05:27:12.728 - Monitoring processes: CMJ [2025-02-27T05:27:13.789Z] STF 05:27:13.187 - Monitoring Report Summary: [2025-02-27T05:27:13.789Z] STF 05:27:13.187 - o Process CMJ ended with the expected exit code (0) [2025-02-27T05:27:13.789Z] STF 05:27:13.188 - Created modular jar: 3.com.helper.jar [2025-02-27T05:27:13.789Z] STF 05:27:13.188 - [2025-02-27T05:27:13.789Z] STF 05:27:13.188 - +------ Step 4 - Create com.discreet jar [2025-02-27T05:27:13.789Z] STF 05:27:13.188 - | Create modular jar [2025-02-27T05:27:13.789Z] STF 05:27:13.188 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-02-27T05:27:13.789Z] STF 05:27:13.188 - | ModuleVersion: null [2025-02-27T05:27:13.789Z] STF 05:27:13.188 - | MainClass: null [2025-02-27T05:27:13.789Z] STF 05:27:13.188 - | HashModules: null [2025-02-27T05:27:13.789Z] STF 05:27:13.188 - | [2025-02-27T05:27:13.789Z] STF 05:27:13.188 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/output_17406333533416/UpgModPath_Jar_1/20250227-052709-UpgModPathTest/modules/4.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2025-02-27T05:27:13.789Z] STF 05:27:13.188 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/output_17406333533416/UpgModPath_Jar_1/20250227-052709-UpgModPathTest/results/4.CMJ.stderr [2025-02-27T05:27:13.789Z] STF 05:27:13.188 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/output_17406333533416/UpgModPath_Jar_1/20250227-052709-UpgModPathTest/results/4.CMJ.stdout [2025-02-27T05:27:13.789Z] STF 05:27:13.189 - Monitoring processes: CMJ [2025-02-27T05:27:13.789Z] STF 05:27:13.654 - Monitoring Report Summary: [2025-02-27T05:27:13.789Z] STF 05:27:13.654 - o Process CMJ ended with the expected exit code (0) [2025-02-27T05:27:13.789Z] STF 05:27:13.654 - Created modular jar: 4.com.discreet.jar [2025-02-27T05:27:13.789Z] STF 05:27:13.654 - [2025-02-27T05:27:13.789Z] STF 05:27:13.654 - +------ Step 5 - Create tests jar [2025-02-27T05:27:13.789Z] STF 05:27:13.654 - | Create modular jar [2025-02-27T05:27:13.789Z] STF 05:27:13.654 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-02-27T05:27:13.789Z] STF 05:27:13.654 - | ModuleVersion: null [2025-02-27T05:27:13.789Z] STF 05:27:13.654 - | MainClass: null [2025-02-27T05:27:13.789Z] STF 05:27:13.654 - | HashModules: null [2025-02-27T05:27:13.789Z] STF 05:27:13.654 - | [2025-02-27T05:27:13.789Z] STF 05:27:13.654 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/output_17406333533416/UpgModPath_Jar_1/20250227-052709-UpgModPathTest/modules/5.com.test.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2025-02-27T05:27:13.789Z] STF 05:27:13.654 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/output_17406333533416/UpgModPath_Jar_1/20250227-052709-UpgModPathTest/results/5.CMJ.stderr [2025-02-27T05:27:13.789Z] STF 05:27:13.654 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/output_17406333533416/UpgModPath_Jar_1/20250227-052709-UpgModPathTest/results/5.CMJ.stdout [2025-02-27T05:27:13.789Z] STF 05:27:13.655 - Monitoring processes: CMJ [2025-02-27T05:27:14.454Z] STF 05:27:14.241 - Monitoring Report Summary: [2025-02-27T05:27:14.454Z] STF 05:27:14.241 - o Process CMJ ended with the expected exit code (0) [2025-02-27T05:27:14.454Z] STF 05:27:14.242 - Created modular jar: 5.com.test.jar [2025-02-27T05:27:14.454Z] STF 05:27:14.242 - [2025-02-27T05:27:14.454Z] STF 05:27:14.242 - +------ Step 6 - Create runtime image for upgrademodulepath test [2025-02-27T05:27:14.454Z] STF 05:27:14.242 - | Run jlink to create runtime image [2025-02-27T05:27:14.454Z] STF 05:27:14.242 - | ImageName: UpJVM [2025-02-27T05:27:14.454Z] STF 05:27:14.242 - | [2025-02-27T05:27:14.454Z] STF 05:27:14.242 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/output_17406333533416/UpgModPath_Jar_1/20250227-052709-UpgModPathTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/output_17406333533416/UpgModPath_Jar_1/20250227-052709-UpgModPathTest/tmp/6.UpJVM [2025-02-27T05:27:14.454Z] STF 05:27:14.242 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/output_17406333533416/UpgModPath_Jar_1/20250227-052709-UpgModPathTest/results/6.JLNK.stderr [2025-02-27T05:27:14.454Z] STF 05:27:14.242 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/output_17406333533416/UpgModPath_Jar_1/20250227-052709-UpgModPathTest/results/6.JLNK.stdout [2025-02-27T05:27:14.454Z] STF 05:27:14.255 - Monitoring processes: JLNK [2025-02-27T05:27:19.464Z] STF 05:27:18.447 - Monitoring Report Summary: [2025-02-27T05:27:19.464Z] STF 05:27:18.447 - o Process JLNK ended with the expected exit code (0) [2025-02-27T05:27:19.464Z] STF 05:27:18.447 - [2025-02-27T05:27:19.464Z] STF 05:27:18.447 - +------ Step 7 - Create com.hello override jar [2025-02-27T05:27:19.464Z] STF 05:27:18.447 - | Create modular jar [2025-02-27T05:27:19.464Z] STF 05:27:18.447 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-02-27T05:27:19.464Z] STF 05:27:18.447 - | ModuleVersion: null [2025-02-27T05:27:19.464Z] STF 05:27:18.447 - | MainClass: null [2025-02-27T05:27:19.464Z] STF 05:27:18.447 - | HashModules: null [2025-02-27T05:27:19.464Z] STF 05:27:18.447 - | [2025-02-27T05:27:19.464Z] STF 05:27:18.447 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/output_17406333533416/UpgModPath_Jar_1/20250227-052709-UpgModPathTest/modules/7.com.hello.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2025-02-27T05:27:19.464Z] STF 05:27:18.447 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/output_17406333533416/UpgModPath_Jar_1/20250227-052709-UpgModPathTest/results/7.CMJ.stderr [2025-02-27T05:27:19.464Z] STF 05:27:18.447 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/output_17406333533416/UpgModPath_Jar_1/20250227-052709-UpgModPathTest/results/7.CMJ.stdout [2025-02-27T05:27:19.464Z] STF 05:27:18.448 - Monitoring processes: CMJ [2025-02-27T05:27:19.465Z] STF 05:27:19.002 - Monitoring Report Summary: [2025-02-27T05:27:19.465Z] STF 05:27:19.002 - o Process CMJ ended with the expected exit code (0) [2025-02-27T05:27:19.465Z] STF 05:27:19.002 - Created modular jar: 7.com.hello.jar [2025-02-27T05:27:19.465Z] STF 05:27:19.002 - [2025-02-27T05:27:19.465Z] STF 05:27:19.002 - +------ Step 8 - Create com.hello override jar [2025-02-27T05:27:19.465Z] STF 05:27:19.002 - | Create modular jar [2025-02-27T05:27:19.465Z] STF 05:27:19.002 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2025-02-27T05:27:19.465Z] STF 05:27:19.002 - | ModuleVersion: null [2025-02-27T05:27:19.465Z] STF 05:27:19.002 - | MainClass: null [2025-02-27T05:27:19.465Z] STF 05:27:19.002 - | HashModules: null [2025-02-27T05:27:19.465Z] STF 05:27:19.002 - | [2025-02-27T05:27:19.465Z] STF 05:27:19.002 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/output_17406333533416/UpgModPath_Jar_1/20250227-052709-UpgModPathTest/modules/8.java.logging.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.logging . [2025-02-27T05:27:19.465Z] STF 05:27:19.002 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/output_17406333533416/UpgModPath_Jar_1/20250227-052709-UpgModPathTest/results/8.CMJ.stderr [2025-02-27T05:27:19.465Z] STF 05:27:19.002 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/output_17406333533416/UpgModPath_Jar_1/20250227-052709-UpgModPathTest/results/8.CMJ.stdout [2025-02-27T05:27:19.465Z] STF 05:27:19.004 - Monitoring processes: CMJ [2025-02-27T05:27:20.166Z] STF 05:27:19.495 - Monitoring Report Summary: [2025-02-27T05:27:20.166Z] STF 05:27:19.495 - o Process CMJ ended with the expected exit code (0) [2025-02-27T05:27:20.166Z] STF 05:27:19.495 - Created modular jar: 8.java.logging.jar [2025-02-27T05:27:20.166Z] STF 05:27:19.495 - [2025-02-27T05:27:20.166Z] STF 05:27:19.495 - +------ Step 9 - Override an application module using modularized jar [2025-02-27T05:27:20.166Z] STF 05:27:19.495 - | Run foreground process [2025-02-27T05:27:20.166Z] STF 05:27:19.495 - | Program: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jdkbinary/j2sdk-image/bin/java [2025-02-27T05:27:20.166Z] STF 05:27:19.495 - | Mnemonic: OT21 [2025-02-27T05:27:20.166Z] STF 05:27:19.495 - | Echo: ECHO_ON [2025-02-27T05:27:20.166Z] STF 05:27:19.495 - | Expectation: CLEAN_RUN within 1m [2025-02-27T05:27:20.166Z] STF 05:27:19.495 - | [2025-02-27T05:27:20.166Z] STF 05:27:19.495 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --upgrade-module-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/output_17406333533416/UpgModPath_Jar_1/20250227-052709-UpgModPathTest/modules/7.com.hello.jar --add-modules=com.test -XX:-UseCompressedOops -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-02-27T05:27:20.166Z] STF 05:27:19.495 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/output_17406333533416/UpgModPath_Jar_1/20250227-052709-UpgModPathTest/results/9.OT21.stderr [2025-02-27T05:27:20.166Z] STF 05:27:19.495 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/output_17406333533416/UpgModPath_Jar_1/20250227-052709-UpgModPathTest/results/9.OT21.stdout [2025-02-27T05:27:20.166Z] STF 05:27:19.498 - Monitoring processes: OT21 [2025-02-27T05:27:20.166Z] OT21 JUnit version 4.12 [2025-02-27T05:27:20.840Z] OT21 . [2025-02-27T05:27:20.840Z] OT21 Time: 0.011 [2025-02-27T05:27:20.840Z] OT21 [2025-02-27T05:27:20.840Z] OT21 OK (1 test) [2025-02-27T05:27:20.840Z] OT21 [2025-02-27T05:27:20.840Z] STF 05:27:20.301 - Monitoring Report Summary: [2025-02-27T05:27:20.840Z] STF 05:27:20.301 - o Process OT21 ended with the expected exit code (0) [2025-02-27T05:27:20.840Z] STF 05:27:20.301 - [2025-02-27T05:27:20.840Z] STF 05:27:20.301 - +------ Step 10 - (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar [2025-02-27T05:27:20.840Z] STF 05:27:20.301 - | Run foreground process [2025-02-27T05:27:20.840Z] STF 05:27:20.301 - | Program: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jdkbinary/j2sdk-image/bin/java [2025-02-27T05:27:20.840Z] STF 05:27:20.301 - | Mnemonic: OT24 [2025-02-27T05:27:20.840Z] STF 05:27:20.301 - | Echo: ECHO_ON [2025-02-27T05:27:20.840Z] STF 05:27:20.301 - | Expectation: NON_ZERO_EXIT [1] within 1m [2025-02-27T05:27:20.840Z] STF 05:27:20.301 - | [2025-02-27T05:27:20.840Z] STF 05:27:20.301 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --upgrade-module-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/output_17406333533416/UpgModPath_Jar_1/20250227-052709-UpgModPathTest/modules/8.java.logging.jar --add-modules=com.test -XX:-UseCompressedOops -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-02-27T05:27:20.840Z] STF 05:27:20.301 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/output_17406333533416/UpgModPath_Jar_1/20250227-052709-UpgModPathTest/results/10.OT24.stderr [2025-02-27T05:27:20.840Z] STF 05:27:20.301 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/output_17406333533416/UpgModPath_Jar_1/20250227-052709-UpgModPathTest/results/10.OT24.stdout [2025-02-27T05:27:20.840Z] STF 05:27:20.302 - Monitoring processes: OT24 [2025-02-27T05:27:21.520Z] OT24 Error occurred during initialization of boot layer [2025-02-27T05:27:21.521Z] OT24 java.lang.module.FindException: Hash of java.logging (12ac1180eb0d5c9e49fbe400f31ef785960a7ced5ac54b7cf0edca72b0444bc5) differs to expected hash (db5497c869f342c331ede7641c484950b23fc6a5c51abb33e6c14f243b72cfde) recorded in java.base [2025-02-27T05:27:21.521Z] STF 05:27:20.874 - Monitoring Report Summary: [2025-02-27T05:27:21.521Z] STF 05:27:20.874 - o Process OT24 ended with the expected exit code (1) [2025-02-27T05:27:21.521Z] STF 05:27:20.874 - [2025-02-27T05:27:21.521Z] STF 05:27:20.874 - +------ Step 11 - Combine stderr and stdout files of process OT24 [2025-02-27T05:27:21.521Z] STF 05:27:20.874 - | Run foreground process [2025-02-27T05:27:21.521Z] STF 05:27:20.874 - | Program: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jdkbinary/j2sdk-image/bin/java [2025-02-27T05:27:21.521Z] STF 05:27:20.874 - | Mnemonic: CO [2025-02-27T05:27:21.521Z] STF 05:27:20.874 - | Echo: ECHO_OFF [2025-02-27T05:27:21.521Z] STF 05:27:20.874 - | Expectation: NON_ZERO_EXIT [0] within 30s [2025-02-27T05:27:21.521Z] STF 05:27:20.874 - | [2025-02-27T05:27:21.521Z] STF 05:27:20.875 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jdkbinary/j2sdk-image/bin/java -Dfile1=/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/output_17406333533416/UpgModPath_Jar_1/20250227-052709-UpgModPathTest/results/10.OT24.stdout -Dfile2=/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/output_17406333533416/UpgModPath_Jar_1/20250227-052709-UpgModPathTest/results/10.OT24.stderr -Dfinal.file=/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/output_17406333533416/UpgModPath_Jar_1/20250227-052709-UpgModPathTest/results/combinedOT24.txt -XX:-UseCompressedOops -classpath /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jvmtest/system/STF/stf.core/bin:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin net.adoptopenjdk.test.modularity.TestUtil [2025-02-27T05:27:21.521Z] STF 05:27:20.875 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/output_17406333533416/UpgModPath_Jar_1/20250227-052709-UpgModPathTest/results/11.CO.stderr [2025-02-27T05:27:21.521Z] STF 05:27:20.875 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/output_17406333533416/UpgModPath_Jar_1/20250227-052709-UpgModPathTest/results/11.CO.stdout [2025-02-27T05:27:21.521Z] STF 05:27:20.876 - Monitoring processes: CO [2025-02-27T05:27:21.521Z] STF 05:27:21.189 - Monitoring Report Summary: [2025-02-27T05:27:21.521Z] STF 05:27:21.189 - o Process CO ended with the expected exit code (0) [2025-02-27T05:27:21.521Z] STF 05:27:21.189 - [2025-02-27T05:27:21.521Z] STF 05:27:21.189 - +------ Step 12 - Check output [2025-02-27T05:27:21.521Z] STF 05:27:21.189 - | Count file matches [2025-02-27T05:27:21.521Z] STF 05:27:21.189 - | TargetFile: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/output_17406333533416/UpgModPath_Jar_1/20250227-052709-UpgModPathTest/results/combinedOT24.txt [2025-02-27T05:27:21.521Z] STF 05:27:21.189 - | ExpectedNumMatches: 1 [2025-02-27T05:27:21.521Z] STF 05:27:21.189 - | SearchStrings: ["FindException: Hash of java.logging"] [2025-02-27T05:27:21.521Z] STF 05:27:21.189 - | [2025-02-27T05:27:21.521Z] STF 05:27:21.189 - Found 1 instances of ["FindException: Hash of java.logging"] [2025-02-27T05:27:21.521Z] STF 05:27:21.189 - EXECUTE stage completed [2025-02-27T05:27:21.521Z] STF 05:27:21.277 - [2025-02-27T05:27:21.521Z] STF 05:27:21.277 - ==================== T E A R D O W N ==================== [2025-02-27T05:27:21.521Z] STF 05:27:21.277 - Running teardown: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_s390x_linux/aqa-tests/TKG/../TKG/output_17406333533416/UpgModPath_Jar_1/20250227-052709-UpgModPathTest/tearDown.pl [2025-02-27T05:27:21.521Z] STF 05:27:21.330 - TEARDOWN stage completed [2025-02-27T05:27:21.521Z] STF 05:27:21.336 - [2025-02-27T05:27:21.521Z] STF 05:27:21.337 - ===================== R E S U L T S ===================== [2025-02-27T05:27:21.521Z] STF 05:27:21.337 - Stage results: [2025-02-27T05:27:21.521Z] STF 05:27:21.337 - setUp: pass [2025-02-27T05:27:21.521Z] STF 05:27:21.337 - execute: pass [2025-02-27T05:27:21.521Z] STF 05:27:21.337 - teardown: pass [2025-02-27T05:27:21.521Z] STF 05:27:21.337 - [2025-02-27T05:27:21.521Z] STF 05:27:21.337 - Overall result: PASSED [2025-02-27T05:27:21.521Z] ----------------------------------- [2025-02-27T05:27:21.521Z] UpgModPath_Jar_1_PASSED [2025-02-27T05:27:21.521Z] ----------------------------------- [2025-02-27T05:27:21.521Z] [2025-02-27T05:27:21.521Z] TEST TEARDOWN: [2025-02-27T05:27:21.521Z] Nothing to be done for teardown. [2025-02-27T05:27:21.521Z] UpgModPath_Jar_1 Finish Time: Thu Feb 27 05:27:21 2025 Epoch Time (ms): 1740634041366