Sridevi Ramesh | f6e0886 | 2019-11-11 08:37:08 -0600 | [diff] [blame] | 1 | *** Settings *** |
| 2 | Documentation This suite tests error log callout handling when checkstop |
Konstantin Aladyshev | bdc759f | 2021-04-12 17:06:41 +0300 | [diff] [blame] | 3 | ... is injected through HOST/BMC and BMC rebooted. |
Sridevi Ramesh | f6e0886 | 2019-11-11 08:37:08 -0600 | [diff] [blame] | 4 | |
| 5 | Resource ../../lib/openbmc_ffdc.robot |
| 6 | Resource ../../lib/openbmc_ffdc_utils.robot |
| 7 | Resource ../../lib/openbmc_ffdc_methods.robot |
| 8 | Resource ../../openpower/ras/ras_utils.robot |
| 9 | Variables ../../lib/ras/variables.py |
| 10 | Variables ../../data/variables.py |
| 11 | |
| 12 | Suite Setup RAS Suite Setup |
| 13 | Test Setup RAS Test Setup |
| 14 | Test Teardown FFDC On Test Case Fail |
| 15 | Suite Teardown RAS Suite Cleanup |
| 16 | |
| 17 | Force Tags Reboot_RAS |
| 18 | |
| 19 | *** Test Cases *** |
| 20 | Verify Host Unrecoverable Callout Handling At Reboot |
| 21 | [Documentation] Verify host unrecoverable callout handling at reboot. |
| 22 | [Tags] Verify_Unrecoverable_Callout_Handling_At_Reboot |
| 23 | |
| 24 | ${value}= Get From Dictionary ${ERROR_INJECT_DICT} L2FIR_UE |
| 25 | ${translated_fir}= Fetch FIR Address Translation Value ${value[0]} EX |
| 26 | ${err_log_path}= Catenate ${RAS_LOG_DIR_PATH}l2fir_ue |
| 27 | Inject Unrecoverable Error HOST ${translated_fir} |
| 28 | ... ${value[1]} 1 ${value[2]} ${err_log_path} ${1} |
| 29 | |
| 30 | Verify Pdbg Unrecoverable Callout Handling At Reboot |
| 31 | [Documentation] Verify unrecoverable callout handling |
| 32 | ... with pdbg tool at reboot. |
| 33 | [Tags] Verify_Pdbg_Unrecoverable_Callout_Handling_At_Reboot |
| 34 | |
| 35 | ${value}= Get From Dictionary ${ERROR_INJECT_DICT} L3FIR_UE |
| 36 | ${translated_fir}= Fetch FIR Address Translation Value ${value[0]} EX |
| 37 | ${err_log_path}= Catenate ${RAS_LOG_DIR_PATH}l3fir_ue |
| 38 | Inject Unrecoverable Error BMC ${translated_fir} |
| 39 | ... ${value[1]} 1 ${value[2]} ${err_log_path} ${1} |