UpgModPath_ExpImg_0

[2024-09-04T22:40:02.412Z] Running test UpgModPath_ExpImg_0 ... [2024-09-04T22:40:02.412Z] =============================================== [2024-09-04T22:40:02.412Z] UpgModPath_ExpImg_0 Start Time: Wed Sep 4 17:40:00 2024 Epoch Time (ms): 1725489600829 [2024-09-04T22:40:02.412Z] variation: Mode150 [2024-09-04T22:40:02.412Z] JVM_OPTIONS: -XX:+UseCompressedOops [2024-09-04T22:40:02.412Z] { \ [2024-09-04T22:40:02.412Z] echo ""; echo "TEST SETUP:"; \ [2024-09-04T22:40:02.412Z] echo "Nothing to be done for setup."; \ [2024-09-04T22:40:02.412Z] mkdir -p "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17254885485599/UpgModPath_ExpImg_0"; \ [2024-09-04T22:40:02.412Z] cd "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17254885485599/UpgModPath_ExpImg_0"; \ [2024-09-04T22:40:02.412Z] echo ""; echo "TESTING:"; \ [2024-09-04T22:40:02.412Z] perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17254885485599/UpgModPath_ExpImg_0" -test=UpgModPathTest -test-args="variant=ExpImg"; \ [2024-09-04T22:40:02.412Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_ExpImg_0""_PASSED"; echo "-----------------------------------"; cd /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/..; rm -f -r "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17254885485599/UpgModPath_ExpImg_0"; else echo "-----------------------------------"; echo "UpgModPath_ExpImg_0""_FAILED"; echo "-----------------------------------"; fi; \ [2024-09-04T22:40:02.412Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-09-04T22:40:02.412Z] echo "Nothing to be done for teardown."; \ [2024-09-04T22:40:02.412Z] } 2>&1 | tee -a "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17254885485599/TestTargetResult"; [2024-09-04T22:40:02.412Z] [2024-09-04T22:40:02.412Z] TEST SETUP: [2024-09-04T22:40:02.412Z] Nothing to be done for setup. [2024-09-04T22:40:02.412Z] [2024-09-04T22:40:02.412Z] TESTING: [2024-09-04T22:40:02.412Z] STF 17:40:00.908 - ========================= S T F ========================= [2024-09-04T22:40:02.412Z] systemtest-prereqs has been processed, and set to: /Users/jenkins/testDependency/system_libRetrieving amount of free space on drive containing /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17254885485599/UpgModPath_ExpImg_0 [2024-09-04T22:40:02.412Z] df: getattrlist failed: Input/output error [2024-09-04T22:40:02.412Z] There is 88490 Mb free [2024-09-04T22:40:02.412Z] STF 17:40:00.914 - ================== G E N E R A T I O N ================== [2024-09-04T22:40:02.412Z] STF 17:40:00.915 - Checking JVM: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2024-09-04T22:40:02.412Z] STF 17:40:00.915 - Starting process to generate scripts: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/..//bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//log4j/log4j-api.jar:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//log4j/log4j-core.jar:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17254885485599/UpgModPath_ExpImg_0/20240904-174000-UpgModPathTest/stf_parameters.properties, , /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17254885485599/UpgModPath_ExpImg_0/20240904-174000-UpgModPathTest" [2024-09-04T22:40:02.412Z] GEN 17:40:01.563 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: '/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2024-09-04T22:40:02.412Z] GEN 17:40:01.575 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2024-09-04T22:40:02.412Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-09-04T22:40:02.412Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2024-09-04T22:40:02.412Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2024-09-04T22:40:02.412Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2024-09-04T22:40:02.412Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2024-09-04T22:40:02.412Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2024-09-04T22:40:02.412Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2024-09-04T22:40:02.412Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2024-09-04T22:40:02.412Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2024-09-04T22:40:02.412Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2024-09-04T22:40:02.412Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2024-09-04T22:40:02.412Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2024-09-04T22:40:02.412Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2024-09-04T22:40:02.412Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2024-09-04T22:40:02.412Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2024-09-04T22:40:02.412Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2024-09-04T22:40:02.412Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/bin [2024-09-04T22:40:02.412Z] GEN /Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-09-04T22:40:02.412Z] GEN /Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-09-04T22:40:02.412Z] GEN /Users/jenkins/testDependency/system_lib/junit/junit.jar [2024-09-04T22:40:02.412Z] GEN 17:40:01.702 - Using Mode NoOptions. Values = '' [2024-09-04T22:40:02.412Z] GEN 17:40:01.760 - [2024-09-04T22:40:02.412Z] GEN 17:40:01.761 - Test command summary: [2024-09-04T22:40:02.412Z] GEN 17:40:01.761 - Step Stage Command Description [2024-09-04T22:40:02.412Z] GEN 17:40:01.761 - -----+--------+-----------------+------------ [2024-09-04T22:40:02.412Z] GEN 17:40:01.761 - 1 execute jar Create com.hello jar [2024-09-04T22:40:02.412Z] GEN 17:40:01.761 - 2 execute jar Create com.hola jar [2024-09-04T22:40:02.412Z] GEN 17:40:01.761 - 3 execute jar Create com.helper jar [2024-09-04T22:40:02.412Z] GEN 17:40:01.761 - 4 execute jar Create com.discreet jar [2024-09-04T22:40:02.412Z] GEN 17:40:01.761 - 5 execute jar Create tests jar [2024-09-04T22:40:02.412Z] GEN 17:40:01.761 - 6 execute jlink Create runtime image for upgrademodulepath test [2024-09-04T22:40:02.412Z] GEN 17:40:01.761 - 7 execute Run java Override an application module using a custom runtime image [2024-09-04T22:40:02.412Z] GEN 17:40:01.761 - 8 execute Run java (Negative test) Override a non-upgradable platform module using a custom runtime image [2024-09-04T22:40:02.412Z] GEN 17:40:01.762 - 9 execute Run java Combine stderr and stdout files of process OT16 [2024-09-04T22:40:02.412Z] GEN 17:40:01.762 - 10 execute count Check output [2024-09-04T22:40:02.412Z] STF 17:40:01.785 - [2024-09-04T22:40:02.412Z] STF 17:40:01.785 - Script generation completed [2024-09-04T22:40:02.412Z] STF 17:40:01.785 - [2024-09-04T22:40:02.412Z] STF 17:40:01.785 - [2024-09-04T22:40:02.412Z] STF 17:40:01.785 - ======================= S E T U P ======================= [2024-09-04T22:40:02.412Z] STF 17:40:01.785 - Running setup: perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17254885485599/UpgModPath_ExpImg_0/20240904-174000-UpgModPathTest/setUp.pl [2024-09-04T22:40:02.412Z] STF 17:40:01.856 - SETUP stage completed [2024-09-04T22:40:02.412Z] STF 17:40:01.867 - [2024-09-04T22:40:02.412Z] STF 17:40:01.867 - ==================== E X E C U T E - ==================== [2024-09-04T22:40:02.412Z] STF 17:40:01.867 - Running execute: perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17254885485599/UpgModPath_ExpImg_0/20240904-174000-UpgModPathTest/execute.pl [2024-09-04T22:40:02.412Z] STF 17:40:01.939 - [2024-09-04T22:40:02.412Z] STF 17:40:01.939 - Java version [2024-09-04T22:40:02.412Z] STF 17:40:01.939 - Running: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2024-09-04T22:40:03.203Z] openjdk version "17.0.13-beta" 2024-10-15 [2024-09-04T22:40:03.203Z] OpenJDK Runtime Environment Temurin-17.0.13+6-202409041934 (build 17.0.13-beta+6-ea) [2024-09-04T22:40:03.203Z] OpenJDK 64-Bit Server VM Temurin-17.0.13+6-202409041934 (build 17.0.13-beta+6-ea, mixed mode) [2024-09-04T22:40:03.203Z] STF 17:40:02.023 - [2024-09-04T22:40:03.203Z] STF 17:40:02.023 - +------ Step 1 - Create com.hello jar [2024-09-04T22:40:03.203Z] STF 17:40:02.023 - | Create modular jar [2024-09-04T22:40:03.203Z] STF 17:40:02.023 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-09-04T22:40:03.203Z] STF 17:40:02.023 - | ModuleVersion: null [2024-09-04T22:40:03.203Z] STF 17:40:02.023 - | MainClass: null [2024-09-04T22:40:03.203Z] STF 17:40:02.023 - | HashModules: null [2024-09-04T22:40:03.203Z] STF 17:40:02.023 - | [2024-09-04T22:40:03.203Z] STF 17:40:02.024 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/UpgModPath_ExpImg_0/20240904-174000-UpgModPathTest/modules/1.com.hello.jar -C /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2024-09-04T22:40:03.203Z] STF 17:40:02.024 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/UpgModPath_ExpImg_0/20240904-174000-UpgModPathTest/results/1.CMJ.stderr [2024-09-04T22:40:03.203Z] STF 17:40:02.024 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/UpgModPath_ExpImg_0/20240904-174000-UpgModPathTest/results/1.CMJ.stdout [2024-09-04T22:40:03.203Z] STF 17:40:02.036 - Monitoring processes: CMJ [2024-09-04T22:40:03.203Z] STF 17:40:02.262 - Monitoring Report Summary: [2024-09-04T22:40:03.203Z] STF 17:40:02.262 - o Process CMJ ended with the expected exit code (0) [2024-09-04T22:40:03.203Z] STF 17:40:02.262 - Created modular jar: 1.com.hello.jar [2024-09-04T22:40:03.203Z] STF 17:40:02.262 - [2024-09-04T22:40:03.203Z] STF 17:40:02.263 - +------ Step 2 - Create com.hola jar [2024-09-04T22:40:03.203Z] STF 17:40:02.263 - | Create modular jar [2024-09-04T22:40:03.203Z] STF 17:40:02.263 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-09-04T22:40:03.203Z] STF 17:40:02.263 - | ModuleVersion: null [2024-09-04T22:40:03.203Z] STF 17:40:02.263 - | MainClass: null [2024-09-04T22:40:03.203Z] STF 17:40:02.263 - | HashModules: null [2024-09-04T22:40:03.203Z] STF 17:40:02.263 - | [2024-09-04T22:40:03.204Z] STF 17:40:02.263 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/UpgModPath_ExpImg_0/20240904-174000-UpgModPathTest/modules/2.com.hola.jar -C /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2024-09-04T22:40:03.204Z] STF 17:40:02.263 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/UpgModPath_ExpImg_0/20240904-174000-UpgModPathTest/results/2.CMJ.stderr [2024-09-04T22:40:03.204Z] STF 17:40:02.263 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/UpgModPath_ExpImg_0/20240904-174000-UpgModPathTest/results/2.CMJ.stdout [2024-09-04T22:40:03.204Z] STF 17:40:02.264 - Monitoring processes: CMJ [2024-09-04T22:40:03.204Z] STF 17:40:02.488 - Monitoring Report Summary: [2024-09-04T22:40:03.204Z] STF 17:40:02.488 - o Process CMJ ended with the expected exit code (0) [2024-09-04T22:40:03.204Z] STF 17:40:02.488 - Created modular jar: 2.com.hola.jar [2024-09-04T22:40:03.204Z] STF 17:40:02.488 - [2024-09-04T22:40:03.204Z] STF 17:40:02.488 - +------ Step 3 - Create com.helper jar [2024-09-04T22:40:03.204Z] STF 17:40:02.488 - | Create modular jar [2024-09-04T22:40:03.204Z] STF 17:40:02.488 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-09-04T22:40:03.204Z] STF 17:40:02.488 - | ModuleVersion: null [2024-09-04T22:40:03.204Z] STF 17:40:02.488 - | MainClass: null [2024-09-04T22:40:03.204Z] STF 17:40:02.488 - | HashModules: null [2024-09-04T22:40:03.204Z] STF 17:40:02.488 - | [2024-09-04T22:40:03.204Z] STF 17:40:02.488 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/UpgModPath_ExpImg_0/20240904-174000-UpgModPathTest/modules/3.com.helper.jar -C /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2024-09-04T22:40:03.204Z] STF 17:40:02.488 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/UpgModPath_ExpImg_0/20240904-174000-UpgModPathTest/results/3.CMJ.stderr [2024-09-04T22:40:03.204Z] STF 17:40:02.488 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/UpgModPath_ExpImg_0/20240904-174000-UpgModPathTest/results/3.CMJ.stdout [2024-09-04T22:40:03.204Z] STF 17:40:02.490 - Monitoring processes: CMJ [2024-09-04T22:40:03.204Z] STF 17:40:02.717 - Monitoring Report Summary: [2024-09-04T22:40:03.204Z] STF 17:40:02.717 - o Process CMJ ended with the expected exit code (0) [2024-09-04T22:40:03.204Z] STF 17:40:02.717 - Created modular jar: 3.com.helper.jar [2024-09-04T22:40:03.204Z] STF 17:40:02.717 - [2024-09-04T22:40:03.204Z] STF 17:40:02.717 - +------ Step 4 - Create com.discreet jar [2024-09-04T22:40:03.204Z] STF 17:40:02.717 - | Create modular jar [2024-09-04T22:40:03.204Z] STF 17:40:02.717 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-09-04T22:40:03.204Z] STF 17:40:02.717 - | ModuleVersion: null [2024-09-04T22:40:03.204Z] STF 17:40:02.717 - | MainClass: null [2024-09-04T22:40:03.204Z] STF 17:40:02.717 - | HashModules: null [2024-09-04T22:40:03.204Z] STF 17:40:02.717 - | [2024-09-04T22:40:03.204Z] STF 17:40:02.717 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/UpgModPath_ExpImg_0/20240904-174000-UpgModPathTest/modules/4.com.discreet.jar -C /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2024-09-04T22:40:03.204Z] STF 17:40:02.717 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/UpgModPath_ExpImg_0/20240904-174000-UpgModPathTest/results/4.CMJ.stderr [2024-09-04T22:40:03.204Z] STF 17:40:02.717 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/UpgModPath_ExpImg_0/20240904-174000-UpgModPathTest/results/4.CMJ.stdout [2024-09-04T22:40:03.204Z] STF 17:40:02.719 - Monitoring processes: CMJ [2024-09-04T22:40:04.034Z] STF 17:40:02.896 - Monitoring Report Summary: [2024-09-04T22:40:04.034Z] STF 17:40:02.896 - o Process CMJ ended with the expected exit code (0) [2024-09-04T22:40:04.034Z] STF 17:40:02.896 - Created modular jar: 4.com.discreet.jar [2024-09-04T22:40:04.034Z] STF 17:40:02.896 - [2024-09-04T22:40:04.034Z] STF 17:40:02.896 - +------ Step 5 - Create tests jar [2024-09-04T22:40:04.034Z] STF 17:40:02.896 - | Create modular jar [2024-09-04T22:40:04.034Z] STF 17:40:02.896 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-09-04T22:40:04.034Z] STF 17:40:02.896 - | ModuleVersion: null [2024-09-04T22:40:04.034Z] STF 17:40:02.896 - | MainClass: null [2024-09-04T22:40:04.034Z] STF 17:40:02.896 - | HashModules: null [2024-09-04T22:40:04.034Z] STF 17:40:02.896 - | [2024-09-04T22:40:04.034Z] STF 17:40:02.896 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/UpgModPath_ExpImg_0/20240904-174000-UpgModPathTest/modules/5.com.test.jar -C /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2024-09-04T22:40:04.034Z] STF 17:40:02.896 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/UpgModPath_ExpImg_0/20240904-174000-UpgModPathTest/results/5.CMJ.stderr [2024-09-04T22:40:04.034Z] STF 17:40:02.896 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/UpgModPath_ExpImg_0/20240904-174000-UpgModPathTest/results/5.CMJ.stdout [2024-09-04T22:40:04.034Z] STF 17:40:02.898 - Monitoring processes: CMJ [2024-09-04T22:40:04.034Z] STF 17:40:03.094 - Monitoring Report Summary: [2024-09-04T22:40:04.034Z] STF 17:40:03.094 - o Process CMJ ended with the expected exit code (0) [2024-09-04T22:40:04.034Z] STF 17:40:03.094 - Created modular jar: 5.com.test.jar [2024-09-04T22:40:04.034Z] STF 17:40:03.094 - [2024-09-04T22:40:04.034Z] STF 17:40:03.094 - +------ Step 6 - Create runtime image for upgrademodulepath test [2024-09-04T22:40:04.034Z] STF 17:40:03.094 - | Run jlink to create runtime image [2024-09-04T22:40:04.034Z] STF 17:40:03.094 - | ImageName: UpJVM [2024-09-04T22:40:04.034Z] STF 17:40:03.094 - | [2024-09-04T22:40:04.034Z] STF 17:40:03.095 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/UpgModPath_ExpImg_0/20240904-174000-UpgModPathTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/UpgModPath_ExpImg_0/20240904-174000-UpgModPathTest/tmp/6.UpJVM [2024-09-04T22:40:04.034Z] STF 17:40:03.095 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/UpgModPath_ExpImg_0/20240904-174000-UpgModPathTest/results/6.JLNK.stderr [2024-09-04T22:40:04.034Z] STF 17:40:03.095 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/UpgModPath_ExpImg_0/20240904-174000-UpgModPathTest/results/6.JLNK.stdout [2024-09-04T22:40:04.034Z] STF 17:40:03.096 - Monitoring processes: JLNK [2024-09-04T22:40:05.692Z] STF 17:40:04.865 - Monitoring Report Summary: [2024-09-04T22:40:05.692Z] STF 17:40:04.865 - o Process JLNK ended with the expected exit code (0) [2024-09-04T22:40:05.692Z] STF 17:40:04.865 - [2024-09-04T22:40:05.692Z] STF 17:40:04.865 - +------ Step 7 - Override an application module using a custom runtime image [2024-09-04T22:40:05.692Z] STF 17:40:04.865 - | Run foreground process [2024-09-04T22:40:05.692Z] STF 17:40:04.865 - | Program: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/UpgModPath_ExpImg_0/20240904-174000-UpgModPathTest/tmp/6.UpJVM/bin/java [2024-09-04T22:40:05.692Z] STF 17:40:04.865 - | Mnemonic: OT14 [2024-09-04T22:40:05.692Z] STF 17:40:04.865 - | Echo: ECHO_ON [2024-09-04T22:40:05.692Z] STF 17:40:04.865 - | Expectation: CLEAN_RUN within 1m [2024-09-04T22:40:05.692Z] STF 17:40:04.865 - | [2024-09-04T22:40:05.692Z] STF 17:40:04.865 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/UpgModPath_ExpImg_0/20240904-174000-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello -XX:+UseCompressedOops -classpath /Users/jenkins/testDependency/system_lib/junit/junit.jar:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2024-09-04T22:40:05.692Z] STF 17:40:04.865 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/UpgModPath_ExpImg_0/20240904-174000-UpgModPathTest/results/7.OT14.stderr [2024-09-04T22:40:05.692Z] STF 17:40:04.865 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/UpgModPath_ExpImg_0/20240904-174000-UpgModPathTest/results/7.OT14.stdout [2024-09-04T22:40:05.692Z] STF 17:40:04.868 - Monitoring processes: OT14 [2024-09-04T22:40:05.692Z] OT14 JUnit version 4.12 [2024-09-04T22:40:05.692Z] OT14 . [2024-09-04T22:40:05.692Z] OT14 Time: 0.005 [2024-09-04T22:40:05.692Z] OT14 [2024-09-04T22:40:05.692Z] OT14 OK (1 test) [2024-09-04T22:40:05.692Z] OT14 [2024-09-04T22:40:05.692Z] STF 17:40:05.245 - Monitoring Report Summary: [2024-09-04T22:40:05.692Z] STF 17:40:05.245 - o Process OT14 ended with the expected exit code (0) [2024-09-04T22:40:05.692Z] STF 17:40:05.246 - [2024-09-04T22:40:05.692Z] STF 17:40:05.246 - +------ Step 8 - (Negative test) Override a non-upgradable platform module using a custom runtime image [2024-09-04T22:40:05.692Z] STF 17:40:05.246 - | Run foreground process [2024-09-04T22:40:05.692Z] STF 17:40:05.246 - | Program: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/UpgModPath_ExpImg_0/20240904-174000-UpgModPathTest/tmp/6.UpJVM/bin/java [2024-09-04T22:40:05.692Z] STF 17:40:05.246 - | Mnemonic: OT16 [2024-09-04T22:40:05.692Z] STF 17:40:05.246 - | Echo: ECHO_ON [2024-09-04T22:40:05.692Z] STF 17:40:05.246 - | Expectation: NON_ZERO_EXIT [1] within 1m [2024-09-04T22:40:05.692Z] STF 17:40:05.246 - | [2024-09-04T22:40:05.692Z] STF 17:40:05.246 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/UpgModPath_ExpImg_0/20240904-174000-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.logging -XX:+UseCompressedOops -classpath /Users/jenkins/testDependency/system_lib/junit/junit.jar:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingNonUpgradablePlatformModule [2024-09-04T22:40:05.692Z] STF 17:40:05.246 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/UpgModPath_ExpImg_0/20240904-174000-UpgModPathTest/results/8.OT16.stderr [2024-09-04T22:40:05.692Z] STF 17:40:05.246 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/UpgModPath_ExpImg_0/20240904-174000-UpgModPathTest/results/8.OT16.stdout [2024-09-04T22:40:06.492Z] STF 17:40:05.248 - Monitoring processes: OT16 [2024-09-04T22:40:06.492Z] OT16 Error occurred during initialization of boot layer [2024-09-04T22:40:06.492Z] OT16 java.lang.module.FindException: Unable to compute the hash of module java.logging [2024-09-04T22:40:06.492Z] STF 17:40:05.420 - Monitoring Report Summary: [2024-09-04T22:40:06.492Z] STF 17:40:05.420 - o Process OT16 ended with the expected exit code (1) [2024-09-04T22:40:06.492Z] STF 17:40:05.420 - [2024-09-04T22:40:06.492Z] STF 17:40:05.420 - +------ Step 9 - Combine stderr and stdout files of process OT16 [2024-09-04T22:40:06.492Z] STF 17:40:05.420 - | Run foreground process [2024-09-04T22:40:06.492Z] STF 17:40:05.420 - | Program: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java [2024-09-04T22:40:06.492Z] STF 17:40:05.420 - | Mnemonic: CO [2024-09-04T22:40:06.492Z] STF 17:40:05.420 - | Echo: ECHO_OFF [2024-09-04T22:40:06.492Z] STF 17:40:05.420 - | Expectation: NON_ZERO_EXIT [0] within 5m [2024-09-04T22:40:06.492Z] STF 17:40:05.420 - | [2024-09-04T22:40:06.492Z] STF 17:40:05.420 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java -Dfile1=/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/UpgModPath_ExpImg_0/20240904-174000-UpgModPathTest/results/8.OT16.stdout -Dfile2=/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/UpgModPath_ExpImg_0/20240904-174000-UpgModPathTest/results/8.OT16.stderr -Dfinal.file=/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/UpgModPath_ExpImg_0/20240904-174000-UpgModPathTest/results/combinedOT16.txt -XX:+UseCompressedOops -classpath /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/bin:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin net.adoptopenjdk.test.modularity.TestUtil [2024-09-04T22:40:06.492Z] STF 17:40:05.420 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/UpgModPath_ExpImg_0/20240904-174000-UpgModPathTest/results/9.CO.stderr [2024-09-04T22:40:06.492Z] STF 17:40:05.420 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/UpgModPath_ExpImg_0/20240904-174000-UpgModPathTest/results/9.CO.stdout [2024-09-04T22:40:06.492Z] STF 17:40:05.422 - Monitoring processes: CO [2024-09-04T22:40:06.492Z] STF 17:40:05.602 - Monitoring Report Summary: [2024-09-04T22:40:06.492Z] STF 17:40:05.603 - o Process CO ended with the expected exit code (0) [2024-09-04T22:40:06.492Z] STF 17:40:05.603 - [2024-09-04T22:40:06.492Z] STF 17:40:05.603 - +------ Step 10 - Check output [2024-09-04T22:40:06.492Z] STF 17:40:05.603 - | Count file matches [2024-09-04T22:40:06.492Z] STF 17:40:05.603 - | TargetFile: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17254885485599/UpgModPath_ExpImg_0/20240904-174000-UpgModPathTest/results/combinedOT16.txt [2024-09-04T22:40:06.492Z] STF 17:40:05.603 - | ExpectedNumMatches: 1 [2024-09-04T22:40:06.492Z] STF 17:40:05.603 - | SearchStrings: ["FindException: Unable to compute the hash of module java.logging"] [2024-09-04T22:40:06.492Z] STF 17:40:05.603 - | [2024-09-04T22:40:06.492Z] STF 17:40:05.603 - Found 1 instances of ["FindException: Unable to compute the hash of module java.logging"] [2024-09-04T22:40:06.492Z] STF 17:40:05.603 - EXECUTE stage completed [2024-09-04T22:40:06.492Z] STF 17:40:05.657 - [2024-09-04T22:40:06.492Z] STF 17:40:05.657 - ==================== T E A R D O W N ==================== [2024-09-04T22:40:06.492Z] STF 17:40:05.657 - Running teardown: perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17254885485599/UpgModPath_ExpImg_0/20240904-174000-UpgModPathTest/tearDown.pl [2024-09-04T22:40:06.492Z] STF 17:40:05.711 - TEARDOWN stage completed [2024-09-04T22:40:06.492Z] STF 17:40:05.713 - [2024-09-04T22:40:06.492Z] STF 17:40:05.713 - ===================== R E S U L T S ===================== [2024-09-04T22:40:06.492Z] STF 17:40:05.713 - Stage results: [2024-09-04T22:40:06.492Z] STF 17:40:05.713 - setUp: pass [2024-09-04T22:40:06.492Z] STF 17:40:05.713 - execute: pass [2024-09-04T22:40:06.492Z] STF 17:40:05.713 - teardown: pass [2024-09-04T22:40:06.492Z] STF 17:40:05.713 - [2024-09-04T22:40:06.492Z] STF 17:40:05.713 - Overall result: PASSED [2024-09-04T22:40:06.492Z] ----------------------------------- [2024-09-04T22:40:06.492Z] UpgModPath_ExpImg_0_PASSED [2024-09-04T22:40:06.492Z] ----------------------------------- [2024-09-04T22:40:06.492Z] [2024-09-04T22:40:06.492Z] TEST TEARDOWN: [2024-09-04T22:40:06.492Z] Nothing to be done for teardown. [2024-09-04T22:40:06.492Z] UpgModPath_ExpImg_0 Finish Time: Wed Sep 4 17:40:05 2024 Epoch Time (ms): 1725489605743