blob: 762f0cf6d14884e2b7f95a143abae097361a096c [file] [log] [blame]
Sridevi Ramesheb5a1622020-03-19 05:50:46 -05001*** Settings ***
2Documentation Test RAS sanity scenarios using ecmd commands.
3
4Resource ../../lib/openbmc_ffdc.robot
5Resource ../../lib/openbmc_ffdc_utils.robot
6Resource ../../lib/openbmc_ffdc_methods.robot
7Resource ../../lib/ras/host_utils.robot
8Library ../../lib/utils.py
9Variables ../../lib/ras/variables.py
10
11Suite Setup Redfish Power On
12Test Setup Printn
13Test 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
23Test 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
29Test Ecmd Getcfam
30 [Documentation] Do getcfam operation through BMC.
31 [Tags] Test_Ecmd_Getcfam
32 Ecmd getcfam pu ${cfam_address} -all
33
34Test Ecmd Getmemproc
35 [Documentation] Do getmemproc operation through BMC.
36 [Tags] Test_Ecmd_Getmemproc
37 Ecmd getmemproc ${mem_address} ${count}