UpgModPath_Exp_0

[2024-08-09T21:03:45.137Z] Running test UpgModPath_Exp_0 ... [2024-08-09T21:03:45.137Z] =============================================== [2024-08-09T21:03:45.137Z] UpgModPath_Exp_0 Start Time: Fri Aug 9 21:03:44 2024 Epoch Time (ms): 1723237424577 [2024-08-09T21:03:45.137Z] variation: Mode150 [2024-08-09T21:03:45.137Z] JVM_OPTIONS: -XX:+UseCompressedOops [2024-08-09T21:03:45.137Z] { \ [2024-08-09T21:03:45.137Z] echo ""; echo "TEST SETUP:"; \ [2024-08-09T21:03:45.137Z] echo "Nothing to be done for setup."; \ [2024-08-09T21:03:45.137Z] mkdir -p "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_17232364556650/UpgModPath_Exp_0"; \ [2024-08-09T21:03:45.137Z] cd "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_17232364556650/UpgModPath_Exp_0"; \ [2024-08-09T21:03:45.137Z] echo ""; echo "TESTING:"; \ [2024-08-09T21:03:45.137Z] perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/../../testDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_17232364556650/UpgModPath_Exp_0" -test=UpgModPathTest -test-args="variant=Exp"; \ [2024-08-09T21:03:45.137Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_Exp_0""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_17232364556650/UpgModPath_Exp_0"; else echo "-----------------------------------"; echo "UpgModPath_Exp_0""_FAILED"; echo "-----------------------------------"; fi; \ [2024-08-09T21:03:45.137Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-08-09T21:03:45.137Z] echo "Nothing to be done for teardown."; \ [2024-08-09T21:03:45.137Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_17232364556650/TestTargetResult"; [2024-08-09T21:03:45.137Z] [2024-08-09T21:03:45.137Z] TEST SETUP: [2024-08-09T21:03:45.137Z] Nothing to be done for setup. [2024-08-09T21:03:45.137Z] [2024-08-09T21:03:45.137Z] TESTING: [2024-08-09T21:03:45.137Z] STF 21:03:44.807 - ========================= S T F ========================= [2024-08-09T21:03:45.137Z] systemtest-prereqs has been processed, and set to: /home/jenkins/testDependency/system_libRetrieving amount of free space on drive containing /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_17232364556650/UpgModPath_Exp_0 [2024-08-09T21:03:45.137Z] There is 204194 Mb free [2024-08-09T21:03:45.137Z] STF 21:03:44.839 - ================== G E N E R A T I O N ================== [2024-08-09T21:03:45.137Z] STF 21:03:44.840 - Checking JVM: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk-17.0.13+2/bin/../ [2024-08-09T21:03:45.138Z] STF 21:03:44.840 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk-17.0.13+2/bin/..//bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/../../testDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/../../testDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_17232364556650/UpgModPath_Exp_0/20240809-210344-UpgModPathTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_17232364556650/UpgModPath_Exp_0/20240809-210344-UpgModPathTest" [2024-08-09T21:03:45.138Z] GEN stderr OpenJDK 64-Bit 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 [2024-08-09T21:03:51.830Z] GEN 21:03:50.650 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: '/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2024-08-09T21:03:51.830Z] GEN 21:03:50.687 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2024-08-09T21:03:51.830Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-08-09T21:03:51.830Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2024-08-09T21:03:51.830Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2024-08-09T21:03:51.830Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2024-08-09T21:03:51.830Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2024-08-09T21:03:51.830Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2024-08-09T21:03:51.830Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2024-08-09T21:03:51.830Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2024-08-09T21:03:51.830Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2024-08-09T21:03:51.830Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2024-08-09T21:03:51.830Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2024-08-09T21:03:51.830Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2024-08-09T21:03:51.830Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2024-08-09T21:03:51.830Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2024-08-09T21:03:51.830Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2024-08-09T21:03:51.830Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2024-08-09T21:03:51.830Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/STF/stf.core/bin [2024-08-09T21:03:51.830Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-08-09T21:03:51.830Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-08-09T21:03:51.830Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar [2024-08-09T21:03:52.580Z] GEN 21:03:51.961 - Using Mode NoOptions. Values = '' [2024-08-09T21:03:53.326Z] GEN 21:03:52.677 - [2024-08-09T21:03:53.326Z] GEN 21:03:52.677 - Test command summary: [2024-08-09T21:03:53.326Z] GEN 21:03:52.677 - Step Stage Command Description [2024-08-09T21:03:53.326Z] GEN 21:03:52.678 - -----+--------+-----------------+------------ [2024-08-09T21:03:53.326Z] GEN 21:03:52.678 - 1 execute jar Create com.hello jar [2024-08-09T21:03:53.326Z] GEN 21:03:52.678 - 2 execute jar Create com.hola jar [2024-08-09T21:03:53.326Z] GEN 21:03:52.678 - 3 execute jar Create com.helper jar [2024-08-09T21:03:53.326Z] GEN 21:03:52.678 - 4 execute jar Create com.discreet jar [2024-08-09T21:03:53.326Z] GEN 21:03:52.678 - 5 execute jar Create tests jar [2024-08-09T21:03:53.326Z] GEN 21:03:52.678 - 6 execute jlink Create runtime image for upgrademodulepath test [2024-08-09T21:03:53.326Z] GEN 21:03:52.678 - 7 execute Run java Override an application module [2024-08-09T21:03:53.326Z] GEN 21:03:52.678 - 8 execute Run java (Negative test) Override a non-upgradable platform module [2024-08-09T21:03:53.326Z] GEN 21:03:52.678 - 9 execute Run java Combine stderr and stdout files of process OT13 [2024-08-09T21:03:53.326Z] GEN 21:03:52.678 - 10 execute count Check output [2024-08-09T21:03:53.326Z] STF 21:03:52.890 - [2024-08-09T21:03:53.326Z] STF 21:03:52.890 - Script generation completed [2024-08-09T21:03:53.326Z] STF 21:03:52.890 - [2024-08-09T21:03:53.326Z] STF 21:03:52.890 - [2024-08-09T21:03:53.326Z] STF 21:03:52.890 - ======================= S E T U P ======================= [2024-08-09T21:03:53.326Z] STF 21:03:52.890 - Running setup: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_17232364556650/UpgModPath_Exp_0/20240809-210344-UpgModPathTest/setUp.pl [2024-08-09T21:03:53.326Z] STF 21:03:53.107 - SETUP stage completed [2024-08-09T21:03:53.326Z] STF 21:03:53.112 - [2024-08-09T21:03:53.326Z] STF 21:03:53.112 - ==================== E X E C U T E - ==================== [2024-08-09T21:03:53.326Z] STF 21:03:53.112 - Running execute: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_17232364556650/UpgModPath_Exp_0/20240809-210344-UpgModPathTest/execute.pl [2024-08-09T21:03:54.080Z] STF 21:03:53.364 - [2024-08-09T21:03:54.080Z] STF 21:03:53.364 - Java version [2024-08-09T21:03:54.080Z] STF 21:03:53.364 - Running: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk-17.0.13+2/bin/java -version [2024-08-09T21:03:54.080Z] openjdk version "17.0.13-beta" 2024-10-15 [2024-08-09T21:03:54.080Z] OpenJDK Runtime Environment Temurin-17.0.13+2-202408091941 (build 17.0.13-beta+2-ea) [2024-08-09T21:03:54.080Z] OpenJDK 64-Bit Server VM Temurin-17.0.13+2-202408091941 (build 17.0.13-beta+2-ea, mixed mode, sharing) [2024-08-09T21:03:54.080Z] STF 21:03:53.726 - [2024-08-09T21:03:54.080Z] STF 21:03:53.726 - +------ Step 1 - Create com.hello jar [2024-08-09T21:03:54.080Z] STF 21:03:53.726 - | Create modular jar [2024-08-09T21:03:54.080Z] STF 21:03:53.726 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-08-09T21:03:54.080Z] STF 21:03:53.726 - | ModuleVersion: null [2024-08-09T21:03:54.080Z] STF 21:03:53.726 - | MainClass: null [2024-08-09T21:03:54.080Z] STF 21:03:53.726 - | HashModules: null [2024-08-09T21:03:54.080Z] STF 21:03:53.726 - | [2024-08-09T21:03:54.080Z] STF 21:03:53.726 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk-17.0.13+2/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17232364556650/UpgModPath_Exp_0/20240809-210344-UpgModPathTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2024-08-09T21:03:54.080Z] STF 21:03:53.726 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17232364556650/UpgModPath_Exp_0/20240809-210344-UpgModPathTest/results/1.CMJ.stderr [2024-08-09T21:03:54.080Z] STF 21:03:53.726 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17232364556650/UpgModPath_Exp_0/20240809-210344-UpgModPathTest/results/1.CMJ.stdout [2024-08-09T21:03:54.080Z] STF 21:03:53.771 - Monitoring processes: CMJ [2024-08-09T21:03:55.634Z] STF 21:03:54.977 - Monitoring Report Summary: [2024-08-09T21:03:55.634Z] STF 21:03:54.977 - o Process CMJ ended with the expected exit code (0) [2024-08-09T21:03:55.634Z] STF 21:03:54.977 - Created modular jar: 1.com.hello.jar [2024-08-09T21:03:55.634Z] STF 21:03:54.977 - [2024-08-09T21:03:55.634Z] STF 21:03:54.977 - +------ Step 2 - Create com.hola jar [2024-08-09T21:03:55.634Z] STF 21:03:54.977 - | Create modular jar [2024-08-09T21:03:55.634Z] STF 21:03:54.977 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-08-09T21:03:55.634Z] STF 21:03:54.977 - | ModuleVersion: null [2024-08-09T21:03:55.634Z] STF 21:03:54.977 - | MainClass: null [2024-08-09T21:03:55.634Z] STF 21:03:54.977 - | HashModules: null [2024-08-09T21:03:55.634Z] STF 21:03:54.977 - | [2024-08-09T21:03:55.634Z] STF 21:03:54.977 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk-17.0.13+2/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17232364556650/UpgModPath_Exp_0/20240809-210344-UpgModPathTest/modules/2.com.hola.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2024-08-09T21:03:55.634Z] STF 21:03:54.977 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17232364556650/UpgModPath_Exp_0/20240809-210344-UpgModPathTest/results/2.CMJ.stderr [2024-08-09T21:03:55.634Z] STF 21:03:54.977 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17232364556650/UpgModPath_Exp_0/20240809-210344-UpgModPathTest/results/2.CMJ.stdout [2024-08-09T21:03:55.634Z] STF 21:03:54.981 - Monitoring processes: CMJ [2024-08-09T21:03:56.383Z] STF 21:03:56.089 - Monitoring Report Summary: [2024-08-09T21:03:56.383Z] STF 21:03:56.089 - o Process CMJ ended with the expected exit code (0) [2024-08-09T21:03:56.383Z] STF 21:03:56.089 - Created modular jar: 2.com.hola.jar [2024-08-09T21:03:56.383Z] STF 21:03:56.089 - [2024-08-09T21:03:56.383Z] STF 21:03:56.089 - +------ Step 3 - Create com.helper jar [2024-08-09T21:03:56.383Z] STF 21:03:56.089 - | Create modular jar [2024-08-09T21:03:56.383Z] STF 21:03:56.089 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-08-09T21:03:56.383Z] STF 21:03:56.089 - | ModuleVersion: null [2024-08-09T21:03:56.383Z] STF 21:03:56.089 - | MainClass: null [2024-08-09T21:03:56.383Z] STF 21:03:56.089 - | HashModules: null [2024-08-09T21:03:56.383Z] STF 21:03:56.089 - | [2024-08-09T21:03:56.383Z] STF 21:03:56.089 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk-17.0.13+2/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17232364556650/UpgModPath_Exp_0/20240809-210344-UpgModPathTest/modules/3.com.helper.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2024-08-09T21:03:56.383Z] STF 21:03:56.089 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17232364556650/UpgModPath_Exp_0/20240809-210344-UpgModPathTest/results/3.CMJ.stderr [2024-08-09T21:03:56.383Z] STF 21:03:56.089 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17232364556650/UpgModPath_Exp_0/20240809-210344-UpgModPathTest/results/3.CMJ.stdout [2024-08-09T21:03:56.383Z] STF 21:03:56.091 - Monitoring processes: CMJ [2024-08-09T21:03:57.932Z] STF 21:03:57.143 - Monitoring Report Summary: [2024-08-09T21:03:57.932Z] STF 21:03:57.143 - o Process CMJ ended with the expected exit code (0) [2024-08-09T21:03:57.932Z] STF 21:03:57.143 - Created modular jar: 3.com.helper.jar [2024-08-09T21:03:57.932Z] STF 21:03:57.143 - [2024-08-09T21:03:57.932Z] STF 21:03:57.143 - +------ Step 4 - Create com.discreet jar [2024-08-09T21:03:57.933Z] STF 21:03:57.143 - | Create modular jar [2024-08-09T21:03:57.933Z] STF 21:03:57.143 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-08-09T21:03:57.933Z] STF 21:03:57.143 - | ModuleVersion: null [2024-08-09T21:03:57.933Z] STF 21:03:57.143 - | MainClass: null [2024-08-09T21:03:57.933Z] STF 21:03:57.143 - | HashModules: null [2024-08-09T21:03:57.933Z] STF 21:03:57.143 - | [2024-08-09T21:03:57.933Z] STF 21:03:57.143 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk-17.0.13+2/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17232364556650/UpgModPath_Exp_0/20240809-210344-UpgModPathTest/modules/4.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2024-08-09T21:03:57.933Z] STF 21:03:57.143 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17232364556650/UpgModPath_Exp_0/20240809-210344-UpgModPathTest/results/4.CMJ.stderr [2024-08-09T21:03:57.933Z] STF 21:03:57.143 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17232364556650/UpgModPath_Exp_0/20240809-210344-UpgModPathTest/results/4.CMJ.stdout [2024-08-09T21:03:57.933Z] STF 21:03:57.145 - Monitoring processes: CMJ [2024-08-09T21:03:58.738Z] STF 21:03:58.269 - Monitoring Report Summary: [2024-08-09T21:03:58.738Z] STF 21:03:58.269 - o Process CMJ ended with the expected exit code (0) [2024-08-09T21:03:58.738Z] STF 21:03:58.269 - Created modular jar: 4.com.discreet.jar [2024-08-09T21:03:58.738Z] STF 21:03:58.269 - [2024-08-09T21:03:58.738Z] STF 21:03:58.269 - +------ Step 5 - Create tests jar [2024-08-09T21:03:58.738Z] STF 21:03:58.269 - | Create modular jar [2024-08-09T21:03:58.738Z] STF 21:03:58.269 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-08-09T21:03:58.738Z] STF 21:03:58.269 - | ModuleVersion: null [2024-08-09T21:03:58.738Z] STF 21:03:58.269 - | MainClass: null [2024-08-09T21:03:58.738Z] STF 21:03:58.269 - | HashModules: null [2024-08-09T21:03:58.738Z] STF 21:03:58.269 - | [2024-08-09T21:03:58.738Z] STF 21:03:58.270 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk-17.0.13+2/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17232364556650/UpgModPath_Exp_0/20240809-210344-UpgModPathTest/modules/5.com.test.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2024-08-09T21:03:58.738Z] STF 21:03:58.270 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17232364556650/UpgModPath_Exp_0/20240809-210344-UpgModPathTest/results/5.CMJ.stderr [2024-08-09T21:03:58.738Z] STF 21:03:58.270 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17232364556650/UpgModPath_Exp_0/20240809-210344-UpgModPathTest/results/5.CMJ.stdout [2024-08-09T21:03:58.738Z] STF 21:03:58.271 - Monitoring processes: CMJ [2024-08-09T21:04:00.324Z] STF 21:03:59.474 - Monitoring Report Summary: [2024-08-09T21:04:00.324Z] STF 21:03:59.474 - o Process CMJ ended with the expected exit code (0) [2024-08-09T21:04:00.324Z] STF 21:03:59.474 - Created modular jar: 5.com.test.jar [2024-08-09T21:04:00.324Z] STF 21:03:59.474 - [2024-08-09T21:04:00.324Z] STF 21:03:59.474 - +------ Step 6 - Create runtime image for upgrademodulepath test [2024-08-09T21:04:00.324Z] STF 21:03:59.474 - | Run jlink to create runtime image [2024-08-09T21:04:00.324Z] STF 21:03:59.474 - | ImageName: UpJVM [2024-08-09T21:04:00.324Z] STF 21:03:59.474 - | [2024-08-09T21:04:00.324Z] STF 21:03:59.475 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk-17.0.13+2/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk-17.0.13+2/jmods:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17232364556650/UpgModPath_Exp_0/20240809-210344-UpgModPathTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17232364556650/UpgModPath_Exp_0/20240809-210344-UpgModPathTest/tmp/6.UpJVM [2024-08-09T21:04:00.324Z] STF 21:03:59.475 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17232364556650/UpgModPath_Exp_0/20240809-210344-UpgModPathTest/results/6.JLNK.stderr [2024-08-09T21:04:00.324Z] STF 21:03:59.475 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17232364556650/UpgModPath_Exp_0/20240809-210344-UpgModPathTest/results/6.JLNK.stdout [2024-08-09T21:04:00.324Z] STF 21:03:59.476 - Monitoring processes: JLNK [2024-08-09T21:04:19.184Z] STF 21:04:17.356 - Monitoring Report Summary: [2024-08-09T21:04:19.184Z] STF 21:04:17.356 - o Process JLNK ended with the expected exit code (0) [2024-08-09T21:04:19.184Z] STF 21:04:17.356 - [2024-08-09T21:04:19.184Z] STF 21:04:17.356 - +------ Step 7 - Override an application module [2024-08-09T21:04:19.184Z] STF 21:04:17.356 - | Run foreground process [2024-08-09T21:04:19.184Z] STF 21:04:17.356 - | Program: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk-17.0.13+2/bin/java [2024-08-09T21:04:19.184Z] STF 21:04:17.356 - | Mnemonic: OT11 [2024-08-09T21:04:19.184Z] STF 21:04:17.356 - | Echo: ECHO_ON [2024-08-09T21:04:19.184Z] STF 21:04:17.356 - | Expectation: CLEAN_RUN within 1m [2024-08-09T21:04:19.184Z] STF 21:04:17.356 - | [2024-08-09T21:04:19.184Z] STF 21:04:17.357 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk-17.0.13+2/bin/java --add-reads com.test=ALL-UNNAMED --module-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --upgrade-module-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello --add-modules=com.test -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 [2024-08-09T21:04:19.184Z] STF 21:04:17.357 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17232364556650/UpgModPath_Exp_0/20240809-210344-UpgModPathTest/results/7.OT11.stderr [2024-08-09T21:04:19.184Z] STF 21:04:17.357 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17232364556650/UpgModPath_Exp_0/20240809-210344-UpgModPathTest/results/7.OT11.stdout [2024-08-09T21:04:19.184Z] STF 21:04:17.358 - Monitoring processes: OT11 [2024-08-09T21:04:19.184Z] OT11 JUnit version 4.12 [2024-08-09T21:04:19.936Z] OT11 . [2024-08-09T21:04:19.936Z] OT11 Time: 0.025 [2024-08-09T21:04:19.936Z] OT11 [2024-08-09T21:04:19.936Z] OT11 OK (1 test) [2024-08-09T21:04:19.936Z] OT11 [2024-08-09T21:04:19.936Z] STF 21:04:19.426 - Monitoring Report Summary: [2024-08-09T21:04:19.936Z] STF 21:04:19.426 - o Process OT11 ended with the expected exit code (0) [2024-08-09T21:04:19.936Z] STF 21:04:19.426 - [2024-08-09T21:04:19.936Z] STF 21:04:19.426 - +------ Step 8 - (Negative test) Override a non-upgradable platform module [2024-08-09T21:04:19.936Z] STF 21:04:19.426 - | Run foreground process [2024-08-09T21:04:19.936Z] STF 21:04:19.426 - | Program: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk-17.0.13+2/bin/java [2024-08-09T21:04:19.936Z] STF 21:04:19.426 - | Mnemonic: OT13 [2024-08-09T21:04:19.936Z] STF 21:04:19.426 - | Echo: ECHO_ON [2024-08-09T21:04:19.936Z] STF 21:04:19.426 - | Expectation: NON_ZERO_EXIT [1] within 1m [2024-08-09T21:04:19.936Z] STF 21:04:19.426 - | [2024-08-09T21:04:19.936Z] STF 21:04:19.427 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk-17.0.13+2/bin/java --add-reads com.test=ALL-UNNAMED --module-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --upgrade-module-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.logging --add-modules=com.test -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 [2024-08-09T21:04:19.936Z] STF 21:04:19.427 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17232364556650/UpgModPath_Exp_0/20240809-210344-UpgModPathTest/results/8.OT13.stderr [2024-08-09T21:04:19.936Z] STF 21:04:19.427 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17232364556650/UpgModPath_Exp_0/20240809-210344-UpgModPathTest/results/8.OT13.stdout [2024-08-09T21:04:19.936Z] STF 21:04:19.428 - Monitoring processes: OT13 [2024-08-09T21:04:21.493Z] OT13 Error occurred during initialization of boot layer [2024-08-09T21:04:21.493Z] OT13 java.lang.module.FindException: Unable to compute the hash of module java.logging [2024-08-09T21:04:21.493Z] STF 21:04:20.618 - Monitoring Report Summary: [2024-08-09T21:04:21.493Z] STF 21:04:20.618 - o Process OT13 ended with the expected exit code (1) [2024-08-09T21:04:21.493Z] STF 21:04:20.619 - [2024-08-09T21:04:21.493Z] STF 21:04:20.619 - +------ Step 9 - Combine stderr and stdout files of process OT13 [2024-08-09T21:04:21.493Z] STF 21:04:20.619 - | Run foreground process [2024-08-09T21:04:21.493Z] STF 21:04:20.619 - | Program: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk-17.0.13+2/bin/java [2024-08-09T21:04:21.493Z] STF 21:04:20.619 - | Mnemonic: CO [2024-08-09T21:04:21.493Z] STF 21:04:20.619 - | Echo: ECHO_OFF [2024-08-09T21:04:21.493Z] STF 21:04:20.619 - | Expectation: NON_ZERO_EXIT [0] within 30s [2024-08-09T21:04:21.493Z] STF 21:04:20.619 - | [2024-08-09T21:04:21.493Z] STF 21:04:20.619 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk-17.0.13+2/bin/java -Dfile1=/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17232364556650/UpgModPath_Exp_0/20240809-210344-UpgModPathTest/results/8.OT13.stdout -Dfile2=/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17232364556650/UpgModPath_Exp_0/20240809-210344-UpgModPathTest/results/8.OT13.stderr -Dfinal.file=/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17232364556650/UpgModPath_Exp_0/20240809-210344-UpgModPathTest/results/combinedOT13.txt -XX:+UseCompressedOops -classpath /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/STF/stf.core/bin:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin net.adoptopenjdk.test.modularity.TestUtil [2024-08-09T21:04:21.493Z] STF 21:04:20.619 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17232364556650/UpgModPath_Exp_0/20240809-210344-UpgModPathTest/results/9.CO.stderr [2024-08-09T21:04:21.493Z] STF 21:04:20.619 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17232364556650/UpgModPath_Exp_0/20240809-210344-UpgModPathTest/results/9.CO.stdout [2024-08-09T21:04:21.493Z] STF 21:04:20.621 - Monitoring processes: CO [2024-08-09T21:04:21.493Z] STF 21:04:21.172 - Monitoring Report Summary: [2024-08-09T21:04:21.493Z] STF 21:04:21.173 - o Process CO ended with the expected exit code (0) [2024-08-09T21:04:21.493Z] STF 21:04:21.173 - [2024-08-09T21:04:21.493Z] STF 21:04:21.173 - +------ Step 10 - Check output [2024-08-09T21:04:21.493Z] STF 21:04:21.173 - | Count file matches [2024-08-09T21:04:21.493Z] STF 21:04:21.173 - | TargetFile: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17232364556650/UpgModPath_Exp_0/20240809-210344-UpgModPathTest/results/combinedOT13.txt [2024-08-09T21:04:21.493Z] STF 21:04:21.173 - | ExpectedNumMatches: 1 [2024-08-09T21:04:21.493Z] STF 21:04:21.173 - | SearchStrings: ["FindException: Unable to compute the hash of module java.logging"] [2024-08-09T21:04:21.493Z] STF 21:04:21.173 - | [2024-08-09T21:04:21.493Z] STF 21:04:21.173 - Found 1 instances of ["FindException: Unable to compute the hash of module java.logging"] [2024-08-09T21:04:21.493Z] STF 21:04:21.173 - EXECUTE stage completed [2024-08-09T21:04:21.493Z] STF 21:04:21.226 - [2024-08-09T21:04:21.493Z] STF 21:04:21.226 - ==================== T E A R D O W N ==================== [2024-08-09T21:04:21.493Z] STF 21:04:21.227 - Running teardown: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_17232364556650/UpgModPath_Exp_0/20240809-210344-UpgModPathTest/tearDown.pl [2024-08-09T21:04:22.234Z] STF 21:04:21.438 - TEARDOWN stage completed [2024-08-09T21:04:22.234Z] STF 21:04:21.445 - [2024-08-09T21:04:22.234Z] STF 21:04:21.445 - ===================== R E S U L T S ===================== [2024-08-09T21:04:22.234Z] STF 21:04:21.445 - Stage results: [2024-08-09T21:04:22.234Z] STF 21:04:21.445 - setUp: pass [2024-08-09T21:04:22.234Z] STF 21:04:21.445 - execute: pass [2024-08-09T21:04:22.234Z] STF 21:04:21.445 - teardown: pass [2024-08-09T21:04:22.234Z] STF 21:04:21.445 - [2024-08-09T21:04:22.234Z] STF 21:04:21.445 - Overall result: PASSED [2024-08-09T21:04:22.235Z] ----------------------------------- [2024-08-09T21:04:22.235Z] UpgModPath_Exp_0_PASSED [2024-08-09T21:04:22.235Z] ----------------------------------- [2024-08-09T21:04:22.235Z] [2024-08-09T21:04:22.235Z] TEST TEARDOWN: [2024-08-09T21:04:22.235Z] Nothing to be done for teardown. [2024-08-09T21:04:22.235Z] UpgModPath_Exp_0 Finish Time: Fri Aug 9 21:04:21 2024 Epoch Time (ms): 1723237461595