UpgModPath_Jar_0

[2024-08-10T02:59:38.526Z] Running test UpgModPath_Jar_0 ... [2024-08-10T02:59:38.526Z] =============================================== [2024-08-10T02:59:38.526Z] UpgModPath_Jar_0 Start Time: Sat Aug 10 02:59:38 2024 Epoch Time (ms): 1723258778113 [2024-08-10T02:59:38.526Z] variation: Mode150 [2024-08-10T02:59:38.526Z] JVM_OPTIONS: -XX:+UseCompressedOops [2024-08-10T02:59:38.526Z] { \ [2024-08-10T02:59:38.526Z] echo ""; echo "TEST SETUP:"; \ [2024-08-10T02:59:38.526Z] echo "Nothing to be done for setup."; \ [2024-08-10T02:59:38.526Z] mkdir -p "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/../TKG/output_1723254942881/UpgModPath_Jar_0"; \ [2024-08-10T02:59:38.526Z] cd "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/../TKG/output_1723254942881/UpgModPath_Jar_0"; \ [2024-08-10T02:59:38.526Z] echo ""; echo "TESTING:"; \ [2024-08-10T02:59:38.526Z] perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_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_s390x_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/../../testDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/../TKG/output_1723254942881/UpgModPath_Jar_0" -test=UpgModPathTest -test-args="variant=Jar"; \ [2024-08-10T02:59:38.526Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_Jar_0""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/../TKG/output_1723254942881/UpgModPath_Jar_0"; else echo "-----------------------------------"; echo "UpgModPath_Jar_0""_FAILED"; echo "-----------------------------------"; fi; \ [2024-08-10T02:59:38.526Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-08-10T02:59:38.526Z] echo "Nothing to be done for teardown."; \ [2024-08-10T02:59:38.526Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/../TKG/output_1723254942881/TestTargetResult"; [2024-08-10T02:59:38.526Z] [2024-08-10T02:59:38.526Z] TEST SETUP: [2024-08-10T02:59:38.526Z] Nothing to be done for setup. [2024-08-10T02:59:38.526Z] [2024-08-10T02:59:38.526Z] TESTING: [2024-08-10T02:59:38.526Z] STF 02:59:38.275 - ========================= S T F ========================= [2024-08-10T02:59:38.526Z] 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_s390x_linux_testList_1/aqa-tests/TKG/../TKG/output_1723254942881/UpgModPath_Jar_0 [2024-08-10T02:59:38.526Z] There is 161063 Mb free [2024-08-10T02:59:38.526Z] STF 02:59:38.292 - ================== G E N E R A T I O N ================== [2024-08-10T02:59:38.526Z] STF 02:59:38.293 - Checking JVM: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jdkbinary/j2sdk-image [2024-08-10T02:59:38.526Z] STF 02:59:38.293 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/../../testDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/../../testDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/../TKG/output_1723254942881/UpgModPath_Jar_0/20240810-025938-UpgModPathTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/../TKG/output_1723254942881/UpgModPath_Jar_0/20240810-025938-UpgModPathTest" [2024-08-10T02:59:42.191Z] GEN 02:59:41.887 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: '/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2024-08-10T02:59:42.191Z] GEN 02:59:41.920 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2024-08-10T02:59:43.462Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-08-10T02:59:43.462Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2024-08-10T02:59:43.462Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2024-08-10T02:59:43.462Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2024-08-10T02:59:43.462Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2024-08-10T02:59:43.463Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2024-08-10T02:59:43.463Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2024-08-10T02:59:43.463Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2024-08-10T02:59:43.463Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2024-08-10T02:59:43.463Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2024-08-10T02:59:43.463Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2024-08-10T02:59:43.463Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2024-08-10T02:59:43.463Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2024-08-10T02:59:43.463Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2024-08-10T02:59:43.463Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2024-08-10T02:59:43.463Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2024-08-10T02:59:43.463Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jvmtest/system/STF/stf.core/bin [2024-08-10T02:59:43.463Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-08-10T02:59:43.463Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-08-10T02:59:43.463Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar [2024-08-10T02:59:43.463Z] GEN 02:59:43.009 - Using Mode NoOptions. Values = '' [2024-08-10T02:59:44.075Z] GEN 02:59:43.556 - [2024-08-10T02:59:44.075Z] GEN 02:59:43.557 - Test command summary: [2024-08-10T02:59:44.075Z] GEN 02:59:43.557 - Step Stage Command Description [2024-08-10T02:59:44.075Z] GEN 02:59:43.557 - -----+--------+-----------------+------------ [2024-08-10T02:59:44.075Z] GEN 02:59:43.558 - 1 execute jar Create com.hello jar [2024-08-10T02:59:44.075Z] GEN 02:59:43.558 - 2 execute jar Create com.hola jar [2024-08-10T02:59:44.075Z] GEN 02:59:43.558 - 3 execute jar Create com.helper jar [2024-08-10T02:59:44.075Z] GEN 02:59:43.558 - 4 execute jar Create com.discreet jar [2024-08-10T02:59:44.075Z] GEN 02:59:43.572 - 5 execute jar Create tests jar [2024-08-10T02:59:44.075Z] GEN 02:59:43.573 - 6 execute jlink Create runtime image for upgrademodulepath test [2024-08-10T02:59:44.075Z] GEN 02:59:43.573 - 7 execute jar Create com.hello override jar [2024-08-10T02:59:44.075Z] GEN 02:59:43.573 - 8 execute jar Create com.hello override jar [2024-08-10T02:59:44.075Z] GEN 02:59:43.573 - 9 execute Run java Override an application module using modularized jar [2024-08-10T02:59:44.075Z] GEN 02:59:43.573 - 10 execute Run java (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar [2024-08-10T02:59:44.075Z] GEN 02:59:43.573 - 11 execute Run java Combine stderr and stdout files of process OT24 [2024-08-10T02:59:44.075Z] GEN 02:59:43.574 - 12 execute count Check output [2024-08-10T02:59:44.075Z] STF 02:59:43.704 - [2024-08-10T02:59:44.075Z] STF 02:59:43.704 - Script generation completed [2024-08-10T02:59:44.075Z] STF 02:59:43.704 - [2024-08-10T02:59:44.075Z] STF 02:59:43.704 - [2024-08-10T02:59:44.075Z] STF 02:59:43.704 - ======================= S E T U P ======================= [2024-08-10T02:59:44.075Z] STF 02:59:43.704 - Running setup: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/../TKG/output_1723254942881/UpgModPath_Jar_0/20240810-025938-UpgModPathTest/setUp.pl [2024-08-10T02:59:44.075Z] STF 02:59:43.810 - SETUP stage completed [2024-08-10T02:59:44.075Z] STF 02:59:43.828 - [2024-08-10T02:59:44.075Z] STF 02:59:43.829 - ==================== E X E C U T E - ==================== [2024-08-10T02:59:44.075Z] STF 02:59:43.829 - Running execute: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/../TKG/output_1723254942881/UpgModPath_Jar_0/20240810-025938-UpgModPathTest/execute.pl [2024-08-10T02:59:44.075Z] STF 02:59:43.885 - [2024-08-10T02:59:44.075Z] STF 02:59:43.885 - Java version [2024-08-10T02:59:44.075Z] STF 02:59:43.885 - Running: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-08-10T02:59:44.686Z] openjdk version "11.0.25-beta" 2024-10-15 [2024-08-10T02:59:44.686Z] OpenJDK Runtime Environment Temurin-11.0.25+2-202408092147 (build 11.0.25-beta+2-ea) [2024-08-10T02:59:44.686Z] OpenJDK 64-Bit Server VM Temurin-11.0.25+2-202408092147 (build 11.0.25-beta+2-ea, mixed mode) [2024-08-10T02:59:44.686Z] STF 02:59:44.143 - [2024-08-10T02:59:44.686Z] STF 02:59:44.143 - +------ Step 1 - Create com.hello jar [2024-08-10T02:59:44.686Z] STF 02:59:44.143 - | Create modular jar [2024-08-10T02:59:44.686Z] STF 02:59:44.143 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-08-10T02:59:44.686Z] STF 02:59:44.143 - | ModuleVersion: null [2024-08-10T02:59:44.686Z] STF 02:59:44.143 - | MainClass: null [2024-08-10T02:59:44.686Z] STF 02:59:44.143 - | HashModules: null [2024-08-10T02:59:44.686Z] STF 02:59:44.143 - | [2024-08-10T02:59:44.686Z] STF 02:59:44.144 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/output_1723254942881/UpgModPath_Jar_0/20240810-025938-UpgModPathTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2024-08-10T02:59:44.686Z] STF 02:59:44.144 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/output_1723254942881/UpgModPath_Jar_0/20240810-025938-UpgModPathTest/results/1.CMJ.stderr [2024-08-10T02:59:44.686Z] STF 02:59:44.144 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/output_1723254942881/UpgModPath_Jar_0/20240810-025938-UpgModPathTest/results/1.CMJ.stdout [2024-08-10T02:59:44.686Z] STF 02:59:44.152 - Monitoring processes: CMJ [2024-08-10T02:59:45.364Z] STF 02:59:45.095 - Monitoring Report Summary: [2024-08-10T02:59:45.364Z] STF 02:59:45.095 - o Process CMJ ended with the expected exit code (0) [2024-08-10T02:59:45.364Z] STF 02:59:45.095 - Created modular jar: 1.com.hello.jar [2024-08-10T02:59:45.364Z] STF 02:59:45.095 - [2024-08-10T02:59:45.364Z] STF 02:59:45.095 - +------ Step 2 - Create com.hola jar [2024-08-10T02:59:45.364Z] STF 02:59:45.095 - | Create modular jar [2024-08-10T02:59:45.364Z] STF 02:59:45.095 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-08-10T02:59:45.364Z] STF 02:59:45.095 - | ModuleVersion: null [2024-08-10T02:59:45.364Z] STF 02:59:45.095 - | MainClass: null [2024-08-10T02:59:45.364Z] STF 02:59:45.095 - | HashModules: null [2024-08-10T02:59:45.364Z] STF 02:59:45.095 - | [2024-08-10T02:59:45.364Z] STF 02:59:45.095 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/output_1723254942881/UpgModPath_Jar_0/20240810-025938-UpgModPathTest/modules/2.com.hola.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2024-08-10T02:59:45.364Z] STF 02:59:45.095 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/output_1723254942881/UpgModPath_Jar_0/20240810-025938-UpgModPathTest/results/2.CMJ.stderr [2024-08-10T02:59:45.364Z] STF 02:59:45.095 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/output_1723254942881/UpgModPath_Jar_0/20240810-025938-UpgModPathTest/results/2.CMJ.stdout [2024-08-10T02:59:45.364Z] STF 02:59:45.097 - Monitoring processes: CMJ [2024-08-10T02:59:46.685Z] STF 02:59:46.027 - Monitoring Report Summary: [2024-08-10T02:59:46.685Z] STF 02:59:46.027 - o Process CMJ ended with the expected exit code (0) [2024-08-10T02:59:46.685Z] STF 02:59:46.027 - Created modular jar: 2.com.hola.jar [2024-08-10T02:59:46.685Z] STF 02:59:46.027 - [2024-08-10T02:59:46.685Z] STF 02:59:46.027 - +------ Step 3 - Create com.helper jar [2024-08-10T02:59:46.685Z] STF 02:59:46.027 - | Create modular jar [2024-08-10T02:59:46.685Z] STF 02:59:46.027 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-08-10T02:59:46.685Z] STF 02:59:46.027 - | ModuleVersion: null [2024-08-10T02:59:46.685Z] STF 02:59:46.027 - | MainClass: null [2024-08-10T02:59:46.685Z] STF 02:59:46.027 - | HashModules: null [2024-08-10T02:59:46.685Z] STF 02:59:46.027 - | [2024-08-10T02:59:46.685Z] STF 02:59:46.028 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/output_1723254942881/UpgModPath_Jar_0/20240810-025938-UpgModPathTest/modules/3.com.helper.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2024-08-10T02:59:46.685Z] STF 02:59:46.028 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/output_1723254942881/UpgModPath_Jar_0/20240810-025938-UpgModPathTest/results/3.CMJ.stderr [2024-08-10T02:59:46.685Z] STF 02:59:46.028 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/output_1723254942881/UpgModPath_Jar_0/20240810-025938-UpgModPathTest/results/3.CMJ.stdout [2024-08-10T02:59:46.685Z] STF 02:59:46.029 - Monitoring processes: CMJ [2024-08-10T02:59:47.287Z] STF 02:59:47.039 - Monitoring Report Summary: [2024-08-10T02:59:47.287Z] STF 02:59:47.039 - o Process CMJ ended with the expected exit code (0) [2024-08-10T02:59:47.287Z] STF 02:59:47.039 - Created modular jar: 3.com.helper.jar [2024-08-10T02:59:47.287Z] STF 02:59:47.039 - [2024-08-10T02:59:47.287Z] STF 02:59:47.039 - +------ Step 4 - Create com.discreet jar [2024-08-10T02:59:47.287Z] STF 02:59:47.039 - | Create modular jar [2024-08-10T02:59:47.287Z] STF 02:59:47.039 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-08-10T02:59:47.287Z] STF 02:59:47.039 - | ModuleVersion: null [2024-08-10T02:59:47.287Z] STF 02:59:47.039 - | MainClass: null [2024-08-10T02:59:47.287Z] STF 02:59:47.039 - | HashModules: null [2024-08-10T02:59:47.287Z] STF 02:59:47.039 - | [2024-08-10T02:59:47.287Z] STF 02:59:47.039 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/output_1723254942881/UpgModPath_Jar_0/20240810-025938-UpgModPathTest/modules/4.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2024-08-10T02:59:47.287Z] STF 02:59:47.039 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/output_1723254942881/UpgModPath_Jar_0/20240810-025938-UpgModPathTest/results/4.CMJ.stderr [2024-08-10T02:59:47.287Z] STF 02:59:47.039 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/output_1723254942881/UpgModPath_Jar_0/20240810-025938-UpgModPathTest/results/4.CMJ.stdout [2024-08-10T02:59:47.287Z] STF 02:59:47.041 - Monitoring processes: CMJ [2024-08-10T02:59:48.577Z] STF 02:59:47.896 - Monitoring Report Summary: [2024-08-10T02:59:48.577Z] STF 02:59:47.896 - o Process CMJ ended with the expected exit code (0) [2024-08-10T02:59:48.577Z] STF 02:59:47.896 - Created modular jar: 4.com.discreet.jar [2024-08-10T02:59:48.577Z] STF 02:59:47.896 - [2024-08-10T02:59:48.577Z] STF 02:59:47.896 - +------ Step 5 - Create tests jar [2024-08-10T02:59:48.577Z] STF 02:59:47.896 - | Create modular jar [2024-08-10T02:59:48.577Z] STF 02:59:47.896 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-08-10T02:59:48.577Z] STF 02:59:47.896 - | ModuleVersion: null [2024-08-10T02:59:48.577Z] STF 02:59:47.896 - | MainClass: null [2024-08-10T02:59:48.578Z] STF 02:59:47.896 - | HashModules: null [2024-08-10T02:59:48.578Z] STF 02:59:47.896 - | [2024-08-10T02:59:48.578Z] STF 02:59:47.896 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/output_1723254942881/UpgModPath_Jar_0/20240810-025938-UpgModPathTest/modules/5.com.test.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2024-08-10T02:59:48.578Z] STF 02:59:47.896 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/output_1723254942881/UpgModPath_Jar_0/20240810-025938-UpgModPathTest/results/5.CMJ.stderr [2024-08-10T02:59:48.578Z] STF 02:59:47.896 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/output_1723254942881/UpgModPath_Jar_0/20240810-025938-UpgModPathTest/results/5.CMJ.stdout [2024-08-10T02:59:48.578Z] STF 02:59:47.898 - Monitoring processes: CMJ [2024-08-10T02:59:49.167Z] STF 02:59:48.832 - Monitoring Report Summary: [2024-08-10T02:59:49.167Z] STF 02:59:48.832 - o Process CMJ ended with the expected exit code (0) [2024-08-10T02:59:49.167Z] STF 02:59:48.832 - Created modular jar: 5.com.test.jar [2024-08-10T02:59:49.167Z] STF 02:59:48.832 - [2024-08-10T02:59:49.167Z] STF 02:59:48.832 - +------ Step 6 - Create runtime image for upgrademodulepath test [2024-08-10T02:59:49.167Z] STF 02:59:48.832 - | Run jlink to create runtime image [2024-08-10T02:59:49.167Z] STF 02:59:48.832 - | ImageName: UpJVM [2024-08-10T02:59:49.167Z] STF 02:59:48.832 - | [2024-08-10T02:59:49.167Z] STF 02:59:48.832 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/output_1723254942881/UpgModPath_Jar_0/20240810-025938-UpgModPathTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/output_1723254942881/UpgModPath_Jar_0/20240810-025938-UpgModPathTest/tmp/6.UpJVM [2024-08-10T02:59:49.168Z] STF 02:59:48.832 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/output_1723254942881/UpgModPath_Jar_0/20240810-025938-UpgModPathTest/results/6.JLNK.stderr [2024-08-10T02:59:49.168Z] STF 02:59:48.832 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/output_1723254942881/UpgModPath_Jar_0/20240810-025938-UpgModPathTest/results/6.JLNK.stdout [2024-08-10T02:59:49.168Z] STF 02:59:48.834 - Monitoring processes: JLNK [2024-08-10T02:59:56.892Z] STF 02:59:56.058 - Monitoring Report Summary: [2024-08-10T02:59:56.892Z] STF 02:59:56.058 - o Process JLNK ended with the expected exit code (0) [2024-08-10T02:59:56.892Z] STF 02:59:56.059 - [2024-08-10T02:59:56.892Z] STF 02:59:56.059 - +------ Step 7 - Create com.hello override jar [2024-08-10T02:59:56.892Z] STF 02:59:56.059 - | Create modular jar [2024-08-10T02:59:56.892Z] STF 02:59:56.059 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-08-10T02:59:56.892Z] STF 02:59:56.059 - | ModuleVersion: null [2024-08-10T02:59:56.892Z] STF 02:59:56.059 - | MainClass: null [2024-08-10T02:59:56.892Z] STF 02:59:56.059 - | HashModules: null [2024-08-10T02:59:56.892Z] STF 02:59:56.059 - | [2024-08-10T02:59:56.892Z] STF 02:59:56.059 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/output_1723254942881/UpgModPath_Jar_0/20240810-025938-UpgModPathTest/modules/7.com.hello.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2024-08-10T02:59:56.892Z] STF 02:59:56.059 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/output_1723254942881/UpgModPath_Jar_0/20240810-025938-UpgModPathTest/results/7.CMJ.stderr [2024-08-10T02:59:56.892Z] STF 02:59:56.059 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/output_1723254942881/UpgModPath_Jar_0/20240810-025938-UpgModPathTest/results/7.CMJ.stdout [2024-08-10T02:59:56.892Z] STF 02:59:56.061 - Monitoring processes: CMJ [2024-08-10T02:59:57.490Z] STF 02:59:56.863 - Monitoring Report Summary: [2024-08-10T02:59:57.490Z] STF 02:59:56.863 - o Process CMJ ended with the expected exit code (0) [2024-08-10T02:59:57.490Z] STF 02:59:56.864 - Created modular jar: 7.com.hello.jar [2024-08-10T02:59:57.490Z] STF 02:59:56.864 - [2024-08-10T02:59:57.490Z] STF 02:59:56.864 - +------ Step 8 - Create com.hello override jar [2024-08-10T02:59:57.490Z] STF 02:59:56.864 - | Create modular jar [2024-08-10T02:59:57.490Z] STF 02:59:56.864 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2024-08-10T02:59:57.490Z] STF 02:59:56.864 - | ModuleVersion: null [2024-08-10T02:59:57.490Z] STF 02:59:56.864 - | MainClass: null [2024-08-10T02:59:57.490Z] STF 02:59:56.864 - | HashModules: null [2024-08-10T02:59:57.490Z] STF 02:59:56.864 - | [2024-08-10T02:59:57.490Z] STF 02:59:56.864 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/output_1723254942881/UpgModPath_Jar_0/20240810-025938-UpgModPathTest/modules/8.java.logging.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.logging . [2024-08-10T02:59:57.490Z] STF 02:59:56.864 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/output_1723254942881/UpgModPath_Jar_0/20240810-025938-UpgModPathTest/results/8.CMJ.stderr [2024-08-10T02:59:57.490Z] STF 02:59:56.864 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/output_1723254942881/UpgModPath_Jar_0/20240810-025938-UpgModPathTest/results/8.CMJ.stdout [2024-08-10T02:59:57.490Z] STF 02:59:56.866 - Monitoring processes: CMJ [2024-08-10T02:59:58.110Z] STF 02:59:57.689 - Monitoring Report Summary: [2024-08-10T02:59:58.110Z] STF 02:59:57.689 - o Process CMJ ended with the expected exit code (0) [2024-08-10T02:59:58.110Z] STF 02:59:57.689 - Created modular jar: 8.java.logging.jar [2024-08-10T02:59:58.110Z] STF 02:59:57.689 - [2024-08-10T02:59:58.110Z] STF 02:59:57.689 - +------ Step 9 - Override an application module using modularized jar [2024-08-10T02:59:58.110Z] STF 02:59:57.689 - | Run foreground process [2024-08-10T02:59:58.110Z] STF 02:59:57.689 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jdkbinary/j2sdk-image/bin/java [2024-08-10T02:59:58.110Z] STF 02:59:57.689 - | Mnemonic: OT21 [2024-08-10T02:59:58.110Z] STF 02:59:57.689 - | Echo: ECHO_ON [2024-08-10T02:59:58.110Z] STF 02:59:57.689 - | Expectation: CLEAN_RUN within 1m [2024-08-10T02:59:58.110Z] STF 02:59:57.689 - | [2024-08-10T02:59:58.110Z] STF 02:59:57.689 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --upgrade-module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/output_1723254942881/UpgModPath_Jar_0/20240810-025938-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 [2024-08-10T02:59:58.110Z] STF 02:59:57.689 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/output_1723254942881/UpgModPath_Jar_0/20240810-025938-UpgModPathTest/results/9.OT21.stderr [2024-08-10T02:59:58.110Z] STF 02:59:57.689 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/output_1723254942881/UpgModPath_Jar_0/20240810-025938-UpgModPathTest/results/9.OT21.stdout [2024-08-10T02:59:58.110Z] STF 02:59:57.691 - Monitoring processes: OT21 [2024-08-10T02:59:58.726Z] OT21 JUnit version 4.12 [2024-08-10T02:59:59.347Z] OT21 . [2024-08-10T02:59:59.347Z] OT21 Time: 0.009 [2024-08-10T02:59:59.347Z] OT21 [2024-08-10T02:59:59.347Z] OT21 OK (1 test) [2024-08-10T02:59:59.347Z] OT21 [2024-08-10T02:59:59.347Z] STF 02:59:58.863 - Monitoring Report Summary: [2024-08-10T02:59:59.347Z] STF 02:59:58.863 - o Process OT21 ended with the expected exit code (0) [2024-08-10T02:59:59.347Z] STF 02:59:58.864 - [2024-08-10T02:59:59.347Z] STF 02:59:58.864 - +------ Step 10 - (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar [2024-08-10T02:59:59.347Z] STF 02:59:58.864 - | Run foreground process [2024-08-10T02:59:59.347Z] STF 02:59:58.864 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jdkbinary/j2sdk-image/bin/java [2024-08-10T02:59:59.347Z] STF 02:59:58.864 - | Mnemonic: OT24 [2024-08-10T02:59:59.347Z] STF 02:59:58.864 - | Echo: ECHO_ON [2024-08-10T02:59:59.347Z] STF 02:59:58.864 - | Expectation: NON_ZERO_EXIT [1] within 1m [2024-08-10T02:59:59.347Z] STF 02:59:58.864 - | [2024-08-10T02:59:59.347Z] STF 02:59:58.864 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --upgrade-module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/output_1723254942881/UpgModPath_Jar_0/20240810-025938-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 [2024-08-10T02:59:59.347Z] STF 02:59:58.864 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/output_1723254942881/UpgModPath_Jar_0/20240810-025938-UpgModPathTest/results/10.OT24.stderr [2024-08-10T02:59:59.347Z] STF 02:59:58.864 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/output_1723254942881/UpgModPath_Jar_0/20240810-025938-UpgModPathTest/results/10.OT24.stdout [2024-08-10T02:59:59.347Z] STF 02:59:58.866 - Monitoring processes: OT24 [2024-08-10T02:59:59.957Z] OT24 Error occurred during initialization of boot layer [2024-08-10T02:59:59.957Z] OT24 java.lang.module.FindException: Hash of java.logging (6538e4329dfd0a3379d9797216f91349929c40c383aa5df89f209224446ef6fb) differs to expected hash (0c4fe9a9cd753af9ae498c650a8e3d3cd18ad12d24266ca45168e6536d17500b) recorded in java.base [2024-08-10T02:59:59.957Z] STF 02:59:59.683 - Monitoring Report Summary: [2024-08-10T02:59:59.957Z] STF 02:59:59.683 - o Process OT24 ended with the expected exit code (1) [2024-08-10T02:59:59.957Z] STF 02:59:59.683 - [2024-08-10T02:59:59.957Z] STF 02:59:59.683 - +------ Step 11 - Combine stderr and stdout files of process OT24 [2024-08-10T02:59:59.957Z] STF 02:59:59.683 - | Run foreground process [2024-08-10T02:59:59.957Z] STF 02:59:59.683 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jdkbinary/j2sdk-image/bin/java [2024-08-10T02:59:59.957Z] STF 02:59:59.683 - | Mnemonic: CO [2024-08-10T02:59:59.957Z] STF 02:59:59.683 - | Echo: ECHO_OFF [2024-08-10T02:59:59.957Z] STF 02:59:59.683 - | Expectation: NON_ZERO_EXIT [0] within 30s [2024-08-10T02:59:59.957Z] STF 02:59:59.683 - | [2024-08-10T02:59:59.957Z] STF 02:59:59.684 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jdkbinary/j2sdk-image/bin/java -Dfile1=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/output_1723254942881/UpgModPath_Jar_0/20240810-025938-UpgModPathTest/results/10.OT24.stdout -Dfile2=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/output_1723254942881/UpgModPath_Jar_0/20240810-025938-UpgModPathTest/results/10.OT24.stderr -Dfinal.file=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/output_1723254942881/UpgModPath_Jar_0/20240810-025938-UpgModPathTest/results/combinedOT24.txt -XX:+UseCompressedOops -classpath /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jvmtest/system/STF/stf.core/bin:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin net.adoptopenjdk.test.modularity.TestUtil [2024-08-10T02:59:59.957Z] STF 02:59:59.684 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/output_1723254942881/UpgModPath_Jar_0/20240810-025938-UpgModPathTest/results/11.CO.stderr [2024-08-10T02:59:59.957Z] STF 02:59:59.684 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/output_1723254942881/UpgModPath_Jar_0/20240810-025938-UpgModPathTest/results/11.CO.stdout [2024-08-10T02:59:59.957Z] STF 02:59:59.685 - Monitoring processes: CO [2024-08-10T03:00:01.257Z] STF 03:00:00.547 - Monitoring Report Summary: [2024-08-10T03:00:01.257Z] STF 03:00:00.547 - o Process CO ended with the expected exit code (0) [2024-08-10T03:00:01.257Z] STF 03:00:00.548 - [2024-08-10T03:00:01.257Z] STF 03:00:00.548 - +------ Step 12 - Check output [2024-08-10T03:00:01.257Z] STF 03:00:00.548 - | Count file matches [2024-08-10T03:00:01.257Z] STF 03:00:00.548 - | TargetFile: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/output_1723254942881/UpgModPath_Jar_0/20240810-025938-UpgModPathTest/results/combinedOT24.txt [2024-08-10T03:00:01.257Z] STF 03:00:00.548 - | ExpectedNumMatches: 1 [2024-08-10T03:00:01.257Z] STF 03:00:00.548 - | SearchStrings: ["FindException: Hash of java.logging"] [2024-08-10T03:00:01.257Z] STF 03:00:00.548 - | [2024-08-10T03:00:01.257Z] STF 03:00:00.548 - Found 1 instances of ["FindException: Hash of java.logging"] [2024-08-10T03:00:01.257Z] STF 03:00:00.548 - EXECUTE stage completed [2024-08-10T03:00:01.257Z] STF 03:00:00.699 - [2024-08-10T03:00:01.257Z] STF 03:00:00.699 - ==================== T E A R D O W N ==================== [2024-08-10T03:00:01.257Z] STF 03:00:00.699 - Running teardown: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_s390x_linux_testList_1/aqa-tests/TKG/../TKG/output_1723254942881/UpgModPath_Jar_0/20240810-025938-UpgModPathTest/tearDown.pl [2024-08-10T03:00:01.257Z] STF 03:00:00.764 - TEARDOWN stage completed [2024-08-10T03:00:01.257Z] STF 03:00:00.771 - [2024-08-10T03:00:01.257Z] STF 03:00:00.771 - ===================== R E S U L T S ===================== [2024-08-10T03:00:01.257Z] STF 03:00:00.771 - Stage results: [2024-08-10T03:00:01.257Z] STF 03:00:00.771 - setUp: pass [2024-08-10T03:00:01.257Z] STF 03:00:00.771 - execute: pass [2024-08-10T03:00:01.257Z] STF 03:00:00.771 - teardown: pass [2024-08-10T03:00:01.257Z] STF 03:00:00.771 - [2024-08-10T03:00:01.257Z] STF 03:00:00.771 - Overall result: PASSED [2024-08-10T03:00:01.257Z] ----------------------------------- [2024-08-10T03:00:01.257Z] UpgModPath_Jar_0_PASSED [2024-08-10T03:00:01.257Z] ----------------------------------- [2024-08-10T03:00:01.257Z] [2024-08-10T03:00:01.257Z] TEST TEARDOWN: [2024-08-10T03:00:01.257Z] Nothing to be done for teardown. [2024-08-10T03:00:01.257Z] UpgModPath_Jar_0 Finish Time: Sat Aug 10 03:00:00 2024 Epoch Time (ms): 1723258800808