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