Sridevi Ramesh | eb5a162 | 2020-03-19 05:50:46 -0500 | [diff] [blame] | 1 | *** Settings *** |
| 2 | Documentation Test RAS sanity scenarios using ecmd commands. |
| 3 | |
| 4 | Resource ../../lib/openbmc_ffdc.robot |
| 5 | Resource ../../lib/openbmc_ffdc_utils.robot |
| 6 | Resource ../../lib/openbmc_ffdc_methods.robot |
| 7 | Resource ../../lib/ras/host_utils.robot |
| 8 | Library ../../lib/utils.py |
| 9 | Variables ../../lib/ras/variables.py |
| 10 | |
| 11 | Suite Setup Redfish Power On |
| 12 | Test Setup Printn |
| 13 | Test Teardown FFDC On Test Case Fail |
| 14 | |
| 15 | |
| 16 | *** Variables *** |
| 17 | |
| 18 | # mention count to read system memory. |
| 19 | ${count} 128 |
| 20 | |
| 21 | *** Test Cases *** |
| 22 | |
| 23 | Test Ecmd Getscom |
| 24 | [Documentation] Do getscom operation through BMC. |
| 25 | [Tags] Test_Ecmd_Getscom |
| 26 | ${value}= Get From Dictionary ${ERROR_INJECT_DICT} COREFIR_RECV1 |
| 27 | Ecmd getscom pu ${value[0]} -all |
| 28 | |
| 29 | Test Ecmd Getcfam |
| 30 | [Documentation] Do getcfam operation through BMC. |
| 31 | [Tags] Test_Ecmd_Getcfam |
| 32 | Ecmd getcfam pu ${cfam_address} -all |
| 33 | |
| 34 | Test Ecmd Getmemproc |
| 35 | [Documentation] Do getmemproc operation through BMC. |
| 36 | [Tags] Test_Ecmd_Getmemproc |
| 37 | Ecmd getmemproc ${mem_address} ${count} |