UpgModPath_JarImg_0

[2025-01-11T01:52:50.002Z] Running test UpgModPath_JarImg_0 ... [2025-01-11T01:52:50.002Z] =============================================== [2025-01-11T01:52:50.002Z] UpgModPath_JarImg_0 Start Time: Sat Jan 11 01:52:49 2025 Epoch Time (ms): 1736560369481 [2025-01-11T01:52:50.002Z] variation: Mode150 [2025-01-11T01:52:50.002Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-01-11T01:52:50.002Z] { \ [2025-01-11T01:52:50.002Z] echo ""; echo "TEST SETUP:"; \ [2025-01-11T01:52:50.002Z] echo "Nothing to be done for setup."; \ [2025-01-11T01:52:50.002Z] mkdir -p "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/../TKG/output_17365535709318/UpgModPath_JarImg_0"; \ [2025-01-11T01:52:50.002Z] cd "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/../TKG/output_17365535709318/UpgModPath_JarImg_0"; \ [2025-01-11T01:52:50.002Z] echo ""; echo "TESTING:"; \ [2025-01-11T01:52:50.002Z] perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/../../testDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/../TKG/output_17365535709318/UpgModPath_JarImg_0" -test=UpgModPathTest -test-args="variant=JarImg"; \ [2025-01-11T01:52:50.002Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_JarImg_0""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/../TKG/output_17365535709318/UpgModPath_JarImg_0"; else echo "-----------------------------------"; echo "UpgModPath_JarImg_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-01-11T01:52:50.003Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-01-11T01:52:50.003Z] echo "Nothing to be done for teardown."; \ [2025-01-11T01:52:50.003Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/../TKG/output_17365535709318/TestTargetResult"; [2025-01-11T01:52:50.003Z] [2025-01-11T01:52:50.003Z] TEST SETUP: [2025-01-11T01:52:50.003Z] Nothing to be done for setup. [2025-01-11T01:52:50.003Z] [2025-01-11T01:52:50.003Z] TESTING: [2025-01-11T01:52:50.003Z] STF 01:52:49.589 - ========================= S T F ========================= [2025-01-11T01:52:50.003Z] 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_ppc64_aix_testList_0/aqa-tests/TKG/../TKG/output_17365535709318/UpgModPath_JarImg_0 [2025-01-11T01:52:50.003Z] There is 17434 Mb free [2025-01-11T01:52:50.003Z] STF 01:52:49.604 - ================== G E N E R A T I O N ================== [2025-01-11T01:52:50.003Z] STF 01:52:49.606 - Checking JVM: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/jdkbinary/j2sdk-image [2025-01-11T01:52:50.003Z] STF 01:52:49.606 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/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_ppc64_aix_testList_0/../../testDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/../../testDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/../TKG/output_17365535709318/UpgModPath_JarImg_0/20250111-015249-UpgModPathTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/../TKG/output_17365535709318/UpgModPath_JarImg_0/20250111-015249-UpgModPathTest" [2025-01-11T01:52:51.591Z] GEN 01:52:50.773 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: '/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-01-11T01:52:51.591Z] GEN 01:52:50.785 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2025-01-11T01:52:51.591Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-01-11T01:52:51.591Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-01-11T01:52:51.591Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-01-11T01:52:51.591Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-01-11T01:52:51.591Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-01-11T01:52:51.591Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-01-11T01:52:51.591Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-01-11T01:52:51.591Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-01-11T01:52:51.591Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-01-11T01:52:51.591Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-01-11T01:52:51.591Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-01-11T01:52:51.591Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-01-11T01:52:51.591Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-01-11T01:52:51.591Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-01-11T01:52:51.591Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-01-11T01:52:51.591Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-01-11T01:52:51.591Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/STF/stf.core/bin [2025-01-11T01:52:51.591Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-01-11T01:52:51.591Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-01-11T01:52:51.591Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar [2025-01-11T01:52:51.591Z] GEN 01:52:51.049 - Using Mode NoOptions. Values = '' [2025-01-11T01:52:51.591Z] GEN 01:52:51.181 - [2025-01-11T01:52:51.591Z] GEN 01:52:51.182 - Test command summary: [2025-01-11T01:52:51.591Z] GEN 01:52:51.182 - Step Stage Command Description [2025-01-11T01:52:51.591Z] GEN 01:52:51.182 - -----+--------+-----------------+------------ [2025-01-11T01:52:51.591Z] GEN 01:52:51.182 - 1 execute jar Create com.hello jar [2025-01-11T01:52:51.591Z] GEN 01:52:51.182 - 2 execute jar Create com.hola jar [2025-01-11T01:52:51.591Z] GEN 01:52:51.182 - 3 execute jar Create com.helper jar [2025-01-11T01:52:51.591Z] GEN 01:52:51.182 - 4 execute jar Create com.discreet jar [2025-01-11T01:52:51.591Z] GEN 01:52:51.182 - 5 execute jar Create tests jar [2025-01-11T01:52:51.591Z] GEN 01:52:51.183 - 6 execute jlink Create runtime image for upgrademodulepath test [2025-01-11T01:52:51.591Z] GEN 01:52:51.183 - 7 execute jar Create com.hello override jar [2025-01-11T01:52:51.591Z] GEN 01:52:51.183 - 8 execute jar Create com.hello override jar [2025-01-11T01:52:51.591Z] GEN 01:52:51.183 - 9 execute Run java Override an application module using a custom runtime image where the overriding module is in a modularized jar [2025-01-11T01:52:51.591Z] GEN 01:52:51.183 - 10 execute Run java (Negative test) Override a non-upgradable platform module using a custom runtime imagewhere the overriding module is in a modularized jar [2025-01-11T01:52:51.591Z] GEN 01:52:51.183 - 11 execute Run java Combine stderr and stdout files of process OT27 [2025-01-11T01:52:51.591Z] GEN 01:52:51.183 - 12 execute count Check output [2025-01-11T01:52:51.591Z] STF 01:52:51.223 - [2025-01-11T01:52:51.591Z] STF 01:52:51.223 - Script generation completed [2025-01-11T01:52:51.591Z] STF 01:52:51.223 - [2025-01-11T01:52:51.591Z] STF 01:52:51.223 - [2025-01-11T01:52:51.591Z] STF 01:52:51.223 - ======================= S E T U P ======================= [2025-01-11T01:52:51.591Z] STF 01:52:51.223 - Running setup: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/../TKG/output_17365535709318/UpgModPath_JarImg_0/20250111-015249-UpgModPathTest/setUp.pl [2025-01-11T01:52:51.591Z] STF 01:52:51.307 - SETUP stage completed [2025-01-11T01:52:51.591Z] STF 01:52:51.313 - [2025-01-11T01:52:51.591Z] STF 01:52:51.313 - ==================== E X E C U T E - ==================== [2025-01-11T01:52:51.591Z] STF 01:52:51.313 - Running execute: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/../TKG/output_17365535709318/UpgModPath_JarImg_0/20250111-015249-UpgModPathTest/execute.pl [2025-01-11T01:52:51.591Z] STF 01:52:51.398 - [2025-01-11T01:52:51.591Z] STF 01:52:51.398 - Java version [2025-01-11T01:52:51.591Z] STF 01:52:51.398 - Running: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/jdkbinary/j2sdk-image/bin/java -version [2025-01-11T01:52:52.359Z] openjdk version "11.0.26" 2025-01-21 [2025-01-11T01:52:52.359Z] OpenJDK Runtime Environment Temurin-11.0.26+3 (build 11.0.26+3) [2025-01-11T01:52:52.359Z] OpenJDK 64-Bit Server VM Temurin-11.0.26+3 (build 11.0.26+3, mixed mode) [2025-01-11T01:52:52.359Z] STF 01:52:51.508 - [2025-01-11T01:52:52.359Z] STF 01:52:51.508 - +------ Step 1 - Create com.hello jar [2025-01-11T01:52:52.359Z] STF 01:52:51.508 - | Create modular jar [2025-01-11T01:52:52.359Z] STF 01:52:51.508 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-01-11T01:52:52.359Z] STF 01:52:51.508 - | ModuleVersion: null [2025-01-11T01:52:52.359Z] STF 01:52:51.508 - | MainClass: null [2025-01-11T01:52:52.359Z] STF 01:52:51.508 - | HashModules: null [2025-01-11T01:52:52.359Z] STF 01:52:51.508 - | [2025-01-11T01:52:52.359Z] STF 01:52:51.509 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17365535709318/UpgModPath_JarImg_0/20250111-015249-UpgModPathTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-01-11T01:52:52.359Z] STF 01:52:51.509 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17365535709318/UpgModPath_JarImg_0/20250111-015249-UpgModPathTest/results/1.CMJ.stderr [2025-01-11T01:52:52.359Z] STF 01:52:51.509 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17365535709318/UpgModPath_JarImg_0/20250111-015249-UpgModPathTest/results/1.CMJ.stdout [2025-01-11T01:52:52.359Z] STF 01:52:51.529 - Monitoring processes: CMJ [2025-01-11T01:52:52.359Z] STF 01:52:51.777 - Monitoring Report Summary: [2025-01-11T01:52:52.359Z] STF 01:52:51.777 - o Process CMJ ended with the expected exit code (0) [2025-01-11T01:52:52.359Z] STF 01:52:51.777 - Created modular jar: 1.com.hello.jar [2025-01-11T01:52:52.359Z] STF 01:52:51.777 - [2025-01-11T01:52:52.359Z] STF 01:52:51.777 - +------ Step 2 - Create com.hola jar [2025-01-11T01:52:52.359Z] STF 01:52:51.777 - | Create modular jar [2025-01-11T01:52:52.359Z] STF 01:52:51.777 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-01-11T01:52:52.359Z] STF 01:52:51.778 - | ModuleVersion: null [2025-01-11T01:52:52.359Z] STF 01:52:51.778 - | MainClass: null [2025-01-11T01:52:52.359Z] STF 01:52:51.778 - | HashModules: null [2025-01-11T01:52:52.359Z] STF 01:52:51.778 - | [2025-01-11T01:52:52.359Z] STF 01:52:51.778 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17365535709318/UpgModPath_JarImg_0/20250111-015249-UpgModPathTest/modules/2.com.hola.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2025-01-11T01:52:52.359Z] STF 01:52:51.778 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17365535709318/UpgModPath_JarImg_0/20250111-015249-UpgModPathTest/results/2.CMJ.stderr [2025-01-11T01:52:52.359Z] STF 01:52:51.778 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17365535709318/UpgModPath_JarImg_0/20250111-015249-UpgModPathTest/results/2.CMJ.stdout [2025-01-11T01:52:52.359Z] STF 01:52:51.784 - Monitoring processes: CMJ [2025-01-11T01:52:52.359Z] STF 01:52:52.037 - Monitoring Report Summary: [2025-01-11T01:52:52.359Z] STF 01:52:52.037 - o Process CMJ ended with the expected exit code (0) [2025-01-11T01:52:52.359Z] STF 01:52:52.037 - Created modular jar: 2.com.hola.jar [2025-01-11T01:52:52.359Z] STF 01:52:52.037 - [2025-01-11T01:52:52.359Z] STF 01:52:52.037 - +------ Step 3 - Create com.helper jar [2025-01-11T01:52:52.359Z] STF 01:52:52.037 - | Create modular jar [2025-01-11T01:52:52.359Z] STF 01:52:52.037 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-01-11T01:52:52.359Z] STF 01:52:52.037 - | ModuleVersion: null [2025-01-11T01:52:52.359Z] STF 01:52:52.037 - | MainClass: null [2025-01-11T01:52:52.359Z] STF 01:52:52.037 - | HashModules: null [2025-01-11T01:52:52.359Z] STF 01:52:52.037 - | [2025-01-11T01:52:52.359Z] STF 01:52:52.038 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17365535709318/UpgModPath_JarImg_0/20250111-015249-UpgModPathTest/modules/3.com.helper.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2025-01-11T01:52:52.359Z] STF 01:52:52.038 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17365535709318/UpgModPath_JarImg_0/20250111-015249-UpgModPathTest/results/3.CMJ.stderr [2025-01-11T01:52:52.359Z] STF 01:52:52.038 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17365535709318/UpgModPath_JarImg_0/20250111-015249-UpgModPathTest/results/3.CMJ.stdout [2025-01-11T01:52:52.359Z] STF 01:52:52.044 - Monitoring processes: CMJ [2025-01-11T01:52:53.145Z] STF 01:52:52.284 - Monitoring Report Summary: [2025-01-11T01:52:53.145Z] STF 01:52:52.284 - o Process CMJ ended with the expected exit code (0) [2025-01-11T01:52:53.145Z] STF 01:52:52.285 - Created modular jar: 3.com.helper.jar [2025-01-11T01:52:53.145Z] STF 01:52:52.285 - [2025-01-11T01:52:53.145Z] STF 01:52:52.285 - +------ Step 4 - Create com.discreet jar [2025-01-11T01:52:53.145Z] STF 01:52:52.285 - | Create modular jar [2025-01-11T01:52:53.145Z] STF 01:52:52.285 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-01-11T01:52:53.145Z] STF 01:52:52.285 - | ModuleVersion: null [2025-01-11T01:52:53.145Z] STF 01:52:52.285 - | MainClass: null [2025-01-11T01:52:53.145Z] STF 01:52:52.285 - | HashModules: null [2025-01-11T01:52:53.145Z] STF 01:52:52.285 - | [2025-01-11T01:52:53.145Z] STF 01:52:52.285 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17365535709318/UpgModPath_JarImg_0/20250111-015249-UpgModPathTest/modules/4.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2025-01-11T01:52:53.145Z] STF 01:52:52.285 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17365535709318/UpgModPath_JarImg_0/20250111-015249-UpgModPathTest/results/4.CMJ.stderr [2025-01-11T01:52:53.145Z] STF 01:52:52.285 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17365535709318/UpgModPath_JarImg_0/20250111-015249-UpgModPathTest/results/4.CMJ.stdout [2025-01-11T01:52:53.145Z] STF 01:52:52.291 - Monitoring processes: CMJ [2025-01-11T01:52:53.145Z] STF 01:52:52.538 - Monitoring Report Summary: [2025-01-11T01:52:53.145Z] STF 01:52:52.539 - o Process CMJ ended with the expected exit code (0) [2025-01-11T01:52:53.145Z] STF 01:52:52.539 - Created modular jar: 4.com.discreet.jar [2025-01-11T01:52:53.145Z] STF 01:52:52.539 - [2025-01-11T01:52:53.145Z] STF 01:52:52.539 - +------ Step 5 - Create tests jar [2025-01-11T01:52:53.145Z] STF 01:52:52.539 - | Create modular jar [2025-01-11T01:52:53.145Z] STF 01:52:52.539 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-01-11T01:52:53.145Z] STF 01:52:52.539 - | ModuleVersion: null [2025-01-11T01:52:53.145Z] STF 01:52:52.539 - | MainClass: null [2025-01-11T01:52:53.145Z] STF 01:52:52.539 - | HashModules: null [2025-01-11T01:52:53.145Z] STF 01:52:52.539 - | [2025-01-11T01:52:53.145Z] STF 01:52:52.539 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17365535709318/UpgModPath_JarImg_0/20250111-015249-UpgModPathTest/modules/5.com.test.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2025-01-11T01:52:53.145Z] STF 01:52:52.539 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17365535709318/UpgModPath_JarImg_0/20250111-015249-UpgModPathTest/results/5.CMJ.stderr [2025-01-11T01:52:53.145Z] STF 01:52:52.539 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17365535709318/UpgModPath_JarImg_0/20250111-015249-UpgModPathTest/results/5.CMJ.stdout [2025-01-11T01:52:53.145Z] STF 01:52:52.546 - Monitoring processes: CMJ [2025-01-11T01:52:53.145Z] STF 01:52:52.805 - Monitoring Report Summary: [2025-01-11T01:52:53.145Z] STF 01:52:52.806 - o Process CMJ ended with the expected exit code (0) [2025-01-11T01:52:53.145Z] STF 01:52:52.806 - Created modular jar: 5.com.test.jar [2025-01-11T01:52:53.145Z] STF 01:52:52.806 - [2025-01-11T01:52:53.145Z] STF 01:52:52.806 - +------ Step 6 - Create runtime image for upgrademodulepath test [2025-01-11T01:52:53.145Z] STF 01:52:52.806 - | Run jlink to create runtime image [2025-01-11T01:52:53.145Z] STF 01:52:52.806 - | ImageName: UpJVM [2025-01-11T01:52:53.145Z] STF 01:52:52.806 - | [2025-01-11T01:52:53.145Z] STF 01:52:52.806 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17365535709318/UpgModPath_JarImg_0/20250111-015249-UpgModPathTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17365535709318/UpgModPath_JarImg_0/20250111-015249-UpgModPathTest/tmp/6.UpJVM [2025-01-11T01:52:53.145Z] STF 01:52:52.806 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17365535709318/UpgModPath_JarImg_0/20250111-015249-UpgModPathTest/results/6.JLNK.stderr [2025-01-11T01:52:53.145Z] STF 01:52:52.806 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17365535709318/UpgModPath_JarImg_0/20250111-015249-UpgModPathTest/results/6.JLNK.stdout [2025-01-11T01:52:53.145Z] STF 01:52:52.813 - Monitoring processes: JLNK [2025-01-11T01:52:55.617Z] STF 01:52:55.404 - Monitoring Report Summary: [2025-01-11T01:52:55.617Z] STF 01:52:55.404 - o Process JLNK ended with the expected exit code (0) [2025-01-11T01:52:55.617Z] STF 01:52:55.404 - [2025-01-11T01:52:55.617Z] STF 01:52:55.405 - +------ Step 7 - Create com.hello override jar [2025-01-11T01:52:55.617Z] STF 01:52:55.405 - | Create modular jar [2025-01-11T01:52:55.617Z] STF 01:52:55.405 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-01-11T01:52:55.617Z] STF 01:52:55.405 - | ModuleVersion: null [2025-01-11T01:52:55.617Z] STF 01:52:55.405 - | MainClass: null [2025-01-11T01:52:55.617Z] STF 01:52:55.405 - | HashModules: null [2025-01-11T01:52:55.617Z] STF 01:52:55.405 - | [2025-01-11T01:52:55.617Z] STF 01:52:55.405 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17365535709318/UpgModPath_JarImg_0/20250111-015249-UpgModPathTest/modules/7.com.hello.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2025-01-11T01:52:55.617Z] STF 01:52:55.405 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17365535709318/UpgModPath_JarImg_0/20250111-015249-UpgModPathTest/results/7.CMJ.stderr [2025-01-11T01:52:55.617Z] STF 01:52:55.405 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17365535709318/UpgModPath_JarImg_0/20250111-015249-UpgModPathTest/results/7.CMJ.stdout [2025-01-11T01:52:55.617Z] STF 01:52:55.411 - Monitoring processes: CMJ [2025-01-11T01:52:56.389Z] STF 01:52:55.667 - Monitoring Report Summary: [2025-01-11T01:52:56.389Z] STF 01:52:55.667 - o Process CMJ ended with the expected exit code (0) [2025-01-11T01:52:56.389Z] STF 01:52:55.667 - Created modular jar: 7.com.hello.jar [2025-01-11T01:52:56.389Z] STF 01:52:55.667 - [2025-01-11T01:52:56.389Z] STF 01:52:55.667 - +------ Step 8 - Create com.hello override jar [2025-01-11T01:52:56.389Z] STF 01:52:55.667 - | Create modular jar [2025-01-11T01:52:56.389Z] STF 01:52:55.667 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2025-01-11T01:52:56.389Z] STF 01:52:55.667 - | ModuleVersion: null [2025-01-11T01:52:56.389Z] STF 01:52:55.667 - | MainClass: null [2025-01-11T01:52:56.389Z] STF 01:52:55.667 - | HashModules: null [2025-01-11T01:52:56.389Z] STF 01:52:55.667 - | [2025-01-11T01:52:56.389Z] STF 01:52:55.667 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17365535709318/UpgModPath_JarImg_0/20250111-015249-UpgModPathTest/modules/8.java.logging.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.logging . [2025-01-11T01:52:56.389Z] STF 01:52:55.667 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17365535709318/UpgModPath_JarImg_0/20250111-015249-UpgModPathTest/results/8.CMJ.stderr [2025-01-11T01:52:56.389Z] STF 01:52:55.667 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17365535709318/UpgModPath_JarImg_0/20250111-015249-UpgModPathTest/results/8.CMJ.stdout [2025-01-11T01:52:56.389Z] STF 01:52:55.674 - Monitoring processes: CMJ [2025-01-11T01:52:56.389Z] STF 01:52:55.915 - Monitoring Report Summary: [2025-01-11T01:52:56.389Z] STF 01:52:55.916 - o Process CMJ ended with the expected exit code (0) [2025-01-11T01:52:56.389Z] STF 01:52:55.916 - Created modular jar: 8.java.logging.jar [2025-01-11T01:52:56.389Z] STF 01:52:55.916 - [2025-01-11T01:52:56.389Z] STF 01:52:55.916 - +------ Step 9 - Override an application module using a custom runtime image where the overriding module is in a modularized jar [2025-01-11T01:52:56.389Z] STF 01:52:55.916 - | Run foreground process [2025-01-11T01:52:56.389Z] STF 01:52:55.916 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17365535709318/UpgModPath_JarImg_0/20250111-015249-UpgModPathTest/tmp/6.UpJVM/bin/java [2025-01-11T01:52:56.389Z] STF 01:52:55.916 - | Mnemonic: OT25 [2025-01-11T01:52:56.389Z] STF 01:52:55.916 - | Echo: ECHO_ON [2025-01-11T01:52:56.389Z] STF 01:52:55.916 - | Expectation: CLEAN_RUN within 1m [2025-01-11T01:52:56.389Z] STF 01:52:55.916 - | [2025-01-11T01:52:56.389Z] STF 01:52:55.916 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17365535709318/UpgModPath_JarImg_0/20250111-015249-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17365535709318/UpgModPath_JarImg_0/20250111-015249-UpgModPathTest/modules/7.com.hello.jar -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-01-11T01:52:56.389Z] STF 01:52:55.916 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17365535709318/UpgModPath_JarImg_0/20250111-015249-UpgModPathTest/results/9.OT25.stderr [2025-01-11T01:52:56.389Z] STF 01:52:55.916 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17365535709318/UpgModPath_JarImg_0/20250111-015249-UpgModPathTest/results/9.OT25.stdout [2025-01-11T01:52:56.389Z] STF 01:52:55.921 - Monitoring processes: OT25 [2025-01-11T01:52:57.173Z] OT25 JUnit version 4.12 [2025-01-11T01:52:57.173Z] OT25 . [2025-01-11T01:52:57.173Z] OT25 Time: 0.009 [2025-01-11T01:52:57.173Z] OT25 [2025-01-11T01:52:57.173Z] OT25 OK (1 test) [2025-01-11T01:52:57.173Z] OT25 [2025-01-11T01:52:57.173Z] STF 01:52:56.671 - Monitoring Report Summary: [2025-01-11T01:52:57.173Z] STF 01:52:56.671 - o Process OT25 ended with the expected exit code (0) [2025-01-11T01:52:57.173Z] STF 01:52:56.671 - [2025-01-11T01:52:57.173Z] STF 01:52:56.671 - +------ Step 10 - (Negative test) Override a non-upgradable platform module using a custom runtime imagewhere the overriding module is in a modularized jar [2025-01-11T01:52:57.173Z] STF 01:52:56.671 - | Run foreground process [2025-01-11T01:52:57.173Z] STF 01:52:56.671 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17365535709318/UpgModPath_JarImg_0/20250111-015249-UpgModPathTest/tmp/6.UpJVM/bin/java [2025-01-11T01:52:57.173Z] STF 01:52:56.671 - | Mnemonic: OT27 [2025-01-11T01:52:57.173Z] STF 01:52:56.671 - | Echo: ECHO_ON [2025-01-11T01:52:57.173Z] STF 01:52:56.671 - | Expectation: NON_ZERO_EXIT [1] within 1m [2025-01-11T01:52:57.173Z] STF 01:52:56.671 - | [2025-01-11T01:52:57.173Z] STF 01:52:56.672 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17365535709318/UpgModPath_JarImg_0/20250111-015249-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17365535709318/UpgModPath_JarImg_0/20250111-015249-UpgModPathTest/modules/8.java.logging.jar -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-01-11T01:52:57.173Z] STF 01:52:56.672 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17365535709318/UpgModPath_JarImg_0/20250111-015249-UpgModPathTest/results/10.OT27.stderr [2025-01-11T01:52:57.173Z] STF 01:52:56.672 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17365535709318/UpgModPath_JarImg_0/20250111-015249-UpgModPathTest/results/10.OT27.stdout [2025-01-11T01:52:57.173Z] STF 01:52:56.678 - Monitoring processes: OT27 [2025-01-11T01:52:57.173Z] OT27 Error occurred during initialization of boot layer [2025-01-11T01:52:57.173Z] OT27 java.lang.module.FindException: Hash of java.logging (b563d91fccb4d61c5547d134bd25b6f3a7031d9348bb4b767606106dccd884f1) differs to expected hash (35f2069ac0b47ba38f83deca28e934c6620b122efe28add59968b599f4e54a1f) recorded in java.base [2025-01-11T01:52:57.173Z] STF 01:52:56.905 - Monitoring Report Summary: [2025-01-11T01:52:57.173Z] STF 01:52:56.905 - o Process OT27 ended with the expected exit code (1) [2025-01-11T01:52:57.173Z] STF 01:52:56.905 - [2025-01-11T01:52:57.173Z] STF 01:52:56.906 - +------ Step 11 - Combine stderr and stdout files of process OT27 [2025-01-11T01:52:57.173Z] STF 01:52:56.906 - | Run foreground process [2025-01-11T01:52:57.173Z] STF 01:52:56.906 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/jdkbinary/j2sdk-image/bin/java [2025-01-11T01:52:57.173Z] STF 01:52:56.906 - | Mnemonic: CO [2025-01-11T01:52:57.173Z] STF 01:52:56.906 - | Echo: ECHO_OFF [2025-01-11T01:52:57.173Z] STF 01:52:56.906 - | Expectation: NON_ZERO_EXIT [0] within 30s [2025-01-11T01:52:57.173Z] STF 01:52:56.906 - | [2025-01-11T01:52:57.173Z] STF 01:52:56.906 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/jdkbinary/j2sdk-image/bin/java -Dfile1=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17365535709318/UpgModPath_JarImg_0/20250111-015249-UpgModPathTest/results/10.OT27.stdout -Dfile2=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17365535709318/UpgModPath_JarImg_0/20250111-015249-UpgModPathTest/results/10.OT27.stderr -Dfinal.file=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17365535709318/UpgModPath_JarImg_0/20250111-015249-UpgModPathTest/results/combinedOT27.txt -XX:+UseCompressedOops -classpath /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/STF/stf.core/bin:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin net.adoptopenjdk.test.modularity.TestUtil [2025-01-11T01:52:57.173Z] STF 01:52:56.906 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17365535709318/UpgModPath_JarImg_0/20250111-015249-UpgModPathTest/results/11.CO.stderr [2025-01-11T01:52:57.173Z] STF 01:52:56.906 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17365535709318/UpgModPath_JarImg_0/20250111-015249-UpgModPathTest/results/11.CO.stdout [2025-01-11T01:52:57.173Z] STF 01:52:56.913 - Monitoring processes: CO [2025-01-11T01:52:57.945Z] STF 01:52:57.151 - Monitoring Report Summary: [2025-01-11T01:52:57.945Z] STF 01:52:57.152 - o Process CO ended with the expected exit code (0) [2025-01-11T01:52:57.945Z] STF 01:52:57.152 - [2025-01-11T01:52:57.945Z] STF 01:52:57.152 - +------ Step 12 - Check output [2025-01-11T01:52:57.945Z] STF 01:52:57.152 - | Count file matches [2025-01-11T01:52:57.945Z] STF 01:52:57.152 - | TargetFile: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17365535709318/UpgModPath_JarImg_0/20250111-015249-UpgModPathTest/results/combinedOT27.txt [2025-01-11T01:52:57.945Z] STF 01:52:57.152 - | ExpectedNumMatches: 1 [2025-01-11T01:52:57.945Z] STF 01:52:57.152 - | SearchStrings: ["FindException: Hash of java.logging"] [2025-01-11T01:52:57.945Z] STF 01:52:57.152 - | [2025-01-11T01:52:57.945Z] STF 01:52:57.152 - Found 1 instances of ["FindException: Hash of java.logging"] [2025-01-11T01:52:57.945Z] STF 01:52:57.152 - EXECUTE stage completed [2025-01-11T01:52:57.945Z] STF 01:52:57.167 - [2025-01-11T01:52:57.945Z] STF 01:52:57.167 - ==================== T E A R D O W N ==================== [2025-01-11T01:52:57.945Z] STF 01:52:57.167 - Running teardown: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/../TKG/output_17365535709318/UpgModPath_JarImg_0/20250111-015249-UpgModPathTest/tearDown.pl [2025-01-11T01:52:57.945Z] STF 01:52:57.251 - TEARDOWN stage completed [2025-01-11T01:52:57.945Z] STF 01:52:57.261 - [2025-01-11T01:52:57.945Z] STF 01:52:57.261 - ===================== R E S U L T S ===================== [2025-01-11T01:52:57.945Z] STF 01:52:57.261 - Stage results: [2025-01-11T01:52:57.945Z] STF 01:52:57.261 - setUp: pass [2025-01-11T01:52:57.945Z] STF 01:52:57.261 - execute: pass [2025-01-11T01:52:57.945Z] STF 01:52:57.261 - teardown: pass [2025-01-11T01:52:57.945Z] STF 01:52:57.261 - [2025-01-11T01:52:57.945Z] STF 01:52:57.261 - Overall result: PASSED [2025-01-11T01:52:57.945Z] ----------------------------------- [2025-01-11T01:52:57.945Z] UpgModPath_JarImg_0_PASSED [2025-01-11T01:52:57.945Z] ----------------------------------- [2025-01-11T01:52:57.945Z] [2025-01-11T01:52:57.945Z] TEST TEARDOWN: [2025-01-11T01:52:57.945Z] Nothing to be done for teardown. [2025-01-11T01:52:57.945Z] UpgModPath_JarImg_0 Finish Time: Sat Jan 11 01:52:57 2025 Epoch Time (ms): 1736560377328