UpgModPath_Jar_2

[2024-11-15T23:10:28.397Z] Running test UpgModPath_Jar_2 ... [2024-11-15T23:10:28.397Z] =============================================== [2024-11-15T23:10:28.397Z] UpgModPath_Jar_2 Start Time: Fri Nov 15 23:10:27 2024 Epoch Time (ms): 1731712227672 [2024-11-15T23:10:28.397Z] variation: Mode1000 [2024-11-15T23:10:28.397Z] JVM_OPTIONS: [2024-11-15T23:10:28.397Z] { \ [2024-11-15T23:10:28.397Z] echo ""; echo "TEST SETUP:"; \ [2024-11-15T23:10:28.397Z] echo "Nothing to be done for setup."; \ [2024-11-15T23:10:28.397Z] mkdir -p "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_17317086481764/UpgModPath_Jar_2"; \ [2024-11-15T23:10:28.397Z] cd "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_17317086481764/UpgModPath_Jar_2"; \ [2024-11-15T23:10:28.397Z] echo ""; echo "TESTING:"; \ [2024-11-15T23:10:28.398Z] perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/../../testDependency/system_lib/" -java-args=' ' -results-root="/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_17317086481764/UpgModPath_Jar_2" -test=UpgModPathTest -test-args="variant=Jar"; \ [2024-11-15T23:10:28.398Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_Jar_2""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_17317086481764/UpgModPath_Jar_2"; else echo "-----------------------------------"; echo "UpgModPath_Jar_2""_FAILED"; echo "-----------------------------------"; fi; \ [2024-11-15T23:10:28.398Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-11-15T23:10:28.398Z] echo "Nothing to be done for teardown."; \ [2024-11-15T23:10:28.398Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_17317086481764/TestTargetResult"; [2024-11-15T23:10:28.398Z] [2024-11-15T23:10:28.398Z] TEST SETUP: [2024-11-15T23:10:28.398Z] Nothing to be done for setup. [2024-11-15T23:10:28.398Z] [2024-11-15T23:10:28.398Z] TESTING: [2024-11-15T23:10:28.398Z] STF 23:10:27.740 - ========================= S T F ========================= [2024-11-15T23:10:28.398Z] 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_arm_linux/aqa-tests/TKG/../TKG/output_17317086481764/UpgModPath_Jar_2 [2024-11-15T23:10:28.398Z] There is 66255 Mb free [2024-11-15T23:10:28.398Z] STF 23:10:27.748 - ================== G E N E R A T I O N ================== [2024-11-15T23:10:28.398Z] STF 23:10:27.749 - Checking JVM: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jdkbinary/j2sdk-image [2024-11-15T23:10:28.398Z] STF 23:10:27.749 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/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_arm_linux/../../testDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/../../testDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_17317086481764/UpgModPath_Jar_2/20241115-231027-UpgModPathTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_17317086481764/UpgModPath_Jar_2/20241115-231027-UpgModPathTest" [2024-11-15T23:10:29.172Z] GEN 23:10:28.702 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: '/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2024-11-15T23:10:29.172Z] GEN 23:10:28.717 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2024-11-15T23:10:29.172Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-11-15T23:10:29.172Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2024-11-15T23:10:29.172Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2024-11-15T23:10:29.172Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2024-11-15T23:10:29.172Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2024-11-15T23:10:29.172Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2024-11-15T23:10:29.172Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2024-11-15T23:10:29.172Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2024-11-15T23:10:29.172Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2024-11-15T23:10:29.172Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2024-11-15T23:10:29.172Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2024-11-15T23:10:29.172Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2024-11-15T23:10:29.172Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2024-11-15T23:10:29.172Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2024-11-15T23:10:29.172Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2024-11-15T23:10:29.173Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2024-11-15T23:10:29.173Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jvmtest/system/STF/stf.core/bin [2024-11-15T23:10:29.173Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-11-15T23:10:29.173Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-11-15T23:10:29.173Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar [2024-11-15T23:10:29.173Z] GEN 23:10:28.907 - Using Mode NoOptions. Values = '' [2024-11-15T23:10:29.173Z] GEN 23:10:29.033 - [2024-11-15T23:10:29.173Z] GEN 23:10:29.033 - Test command summary: [2024-11-15T23:10:29.173Z] GEN 23:10:29.034 - Step Stage Command Description [2024-11-15T23:10:29.173Z] GEN 23:10:29.034 - -----+--------+-----------------+------------ [2024-11-15T23:10:29.173Z] GEN 23:10:29.034 - 1 execute jar Create com.hello jar [2024-11-15T23:10:29.173Z] GEN 23:10:29.034 - 2 execute jar Create com.hola jar [2024-11-15T23:10:29.173Z] GEN 23:10:29.034 - 3 execute jar Create com.helper jar [2024-11-15T23:10:29.173Z] GEN 23:10:29.034 - 4 execute jar Create com.discreet jar [2024-11-15T23:10:29.173Z] GEN 23:10:29.034 - 5 execute jar Create tests jar [2024-11-15T23:10:29.173Z] GEN 23:10:29.034 - 6 execute jlink Create runtime image for upgrademodulepath test [2024-11-15T23:10:29.173Z] GEN 23:10:29.034 - 7 execute jar Create com.hello override jar [2024-11-15T23:10:29.173Z] GEN 23:10:29.034 - 8 execute jar Create com.hello override jar [2024-11-15T23:10:29.173Z] GEN 23:10:29.034 - 9 execute Run java Override an application module using modularized jar [2024-11-15T23:10:29.173Z] GEN 23:10:29.034 - 10 execute Run java (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar [2024-11-15T23:10:29.173Z] GEN 23:10:29.035 - 11 execute Run java Combine stderr and stdout files of process OT24 [2024-11-15T23:10:29.173Z] GEN 23:10:29.035 - 12 execute count Check output [2024-11-15T23:10:29.173Z] STF 23:10:29.070 - [2024-11-15T23:10:29.173Z] STF 23:10:29.070 - Script generation completed [2024-11-15T23:10:29.173Z] STF 23:10:29.070 - [2024-11-15T23:10:29.173Z] STF 23:10:29.071 - [2024-11-15T23:10:29.173Z] STF 23:10:29.071 - ======================= S E T U P ======================= [2024-11-15T23:10:29.173Z] STF 23:10:29.071 - Running setup: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_17317086481764/UpgModPath_Jar_2/20241115-231027-UpgModPathTest/setUp.pl [2024-11-15T23:10:29.979Z] STF 23:10:29.118 - SETUP stage completed [2024-11-15T23:10:29.979Z] STF 23:10:29.124 - [2024-11-15T23:10:29.979Z] STF 23:10:29.124 - ==================== E X E C U T E - ==================== [2024-11-15T23:10:29.979Z] STF 23:10:29.124 - Running execute: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_17317086481764/UpgModPath_Jar_2/20241115-231027-UpgModPathTest/execute.pl [2024-11-15T23:10:29.979Z] STF 23:10:29.175 - [2024-11-15T23:10:29.979Z] STF 23:10:29.175 - Java version [2024-11-15T23:10:29.979Z] STF 23:10:29.175 - Running: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jdkbinary/j2sdk-image/bin/java -version [2024-11-15T23:10:29.979Z] openjdk version "11.0.26-beta" 2025-01-21 [2024-11-15T23:10:29.979Z] OpenJDK Runtime Environment Temurin-11.0.26+1-202411152103 (build 11.0.26-beta+1-ea) [2024-11-15T23:10:29.979Z] OpenJDK Server VM Temurin-11.0.26+1-202411152103 (build 11.0.26-beta+1-ea, mixed mode) [2024-11-15T23:10:29.979Z] STF 23:10:29.268 - [2024-11-15T23:10:29.979Z] STF 23:10:29.268 - +------ Step 1 - Create com.hello jar [2024-11-15T23:10:29.979Z] STF 23:10:29.268 - | Create modular jar [2024-11-15T23:10:29.979Z] STF 23:10:29.268 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-11-15T23:10:29.979Z] STF 23:10:29.268 - | ModuleVersion: null [2024-11-15T23:10:29.979Z] STF 23:10:29.268 - | MainClass: null [2024-11-15T23:10:29.979Z] STF 23:10:29.268 - | HashModules: null [2024-11-15T23:10:29.979Z] STF 23:10:29.268 - | [2024-11-15T23:10:29.979Z] STF 23:10:29.269 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17317086481764/UpgModPath_Jar_2/20241115-231027-UpgModPathTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2024-11-15T23:10:29.979Z] STF 23:10:29.269 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17317086481764/UpgModPath_Jar_2/20241115-231027-UpgModPathTest/results/1.CMJ.stderr [2024-11-15T23:10:29.979Z] STF 23:10:29.269 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17317086481764/UpgModPath_Jar_2/20241115-231027-UpgModPathTest/results/1.CMJ.stdout [2024-11-15T23:10:29.979Z] STF 23:10:29.281 - Monitoring processes: CMJ [2024-11-15T23:10:29.979Z] STF 23:10:29.515 - Monitoring Report Summary: [2024-11-15T23:10:29.979Z] STF 23:10:29.515 - o Process CMJ ended with the expected exit code (0) [2024-11-15T23:10:29.979Z] STF 23:10:29.516 - Created modular jar: 1.com.hello.jar [2024-11-15T23:10:29.979Z] STF 23:10:29.516 - [2024-11-15T23:10:29.979Z] STF 23:10:29.516 - +------ Step 2 - Create com.hola jar [2024-11-15T23:10:29.979Z] STF 23:10:29.516 - | Create modular jar [2024-11-15T23:10:29.979Z] STF 23:10:29.516 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-11-15T23:10:29.979Z] STF 23:10:29.516 - | ModuleVersion: null [2024-11-15T23:10:29.979Z] STF 23:10:29.516 - | MainClass: null [2024-11-15T23:10:29.979Z] STF 23:10:29.516 - | HashModules: null [2024-11-15T23:10:29.979Z] STF 23:10:29.516 - | [2024-11-15T23:10:29.979Z] STF 23:10:29.516 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17317086481764/UpgModPath_Jar_2/20241115-231027-UpgModPathTest/modules/2.com.hola.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2024-11-15T23:10:29.979Z] STF 23:10:29.516 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17317086481764/UpgModPath_Jar_2/20241115-231027-UpgModPathTest/results/2.CMJ.stderr [2024-11-15T23:10:29.979Z] STF 23:10:29.516 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17317086481764/UpgModPath_Jar_2/20241115-231027-UpgModPathTest/results/2.CMJ.stdout [2024-11-15T23:10:29.979Z] STF 23:10:29.520 - Monitoring processes: CMJ [2024-11-15T23:10:29.979Z] STF 23:10:29.766 - Monitoring Report Summary: [2024-11-15T23:10:29.979Z] STF 23:10:29.766 - o Process CMJ ended with the expected exit code (0) [2024-11-15T23:10:29.979Z] STF 23:10:29.766 - Created modular jar: 2.com.hola.jar [2024-11-15T23:10:29.979Z] STF 23:10:29.766 - [2024-11-15T23:10:29.979Z] STF 23:10:29.766 - +------ Step 3 - Create com.helper jar [2024-11-15T23:10:29.979Z] STF 23:10:29.766 - | Create modular jar [2024-11-15T23:10:29.979Z] STF 23:10:29.766 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-11-15T23:10:29.979Z] STF 23:10:29.766 - | ModuleVersion: null [2024-11-15T23:10:29.979Z] STF 23:10:29.766 - | MainClass: null [2024-11-15T23:10:29.979Z] STF 23:10:29.766 - | HashModules: null [2024-11-15T23:10:29.979Z] STF 23:10:29.766 - | [2024-11-15T23:10:29.979Z] STF 23:10:29.767 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17317086481764/UpgModPath_Jar_2/20241115-231027-UpgModPathTest/modules/3.com.helper.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2024-11-15T23:10:29.979Z] STF 23:10:29.767 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17317086481764/UpgModPath_Jar_2/20241115-231027-UpgModPathTest/results/3.CMJ.stderr [2024-11-15T23:10:29.979Z] STF 23:10:29.767 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17317086481764/UpgModPath_Jar_2/20241115-231027-UpgModPathTest/results/3.CMJ.stdout [2024-11-15T23:10:29.979Z] STF 23:10:29.769 - Monitoring processes: CMJ [2024-11-15T23:10:30.756Z] STF 23:10:30.002 - Monitoring Report Summary: [2024-11-15T23:10:30.756Z] STF 23:10:30.002 - o Process CMJ ended with the expected exit code (0) [2024-11-15T23:10:30.756Z] STF 23:10:30.002 - Created modular jar: 3.com.helper.jar [2024-11-15T23:10:30.756Z] STF 23:10:30.002 - [2024-11-15T23:10:30.756Z] STF 23:10:30.002 - +------ Step 4 - Create com.discreet jar [2024-11-15T23:10:30.756Z] STF 23:10:30.002 - | Create modular jar [2024-11-15T23:10:30.756Z] STF 23:10:30.002 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-11-15T23:10:30.756Z] STF 23:10:30.002 - | ModuleVersion: null [2024-11-15T23:10:30.756Z] STF 23:10:30.002 - | MainClass: null [2024-11-15T23:10:30.756Z] STF 23:10:30.002 - | HashModules: null [2024-11-15T23:10:30.756Z] STF 23:10:30.002 - | [2024-11-15T23:10:30.756Z] STF 23:10:30.003 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17317086481764/UpgModPath_Jar_2/20241115-231027-UpgModPathTest/modules/4.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2024-11-15T23:10:30.756Z] STF 23:10:30.003 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17317086481764/UpgModPath_Jar_2/20241115-231027-UpgModPathTest/results/4.CMJ.stderr [2024-11-15T23:10:30.756Z] STF 23:10:30.003 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17317086481764/UpgModPath_Jar_2/20241115-231027-UpgModPathTest/results/4.CMJ.stdout [2024-11-15T23:10:30.756Z] STF 23:10:30.005 - Monitoring processes: CMJ [2024-11-15T23:10:30.756Z] STF 23:10:30.254 - Monitoring Report Summary: [2024-11-15T23:10:30.756Z] STF 23:10:30.254 - o Process CMJ ended with the expected exit code (0) [2024-11-15T23:10:30.756Z] STF 23:10:30.254 - Created modular jar: 4.com.discreet.jar [2024-11-15T23:10:30.756Z] STF 23:10:30.254 - [2024-11-15T23:10:30.756Z] STF 23:10:30.254 - +------ Step 5 - Create tests jar [2024-11-15T23:10:30.756Z] STF 23:10:30.254 - | Create modular jar [2024-11-15T23:10:30.756Z] STF 23:10:30.254 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-11-15T23:10:30.756Z] STF 23:10:30.254 - | ModuleVersion: null [2024-11-15T23:10:30.756Z] STF 23:10:30.254 - | MainClass: null [2024-11-15T23:10:30.756Z] STF 23:10:30.254 - | HashModules: null [2024-11-15T23:10:30.756Z] STF 23:10:30.254 - | [2024-11-15T23:10:30.756Z] STF 23:10:30.255 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17317086481764/UpgModPath_Jar_2/20241115-231027-UpgModPathTest/modules/5.com.test.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2024-11-15T23:10:30.756Z] STF 23:10:30.255 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17317086481764/UpgModPath_Jar_2/20241115-231027-UpgModPathTest/results/5.CMJ.stderr [2024-11-15T23:10:30.756Z] STF 23:10:30.255 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17317086481764/UpgModPath_Jar_2/20241115-231027-UpgModPathTest/results/5.CMJ.stdout [2024-11-15T23:10:30.756Z] STF 23:10:30.257 - Monitoring processes: CMJ [2024-11-15T23:10:30.756Z] STF 23:10:30.498 - Monitoring Report Summary: [2024-11-15T23:10:30.756Z] STF 23:10:30.498 - o Process CMJ ended with the expected exit code (0) [2024-11-15T23:10:30.756Z] STF 23:10:30.498 - Created modular jar: 5.com.test.jar [2024-11-15T23:10:30.756Z] STF 23:10:30.498 - [2024-11-15T23:10:30.756Z] STF 23:10:30.498 - +------ Step 6 - Create runtime image for upgrademodulepath test [2024-11-15T23:10:30.756Z] STF 23:10:30.498 - | Run jlink to create runtime image [2024-11-15T23:10:30.756Z] STF 23:10:30.498 - | ImageName: UpJVM [2024-11-15T23:10:30.756Z] STF 23:10:30.498 - | [2024-11-15T23:10:30.757Z] STF 23:10:30.499 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17317086481764/UpgModPath_Jar_2/20241115-231027-UpgModPathTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17317086481764/UpgModPath_Jar_2/20241115-231027-UpgModPathTest/tmp/6.UpJVM [2024-11-15T23:10:30.757Z] STF 23:10:30.499 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17317086481764/UpgModPath_Jar_2/20241115-231027-UpgModPathTest/results/6.JLNK.stderr [2024-11-15T23:10:30.757Z] STF 23:10:30.499 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17317086481764/UpgModPath_Jar_2/20241115-231027-UpgModPathTest/results/6.JLNK.stdout [2024-11-15T23:10:30.757Z] STF 23:10:30.501 - Monitoring processes: JLNK [2024-11-15T23:10:34.201Z] STF 23:10:33.325 - Monitoring Report Summary: [2024-11-15T23:10:34.201Z] STF 23:10:33.325 - o Process JLNK ended with the expected exit code (0) [2024-11-15T23:10:34.201Z] STF 23:10:33.325 - [2024-11-15T23:10:34.201Z] STF 23:10:33.325 - +------ Step 7 - Create com.hello override jar [2024-11-15T23:10:34.201Z] STF 23:10:33.325 - | Create modular jar [2024-11-15T23:10:34.201Z] STF 23:10:33.325 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-11-15T23:10:34.201Z] STF 23:10:33.325 - | ModuleVersion: null [2024-11-15T23:10:34.201Z] STF 23:10:33.325 - | MainClass: null [2024-11-15T23:10:34.201Z] STF 23:10:33.325 - | HashModules: null [2024-11-15T23:10:34.201Z] STF 23:10:33.326 - | [2024-11-15T23:10:34.201Z] STF 23:10:33.326 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17317086481764/UpgModPath_Jar_2/20241115-231027-UpgModPathTest/modules/7.com.hello.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2024-11-15T23:10:34.201Z] STF 23:10:33.326 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17317086481764/UpgModPath_Jar_2/20241115-231027-UpgModPathTest/results/7.CMJ.stderr [2024-11-15T23:10:34.201Z] STF 23:10:33.326 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17317086481764/UpgModPath_Jar_2/20241115-231027-UpgModPathTest/results/7.CMJ.stdout [2024-11-15T23:10:34.201Z] STF 23:10:33.331 - Monitoring processes: CMJ [2024-11-15T23:10:34.201Z] STF 23:10:33.571 - Monitoring Report Summary: [2024-11-15T23:10:34.201Z] STF 23:10:33.571 - o Process CMJ ended with the expected exit code (0) [2024-11-15T23:10:34.201Z] STF 23:10:33.572 - Created modular jar: 7.com.hello.jar [2024-11-15T23:10:34.201Z] STF 23:10:33.572 - [2024-11-15T23:10:34.201Z] STF 23:10:33.572 - +------ Step 8 - Create com.hello override jar [2024-11-15T23:10:34.201Z] STF 23:10:33.572 - | Create modular jar [2024-11-15T23:10:34.201Z] STF 23:10:33.572 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2024-11-15T23:10:34.201Z] STF 23:10:33.572 - | ModuleVersion: null [2024-11-15T23:10:34.201Z] STF 23:10:33.572 - | MainClass: null [2024-11-15T23:10:34.201Z] STF 23:10:33.572 - | HashModules: null [2024-11-15T23:10:34.201Z] STF 23:10:33.572 - | [2024-11-15T23:10:34.201Z] STF 23:10:33.572 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17317086481764/UpgModPath_Jar_2/20241115-231027-UpgModPathTest/modules/8.java.logging.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.logging . [2024-11-15T23:10:34.201Z] STF 23:10:33.572 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17317086481764/UpgModPath_Jar_2/20241115-231027-UpgModPathTest/results/8.CMJ.stderr [2024-11-15T23:10:34.201Z] STF 23:10:33.572 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17317086481764/UpgModPath_Jar_2/20241115-231027-UpgModPathTest/results/8.CMJ.stdout [2024-11-15T23:10:34.201Z] STF 23:10:33.575 - Monitoring processes: CMJ [2024-11-15T23:10:34.201Z] STF 23:10:33.811 - Monitoring Report Summary: [2024-11-15T23:10:34.201Z] STF 23:10:33.811 - o Process CMJ ended with the expected exit code (0) [2024-11-15T23:10:34.201Z] STF 23:10:33.811 - Created modular jar: 8.java.logging.jar [2024-11-15T23:10:34.201Z] STF 23:10:33.811 - [2024-11-15T23:10:34.201Z] STF 23:10:33.811 - +------ Step 9 - Override an application module using modularized jar [2024-11-15T23:10:34.201Z] STF 23:10:33.811 - | Run foreground process [2024-11-15T23:10:34.201Z] STF 23:10:33.811 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jdkbinary/j2sdk-image/bin/java [2024-11-15T23:10:34.201Z] STF 23:10:33.811 - | Mnemonic: OT21 [2024-11-15T23:10:34.201Z] STF 23:10:33.811 - | Echo: ECHO_ON [2024-11-15T23:10:34.201Z] STF 23:10:33.811 - | Expectation: CLEAN_RUN within 1m [2024-11-15T23:10:34.201Z] STF 23:10:33.811 - | [2024-11-15T23:10:34.201Z] STF 23:10:33.812 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --upgrade-module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17317086481764/UpgModPath_Jar_2/20241115-231027-UpgModPathTest/modules/7.com.hello.jar --add-modules=com.test -classpath /home/jenkins/testDependency/system_lib/junit/junit.jar:/home/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2024-11-15T23:10:34.201Z] STF 23:10:33.812 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17317086481764/UpgModPath_Jar_2/20241115-231027-UpgModPathTest/results/9.OT21.stderr [2024-11-15T23:10:34.201Z] STF 23:10:33.812 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17317086481764/UpgModPath_Jar_2/20241115-231027-UpgModPathTest/results/9.OT21.stdout [2024-11-15T23:10:34.201Z] STF 23:10:33.814 - Monitoring processes: OT21 [2024-11-15T23:10:34.201Z] OT21 JUnit version 4.12 [2024-11-15T23:10:34.201Z] OT21 . [2024-11-15T23:10:34.201Z] OT21 Time: 0.004 [2024-11-15T23:10:34.201Z] OT21 [2024-11-15T23:10:34.201Z] OT21 OK (1 test) [2024-11-15T23:10:34.202Z] OT21 [2024-11-15T23:10:34.979Z] STF 23:10:34.136 - Monitoring Report Summary: [2024-11-15T23:10:34.979Z] STF 23:10:34.136 - o Process OT21 ended with the expected exit code (0) [2024-11-15T23:10:34.979Z] STF 23:10:34.137 - [2024-11-15T23:10:34.979Z] STF 23:10:34.137 - +------ Step 10 - (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar [2024-11-15T23:10:34.979Z] STF 23:10:34.137 - | Run foreground process [2024-11-15T23:10:34.979Z] STF 23:10:34.137 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jdkbinary/j2sdk-image/bin/java [2024-11-15T23:10:34.979Z] STF 23:10:34.137 - | Mnemonic: OT24 [2024-11-15T23:10:34.979Z] STF 23:10:34.137 - | Echo: ECHO_ON [2024-11-15T23:10:34.979Z] STF 23:10:34.137 - | Expectation: NON_ZERO_EXIT [1] within 1m [2024-11-15T23:10:34.979Z] STF 23:10:34.137 - | [2024-11-15T23:10:34.979Z] STF 23:10:34.138 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --upgrade-module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17317086481764/UpgModPath_Jar_2/20241115-231027-UpgModPathTest/modules/8.java.logging.jar --add-modules=com.test -classpath /home/jenkins/testDependency/system_lib/junit/junit.jar:/home/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingNonUpgradablePlatformModule [2024-11-15T23:10:34.980Z] STF 23:10:34.138 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17317086481764/UpgModPath_Jar_2/20241115-231027-UpgModPathTest/results/10.OT24.stderr [2024-11-15T23:10:34.980Z] STF 23:10:34.138 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17317086481764/UpgModPath_Jar_2/20241115-231027-UpgModPathTest/results/10.OT24.stdout [2024-11-15T23:10:34.980Z] STF 23:10:34.141 - Monitoring processes: OT24 [2024-11-15T23:10:34.980Z] OT24 Error occurred during initialization of boot layer [2024-11-15T23:10:34.980Z] OT24 java.lang.module.FindException: Hash of java.logging (bedcf9f9b016de9d6965aeb813d1aa5a7ba4bf40e659f94655f933323eb12783) differs to expected hash (eb98d5b4f64b32708cc221bc47f485d9665ac287003999b0df6b82ea349766fb) recorded in java.base [2024-11-15T23:10:34.980Z] STF 23:10:34.350 - Monitoring Report Summary: [2024-11-15T23:10:34.980Z] STF 23:10:34.350 - o Process OT24 ended with the expected exit code (1) [2024-11-15T23:10:34.980Z] STF 23:10:34.350 - [2024-11-15T23:10:34.980Z] STF 23:10:34.350 - +------ Step 11 - Combine stderr and stdout files of process OT24 [2024-11-15T23:10:34.980Z] STF 23:10:34.350 - | Run foreground process [2024-11-15T23:10:34.980Z] STF 23:10:34.350 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jdkbinary/j2sdk-image/bin/java [2024-11-15T23:10:34.980Z] STF 23:10:34.350 - | Mnemonic: CO [2024-11-15T23:10:34.980Z] STF 23:10:34.350 - | Echo: ECHO_OFF [2024-11-15T23:10:34.980Z] STF 23:10:34.350 - | Expectation: NON_ZERO_EXIT [0] within 30s [2024-11-15T23:10:34.980Z] STF 23:10:34.350 - | [2024-11-15T23:10:34.980Z] STF 23:10:34.351 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jdkbinary/j2sdk-image/bin/java -Dfile1=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17317086481764/UpgModPath_Jar_2/20241115-231027-UpgModPathTest/results/10.OT24.stdout -Dfile2=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17317086481764/UpgModPath_Jar_2/20241115-231027-UpgModPathTest/results/10.OT24.stderr -Dfinal.file=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17317086481764/UpgModPath_Jar_2/20241115-231027-UpgModPathTest/results/combinedOT24.txt -classpath /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jvmtest/system/STF/stf.core/bin:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin net.adoptopenjdk.test.modularity.TestUtil [2024-11-15T23:10:34.980Z] STF 23:10:34.351 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17317086481764/UpgModPath_Jar_2/20241115-231027-UpgModPathTest/results/11.CO.stderr [2024-11-15T23:10:34.980Z] STF 23:10:34.351 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17317086481764/UpgModPath_Jar_2/20241115-231027-UpgModPathTest/results/11.CO.stdout [2024-11-15T23:10:34.980Z] STF 23:10:34.353 - Monitoring processes: CO [2024-11-15T23:10:34.980Z] STF 23:10:34.536 - Monitoring Report Summary: [2024-11-15T23:10:34.980Z] STF 23:10:34.536 - o Process CO ended with the expected exit code (0) [2024-11-15T23:10:34.980Z] STF 23:10:34.536 - [2024-11-15T23:10:34.980Z] STF 23:10:34.536 - +------ Step 12 - Check output [2024-11-15T23:10:34.980Z] STF 23:10:34.536 - | Count file matches [2024-11-15T23:10:34.980Z] STF 23:10:34.536 - | TargetFile: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17317086481764/UpgModPath_Jar_2/20241115-231027-UpgModPathTest/results/combinedOT24.txt [2024-11-15T23:10:34.980Z] STF 23:10:34.536 - | ExpectedNumMatches: 1 [2024-11-15T23:10:34.980Z] STF 23:10:34.536 - | SearchStrings: ["FindException: Hash of java.logging"] [2024-11-15T23:10:34.980Z] STF 23:10:34.537 - | [2024-11-15T23:10:34.980Z] STF 23:10:34.537 - Found 1 instances of ["FindException: Hash of java.logging"] [2024-11-15T23:10:34.980Z] STF 23:10:34.537 - EXECUTE stage completed [2024-11-15T23:10:34.980Z] STF 23:10:34.585 - [2024-11-15T23:10:34.980Z] STF 23:10:34.585 - ==================== T E A R D O W N ==================== [2024-11-15T23:10:34.980Z] STF 23:10:34.585 - Running teardown: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_17317086481764/UpgModPath_Jar_2/20241115-231027-UpgModPathTest/tearDown.pl [2024-11-15T23:10:34.980Z] STF 23:10:34.632 - TEARDOWN stage completed [2024-11-15T23:10:34.980Z] STF 23:10:34.636 - [2024-11-15T23:10:34.980Z] STF 23:10:34.636 - ===================== R E S U L T S ===================== [2024-11-15T23:10:34.980Z] STF 23:10:34.636 - Stage results: [2024-11-15T23:10:34.980Z] STF 23:10:34.636 - setUp: pass [2024-11-15T23:10:34.980Z] STF 23:10:34.636 - execute: pass [2024-11-15T23:10:34.980Z] STF 23:10:34.636 - teardown: pass [2024-11-15T23:10:34.980Z] STF 23:10:34.636 - [2024-11-15T23:10:34.980Z] STF 23:10:34.636 - Overall result: PASSED [2024-11-15T23:10:34.980Z] ----------------------------------- [2024-11-15T23:10:34.980Z] UpgModPath_Jar_2_PASSED [2024-11-15T23:10:34.980Z] ----------------------------------- [2024-11-15T23:10:34.980Z] [2024-11-15T23:10:34.980Z] TEST TEARDOWN: [2024-11-15T23:10:34.980Z] Nothing to be done for teardown. [2024-11-15T23:10:34.980Z] UpgModPath_Jar_2 Finish Time: Fri Nov 15 23:10:34 2024 Epoch Time (ms): 1731712234680