Sridevi Ramesh | 9617ebd | 2019-11-25 10:57:21 -0600 | [diff] [blame] | 1 | *** Settings *** |
| 2 | Documentation Test RAS sanity scenarios. |
| 3 | |
Sridevi Ramesh | 63db859 | 2021-01-13 07:19:31 -0600 | [diff] [blame] | 4 | Resource ../../lib/bmc_redfish_resource.robot |
Sridevi Ramesh | 9617ebd | 2019-11-25 10:57:21 -0600 | [diff] [blame] | 5 | Resource ../../lib/openbmc_ffdc.robot |
Sridevi Ramesh | 9617ebd | 2019-11-25 10:57:21 -0600 | [diff] [blame] | 6 | Variables ../../lib/ras/variables.py |
Sridevi Ramesh | 9617ebd | 2019-11-25 10:57:21 -0600 | [diff] [blame] | 7 | |
George Keishing | 64fdf62 | 2020-06-18 02:49:38 -0500 | [diff] [blame] | 8 | Suite Setup Suite Setup Execution |
Sridevi Ramesh | 9617ebd | 2019-11-25 10:57:21 -0600 | [diff] [blame] | 9 | Test Setup Printn |
| 10 | Test Teardown FFDC On Test Case Fail |
George Keishing | 64fdf62 | 2020-06-18 02:49:38 -0500 | [diff] [blame] | 11 | Suite Teardown Suite Setup Teardown |
Sridevi Ramesh | 9617ebd | 2019-11-25 10:57:21 -0600 | [diff] [blame] | 12 | |
| 13 | *** Variables *** |
| 14 | ${proc_chip_id} 0 |
| 15 | |
| 16 | # mention count to read system memory. |
| 17 | ${count} 128 |
| 18 | |
| 19 | *** Test Cases *** |
| 20 | |
| 21 | Test BMC Getscom |
George Keishing | c604767 | 2020-02-07 12:02:32 -0600 | [diff] [blame] | 22 | [Documentation] Do getscom operation. |
| 23 | [Tags] Test_BMC_Getscom |
Sridevi Ramesh | 9617ebd | 2019-11-25 10:57:21 -0600 | [diff] [blame] | 24 | ${value}= Get From Dictionary ${ERROR_INJECT_DICT} MCACALIFIR_RECV1 |
| 25 | Pdbg -p${proc_chip_id} getscom 0x${value[0]} |
| 26 | |
| 27 | Test BMC Getcfam |
George Keishing | c604767 | 2020-02-07 12:02:32 -0600 | [diff] [blame] | 28 | [Documentation] Do getcfam operation. |
| 29 | [Tags] Test_BMC_Getcfam |
Sridevi Ramesh | 9617ebd | 2019-11-25 10:57:21 -0600 | [diff] [blame] | 30 | Pdbg -p${proc_chip_id} getcfam 0x${cfam_address} |
| 31 | |
| 32 | Test BMC Getmem |
George Keishing | c604767 | 2020-02-07 12:02:32 -0600 | [diff] [blame] | 33 | [Documentation] Do getmem operation. |
| 34 | [Tags] Test_BMC_Getmem |
Sridevi Ramesh | 9617ebd | 2019-11-25 10:57:21 -0600 | [diff] [blame] | 35 | Pdbg -p${proc_chip_id} getmem 0x${mem_address} ${count} |
George Keishing | 64fdf62 | 2020-06-18 02:49:38 -0500 | [diff] [blame] | 36 | |
| 37 | *** Keywords *** |
| 38 | |
| 39 | Suite Setup Execution |
| 40 | [Documentation] Do the suite setup. |
| 41 | |
| 42 | Redfish.Login |
| 43 | Redfish Power On |
| 44 | |
| 45 | |
| 46 | Suite Setup Teardown |
| 47 | [Documentation] Do the suite setup. |
| 48 | |
| 49 | Redfish.Logout |