UpgModPath_JarImg_0

[2025-04-05T14:49:18.328Z] Running test UpgModPath_JarImg_0 ... [2025-04-05T14:49:18.328Z] =============================================== [2025-04-05T14:49:18.328Z] UpgModPath_JarImg_0 Start Time: Sat Apr 5 14:49:17 2025 Epoch Time (ms): 1743864557669 [2025-04-05T14:49:18.328Z] variation: Mode150 [2025-04-05T14:49:18.328Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-04-05T14:49:18.328Z] { \ [2025-04-05T14:49:18.328Z] echo ""; echo "TEST SETUP:"; \ [2025-04-05T14:49:18.328Z] echo "Nothing to be done for setup."; \ [2025-04-05T14:49:18.328Z] mkdir -p "/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/../TKG/output_17438539117890/UpgModPath_JarImg_0"; \ [2025-04-05T14:49:18.328Z] cd "/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/../TKG/output_17438539117890/UpgModPath_JarImg_0"; \ [2025-04-05T14:49:18.328Z] echo ""; echo "TESTING:"; \ [2025-04-05T14:49:18.328Z] perl /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/../../testDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/../TKG/output_17438539117890/UpgModPath_JarImg_0" -test=UpgModPathTest -test-args="variant=JarImg"; \ [2025-04-05T14:49:18.328Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_JarImg_0""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/../TKG/output_17438539117890/UpgModPath_JarImg_0"; else echo "-----------------------------------"; echo "UpgModPath_JarImg_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-04-05T14:49:18.328Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-04-05T14:49:18.328Z] echo "Nothing to be done for teardown."; \ [2025-04-05T14:49:18.328Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/../TKG/output_17438539117890/TestTargetResult"; [2025-04-05T14:49:18.328Z] [2025-04-05T14:49:18.328Z] TEST SETUP: [2025-04-05T14:49:18.328Z] Nothing to be done for setup. [2025-04-05T14:49:18.328Z] [2025-04-05T14:49:18.328Z] TESTING: [2025-04-05T14:49:18.328Z] STF 14:49:17.793 - ========================= S T F ========================= [2025-04-05T14:49:18.328Z] systemtest-prereqs has been processed, and set to: /home/jenkins/testDependency/system_libRetrieving amount of free space on drive containing /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/../TKG/output_17438539117890/UpgModPath_JarImg_0 [2025-04-05T14:49:18.328Z] There is 21881 Mb free [2025-04-05T14:49:18.329Z] STF 14:49:17.810 - ================== G E N E R A T I O N ================== [2025-04-05T14:49:18.329Z] STF 14:49:17.812 - Checking JVM: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/jdkbinary/j2sdk-image [2025-04-05T14:49:18.329Z] STF 14:49:17.812 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/../../testDependency/system_lib//asm/asm.jar:/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/../../testDependency/system_lib//asm/asm-commons.jar:/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/../../testDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/../../testDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/../TKG/output_17438539117890/UpgModPath_JarImg_0/20250405-144917-UpgModPathTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/../TKG/output_17438539117890/UpgModPath_JarImg_0/20250405-144917-UpgModPathTest" [2025-04-05T14:49:19.924Z] GEN 14:49:19.205 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: '/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-04-05T14:49:19.924Z] GEN 14:49:19.216 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2025-04-05T14:49:19.924Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-04-05T14:49:19.924Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-04-05T14:49:19.925Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-04-05T14:49:19.925Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-04-05T14:49:19.925Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-04-05T14:49:19.925Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-04-05T14:49:19.925Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-04-05T14:49:19.925Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-04-05T14:49:19.925Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-04-05T14:49:19.925Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-04-05T14:49:19.925Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-04-05T14:49:19.925Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-04-05T14:49:19.925Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-04-05T14:49:19.925Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-04-05T14:49:19.925Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-04-05T14:49:19.925Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-04-05T14:49:19.925Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/jvmtest/system/STF/stf.core/bin [2025-04-05T14:49:19.925Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-04-05T14:49:19.925Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-04-05T14:49:19.925Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar [2025-04-05T14:49:19.925Z] GEN 14:49:19.477 - Using Mode NoOptions. Values = '' [2025-04-05T14:49:19.925Z] GEN 14:49:19.581 - [2025-04-05T14:49:19.925Z] GEN 14:49:19.582 - Test command summary: [2025-04-05T14:49:19.925Z] GEN 14:49:19.582 - Step Stage Command Description [2025-04-05T14:49:19.925Z] GEN 14:49:19.582 - -----+--------+-----------------+------------ [2025-04-05T14:49:19.925Z] GEN 14:49:19.582 - 1 execute jar Create com.hello jar [2025-04-05T14:49:19.925Z] GEN 14:49:19.582 - 2 execute jar Create com.hola jar [2025-04-05T14:49:19.925Z] GEN 14:49:19.582 - 3 execute jar Create com.helper jar [2025-04-05T14:49:19.925Z] GEN 14:49:19.582 - 4 execute jar Create com.discreet jar [2025-04-05T14:49:19.925Z] GEN 14:49:19.582 - 5 execute jar Create tests jar [2025-04-05T14:49:19.925Z] GEN 14:49:19.583 - 6 execute jlink Create runtime image for upgrademodulepath test [2025-04-05T14:49:19.925Z] GEN 14:49:19.583 - 7 execute jar Create com.hello override jar [2025-04-05T14:49:19.925Z] GEN 14:49:19.583 - 8 execute jar Create com.hello override jar [2025-04-05T14:49:19.925Z] GEN 14:49:19.583 - 9 execute Run java Override an application module using a custom runtime image where the overriding module is in a modularized jar [2025-04-05T14:49:19.925Z] GEN 14:49:19.583 - 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-04-05T14:49:19.925Z] GEN 14:49:19.583 - 11 execute Run java Combine stderr and stdout files of process OT27 [2025-04-05T14:49:19.925Z] GEN 14:49:19.583 - 12 execute count Check output [2025-04-05T14:49:19.925Z] STF 14:49:19.628 - [2025-04-05T14:49:19.925Z] STF 14:49:19.628 - Script generation completed [2025-04-05T14:49:19.925Z] STF 14:49:19.628 - [2025-04-05T14:49:19.925Z] STF 14:49:19.629 - [2025-04-05T14:49:19.925Z] STF 14:49:19.629 - ======================= S E T U P ======================= [2025-04-05T14:49:19.925Z] STF 14:49:19.629 - Running setup: perl /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/../TKG/output_17438539117890/UpgModPath_JarImg_0/20250405-144917-UpgModPathTest/setUp.pl [2025-04-05T14:49:19.925Z] STF 14:49:19.727 - SETUP stage completed [2025-04-05T14:49:19.925Z] STF 14:49:19.736 - [2025-04-05T14:49:19.925Z] STF 14:49:19.736 - ==================== E X E C U T E - ==================== [2025-04-05T14:49:19.925Z] STF 14:49:19.736 - Running execute: perl /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/../TKG/output_17438539117890/UpgModPath_JarImg_0/20250405-144917-UpgModPathTest/execute.pl [2025-04-05T14:49:20.698Z] STF 14:49:19.836 - [2025-04-05T14:49:20.698Z] STF 14:49:19.836 - Java version [2025-04-05T14:49:20.698Z] STF 14:49:19.836 - Running: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/jdkbinary/j2sdk-image/bin/java -version [2025-04-05T14:49:20.698Z] openjdk version "25-beta" 2025-09-16 [2025-04-05T14:49:20.698Z] OpenJDK Runtime Environment Temurin-25+17-202504032034 (build 25-beta+17-ea) [2025-04-05T14:49:20.699Z] OpenJDK 64-Bit Server VM Temurin-25+17-202504032034 (build 25-beta+17-ea, mixed mode) [2025-04-05T14:49:20.699Z] STF 14:49:19.975 - [2025-04-05T14:49:20.699Z] STF 14:49:19.975 - +------ Step 1 - Create com.hello jar [2025-04-05T14:49:20.699Z] STF 14:49:19.975 - | Create modular jar [2025-04-05T14:49:20.699Z] STF 14:49:19.975 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-04-05T14:49:20.699Z] STF 14:49:19.975 - | ModuleVersion: null [2025-04-05T14:49:20.699Z] STF 14:49:19.976 - | MainClass: null [2025-04-05T14:49:20.699Z] STF 14:49:19.976 - | HashModules: null [2025-04-05T14:49:20.699Z] STF 14:49:19.976 - | [2025-04-05T14:49:20.699Z] STF 14:49:19.977 - Running command: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/output_17438539117890/UpgModPath_JarImg_0/20250405-144917-UpgModPathTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-04-05T14:49:20.699Z] STF 14:49:19.977 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/output_17438539117890/UpgModPath_JarImg_0/20250405-144917-UpgModPathTest/results/1.CMJ.stderr [2025-04-05T14:49:20.699Z] STF 14:49:19.977 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/output_17438539117890/UpgModPath_JarImg_0/20250405-144917-UpgModPathTest/results/1.CMJ.stdout [2025-04-05T14:49:20.699Z] STF 14:49:20.000 - Monitoring processes: CMJ [2025-04-05T14:49:20.699Z] STF 14:49:20.481 - Monitoring Report Summary: [2025-04-05T14:49:20.699Z] STF 14:49:20.481 - o Process CMJ ended with the expected exit code (0) [2025-04-05T14:49:20.699Z] STF 14:49:20.482 - Created modular jar: 1.com.hello.jar [2025-04-05T14:49:20.699Z] STF 14:49:20.482 - [2025-04-05T14:49:20.699Z] STF 14:49:20.482 - +------ Step 2 - Create com.hola jar [2025-04-05T14:49:20.699Z] STF 14:49:20.482 - | Create modular jar [2025-04-05T14:49:20.699Z] STF 14:49:20.482 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-04-05T14:49:20.699Z] STF 14:49:20.482 - | ModuleVersion: null [2025-04-05T14:49:20.699Z] STF 14:49:20.482 - | MainClass: null [2025-04-05T14:49:20.699Z] STF 14:49:20.482 - | HashModules: null [2025-04-05T14:49:20.699Z] STF 14:49:20.482 - | [2025-04-05T14:49:20.699Z] STF 14:49:20.482 - Running command: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/output_17438539117890/UpgModPath_JarImg_0/20250405-144917-UpgModPathTest/modules/2.com.hola.jar -C /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2025-04-05T14:49:20.699Z] STF 14:49:20.482 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/output_17438539117890/UpgModPath_JarImg_0/20250405-144917-UpgModPathTest/results/2.CMJ.stderr [2025-04-05T14:49:20.699Z] STF 14:49:20.482 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/output_17438539117890/UpgModPath_JarImg_0/20250405-144917-UpgModPathTest/results/2.CMJ.stdout [2025-04-05T14:49:20.699Z] STF 14:49:20.491 - Monitoring processes: CMJ [2025-04-05T14:49:21.472Z] STF 14:49:20.980 - Monitoring Report Summary: [2025-04-05T14:49:21.472Z] STF 14:49:20.980 - o Process CMJ ended with the expected exit code (0) [2025-04-05T14:49:21.472Z] STF 14:49:20.981 - Created modular jar: 2.com.hola.jar [2025-04-05T14:49:21.472Z] STF 14:49:20.981 - [2025-04-05T14:49:21.472Z] STF 14:49:20.981 - +------ Step 3 - Create com.helper jar [2025-04-05T14:49:21.472Z] STF 14:49:20.981 - | Create modular jar [2025-04-05T14:49:21.472Z] STF 14:49:20.981 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-04-05T14:49:21.472Z] STF 14:49:20.981 - | ModuleVersion: null [2025-04-05T14:49:21.472Z] STF 14:49:20.981 - | MainClass: null [2025-04-05T14:49:21.472Z] STF 14:49:20.981 - | HashModules: null [2025-04-05T14:49:21.472Z] STF 14:49:20.981 - | [2025-04-05T14:49:21.472Z] STF 14:49:20.982 - Running command: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/output_17438539117890/UpgModPath_JarImg_0/20250405-144917-UpgModPathTest/modules/3.com.helper.jar -C /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2025-04-05T14:49:21.472Z] STF 14:49:20.982 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/output_17438539117890/UpgModPath_JarImg_0/20250405-144917-UpgModPathTest/results/3.CMJ.stderr [2025-04-05T14:49:21.472Z] STF 14:49:20.982 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/output_17438539117890/UpgModPath_JarImg_0/20250405-144917-UpgModPathTest/results/3.CMJ.stdout [2025-04-05T14:49:21.472Z] STF 14:49:20.990 - Monitoring processes: CMJ [2025-04-05T14:49:22.246Z] STF 14:49:21.457 - Monitoring Report Summary: [2025-04-05T14:49:22.246Z] STF 14:49:21.457 - o Process CMJ ended with the expected exit code (0) [2025-04-05T14:49:22.246Z] STF 14:49:21.457 - Created modular jar: 3.com.helper.jar [2025-04-05T14:49:22.246Z] STF 14:49:21.457 - [2025-04-05T14:49:22.246Z] STF 14:49:21.457 - +------ Step 4 - Create com.discreet jar [2025-04-05T14:49:22.246Z] STF 14:49:21.457 - | Create modular jar [2025-04-05T14:49:22.246Z] STF 14:49:21.457 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-04-05T14:49:22.246Z] STF 14:49:21.457 - | ModuleVersion: null [2025-04-05T14:49:22.246Z] STF 14:49:21.457 - | MainClass: null [2025-04-05T14:49:22.246Z] STF 14:49:21.457 - | HashModules: null [2025-04-05T14:49:22.246Z] STF 14:49:21.457 - | [2025-04-05T14:49:22.246Z] STF 14:49:21.458 - Running command: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/output_17438539117890/UpgModPath_JarImg_0/20250405-144917-UpgModPathTest/modules/4.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2025-04-05T14:49:22.246Z] STF 14:49:21.458 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/output_17438539117890/UpgModPath_JarImg_0/20250405-144917-UpgModPathTest/results/4.CMJ.stderr [2025-04-05T14:49:22.246Z] STF 14:49:21.458 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/output_17438539117890/UpgModPath_JarImg_0/20250405-144917-UpgModPathTest/results/4.CMJ.stdout [2025-04-05T14:49:22.246Z] STF 14:49:21.465 - Monitoring processes: CMJ [2025-04-05T14:49:22.246Z] STF 14:49:21.928 - Monitoring Report Summary: [2025-04-05T14:49:22.246Z] STF 14:49:21.928 - o Process CMJ ended with the expected exit code (0) [2025-04-05T14:49:22.246Z] STF 14:49:21.928 - Created modular jar: 4.com.discreet.jar [2025-04-05T14:49:22.246Z] STF 14:49:21.928 - [2025-04-05T14:49:22.246Z] STF 14:49:21.928 - +------ Step 5 - Create tests jar [2025-04-05T14:49:22.246Z] STF 14:49:21.928 - | Create modular jar [2025-04-05T14:49:22.246Z] STF 14:49:21.928 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-04-05T14:49:22.246Z] STF 14:49:21.928 - | ModuleVersion: null [2025-04-05T14:49:22.246Z] STF 14:49:21.928 - | MainClass: null [2025-04-05T14:49:22.247Z] STF 14:49:21.928 - | HashModules: null [2025-04-05T14:49:22.247Z] STF 14:49:21.928 - | [2025-04-05T14:49:22.247Z] STF 14:49:21.929 - Running command: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/output_17438539117890/UpgModPath_JarImg_0/20250405-144917-UpgModPathTest/modules/5.com.test.jar -C /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2025-04-05T14:49:22.247Z] STF 14:49:21.929 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/output_17438539117890/UpgModPath_JarImg_0/20250405-144917-UpgModPathTest/results/5.CMJ.stderr [2025-04-05T14:49:22.247Z] STF 14:49:21.929 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/output_17438539117890/UpgModPath_JarImg_0/20250405-144917-UpgModPathTest/results/5.CMJ.stdout [2025-04-05T14:49:22.247Z] STF 14:49:21.938 - Monitoring processes: CMJ [2025-04-05T14:49:23.020Z] STF 14:49:22.430 - Monitoring Report Summary: [2025-04-05T14:49:23.020Z] STF 14:49:22.430 - o Process CMJ ended with the expected exit code (0) [2025-04-05T14:49:23.020Z] STF 14:49:22.430 - Created modular jar: 5.com.test.jar [2025-04-05T14:49:23.020Z] STF 14:49:22.430 - [2025-04-05T14:49:23.020Z] STF 14:49:22.431 - +------ Step 6 - Create runtime image for upgrademodulepath test [2025-04-05T14:49:23.020Z] STF 14:49:22.431 - | Run jlink to create runtime image [2025-04-05T14:49:23.020Z] STF 14:49:22.431 - | ImageName: UpJVM [2025-04-05T14:49:23.020Z] STF 14:49:22.431 - | [2025-04-05T14:49:23.021Z] STF 14:49:22.432 - Running command: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/output_17438539117890/UpgModPath_JarImg_0/20250405-144917-UpgModPathTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/output_17438539117890/UpgModPath_JarImg_0/20250405-144917-UpgModPathTest/tmp/6.UpJVM [2025-04-05T14:49:23.021Z] STF 14:49:22.432 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/output_17438539117890/UpgModPath_JarImg_0/20250405-144917-UpgModPathTest/results/6.JLNK.stderr [2025-04-05T14:49:23.021Z] STF 14:49:22.432 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/output_17438539117890/UpgModPath_JarImg_0/20250405-144917-UpgModPathTest/results/6.JLNK.stdout [2025-04-05T14:49:23.021Z] STF 14:49:22.439 - Monitoring processes: JLNK [2025-04-05T14:49:28.660Z] STF 14:49:27.570 - Monitoring Report Summary: [2025-04-05T14:49:28.660Z] STF 14:49:27.571 - o Process JLNK ended with the expected exit code (0) [2025-04-05T14:49:28.660Z] STF 14:49:27.571 - [2025-04-05T14:49:28.660Z] STF 14:49:27.571 - +------ Step 7 - Create com.hello override jar [2025-04-05T14:49:28.660Z] STF 14:49:27.571 - | Create modular jar [2025-04-05T14:49:28.660Z] STF 14:49:27.571 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-04-05T14:49:28.660Z] STF 14:49:27.571 - | ModuleVersion: null [2025-04-05T14:49:28.660Z] STF 14:49:27.571 - | MainClass: null [2025-04-05T14:49:28.660Z] STF 14:49:27.571 - | HashModules: null [2025-04-05T14:49:28.660Z] STF 14:49:27.571 - | [2025-04-05T14:49:28.660Z] STF 14:49:27.572 - Running command: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/output_17438539117890/UpgModPath_JarImg_0/20250405-144917-UpgModPathTest/modules/7.com.hello.jar -C /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2025-04-05T14:49:28.660Z] STF 14:49:27.572 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/output_17438539117890/UpgModPath_JarImg_0/20250405-144917-UpgModPathTest/results/7.CMJ.stderr [2025-04-05T14:49:28.660Z] STF 14:49:27.572 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/output_17438539117890/UpgModPath_JarImg_0/20250405-144917-UpgModPathTest/results/7.CMJ.stdout [2025-04-05T14:49:28.660Z] STF 14:49:27.594 - Monitoring processes: CMJ [2025-04-05T14:49:28.660Z] STF 14:49:28.193 - Monitoring Report Summary: [2025-04-05T14:49:28.660Z] STF 14:49:28.193 - o Process CMJ ended with the expected exit code (0) [2025-04-05T14:49:28.660Z] STF 14:49:28.193 - Created modular jar: 7.com.hello.jar [2025-04-05T14:49:28.660Z] STF 14:49:28.193 - [2025-04-05T14:49:28.660Z] STF 14:49:28.193 - +------ Step 8 - Create com.hello override jar [2025-04-05T14:49:28.660Z] STF 14:49:28.193 - | Create modular jar [2025-04-05T14:49:28.660Z] STF 14:49:28.193 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2025-04-05T14:49:28.660Z] STF 14:49:28.193 - | ModuleVersion: null [2025-04-05T14:49:28.660Z] STF 14:49:28.193 - | MainClass: null [2025-04-05T14:49:28.660Z] STF 14:49:28.193 - | HashModules: null [2025-04-05T14:49:28.660Z] STF 14:49:28.193 - | [2025-04-05T14:49:28.660Z] STF 14:49:28.194 - Running command: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/output_17438539117890/UpgModPath_JarImg_0/20250405-144917-UpgModPathTest/modules/8.java.logging.jar -C /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.logging . [2025-04-05T14:49:28.660Z] STF 14:49:28.194 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/output_17438539117890/UpgModPath_JarImg_0/20250405-144917-UpgModPathTest/results/8.CMJ.stderr [2025-04-05T14:49:28.660Z] STF 14:49:28.194 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/output_17438539117890/UpgModPath_JarImg_0/20250405-144917-UpgModPathTest/results/8.CMJ.stdout [2025-04-05T14:49:28.660Z] STF 14:49:28.201 - Monitoring processes: CMJ [2025-04-05T14:49:29.435Z] STF 14:49:28.748 - Monitoring Report Summary: [2025-04-05T14:49:29.435Z] STF 14:49:28.749 - o Process CMJ ended with the expected exit code (0) [2025-04-05T14:49:29.435Z] STF 14:49:28.749 - Created modular jar: 8.java.logging.jar [2025-04-05T14:49:29.435Z] STF 14:49:28.749 - [2025-04-05T14:49:29.435Z] STF 14:49:28.749 - +------ Step 9 - Override an application module using a custom runtime image where the overriding module is in a modularized jar [2025-04-05T14:49:29.435Z] STF 14:49:28.749 - | Run foreground process [2025-04-05T14:49:29.435Z] STF 14:49:28.749 - | Program: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/output_17438539117890/UpgModPath_JarImg_0/20250405-144917-UpgModPathTest/tmp/6.UpJVM/bin/java [2025-04-05T14:49:29.435Z] STF 14:49:28.749 - | Mnemonic: OT25 [2025-04-05T14:49:29.435Z] STF 14:49:28.749 - | Echo: ECHO_ON [2025-04-05T14:49:29.435Z] STF 14:49:28.749 - | Expectation: CLEAN_RUN within 1m [2025-04-05T14:49:29.435Z] STF 14:49:28.749 - | [2025-04-05T14:49:29.435Z] STF 14:49:28.750 - Running command: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/output_17438539117890/UpgModPath_JarImg_0/20250405-144917-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/output_17438539117890/UpgModPath_JarImg_0/20250405-144917-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-04-05T14:49:29.435Z] STF 14:49:28.750 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/output_17438539117890/UpgModPath_JarImg_0/20250405-144917-UpgModPathTest/results/9.OT25.stderr [2025-04-05T14:49:29.435Z] STF 14:49:28.750 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/output_17438539117890/UpgModPath_JarImg_0/20250405-144917-UpgModPathTest/results/9.OT25.stdout [2025-04-05T14:49:29.435Z] STF 14:49:28.755 - Monitoring processes: OT25 [2025-04-05T14:49:30.208Z] OT25 JUnit version 4.12 [2025-04-05T14:49:30.982Z] OT25 . [2025-04-05T14:49:30.982Z] OT25 Time: 0.02 [2025-04-05T14:49:30.982Z] OT25 [2025-04-05T14:49:30.982Z] OT25 OK (1 test) [2025-04-05T14:49:30.982Z] OT25 [2025-04-05T14:49:30.982Z] STF 14:49:30.382 - Monitoring Report Summary: [2025-04-05T14:49:30.982Z] STF 14:49:30.382 - o Process OT25 ended with the expected exit code (0) [2025-04-05T14:49:30.982Z] STF 14:49:30.382 - [2025-04-05T14:49:30.982Z] STF 14:49:30.382 - +------ Step 10 - (Negative test) Override a non-upgradable platform module using a custom runtime imagewhere the overriding module is in a modularized jar [2025-04-05T14:49:30.982Z] STF 14:49:30.382 - | Run foreground process [2025-04-05T14:49:30.982Z] STF 14:49:30.382 - | Program: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/output_17438539117890/UpgModPath_JarImg_0/20250405-144917-UpgModPathTest/tmp/6.UpJVM/bin/java [2025-04-05T14:49:30.982Z] STF 14:49:30.382 - | Mnemonic: OT27 [2025-04-05T14:49:30.982Z] STF 14:49:30.382 - | Echo: ECHO_ON [2025-04-05T14:49:30.982Z] STF 14:49:30.382 - | Expectation: NON_ZERO_EXIT [1] within 1m [2025-04-05T14:49:30.982Z] STF 14:49:30.382 - | [2025-04-05T14:49:30.982Z] STF 14:49:30.383 - Running command: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/output_17438539117890/UpgModPath_JarImg_0/20250405-144917-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/output_17438539117890/UpgModPath_JarImg_0/20250405-144917-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-04-05T14:49:30.982Z] STF 14:49:30.383 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/output_17438539117890/UpgModPath_JarImg_0/20250405-144917-UpgModPathTest/results/10.OT27.stderr [2025-04-05T14:49:30.982Z] STF 14:49:30.383 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/output_17438539117890/UpgModPath_JarImg_0/20250405-144917-UpgModPathTest/results/10.OT27.stdout [2025-04-05T14:49:30.982Z] STF 14:49:30.410 - Monitoring processes: OT27 [2025-04-05T14:49:31.756Z] OT27 Error occurred during initialization of boot layer [2025-04-05T14:49:31.756Z] OT27 java.lang.module.FindException: Hash of java.logging (b4f20096bb9509a317d5adc72347ae3c08a0577d976c2c4eca2c94ab70bc0f8e) differs to expected hash (c2cdb20229e7cade7b6a09a643e5a7c199f0fd1a529112655e18abeee1a80794) recorded in java.base [2025-04-05T14:49:31.756Z] STF 14:49:30.856 - Monitoring Report Summary: [2025-04-05T14:49:31.756Z] STF 14:49:30.856 - o Process OT27 ended with the expected exit code (1) [2025-04-05T14:49:31.756Z] STF 14:49:30.856 - [2025-04-05T14:49:31.756Z] STF 14:49:30.856 - +------ Step 11 - Combine stderr and stdout files of process OT27 [2025-04-05T14:49:31.756Z] STF 14:49:30.856 - | Run foreground process [2025-04-05T14:49:31.756Z] STF 14:49:30.856 - | Program: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/jdkbinary/j2sdk-image/bin/java [2025-04-05T14:49:31.756Z] STF 14:49:30.856 - | Mnemonic: CO [2025-04-05T14:49:31.756Z] STF 14:49:30.856 - | Echo: ECHO_OFF [2025-04-05T14:49:31.756Z] STF 14:49:30.856 - | Expectation: NON_ZERO_EXIT [0] within 30s [2025-04-05T14:49:31.756Z] STF 14:49:30.856 - | [2025-04-05T14:49:31.756Z] STF 14:49:30.857 - Running command: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/jdkbinary/j2sdk-image/bin/java -Dfile1=/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/output_17438539117890/UpgModPath_JarImg_0/20250405-144917-UpgModPathTest/results/10.OT27.stdout -Dfile2=/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/output_17438539117890/UpgModPath_JarImg_0/20250405-144917-UpgModPathTest/results/10.OT27.stderr -Dfinal.file=/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/output_17438539117890/UpgModPath_JarImg_0/20250405-144917-UpgModPathTest/results/combinedOT27.txt -XX:+UseCompressedOops -classpath /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/jvmtest/system/STF/stf.core/bin:/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin net.adoptopenjdk.test.modularity.TestUtil [2025-04-05T14:49:31.756Z] STF 14:49:30.857 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/output_17438539117890/UpgModPath_JarImg_0/20250405-144917-UpgModPathTest/results/11.CO.stderr [2025-04-05T14:49:31.756Z] STF 14:49:30.857 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/output_17438539117890/UpgModPath_JarImg_0/20250405-144917-UpgModPathTest/results/11.CO.stdout [2025-04-05T14:49:31.756Z] STF 14:49:30.878 - Monitoring processes: CO [2025-04-05T14:49:31.756Z] STF 14:49:31.156 - Monitoring Report Summary: [2025-04-05T14:49:31.756Z] STF 14:49:31.157 - o Process CO ended with the expected exit code (0) [2025-04-05T14:49:31.756Z] STF 14:49:31.157 - [2025-04-05T14:49:31.756Z] STF 14:49:31.157 - +------ Step 12 - Check output [2025-04-05T14:49:31.756Z] STF 14:49:31.157 - | Count file matches [2025-04-05T14:49:31.756Z] STF 14:49:31.157 - | TargetFile: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/output_17438539117890/UpgModPath_JarImg_0/20250405-144917-UpgModPathTest/results/combinedOT27.txt [2025-04-05T14:49:31.756Z] STF 14:49:31.157 - | ExpectedNumMatches: 1 [2025-04-05T14:49:31.756Z] STF 14:49:31.157 - | SearchStrings: ["FindException: Hash of java.logging"] [2025-04-05T14:49:31.756Z] STF 14:49:31.157 - | [2025-04-05T14:49:31.756Z] STF 14:49:31.157 - Found 1 instances of ["FindException: Hash of java.logging"] [2025-04-05T14:49:31.756Z] STF 14:49:31.157 - EXECUTE stage completed [2025-04-05T14:49:31.756Z] STF 14:49:31.185 - [2025-04-05T14:49:31.756Z] STF 14:49:31.185 - ==================== T E A R D O W N ==================== [2025-04-05T14:49:31.757Z] STF 14:49:31.185 - Running teardown: perl /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_ppc64_aix/aqa-tests/TKG/../TKG/output_17438539117890/UpgModPath_JarImg_0/20250405-144917-UpgModPathTest/tearDown.pl [2025-04-05T14:49:31.757Z] STF 14:49:31.281 - TEARDOWN stage completed [2025-04-05T14:49:31.757Z] STF 14:49:31.289 - [2025-04-05T14:49:31.757Z] STF 14:49:31.289 - ===================== R E S U L T S ===================== [2025-04-05T14:49:31.757Z] STF 14:49:31.289 - Stage results: [2025-04-05T14:49:31.757Z] STF 14:49:31.289 - setUp: pass [2025-04-05T14:49:31.757Z] STF 14:49:31.289 - execute: pass [2025-04-05T14:49:31.757Z] STF 14:49:31.289 - teardown: pass [2025-04-05T14:49:31.757Z] STF 14:49:31.289 - [2025-04-05T14:49:31.757Z] STF 14:49:31.289 - Overall result: PASSED [2025-04-05T14:49:31.757Z] ----------------------------------- [2025-04-05T14:49:31.757Z] UpgModPath_JarImg_0_PASSED [2025-04-05T14:49:31.757Z] ----------------------------------- [2025-04-05T14:49:31.757Z] [2025-04-05T14:49:31.757Z] TEST TEARDOWN: [2025-04-05T14:49:31.757Z] Nothing to be done for teardown. [2025-04-05T14:49:31.757Z] UpgModPath_JarImg_0 Finish Time: Sat Apr 5 14:49:31 2025 Epoch Time (ms): 1743864571341