UpgModPath_JarImg_1

[2025-01-10T21:12:27.668Z] Running test UpgModPath_JarImg_1 ... [2025-01-10T21:12:27.668Z] =============================================== [2025-01-10T21:12:27.668Z] UpgModPath_JarImg_1 Start Time: Fri Jan 10 21:12:27 2025 Epoch Time (ms): 1736543547041 [2025-01-10T21:12:27.668Z] variation: Mode650 [2025-01-10T21:12:27.668Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-01-10T21:12:27.668Z] { \ [2025-01-10T21:12:27.668Z] echo ""; echo "TEST SETUP:"; \ [2025-01-10T21:12:27.668Z] echo "Nothing to be done for setup."; \ [2025-01-10T21:12:27.668Z] mkdir -p "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17365388109901/UpgModPath_JarImg_1"; \ [2025-01-10T21:12:27.668Z] cd "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17365388109901/UpgModPath_JarImg_1"; \ [2025-01-10T21:12:27.668Z] echo ""; echo "TESTING:"; \ [2025-01-10T21:12:27.668Z] perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_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_x86-64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/../../testDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17365388109901/UpgModPath_JarImg_1" -test=UpgModPathTest -test-args="variant=JarImg"; \ [2025-01-10T21:12:27.668Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_JarImg_1""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17365388109901/UpgModPath_JarImg_1"; else echo "-----------------------------------"; echo "UpgModPath_JarImg_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-01-10T21:12:27.668Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-01-10T21:12:27.668Z] echo "Nothing to be done for teardown."; \ [2025-01-10T21:12:27.668Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17365388109901/TestTargetResult"; [2025-01-10T21:12:27.668Z] [2025-01-10T21:12:27.668Z] TEST SETUP: [2025-01-10T21:12:27.668Z] Nothing to be done for setup. [2025-01-10T21:12:27.668Z] [2025-01-10T21:12:27.668Z] TESTING: [2025-01-10T21:12:27.668Z] STF 21:12:27.088 - ========================= S T F ========================= [2025-01-10T21:12:27.668Z] 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_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17365388109901/UpgModPath_JarImg_1 [2025-01-10T21:12:27.668Z] There is 108797 Mb free [2025-01-10T21:12:27.668Z] STF 21:12:27.092 - ================== G E N E R A T I O N ================== [2025-01-10T21:12:27.668Z] STF 21:12:27.092 - Checking JVM: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image [2025-01-10T21:12:27.668Z] STF 21:12:27.092 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_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_x86-64_linux_testList_1/../../testDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/../../testDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17365388109901/UpgModPath_JarImg_1/20250110-211227-UpgModPathTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17365388109901/UpgModPath_JarImg_1/20250110-211227-UpgModPathTest" [2025-01-10T21:12:28.705Z] GEN 21:12:27.973 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: '/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-01-10T21:12:28.705Z] GEN 21:12:27.982 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2025-01-10T21:12:28.705Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-01-10T21:12:28.705Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-01-10T21:12:28.705Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-01-10T21:12:28.705Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-01-10T21:12:28.705Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-01-10T21:12:28.705Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-01-10T21:12:28.705Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-01-10T21:12:28.705Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-01-10T21:12:28.705Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-01-10T21:12:28.705Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-01-10T21:12:28.705Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-01-10T21:12:28.705Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-01-10T21:12:28.705Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-01-10T21:12:28.705Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-01-10T21:12:28.705Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-01-10T21:12:28.705Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-01-10T21:12:28.705Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/STF/stf.core/bin [2025-01-10T21:12:28.705Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-01-10T21:12:28.705Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-01-10T21:12:28.705Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar [2025-01-10T21:12:28.705Z] GEN 21:12:28.176 - Using Mode NoOptions. Values = '' [2025-01-10T21:12:28.705Z] GEN 21:12:28.310 - [2025-01-10T21:12:28.705Z] GEN 21:12:28.310 - Test command summary: [2025-01-10T21:12:28.705Z] GEN 21:12:28.311 - Step Stage Command Description [2025-01-10T21:12:28.705Z] GEN 21:12:28.311 - -----+--------+-----------------+------------ [2025-01-10T21:12:28.705Z] GEN 21:12:28.311 - 1 execute jar Create com.hello jar [2025-01-10T21:12:28.705Z] GEN 21:12:28.311 - 2 execute jar Create com.hola jar [2025-01-10T21:12:28.705Z] GEN 21:12:28.311 - 3 execute jar Create com.helper jar [2025-01-10T21:12:28.705Z] GEN 21:12:28.311 - 4 execute jar Create com.discreet jar [2025-01-10T21:12:28.705Z] GEN 21:12:28.311 - 5 execute jar Create tests jar [2025-01-10T21:12:28.705Z] GEN 21:12:28.311 - 6 execute jlink Create runtime image for upgrademodulepath test [2025-01-10T21:12:28.705Z] GEN 21:12:28.311 - 7 execute jar Create com.hello override jar [2025-01-10T21:12:28.705Z] GEN 21:12:28.311 - 8 execute jar Create com.hello override jar [2025-01-10T21:12:28.705Z] GEN 21:12:28.311 - 9 execute Run java Override an application module using a custom runtime image where the overriding module is in a modularized jar [2025-01-10T21:12:28.705Z] GEN 21:12:28.311 - 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-10T21:12:28.705Z] GEN 21:12:28.311 - 11 execute Run java Combine stderr and stdout files of process OT27 [2025-01-10T21:12:28.705Z] GEN 21:12:28.311 - 12 execute count Check output [2025-01-10T21:12:28.705Z] STF 21:12:28.338 - [2025-01-10T21:12:28.705Z] STF 21:12:28.338 - Script generation completed [2025-01-10T21:12:28.705Z] STF 21:12:28.338 - [2025-01-10T21:12:28.705Z] STF 21:12:28.338 - [2025-01-10T21:12:28.705Z] STF 21:12:28.338 - ======================= S E T U P ======================= [2025-01-10T21:12:28.705Z] STF 21:12:28.339 - Running setup: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17365388109901/UpgModPath_JarImg_1/20250110-211227-UpgModPathTest/setUp.pl [2025-01-10T21:12:29.338Z] STF 21:12:28.379 - SETUP stage completed [2025-01-10T21:12:29.338Z] STF 21:12:28.384 - [2025-01-10T21:12:29.338Z] STF 21:12:28.384 - ==================== E X E C U T E - ==================== [2025-01-10T21:12:29.338Z] STF 21:12:28.384 - Running execute: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17365388109901/UpgModPath_JarImg_1/20250110-211227-UpgModPathTest/execute.pl [2025-01-10T21:12:29.338Z] STF 21:12:28.423 - [2025-01-10T21:12:29.338Z] STF 21:12:28.423 - Java version [2025-01-10T21:12:29.338Z] STF 21:12:28.423 - Running: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/java -version [2025-01-10T21:12:29.338Z] openjdk version "11.0.26" 2025-01-21 [2025-01-10T21:12:29.338Z] OpenJDK Runtime Environment Temurin-11.0.26+3 (build 11.0.26+3) [2025-01-10T21:12:29.338Z] OpenJDK 64-Bit Server VM Temurin-11.0.26+3 (build 11.0.26+3, mixed mode) [2025-01-10T21:12:29.338Z] STF 21:12:28.500 - [2025-01-10T21:12:29.338Z] STF 21:12:28.500 - +------ Step 1 - Create com.hello jar [2025-01-10T21:12:29.338Z] STF 21:12:28.500 - | Create modular jar [2025-01-10T21:12:29.338Z] STF 21:12:28.500 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-01-10T21:12:29.338Z] STF 21:12:28.500 - | ModuleVersion: null [2025-01-10T21:12:29.338Z] STF 21:12:28.500 - | MainClass: null [2025-01-10T21:12:29.338Z] STF 21:12:28.500 - | HashModules: null [2025-01-10T21:12:29.338Z] STF 21:12:28.500 - | [2025-01-10T21:12:29.338Z] STF 21:12:28.501 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/UpgModPath_JarImg_1/20250110-211227-UpgModPathTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-01-10T21:12:29.338Z] STF 21:12:28.501 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/UpgModPath_JarImg_1/20250110-211227-UpgModPathTest/results/1.CMJ.stderr [2025-01-10T21:12:29.338Z] STF 21:12:28.501 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/UpgModPath_JarImg_1/20250110-211227-UpgModPathTest/results/1.CMJ.stdout [2025-01-10T21:12:29.338Z] STF 21:12:28.507 - Monitoring processes: CMJ [2025-01-10T21:12:29.338Z] STF 21:12:28.673 - Monitoring Report Summary: [2025-01-10T21:12:29.338Z] STF 21:12:28.673 - o Process CMJ ended with the expected exit code (0) [2025-01-10T21:12:29.338Z] STF 21:12:28.673 - Created modular jar: 1.com.hello.jar [2025-01-10T21:12:29.338Z] STF 21:12:28.673 - [2025-01-10T21:12:29.338Z] STF 21:12:28.673 - +------ Step 2 - Create com.hola jar [2025-01-10T21:12:29.338Z] STF 21:12:28.673 - | Create modular jar [2025-01-10T21:12:29.338Z] STF 21:12:28.673 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-01-10T21:12:29.338Z] STF 21:12:28.673 - | ModuleVersion: null [2025-01-10T21:12:29.338Z] STF 21:12:28.673 - | MainClass: null [2025-01-10T21:12:29.338Z] STF 21:12:28.673 - | HashModules: null [2025-01-10T21:12:29.338Z] STF 21:12:28.673 - | [2025-01-10T21:12:29.338Z] STF 21:12:28.673 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/UpgModPath_JarImg_1/20250110-211227-UpgModPathTest/modules/2.com.hola.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2025-01-10T21:12:29.338Z] STF 21:12:28.673 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/UpgModPath_JarImg_1/20250110-211227-UpgModPathTest/results/2.CMJ.stderr [2025-01-10T21:12:29.338Z] STF 21:12:28.673 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/UpgModPath_JarImg_1/20250110-211227-UpgModPathTest/results/2.CMJ.stdout [2025-01-10T21:12:29.338Z] STF 21:12:28.674 - Monitoring processes: CMJ [2025-01-10T21:12:29.338Z] STF 21:12:28.840 - Monitoring Report Summary: [2025-01-10T21:12:29.338Z] STF 21:12:28.840 - o Process CMJ ended with the expected exit code (0) [2025-01-10T21:12:29.338Z] STF 21:12:28.840 - Created modular jar: 2.com.hola.jar [2025-01-10T21:12:29.338Z] STF 21:12:28.840 - [2025-01-10T21:12:29.338Z] STF 21:12:28.840 - +------ Step 3 - Create com.helper jar [2025-01-10T21:12:29.338Z] STF 21:12:28.840 - | Create modular jar [2025-01-10T21:12:29.338Z] STF 21:12:28.840 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-01-10T21:12:29.338Z] STF 21:12:28.840 - | ModuleVersion: null [2025-01-10T21:12:29.338Z] STF 21:12:28.840 - | MainClass: null [2025-01-10T21:12:29.338Z] STF 21:12:28.840 - | HashModules: null [2025-01-10T21:12:29.338Z] STF 21:12:28.840 - | [2025-01-10T21:12:29.338Z] STF 21:12:28.840 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/UpgModPath_JarImg_1/20250110-211227-UpgModPathTest/modules/3.com.helper.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2025-01-10T21:12:29.338Z] STF 21:12:28.840 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/UpgModPath_JarImg_1/20250110-211227-UpgModPathTest/results/3.CMJ.stderr [2025-01-10T21:12:29.338Z] STF 21:12:28.840 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/UpgModPath_JarImg_1/20250110-211227-UpgModPathTest/results/3.CMJ.stdout [2025-01-10T21:12:29.338Z] STF 21:12:28.841 - Monitoring processes: CMJ [2025-01-10T21:12:29.338Z] STF 21:12:29.007 - Monitoring Report Summary: [2025-01-10T21:12:29.338Z] STF 21:12:29.007 - o Process CMJ ended with the expected exit code (0) [2025-01-10T21:12:29.338Z] STF 21:12:29.008 - Created modular jar: 3.com.helper.jar [2025-01-10T21:12:29.338Z] STF 21:12:29.008 - [2025-01-10T21:12:29.339Z] STF 21:12:29.008 - +------ Step 4 - Create com.discreet jar [2025-01-10T21:12:29.339Z] STF 21:12:29.008 - | Create modular jar [2025-01-10T21:12:29.339Z] STF 21:12:29.008 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-01-10T21:12:29.339Z] STF 21:12:29.008 - | ModuleVersion: null [2025-01-10T21:12:29.339Z] STF 21:12:29.008 - | MainClass: null [2025-01-10T21:12:29.339Z] STF 21:12:29.008 - | HashModules: null [2025-01-10T21:12:29.339Z] STF 21:12:29.008 - | [2025-01-10T21:12:29.339Z] STF 21:12:29.008 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/UpgModPath_JarImg_1/20250110-211227-UpgModPathTest/modules/4.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2025-01-10T21:12:29.339Z] STF 21:12:29.008 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/UpgModPath_JarImg_1/20250110-211227-UpgModPathTest/results/4.CMJ.stderr [2025-01-10T21:12:29.339Z] STF 21:12:29.008 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/UpgModPath_JarImg_1/20250110-211227-UpgModPathTest/results/4.CMJ.stdout [2025-01-10T21:12:29.339Z] STF 21:12:29.009 - Monitoring processes: CMJ [2025-01-10T21:12:29.339Z] STF 21:12:29.179 - Monitoring Report Summary: [2025-01-10T21:12:29.339Z] STF 21:12:29.179 - o Process CMJ ended with the expected exit code (0) [2025-01-10T21:12:29.339Z] STF 21:12:29.179 - Created modular jar: 4.com.discreet.jar [2025-01-10T21:12:29.339Z] STF 21:12:29.179 - [2025-01-10T21:12:29.339Z] STF 21:12:29.179 - +------ Step 5 - Create tests jar [2025-01-10T21:12:29.339Z] STF 21:12:29.179 - | Create modular jar [2025-01-10T21:12:29.339Z] STF 21:12:29.179 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-01-10T21:12:29.339Z] STF 21:12:29.179 - | ModuleVersion: null [2025-01-10T21:12:29.339Z] STF 21:12:29.179 - | MainClass: null [2025-01-10T21:12:29.339Z] STF 21:12:29.179 - | HashModules: null [2025-01-10T21:12:29.339Z] STF 21:12:29.179 - | [2025-01-10T21:12:29.339Z] STF 21:12:29.179 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/UpgModPath_JarImg_1/20250110-211227-UpgModPathTest/modules/5.com.test.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2025-01-10T21:12:29.339Z] STF 21:12:29.179 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/UpgModPath_JarImg_1/20250110-211227-UpgModPathTest/results/5.CMJ.stderr [2025-01-10T21:12:29.339Z] STF 21:12:29.179 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/UpgModPath_JarImg_1/20250110-211227-UpgModPathTest/results/5.CMJ.stdout [2025-01-10T21:12:29.339Z] STF 21:12:29.180 - Monitoring processes: CMJ [2025-01-10T21:12:29.968Z] STF 21:12:29.355 - Monitoring Report Summary: [2025-01-10T21:12:29.968Z] STF 21:12:29.355 - o Process CMJ ended with the expected exit code (0) [2025-01-10T21:12:29.968Z] STF 21:12:29.355 - Created modular jar: 5.com.test.jar [2025-01-10T21:12:29.968Z] STF 21:12:29.355 - [2025-01-10T21:12:29.968Z] STF 21:12:29.355 - +------ Step 6 - Create runtime image for upgrademodulepath test [2025-01-10T21:12:29.968Z] STF 21:12:29.355 - | Run jlink to create runtime image [2025-01-10T21:12:29.968Z] STF 21:12:29.355 - | ImageName: UpJVM [2025-01-10T21:12:29.968Z] STF 21:12:29.355 - | [2025-01-10T21:12:29.968Z] STF 21:12:29.356 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/UpgModPath_JarImg_1/20250110-211227-UpgModPathTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/UpgModPath_JarImg_1/20250110-211227-UpgModPathTest/tmp/6.UpJVM [2025-01-10T21:12:29.968Z] STF 21:12:29.356 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/UpgModPath_JarImg_1/20250110-211227-UpgModPathTest/results/6.JLNK.stderr [2025-01-10T21:12:29.968Z] STF 21:12:29.356 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/UpgModPath_JarImg_1/20250110-211227-UpgModPathTest/results/6.JLNK.stdout [2025-01-10T21:12:29.968Z] STF 21:12:29.356 - Monitoring processes: JLNK [2025-01-10T21:12:32.026Z] STF 21:12:31.360 - Monitoring Report Summary: [2025-01-10T21:12:32.026Z] STF 21:12:31.360 - o Process JLNK ended with the expected exit code (0) [2025-01-10T21:12:32.026Z] STF 21:12:31.360 - [2025-01-10T21:12:32.026Z] STF 21:12:31.360 - +------ Step 7 - Create com.hello override jar [2025-01-10T21:12:32.026Z] STF 21:12:31.360 - | Create modular jar [2025-01-10T21:12:32.026Z] STF 21:12:31.361 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-01-10T21:12:32.026Z] STF 21:12:31.361 - | ModuleVersion: null [2025-01-10T21:12:32.026Z] STF 21:12:31.361 - | MainClass: null [2025-01-10T21:12:32.026Z] STF 21:12:31.361 - | HashModules: null [2025-01-10T21:12:32.026Z] STF 21:12:31.361 - | [2025-01-10T21:12:32.026Z] STF 21:12:31.361 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/UpgModPath_JarImg_1/20250110-211227-UpgModPathTest/modules/7.com.hello.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2025-01-10T21:12:32.026Z] STF 21:12:31.361 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/UpgModPath_JarImg_1/20250110-211227-UpgModPathTest/results/7.CMJ.stderr [2025-01-10T21:12:32.026Z] STF 21:12:31.361 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/UpgModPath_JarImg_1/20250110-211227-UpgModPathTest/results/7.CMJ.stdout [2025-01-10T21:12:32.026Z] STF 21:12:31.362 - Monitoring processes: CMJ [2025-01-10T21:12:32.026Z] STF 21:12:31.523 - Monitoring Report Summary: [2025-01-10T21:12:32.026Z] STF 21:12:31.523 - o Process CMJ ended with the expected exit code (0) [2025-01-10T21:12:32.026Z] STF 21:12:31.523 - Created modular jar: 7.com.hello.jar [2025-01-10T21:12:32.026Z] STF 21:12:31.523 - [2025-01-10T21:12:32.026Z] STF 21:12:31.523 - +------ Step 8 - Create com.hello override jar [2025-01-10T21:12:32.026Z] STF 21:12:31.523 - | Create modular jar [2025-01-10T21:12:32.026Z] STF 21:12:31.523 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2025-01-10T21:12:32.026Z] STF 21:12:31.523 - | ModuleVersion: null [2025-01-10T21:12:32.026Z] STF 21:12:31.524 - | MainClass: null [2025-01-10T21:12:32.026Z] STF 21:12:31.524 - | HashModules: null [2025-01-10T21:12:32.026Z] STF 21:12:31.524 - | [2025-01-10T21:12:32.026Z] STF 21:12:31.524 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/UpgModPath_JarImg_1/20250110-211227-UpgModPathTest/modules/8.java.logging.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.logging . [2025-01-10T21:12:32.026Z] STF 21:12:31.524 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/UpgModPath_JarImg_1/20250110-211227-UpgModPathTest/results/8.CMJ.stderr [2025-01-10T21:12:32.026Z] STF 21:12:31.524 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/UpgModPath_JarImg_1/20250110-211227-UpgModPathTest/results/8.CMJ.stdout [2025-01-10T21:12:32.026Z] STF 21:12:31.524 - Monitoring processes: CMJ [2025-01-10T21:12:32.026Z] STF 21:12:31.688 - Monitoring Report Summary: [2025-01-10T21:12:32.026Z] STF 21:12:31.688 - o Process CMJ ended with the expected exit code (0) [2025-01-10T21:12:32.026Z] STF 21:12:31.688 - Created modular jar: 8.java.logging.jar [2025-01-10T21:12:32.026Z] STF 21:12:31.688 - [2025-01-10T21:12:32.026Z] STF 21:12:31.688 - +------ Step 9 - Override an application module using a custom runtime image where the overriding module is in a modularized jar [2025-01-10T21:12:32.026Z] STF 21:12:31.688 - | Run foreground process [2025-01-10T21:12:32.026Z] STF 21:12:31.689 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/UpgModPath_JarImg_1/20250110-211227-UpgModPathTest/tmp/6.UpJVM/bin/java [2025-01-10T21:12:32.026Z] STF 21:12:31.689 - | Mnemonic: OT25 [2025-01-10T21:12:32.026Z] STF 21:12:31.689 - | Echo: ECHO_ON [2025-01-10T21:12:32.026Z] STF 21:12:31.689 - | Expectation: CLEAN_RUN within 1m [2025-01-10T21:12:32.026Z] STF 21:12:31.689 - | [2025-01-10T21:12:32.026Z] STF 21:12:31.689 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/UpgModPath_JarImg_1/20250110-211227-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/UpgModPath_JarImg_1/20250110-211227-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-10T21:12:32.026Z] STF 21:12:31.689 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/UpgModPath_JarImg_1/20250110-211227-UpgModPathTest/results/9.OT25.stderr [2025-01-10T21:12:32.026Z] STF 21:12:31.689 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/UpgModPath_JarImg_1/20250110-211227-UpgModPathTest/results/9.OT25.stdout [2025-01-10T21:12:32.026Z] STF 21:12:31.690 - Monitoring processes: OT25 [2025-01-10T21:12:32.026Z] OT25 JUnit version 4.12 [2025-01-10T21:12:32.026Z] OT25 . [2025-01-10T21:12:32.026Z] OT25 Time: 0.005 [2025-01-10T21:12:32.026Z] OT25 [2025-01-10T21:12:32.026Z] OT25 OK (1 test) [2025-01-10T21:12:32.026Z] OT25 [2025-01-10T21:12:32.026Z] STF 21:12:31.881 - Monitoring Report Summary: [2025-01-10T21:12:32.026Z] STF 21:12:31.881 - o Process OT25 ended with the expected exit code (0) [2025-01-10T21:12:32.026Z] STF 21:12:31.881 - [2025-01-10T21:12:32.026Z] STF 21:12:31.881 - +------ 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-10T21:12:32.026Z] STF 21:12:31.881 - | Run foreground process [2025-01-10T21:12:32.026Z] STF 21:12:31.881 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/UpgModPath_JarImg_1/20250110-211227-UpgModPathTest/tmp/6.UpJVM/bin/java [2025-01-10T21:12:32.026Z] STF 21:12:31.881 - | Mnemonic: OT27 [2025-01-10T21:12:32.026Z] STF 21:12:31.881 - | Echo: ECHO_ON [2025-01-10T21:12:32.026Z] STF 21:12:31.881 - | Expectation: NON_ZERO_EXIT [1] within 1m [2025-01-10T21:12:32.026Z] STF 21:12:31.881 - | [2025-01-10T21:12:32.026Z] STF 21:12:31.882 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/UpgModPath_JarImg_1/20250110-211227-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/UpgModPath_JarImg_1/20250110-211227-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-10T21:12:32.026Z] STF 21:12:31.882 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/UpgModPath_JarImg_1/20250110-211227-UpgModPathTest/results/10.OT27.stderr [2025-01-10T21:12:32.026Z] STF 21:12:31.882 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/UpgModPath_JarImg_1/20250110-211227-UpgModPathTest/results/10.OT27.stdout [2025-01-10T21:12:32.026Z] STF 21:12:31.882 - Monitoring processes: OT27 [2025-01-10T21:12:32.659Z] OT27 Error occurred during initialization of boot layer [2025-01-10T21:12:32.659Z] OT27 java.lang.module.FindException: Hash of java.logging (b563d91fccb4d61c5547d134bd25b6f3a7031d9348bb4b767606106dccd884f1) differs to expected hash (be20c673c90c2b31e18600c544b04ab9bb09f4cf21737f01a517cee66b64c89a) recorded in java.base [2025-01-10T21:12:32.659Z] STF 21:12:32.020 - Monitoring Report Summary: [2025-01-10T21:12:32.659Z] STF 21:12:32.020 - o Process OT27 ended with the expected exit code (1) [2025-01-10T21:12:32.659Z] STF 21:12:32.020 - [2025-01-10T21:12:32.659Z] STF 21:12:32.021 - +------ Step 11 - Combine stderr and stdout files of process OT27 [2025-01-10T21:12:32.659Z] STF 21:12:32.021 - | Run foreground process [2025-01-10T21:12:32.659Z] STF 21:12:32.021 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/java [2025-01-10T21:12:32.659Z] STF 21:12:32.021 - | Mnemonic: CO [2025-01-10T21:12:32.659Z] STF 21:12:32.021 - | Echo: ECHO_OFF [2025-01-10T21:12:32.659Z] STF 21:12:32.021 - | Expectation: NON_ZERO_EXIT [0] within 30s [2025-01-10T21:12:32.659Z] STF 21:12:32.021 - | [2025-01-10T21:12:32.659Z] STF 21:12:32.021 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/java -Dfile1=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/UpgModPath_JarImg_1/20250110-211227-UpgModPathTest/results/10.OT27.stdout -Dfile2=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/UpgModPath_JarImg_1/20250110-211227-UpgModPathTest/results/10.OT27.stderr -Dfinal.file=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/UpgModPath_JarImg_1/20250110-211227-UpgModPathTest/results/combinedOT27.txt -XX:-UseCompressedOops -classpath /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/STF/stf.core/bin:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin net.adoptopenjdk.test.modularity.TestUtil [2025-01-10T21:12:32.659Z] STF 21:12:32.021 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/UpgModPath_JarImg_1/20250110-211227-UpgModPathTest/results/11.CO.stderr [2025-01-10T21:12:32.659Z] STF 21:12:32.021 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/UpgModPath_JarImg_1/20250110-211227-UpgModPathTest/results/11.CO.stdout [2025-01-10T21:12:32.659Z] STF 21:12:32.022 - Monitoring processes: CO [2025-01-10T21:12:32.659Z] STF 21:12:32.166 - Monitoring Report Summary: [2025-01-10T21:12:32.659Z] STF 21:12:32.166 - o Process CO ended with the expected exit code (0) [2025-01-10T21:12:32.659Z] STF 21:12:32.167 - [2025-01-10T21:12:32.659Z] STF 21:12:32.167 - +------ Step 12 - Check output [2025-01-10T21:12:32.659Z] STF 21:12:32.167 - | Count file matches [2025-01-10T21:12:32.659Z] STF 21:12:32.167 - | TargetFile: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17365388109901/UpgModPath_JarImg_1/20250110-211227-UpgModPathTest/results/combinedOT27.txt [2025-01-10T21:12:32.659Z] STF 21:12:32.167 - | ExpectedNumMatches: 1 [2025-01-10T21:12:32.659Z] STF 21:12:32.167 - | SearchStrings: ["FindException: Hash of java.logging"] [2025-01-10T21:12:32.659Z] STF 21:12:32.167 - | [2025-01-10T21:12:32.659Z] STF 21:12:32.167 - Found 1 instances of ["FindException: Hash of java.logging"] [2025-01-10T21:12:32.659Z] STF 21:12:32.167 - EXECUTE stage completed [2025-01-10T21:12:32.659Z] STF 21:12:32.187 - [2025-01-10T21:12:32.659Z] STF 21:12:32.187 - ==================== T E A R D O W N ==================== [2025-01-10T21:12:32.659Z] STF 21:12:32.187 - Running teardown: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17365388109901/UpgModPath_JarImg_1/20250110-211227-UpgModPathTest/tearDown.pl [2025-01-10T21:12:32.659Z] STF 21:12:32.226 - TEARDOWN stage completed [2025-01-10T21:12:32.659Z] STF 21:12:32.232 - [2025-01-10T21:12:32.659Z] STF 21:12:32.232 - ===================== R E S U L T S ===================== [2025-01-10T21:12:32.659Z] STF 21:12:32.232 - Stage results: [2025-01-10T21:12:32.659Z] STF 21:12:32.232 - setUp: pass [2025-01-10T21:12:32.659Z] STF 21:12:32.232 - execute: pass [2025-01-10T21:12:32.659Z] STF 21:12:32.232 - teardown: pass [2025-01-10T21:12:32.659Z] STF 21:12:32.232 - [2025-01-10T21:12:32.659Z] STF 21:12:32.232 - Overall result: PASSED [2025-01-10T21:12:32.659Z] ----------------------------------- [2025-01-10T21:12:32.659Z] UpgModPath_JarImg_1_PASSED [2025-01-10T21:12:32.659Z] ----------------------------------- [2025-01-10T21:12:32.659Z] [2025-01-10T21:12:32.659Z] TEST TEARDOWN: [2025-01-10T21:12:32.659Z] Nothing to be done for teardown. [2025-01-10T21:12:32.659Z] UpgModPath_JarImg_1 Finish Time: Fri Jan 10 21:12:32 2025 Epoch Time (ms): 1736543552258