blob: c031e8ae9e78738e18783a3ab8e0324cf5e30995 [file] [log] [blame]
Sridevi Rameshf6e08862019-11-11 08:37:08 -06001*** Settings ***
2Documentation This suite tests error log callout handling when checkstop
Konstantin Aladyshevbdc759f2021-04-12 17:06:41 +03003... is injected through HOST/BMC and BMC rebooted.
Sridevi Rameshf6e08862019-11-11 08:37:08 -06004
5Resource ../../lib/openbmc_ffdc.robot
6Resource ../../lib/openbmc_ffdc_utils.robot
7Resource ../../lib/openbmc_ffdc_methods.robot
8Resource ../../openpower/ras/ras_utils.robot
9Variables ../../lib/ras/variables.py
10Variables ../../data/variables.py
11
12Suite Setup RAS Suite Setup
13Test Setup RAS Test Setup
14Test Teardown FFDC On Test Case Fail
15Suite Teardown RAS Suite Cleanup
16
17Force Tags Reboot_RAS
18
19*** Test Cases ***
20Verify Host Unrecoverable Callout Handling At Reboot
21 [Documentation] Verify host unrecoverable callout handling at reboot.
George Keishing4203fad2022-01-31 12:22:33 -060022 [Tags] Verify_Host_Unrecoverable_Callout_Handling_At_Reboot
Sridevi Rameshf6e08862019-11-11 08:37:08 -060023
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
30Verify 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}