OpenBMC RAS test cases.
Automated 11 host related RAS TC's with recoverable errors with
thershold limit 1, 5, 32 & unrecoverable error.
Error injection for the following:
MCIFIR - RECV1, RECV32, UE.
MCACALFIR - RECV1, UE.
NXDMAENGFIR - RECV1, UE.
CXAFIR - RECV5, RECV32.
OB_LFIR - RECV32.
NPU0FIR - RECV32.
Resolves openbmc/openbmc-test-automation#906
Change-Id: Ia3bb63bf9776b93285e938b36a47543a546fcbbd
Signed-off-by: Sridevi Ramesh <sridevra@in.ibm.com>
diff --git a/lib/openbmc_ffdc_methods.robot b/lib/openbmc_ffdc_methods.robot
index 6359c68..45e1ca7 100755
--- a/lib/openbmc_ffdc_methods.robot
+++ b/lib/openbmc_ffdc_methods.robot
@@ -319,6 +319,8 @@
Collect eSEL Log
[Documentation] Collect eSEL log from logging entry and convert eSEL data
... to elog formated string text file.
+ [Arguments] ${log_prefix_path}=${LOG_PREFIX}
+
${resp}= OpenBMC Get Request ${BMC_LOGGING_ENTRY}/enumerate quiet=${1}
${status}= Run Keyword And Return Status
... Should Be Equal As Strings ${resp.status_code} ${HTTP_OK}
@@ -332,7 +334,7 @@
# /xyz/openbmc_project/logging/entry/2
${esel_list}= Get Dictionary Keys ${content['data']}
- ${logpath}= Catenate SEPARATOR= ${LOG_PREFIX} esel
+ ${logpath}= Catenate SEPARATOR= ${log_prefix_path} esel
Create File ${logpath}
# Fetch data from /xyz/openbmc_project/logging/entry/1/attr/AdditionalData
# "ESEL=00 00 df 00 00 00 00 20 00 04 12 35 6f aa 00 00 "