blob: 7a0a3d2d266f6c70da8659ab5dd2db21dc82487a [file] [log] [blame]
Sridevi Ramesh9617ebd2019-11-25 10:57:21 -06001*** Settings ***
2Documentation Test RAS sanity scenarios.
3
Sridevi Ramesh63db8592021-01-13 07:19:31 -06004Resource ../../lib/bmc_redfish_resource.robot
Sridevi Ramesh9617ebd2019-11-25 10:57:21 -06005Resource ../../lib/openbmc_ffdc.robot
Sridevi Ramesh9617ebd2019-11-25 10:57:21 -06006Variables ../../lib/ras/variables.py
Sridevi Ramesh9617ebd2019-11-25 10:57:21 -06007
George Keishing64fdf622020-06-18 02:49:38 -05008Suite Setup Suite Setup Execution
Sridevi Ramesh9617ebd2019-11-25 10:57:21 -06009Test Setup Printn
10Test Teardown FFDC On Test Case Fail
George Keishing64fdf622020-06-18 02:49:38 -050011Suite Teardown Suite Setup Teardown
Sridevi Ramesh9617ebd2019-11-25 10:57:21 -060012
13*** Variables ***
14${proc_chip_id} 0
15
16# mention count to read system memory.
17${count} 128
18
19*** Test Cases ***
20
21Test BMC Getscom
George Keishingc6047672020-02-07 12:02:32 -060022 [Documentation] Do getscom operation.
23 [Tags] Test_BMC_Getscom
Sridevi Ramesh9617ebd2019-11-25 10:57:21 -060024 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} MCACALIFIR_RECV1
25 Pdbg -p${proc_chip_id} getscom 0x${value[0]}
26
27Test BMC Getcfam
George Keishingc6047672020-02-07 12:02:32 -060028 [Documentation] Do getcfam operation.
29 [Tags] Test_BMC_Getcfam
Sridevi Ramesh9617ebd2019-11-25 10:57:21 -060030 Pdbg -p${proc_chip_id} getcfam 0x${cfam_address}
31
32Test BMC Getmem
George Keishingc6047672020-02-07 12:02:32 -060033 [Documentation] Do getmem operation.
34 [Tags] Test_BMC_Getmem
Sridevi Ramesh9617ebd2019-11-25 10:57:21 -060035 Pdbg -p${proc_chip_id} getmem 0x${mem_address} ${count}
George Keishing64fdf622020-06-18 02:49:38 -050036
37*** Keywords ***
38
39Suite Setup Execution
40 [Documentation] Do the suite setup.
41
42 Redfish.Login
43 Redfish Power On
44
45
46Suite Setup Teardown
47 [Documentation] Do the suite setup.
48
49 Redfish.Logout