blob: e8ab3a1db4b185e049f15cd2df9a87fad1e5050c [file] [log] [blame]
Sridevi Ramesh9617ebd2019-11-25 10:57:21 -06001*** Settings ***
2Documentation Test RAS sanity scenarios.
3
4Resource ../../lib/openbmc_ffdc.robot
5Resource ../../lib/openbmc_ffdc_utils.robot
6Resource ../../lib/openbmc_ffdc_methods.robot
7Resource ../../lib/ras/host_utils.robot
Sridevi Ramesh9617ebd2019-11-25 10:57:21 -06008Resource ../../openpower/ras/ras_utils.robot
George Keishing7ec0b0b2020-02-05 09:11:24 -06009Library ../../lib/utils.py
Sridevi Ramesh9617ebd2019-11-25 10:57:21 -060010Variables ../../lib/ras/variables.py
11Variables ../../data/variables.py
12
George Keishing64fdf622020-06-18 02:49:38 -050013Suite Setup Suite Setup Execution
Sridevi Ramesh9617ebd2019-11-25 10:57:21 -060014Test Setup Printn
15Test Teardown FFDC On Test Case Fail
George Keishing64fdf622020-06-18 02:49:38 -050016Suite Teardown Suite Setup Teardown
Sridevi Ramesh9617ebd2019-11-25 10:57:21 -060017
18*** Variables ***
19${proc_chip_id} 0
20
21# mention count to read system memory.
22${count} 128
23
24*** Test Cases ***
25
26Test BMC Getscom
George Keishingc6047672020-02-07 12:02:32 -060027 [Documentation] Do getscom operation.
28 [Tags] Test_BMC_Getscom
Sridevi Ramesh9617ebd2019-11-25 10:57:21 -060029 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} MCACALIFIR_RECV1
30 Pdbg -p${proc_chip_id} getscom 0x${value[0]}
31
32Test BMC Getcfam
George Keishingc6047672020-02-07 12:02:32 -060033 [Documentation] Do getcfam operation.
34 [Tags] Test_BMC_Getcfam
Sridevi Ramesh9617ebd2019-11-25 10:57:21 -060035 Pdbg -p${proc_chip_id} getcfam 0x${cfam_address}
36
37Test BMC Getmem
George Keishingc6047672020-02-07 12:02:32 -060038 [Documentation] Do getmem operation.
39 [Tags] Test_BMC_Getmem
Sridevi Ramesh9617ebd2019-11-25 10:57:21 -060040 Pdbg -p${proc_chip_id} getmem 0x${mem_address} ${count}
George Keishing64fdf622020-06-18 02:49:38 -050041
42*** Keywords ***
43
44Suite Setup Execution
45 [Documentation] Do the suite setup.
46
47 Redfish.Login
48 Redfish Power On
49
50
51Suite Setup Teardown
52 [Documentation] Do the suite setup.
53
54 Redfish.Logout