UpgModPath_JarImg_2

[2023-04-19T00:28:20.356Z] Running test UpgModPath_JarImg_2 ... [2023-04-19T00:28:20.356Z] =============================================== [2023-04-19T00:28:20.356Z] UpgModPath_JarImg_2 Start Time: Wed Apr 19 00:28:20 2023 Epoch Time (ms): 1681864100217 [2023-04-19T00:28:20.356Z] variation: Mode1000 [2023-04-19T00:28:20.356Z] JVM_OPTIONS: [2023-04-19T00:28:20.356Z] { \ [2023-04-19T00:28:20.356Z] echo ""; echo "TEST SETUP:"; \ [2023-04-19T00:28:20.356Z] echo "Nothing to be done for setup."; \ [2023-04-19T00:28:20.356Z] mkdir -p "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_1681860136987/UpgModPath_JarImg_2"; \ [2023-04-19T00:28:20.356Z] cd "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_1681860136987/UpgModPath_JarImg_2"; \ [2023-04-19T00:28:20.356Z] echo ""; echo "TESTING:"; \ [2023-04-19T00:28:20.357Z] perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../../jvmtest/system/modularity/..//systemtest_prereqs" -java-args=' ' -results-root="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_1681860136987/UpgModPath_JarImg_2" -test=UpgModPathTest -test-args="variant=JarImg"; \ [2023-04-19T00:28:20.357Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_JarImg_2""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_1681860136987/UpgModPath_JarImg_2"; else echo "-----------------------------------"; echo "UpgModPath_JarImg_2""_FAILED"; echo "-----------------------------------"; fi; \ [2023-04-19T00:28:20.357Z] echo ""; echo "TEST TEARDOWN:"; \ [2023-04-19T00:28:20.357Z] echo "Nothing to be done for teardown."; \ [2023-04-19T00:28:20.357Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_1681860136987/TestTargetResult"; [2023-04-19T00:28:20.357Z] [2023-04-19T00:28:20.357Z] TEST SETUP: [2023-04-19T00:28:20.357Z] Nothing to be done for setup. [2023-04-19T00:28:20.357Z] [2023-04-19T00:28:20.357Z] TESTING: [2023-04-19T00:28:21.121Z] STF 00:28:20.301 - ========================= S T F ========================= [2023-04-19T00:28:21.122Z] systemtest-prereqs has been processed, and set to: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/systemtest_prereqsRetrieving amount of free space on drive containing /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_1681860136987/UpgModPath_JarImg_2 [2023-04-19T00:28:21.122Z] There is 175222 Mb free [2023-04-19T00:28:21.122Z] STF 00:28:20.308 - ================== G E N E R A T I O N ================== [2023-04-19T00:28:21.122Z] STF 00:28:20.310 - Checking JVM: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/openjdkbinary/j2sdk-image [2023-04-19T00:28:21.122Z] STF 00:28:20.310 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/openjdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../../jvmtest/system/modularity/..//systemtest_prereqs/log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../../jvmtest/system/modularity/..//systemtest_prereqs/log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_1681860136987/UpgModPath_JarImg_2/20230419-002820-UpgModPathTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_1681860136987/UpgModPath_JarImg_2/20230419-002820-UpgModPathTest" [2023-04-19T00:28:21.122Z] GEN stderr OpenJDK Server VM warning: Archived non-system classes are disabled because the java.system.class.loader property is specified (value = "net.adoptopenjdk.stf.runner.StfClassLoader"). To use archived non-system classes, this property must not be set [2023-04-19T00:28:21.889Z] GEN 00:28:21.074 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: '/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2023-04-19T00:28:21.889Z] GEN 00:28:21.087 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2023-04-19T00:28:21.889Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2023-04-19T00:28:21.889Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2023-04-19T00:28:21.889Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2023-04-19T00:28:21.889Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2023-04-19T00:28:21.889Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2023-04-19T00:28:21.889Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2023-04-19T00:28:21.889Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2023-04-19T00:28:21.890Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2023-04-19T00:28:21.890Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2023-04-19T00:28:21.890Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2023-04-19T00:28:21.890Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2023-04-19T00:28:21.890Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2023-04-19T00:28:21.890Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2023-04-19T00:28:21.890Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2023-04-19T00:28:21.890Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2023-04-19T00:28:21.890Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2023-04-19T00:28:21.890Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/STF/stf.core/bin [2023-04-19T00:28:21.890Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/systemtest_prereqs/log4j/log4j-api.jar [2023-04-19T00:28:21.890Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/systemtest_prereqs/log4j/log4j-core.jar [2023-04-19T00:28:21.890Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/systemtest_prereqs/junit/junit.jar [2023-04-19T00:28:21.890Z] GEN 00:28:21.234 - Using Mode NoOptions. Values = '' [2023-04-19T00:28:21.890Z] GEN 00:28:21.336 - [2023-04-19T00:28:21.890Z] GEN 00:28:21.336 - Test command summary: [2023-04-19T00:28:21.890Z] GEN 00:28:21.337 - Step Stage Command Description [2023-04-19T00:28:21.890Z] GEN 00:28:21.337 - -----+--------+-----------------+------------ [2023-04-19T00:28:21.890Z] GEN 00:28:21.337 - 1 execute jar Create com.hello jar [2023-04-19T00:28:21.890Z] GEN 00:28:21.337 - 2 execute jar Create com.hola jar [2023-04-19T00:28:21.890Z] GEN 00:28:21.337 - 3 execute jar Create com.helper jar [2023-04-19T00:28:21.890Z] GEN 00:28:21.337 - 4 execute jar Create com.discreet jar [2023-04-19T00:28:21.890Z] GEN 00:28:21.337 - 5 execute jar Create tests jar [2023-04-19T00:28:21.890Z] GEN 00:28:21.337 - 6 execute jlink Create runtime image for upgrademodulepath test [2023-04-19T00:28:21.890Z] GEN 00:28:21.337 - 7 execute jar Create com.hello override jar [2023-04-19T00:28:21.890Z] GEN 00:28:21.337 - 8 execute jar Create com.hello override jar [2023-04-19T00:28:21.890Z] GEN 00:28:21.338 - 9 execute Run java Override an application module using a custom runtime image where the overriding module is in a modularized jar [2023-04-19T00:28:21.890Z] GEN 00:28:21.338 - 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 [2023-04-19T00:28:21.890Z] GEN 00:28:21.338 - 11 execute Run java Combine stderr and stdout files of process OT27 [2023-04-19T00:28:21.890Z] GEN 00:28:21.338 - 12 execute count Check output [2023-04-19T00:28:21.890Z] STF 00:28:21.392 - [2023-04-19T00:28:21.890Z] STF 00:28:21.392 - Script generation completed [2023-04-19T00:28:21.890Z] STF 00:28:21.392 - [2023-04-19T00:28:21.890Z] STF 00:28:21.392 - [2023-04-19T00:28:21.890Z] STF 00:28:21.393 - ======================= S E T U P ======================= [2023-04-19T00:28:21.890Z] STF 00:28:21.393 - Running setup: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_1681860136987/UpgModPath_JarImg_2/20230419-002820-UpgModPathTest/setUp.pl [2023-04-19T00:28:21.890Z] STF 00:28:21.456 - SETUP stage completed [2023-04-19T00:28:21.890Z] STF 00:28:21.461 - [2023-04-19T00:28:21.890Z] STF 00:28:21.461 - ==================== E X E C U T E - ==================== [2023-04-19T00:28:21.890Z] STF 00:28:21.462 - Running execute: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_1681860136987/UpgModPath_JarImg_2/20230419-002820-UpgModPathTest/execute.pl [2023-04-19T00:28:21.890Z] STF 00:28:21.515 - [2023-04-19T00:28:21.890Z] STF 00:28:21.515 - Java version [2023-04-19T00:28:21.890Z] STF 00:28:21.515 - Running: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/openjdkbinary/j2sdk-image/bin/java -version [2023-04-19T00:28:21.890Z] openjdk version "17.0.7" 2023-04-18 [2023-04-19T00:28:21.890Z] OpenJDK Runtime Environment Temurin-17.0.7+7 (build 17.0.7+7) [2023-04-19T00:28:21.890Z] OpenJDK Server VM Temurin-17.0.7+7 (build 17.0.7+7, mixed mode, sharing) [2023-04-19T00:28:21.890Z] STF 00:28:21.581 - [2023-04-19T00:28:21.890Z] STF 00:28:21.581 - +------ Step 1 - Create com.hello jar [2023-04-19T00:28:21.890Z] STF 00:28:21.581 - | Create modular jar [2023-04-19T00:28:21.890Z] STF 00:28:21.581 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2023-04-19T00:28:21.890Z] STF 00:28:21.581 - | ModuleVersion: null [2023-04-19T00:28:21.890Z] STF 00:28:21.581 - | MainClass: null [2023-04-19T00:28:21.890Z] STF 00:28:21.581 - | HashModules: null [2023-04-19T00:28:21.890Z] STF 00:28:21.581 - | [2023-04-19T00:28:21.890Z] STF 00:28:21.582 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/openjdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/UpgModPath_JarImg_2/20230419-002820-UpgModPathTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2023-04-19T00:28:21.890Z] STF 00:28:21.582 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/UpgModPath_JarImg_2/20230419-002820-UpgModPathTest/results/1.CMJ.stderr [2023-04-19T00:28:21.890Z] STF 00:28:21.582 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/UpgModPath_JarImg_2/20230419-002820-UpgModPathTest/results/1.CMJ.stdout [2023-04-19T00:28:21.890Z] STF 00:28:21.591 - Monitoring processes: CMJ [2023-04-19T00:28:22.658Z] STF 00:28:21.846 - Monitoring Report Summary: [2023-04-19T00:28:22.658Z] STF 00:28:21.846 - o Process CMJ ended with the expected exit code (0) [2023-04-19T00:28:22.658Z] STF 00:28:21.846 - Created modular jar: 1.com.hello.jar [2023-04-19T00:28:22.658Z] STF 00:28:21.846 - [2023-04-19T00:28:22.658Z] STF 00:28:21.846 - +------ Step 2 - Create com.hola jar [2023-04-19T00:28:22.658Z] STF 00:28:21.846 - | Create modular jar [2023-04-19T00:28:22.658Z] STF 00:28:21.846 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2023-04-19T00:28:22.658Z] STF 00:28:21.846 - | ModuleVersion: null [2023-04-19T00:28:22.658Z] STF 00:28:21.846 - | MainClass: null [2023-04-19T00:28:22.658Z] STF 00:28:21.846 - | HashModules: null [2023-04-19T00:28:22.658Z] STF 00:28:21.846 - | [2023-04-19T00:28:22.658Z] STF 00:28:21.847 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/openjdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/UpgModPath_JarImg_2/20230419-002820-UpgModPathTest/modules/2.com.hola.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2023-04-19T00:28:22.658Z] STF 00:28:21.847 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/UpgModPath_JarImg_2/20230419-002820-UpgModPathTest/results/2.CMJ.stderr [2023-04-19T00:28:22.658Z] STF 00:28:21.847 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/UpgModPath_JarImg_2/20230419-002820-UpgModPathTest/results/2.CMJ.stdout [2023-04-19T00:28:22.658Z] STF 00:28:21.849 - Monitoring processes: CMJ [2023-04-19T00:28:22.658Z] STF 00:28:22.105 - Monitoring Report Summary: [2023-04-19T00:28:22.658Z] STF 00:28:22.105 - o Process CMJ ended with the expected exit code (0) [2023-04-19T00:28:22.658Z] STF 00:28:22.106 - Created modular jar: 2.com.hola.jar [2023-04-19T00:28:22.658Z] STF 00:28:22.106 - [2023-04-19T00:28:22.658Z] STF 00:28:22.106 - +------ Step 3 - Create com.helper jar [2023-04-19T00:28:22.658Z] STF 00:28:22.106 - | Create modular jar [2023-04-19T00:28:22.658Z] STF 00:28:22.106 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2023-04-19T00:28:22.658Z] STF 00:28:22.106 - | ModuleVersion: null [2023-04-19T00:28:22.658Z] STF 00:28:22.106 - | MainClass: null [2023-04-19T00:28:22.658Z] STF 00:28:22.106 - | HashModules: null [2023-04-19T00:28:22.658Z] STF 00:28:22.106 - | [2023-04-19T00:28:22.658Z] STF 00:28:22.106 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/openjdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/UpgModPath_JarImg_2/20230419-002820-UpgModPathTest/modules/3.com.helper.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2023-04-19T00:28:22.658Z] STF 00:28:22.106 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/UpgModPath_JarImg_2/20230419-002820-UpgModPathTest/results/3.CMJ.stderr [2023-04-19T00:28:22.658Z] STF 00:28:22.106 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/UpgModPath_JarImg_2/20230419-002820-UpgModPathTest/results/3.CMJ.stdout [2023-04-19T00:28:22.658Z] STF 00:28:22.108 - Monitoring processes: CMJ [2023-04-19T00:28:22.658Z] STF 00:28:22.363 - Monitoring Report Summary: [2023-04-19T00:28:22.658Z] STF 00:28:22.363 - o Process CMJ ended with the expected exit code (0) [2023-04-19T00:28:22.658Z] STF 00:28:22.363 - Created modular jar: 3.com.helper.jar [2023-04-19T00:28:22.658Z] STF 00:28:22.363 - [2023-04-19T00:28:22.658Z] STF 00:28:22.363 - +------ Step 4 - Create com.discreet jar [2023-04-19T00:28:22.658Z] STF 00:28:22.363 - | Create modular jar [2023-04-19T00:28:22.658Z] STF 00:28:22.363 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2023-04-19T00:28:22.658Z] STF 00:28:22.363 - | ModuleVersion: null [2023-04-19T00:28:22.658Z] STF 00:28:22.363 - | MainClass: null [2023-04-19T00:28:22.658Z] STF 00:28:22.363 - | HashModules: null [2023-04-19T00:28:22.658Z] STF 00:28:22.363 - | [2023-04-19T00:28:22.658Z] STF 00:28:22.364 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/openjdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/UpgModPath_JarImg_2/20230419-002820-UpgModPathTest/modules/4.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2023-04-19T00:28:22.658Z] STF 00:28:22.364 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/UpgModPath_JarImg_2/20230419-002820-UpgModPathTest/results/4.CMJ.stderr [2023-04-19T00:28:22.658Z] STF 00:28:22.364 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/UpgModPath_JarImg_2/20230419-002820-UpgModPathTest/results/4.CMJ.stdout [2023-04-19T00:28:22.658Z] STF 00:28:22.366 - Monitoring processes: CMJ [2023-04-19T00:28:23.426Z] STF 00:28:22.635 - Monitoring Report Summary: [2023-04-19T00:28:23.426Z] STF 00:28:22.635 - o Process CMJ ended with the expected exit code (0) [2023-04-19T00:28:23.426Z] STF 00:28:22.636 - Created modular jar: 4.com.discreet.jar [2023-04-19T00:28:23.426Z] STF 00:28:22.636 - [2023-04-19T00:28:23.426Z] STF 00:28:22.636 - +------ Step 5 - Create tests jar [2023-04-19T00:28:23.426Z] STF 00:28:22.636 - | Create modular jar [2023-04-19T00:28:23.426Z] STF 00:28:22.636 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2023-04-19T00:28:23.426Z] STF 00:28:22.636 - | ModuleVersion: null [2023-04-19T00:28:23.426Z] STF 00:28:22.636 - | MainClass: null [2023-04-19T00:28:23.426Z] STF 00:28:22.636 - | HashModules: null [2023-04-19T00:28:23.426Z] STF 00:28:22.636 - | [2023-04-19T00:28:23.426Z] STF 00:28:22.636 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/openjdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/UpgModPath_JarImg_2/20230419-002820-UpgModPathTest/modules/5.com.test.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2023-04-19T00:28:23.426Z] STF 00:28:22.636 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/UpgModPath_JarImg_2/20230419-002820-UpgModPathTest/results/5.CMJ.stderr [2023-04-19T00:28:23.426Z] STF 00:28:22.636 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/UpgModPath_JarImg_2/20230419-002820-UpgModPathTest/results/5.CMJ.stdout [2023-04-19T00:28:23.426Z] STF 00:28:22.639 - Monitoring processes: CMJ [2023-04-19T00:28:23.426Z] STF 00:28:22.844 - Monitoring Report Summary: [2023-04-19T00:28:23.426Z] STF 00:28:22.844 - o Process CMJ ended with the expected exit code (0) [2023-04-19T00:28:23.426Z] STF 00:28:22.844 - Created modular jar: 5.com.test.jar [2023-04-19T00:28:23.426Z] STF 00:28:22.844 - [2023-04-19T00:28:23.426Z] STF 00:28:22.844 - +------ Step 6 - Create runtime image for upgrademodulepath test [2023-04-19T00:28:23.426Z] STF 00:28:22.844 - | Run jlink to create runtime image [2023-04-19T00:28:23.426Z] STF 00:28:22.844 - | ImageName: UpJVM [2023-04-19T00:28:23.426Z] STF 00:28:22.845 - | [2023-04-19T00:28:23.426Z] STF 00:28:22.845 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/openjdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/openjdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/UpgModPath_JarImg_2/20230419-002820-UpgModPathTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/UpgModPath_JarImg_2/20230419-002820-UpgModPathTest/tmp/6.UpJVM [2023-04-19T00:28:23.426Z] STF 00:28:22.845 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/UpgModPath_JarImg_2/20230419-002820-UpgModPathTest/results/6.JLNK.stderr [2023-04-19T00:28:23.426Z] STF 00:28:22.845 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/UpgModPath_JarImg_2/20230419-002820-UpgModPathTest/results/6.JLNK.stdout [2023-04-19T00:28:23.426Z] STF 00:28:22.847 - Monitoring processes: JLNK [2023-04-19T00:28:26.827Z] STF 00:28:25.964 - Monitoring Report Summary: [2023-04-19T00:28:26.827Z] STF 00:28:25.964 - o Process JLNK ended with the expected exit code (0) [2023-04-19T00:28:26.827Z] STF 00:28:25.964 - [2023-04-19T00:28:26.827Z] STF 00:28:25.964 - +------ Step 7 - Create com.hello override jar [2023-04-19T00:28:26.827Z] STF 00:28:25.964 - | Create modular jar [2023-04-19T00:28:26.828Z] STF 00:28:25.965 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2023-04-19T00:28:26.828Z] STF 00:28:25.965 - | ModuleVersion: null [2023-04-19T00:28:26.828Z] STF 00:28:25.965 - | MainClass: null [2023-04-19T00:28:26.828Z] STF 00:28:25.965 - | HashModules: null [2023-04-19T00:28:26.828Z] STF 00:28:25.965 - | [2023-04-19T00:28:26.828Z] STF 00:28:25.965 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/openjdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/UpgModPath_JarImg_2/20230419-002820-UpgModPathTest/modules/7.com.hello.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2023-04-19T00:28:26.828Z] STF 00:28:25.965 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/UpgModPath_JarImg_2/20230419-002820-UpgModPathTest/results/7.CMJ.stderr [2023-04-19T00:28:26.828Z] STF 00:28:25.965 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/UpgModPath_JarImg_2/20230419-002820-UpgModPathTest/results/7.CMJ.stdout [2023-04-19T00:28:26.828Z] STF 00:28:25.968 - Monitoring processes: CMJ [2023-04-19T00:28:26.828Z] STF 00:28:26.152 - Monitoring Report Summary: [2023-04-19T00:28:26.828Z] STF 00:28:26.152 - o Process CMJ ended with the expected exit code (0) [2023-04-19T00:28:26.828Z] STF 00:28:26.153 - Created modular jar: 7.com.hello.jar [2023-04-19T00:28:26.828Z] STF 00:28:26.153 - [2023-04-19T00:28:26.828Z] STF 00:28:26.153 - +------ Step 8 - Create com.hello override jar [2023-04-19T00:28:26.828Z] STF 00:28:26.153 - | Create modular jar [2023-04-19T00:28:26.828Z] STF 00:28:26.153 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2023-04-19T00:28:26.828Z] STF 00:28:26.153 - | ModuleVersion: null [2023-04-19T00:28:26.828Z] STF 00:28:26.153 - | MainClass: null [2023-04-19T00:28:26.828Z] STF 00:28:26.153 - | HashModules: null [2023-04-19T00:28:26.828Z] STF 00:28:26.153 - | [2023-04-19T00:28:26.828Z] STF 00:28:26.154 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/openjdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/UpgModPath_JarImg_2/20230419-002820-UpgModPathTest/modules/8.java.logging.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.logging . [2023-04-19T00:28:26.828Z] STF 00:28:26.154 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/UpgModPath_JarImg_2/20230419-002820-UpgModPathTest/results/8.CMJ.stderr [2023-04-19T00:28:26.828Z] STF 00:28:26.154 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/UpgModPath_JarImg_2/20230419-002820-UpgModPathTest/results/8.CMJ.stdout [2023-04-19T00:28:26.828Z] STF 00:28:26.156 - Monitoring processes: CMJ [2023-04-19T00:28:26.828Z] STF 00:28:26.345 - Monitoring Report Summary: [2023-04-19T00:28:26.828Z] STF 00:28:26.345 - o Process CMJ ended with the expected exit code (0) [2023-04-19T00:28:26.828Z] STF 00:28:26.346 - Created modular jar: 8.java.logging.jar [2023-04-19T00:28:26.828Z] STF 00:28:26.346 - [2023-04-19T00:28:26.828Z] STF 00:28:26.346 - +------ Step 9 - Override an application module using a custom runtime image where the overriding module is in a modularized jar [2023-04-19T00:28:26.828Z] STF 00:28:26.346 - | Run foreground process [2023-04-19T00:28:26.828Z] STF 00:28:26.346 - | Program: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/UpgModPath_JarImg_2/20230419-002820-UpgModPathTest/tmp/6.UpJVM/bin/java [2023-04-19T00:28:26.828Z] STF 00:28:26.346 - | Mnemonic: OT25 [2023-04-19T00:28:26.828Z] STF 00:28:26.346 - | Echo: ECHO_ON [2023-04-19T00:28:26.828Z] STF 00:28:26.346 - | Expectation: CLEAN_RUN within 1m [2023-04-19T00:28:26.828Z] STF 00:28:26.346 - | [2023-04-19T00:28:26.828Z] STF 00:28:26.347 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/UpgModPath_JarImg_2/20230419-002820-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/UpgModPath_JarImg_2/20230419-002820-UpgModPathTest/modules/7.com.hello.jar -classpath /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/systemtest_prereqs/junit/junit.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/systemtest_prereqs/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2023-04-19T00:28:26.828Z] STF 00:28:26.347 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/UpgModPath_JarImg_2/20230419-002820-UpgModPathTest/results/9.OT25.stderr [2023-04-19T00:28:26.828Z] STF 00:28:26.347 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/UpgModPath_JarImg_2/20230419-002820-UpgModPathTest/results/9.OT25.stdout [2023-04-19T00:28:26.828Z] STF 00:28:26.349 - Monitoring processes: OT25 [2023-04-19T00:28:26.828Z] OT25 JUnit version 4.12 [2023-04-19T00:28:26.828Z] OT25 . [2023-04-19T00:28:26.828Z] OT25 Time: 0.006 [2023-04-19T00:28:26.828Z] OT25 [2023-04-19T00:28:26.828Z] OT25 OK (1 test) [2023-04-19T00:28:26.828Z] OT25 [2023-04-19T00:28:26.828Z] STF 00:28:26.698 - Monitoring Report Summary: [2023-04-19T00:28:26.828Z] STF 00:28:26.698 - o Process OT25 ended with the expected exit code (0) [2023-04-19T00:28:26.828Z] STF 00:28:26.698 - [2023-04-19T00:28:26.828Z] STF 00:28:26.698 - +------ Step 10 - (Negative test) Override a non-upgradable platform module using a custom runtime imagewhere the overriding module is in a modularized jar [2023-04-19T00:28:26.828Z] STF 00:28:26.698 - | Run foreground process [2023-04-19T00:28:26.828Z] STF 00:28:26.698 - | Program: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/UpgModPath_JarImg_2/20230419-002820-UpgModPathTest/tmp/6.UpJVM/bin/java [2023-04-19T00:28:26.828Z] STF 00:28:26.698 - | Mnemonic: OT27 [2023-04-19T00:28:26.828Z] STF 00:28:26.698 - | Echo: ECHO_ON [2023-04-19T00:28:26.828Z] STF 00:28:26.698 - | Expectation: NON_ZERO_EXIT [1] within 1m [2023-04-19T00:28:26.828Z] STF 00:28:26.698 - | [2023-04-19T00:28:26.828Z] STF 00:28:26.699 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/UpgModPath_JarImg_2/20230419-002820-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/UpgModPath_JarImg_2/20230419-002820-UpgModPathTest/modules/8.java.logging.jar -classpath /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/systemtest_prereqs/junit/junit.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/systemtest_prereqs/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingNonUpgradablePlatformModule [2023-04-19T00:28:26.828Z] STF 00:28:26.699 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/UpgModPath_JarImg_2/20230419-002820-UpgModPathTest/results/10.OT27.stderr [2023-04-19T00:28:26.828Z] STF 00:28:26.699 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/UpgModPath_JarImg_2/20230419-002820-UpgModPathTest/results/10.OT27.stdout [2023-04-19T00:28:26.828Z] STF 00:28:26.701 - Monitoring processes: OT27 [2023-04-19T00:28:27.593Z] OT27 Error occurred during initialization of boot layer [2023-04-19T00:28:27.593Z] OT27 java.lang.module.FindException: Hash of java.logging (07a3456059904ab75d0de86d2e0a40aa29b8a4e1235051bbc96a8ccd290a4469) differs to expected hash (4a7ffeabd762ac83cb6d26825a019c7adfdca1cadc781319593b31db9e4c470c) recorded in java.base [2023-04-19T00:28:27.593Z] STF 00:28:26.907 - Monitoring Report Summary: [2023-04-19T00:28:27.593Z] STF 00:28:26.907 - o Process OT27 ended with the expected exit code (1) [2023-04-19T00:28:27.593Z] STF 00:28:26.908 - [2023-04-19T00:28:27.593Z] STF 00:28:26.908 - +------ Step 11 - Combine stderr and stdout files of process OT27 [2023-04-19T00:28:27.593Z] STF 00:28:26.908 - | Run foreground process [2023-04-19T00:28:27.593Z] STF 00:28:26.908 - | Program: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/openjdkbinary/j2sdk-image/bin/java [2023-04-19T00:28:27.593Z] STF 00:28:26.908 - | Mnemonic: CO [2023-04-19T00:28:27.593Z] STF 00:28:26.908 - | Echo: ECHO_OFF [2023-04-19T00:28:27.593Z] STF 00:28:26.908 - | Expectation: NON_ZERO_EXIT [0] within 30s [2023-04-19T00:28:27.593Z] STF 00:28:26.908 - | [2023-04-19T00:28:27.593Z] STF 00:28:26.908 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/openjdkbinary/j2sdk-image/bin/java -Dfile1=/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/UpgModPath_JarImg_2/20230419-002820-UpgModPathTest/results/10.OT27.stdout -Dfile2=/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/UpgModPath_JarImg_2/20230419-002820-UpgModPathTest/results/10.OT27.stderr -Dfinal.file=/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/UpgModPath_JarImg_2/20230419-002820-UpgModPathTest/results/combinedOT27.txt -classpath /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/STF/stf.core/bin:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin net.adoptopenjdk.test.modularity.TestUtil [2023-04-19T00:28:27.593Z] STF 00:28:26.908 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/UpgModPath_JarImg_2/20230419-002820-UpgModPathTest/results/11.CO.stderr [2023-04-19T00:28:27.593Z] STF 00:28:26.908 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/UpgModPath_JarImg_2/20230419-002820-UpgModPathTest/results/11.CO.stdout [2023-04-19T00:28:27.593Z] STF 00:28:26.910 - Monitoring processes: CO [2023-04-19T00:28:27.593Z] STF 00:28:27.049 - Monitoring Report Summary: [2023-04-19T00:28:27.593Z] STF 00:28:27.050 - o Process CO ended with the expected exit code (0) [2023-04-19T00:28:27.593Z] STF 00:28:27.050 - [2023-04-19T00:28:27.593Z] STF 00:28:27.050 - +------ Step 12 - Check output [2023-04-19T00:28:27.593Z] STF 00:28:27.050 - | Count file matches [2023-04-19T00:28:27.593Z] STF 00:28:27.050 - | TargetFile: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/UpgModPath_JarImg_2/20230419-002820-UpgModPathTest/results/combinedOT27.txt [2023-04-19T00:28:27.593Z] STF 00:28:27.050 - | ExpectedNumMatches: 1 [2023-04-19T00:28:27.593Z] STF 00:28:27.050 - | SearchStrings: ["FindException: Hash of java.logging"] [2023-04-19T00:28:27.593Z] STF 00:28:27.050 - | [2023-04-19T00:28:27.593Z] STF 00:28:27.050 - Found 1 instances of ["FindException: Hash of java.logging"] [2023-04-19T00:28:27.593Z] STF 00:28:27.050 - EXECUTE stage completed [2023-04-19T00:28:27.593Z] STF 00:28:27.101 - [2023-04-19T00:28:27.593Z] STF 00:28:27.101 - ==================== T E A R D O W N ==================== [2023-04-19T00:28:27.593Z] STF 00:28:27.101 - Running teardown: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_1681860136987/UpgModPath_JarImg_2/20230419-002820-UpgModPathTest/tearDown.pl [2023-04-19T00:28:27.593Z] STF 00:28:27.165 - TEARDOWN stage completed [2023-04-19T00:28:27.593Z] STF 00:28:27.171 - [2023-04-19T00:28:27.593Z] STF 00:28:27.171 - ===================== R E S U L T S ===================== [2023-04-19T00:28:27.593Z] STF 00:28:27.171 - Stage results: [2023-04-19T00:28:27.593Z] STF 00:28:27.171 - setUp: pass [2023-04-19T00:28:27.593Z] STF 00:28:27.171 - execute: pass [2023-04-19T00:28:27.593Z] STF 00:28:27.171 - teardown: pass [2023-04-19T00:28:27.593Z] STF 00:28:27.171 - [2023-04-19T00:28:27.593Z] STF 00:28:27.171 - Overall result: PASSED [2023-04-19T00:28:27.593Z] ----------------------------------- [2023-04-19T00:28:27.593Z] UpgModPath_JarImg_2_PASSED [2023-04-19T00:28:27.593Z] ----------------------------------- [2023-04-19T00:28:27.593Z] [2023-04-19T00:28:27.593Z] TEST TEARDOWN: [2023-04-19T00:28:27.593Z] Nothing to be done for teardown. [2023-04-19T00:28:27.593Z] UpgModPath_JarImg_2 Finish Time: Wed Apr 19 00:28:27 2023 Epoch Time (ms): 1681864107222