Immediate fix in test_host_ras.robot
In the last commit some of the testcases are deleted.
Adding those testcases in this commit.
Change-Id: I28362e056882dffe5c443d90a4669e960fb8b558
Signed-off-by: Sridevi Ramesh <sridevra@in.ibm.com>
diff --git a/openpower/ras/test_host_ras.robot b/openpower/ras/test_host_ras.robot
index ddf70fb..fc83939 100755
--- a/openpower/ras/test_host_ras.robot
+++ b/openpower/ras/test_host_ras.robot
@@ -49,6 +49,15 @@
Inject Recoverable Error With Threshold Limit
... HOST ${value[0]} ${value[1]} 32 ${value[2]} ${err_log_path}
+Verify Unrecoverable Callout Handling For MCA
+ [Documentation] Verify unrecoverable callout handling for MCACALIFIR.
+ [Tags] Verify_Unrecoverable_Callout_Handling_For_MCA
+
+ ${value}= Get From Dictionary ${ERROR_INJECT_DICT} MCACALIFIR_UE
+ ${err_log_path}= Catenate ${RAS_LOG_DIR_PATH}mcacalfir
+ Inject Unrecoverable Error Through Host
+ ... ${value[0]} ${value[1]} 1 ${value[2]} ${err_log_path}
+
# Memory buffer (MCIFIR) related error injection.
Verify Recoverable Callout Handling For MCI With Threshold 1
@@ -61,6 +70,15 @@
Inject Recoverable Error With Threshold Limit
... HOST ${value[0]} ${value[1]} 1 ${value[2]} ${err_log_path}
+Verify Unrecoverable Callout Handling For MCI
+ [Documentation] Verify unrecoverable callout handling for mci.
+ [Tags] Verify_Unrecoverable_Callout_Handling_For_MCI
+
+ ${value}= Get From Dictionary ${ERROR_INJECT_DICT} MCS_UE
+ ${err_log_path}= Catenate ${RAS_LOG_DIR_PATH}mcifir
+ Inject Unrecoverable Error Through Host
+ ... ${value[0]} ${value[1]} 1 ${value[2]} ${err_log_path}
+
# CAPP accelerator (CXAFIR) related error injection.
Verify Recoverable Callout Handling For CXA With Threshold 5
@@ -83,6 +101,15 @@
Inject Recoverable Error With Threshold Limit
... HOST ${value[0]} ${value[1]} 32 ${value[2]} ${err_log_path}
+Verify Unrecoverable Callout Handling For CXA
+ [Documentation] Verify unrecoverable callout handling for CXAFIR.
+ [Tags] Verify_Unrecoverable_Callout_Handling_For_CXA
+
+ ${value}= Get From Dictionary ${ERROR_INJECT_DICT} CXA_UE
+ ${err_log_path}= Catenate ${RAS_LOG_DIR_PATH}cxafir_ue
+ Inject Unrecoverable Error Through Host
+ ... ${value[0]} ${value[1]} 1 ${value[2]} ${err_log_path}
+
# OBUSFIR related error injection.
@@ -131,6 +158,14 @@
Inject Recoverable Error With Threshold Limit
... HOST ${value[0]} ${value[1]} 32 ${value[2]} ${err_log_path}
+Verify Unrecoverable Callout Handling For NXDMAENG
+ [Documentation] Verify unrecoverable callout handling for NXDMAENG.
+ [Tags] Verify_Unrecoverable_Callout_Handling_For_NXDMAENG
+
+ ${value}= Get From Dictionary ${ERROR_INJECT_DICT} NX_UE
+ ${err_log_path}= Catenate ${RAS_LOG_DIR_PATH}nxfir_ue
+ Inject Unrecoverable Error Through Host
+ ... ${value[0]} ${value[1]} 1 ${value[2]} ${err_log_path}
# L2FIR related error injection.
@@ -156,6 +191,16 @@
Inject Recoverable Error With Threshold Limit
... HOST ${translated_fir} ${value[1]} 32 ${value[2]} ${err_log_path}
+Verify Unrecoverable Callout Handling For L2FIR
+ [Documentation] Verify unrecoverable callout handling for L2FIR.
+ [Tags] Verify_Unrecoverable_Callout_Handling_For_L2FIR
+
+ ${value}= Get From Dictionary ${ERROR_INJECT_DICT} L2FIR_UE
+ ${translated_fir}= Fetch FIR Address Translation Value ${value[0]} EX
+ ${err_log_path}= Catenate ${RAS_LOG_DIR_PATH}l2fir_ue
+ Inject Unrecoverable Error Through Host
+ ... ${translated_fir} ${value[1]} 1 ${value[2]} ${err_log_path}
+
# L3FIR related error injection.
@@ -181,6 +226,16 @@
Inject Recoverable Error With Threshold Limit
... HOST ${translated_fir} ${value[1]} 32 ${value[2]} ${err_log_path}
+Verify Unrecoverable Callout Handling For L3FIR
+ [Documentation] Verify unrecoverable callout handling for L3FIR.
+ [Tags] Verify_Unrecoverable_Callout_Handling_For_L3FIR
+
+ ${value}= Get From Dictionary ${ERROR_INJECT_DICT} L3FIR_UE
+ ${translated_fir}= Fetch FIR Address Translation Value ${value[0]} EX
+ ${err_log_path}= Catenate ${RAS_LOG_DIR_PATH}l3fir_ue
+ Inject Unrecoverable Error Through Host
+ ... ${translated_fir} ${value[1]} 1 ${value[2]} ${err_log_path}
+
# On chip controller (OCCFIR) related error injection.
@@ -220,6 +275,16 @@
Inject Recoverable Error With Threshold Limit
... HOST ${translated_fir} ${value[1]} 1 ${value[2]} ${err_log_path}
+Verify Unrecoverable Callout Handling For NCUFIR
+ [Documentation] Verify unrecoverable callout handling for NCUFIR.
+ [Tags] Verify_Unrecoverable_Callout_Handling_For_NCUFIR
+
+ ${value}= Get From Dictionary ${ERROR_INJECT_DICT} NCUFIR_UE
+ ${translated_fir}= Fetch FIR Address Translation Value ${value[0]} EX
+ ${err_log_path}= Catenate ${RAS_LOG_DIR_PATH}ncufir_ue
+ Inject Unrecoverable Error Through Host
+ ... ${translated_fir} ${value[1]} 1 ${value[2]} ${err_log_path}
+
# Core FIR related error injection.
@@ -247,6 +312,17 @@
Inject Recoverable Error With Threshold Limit
... HOST ${value[0]} ${value[1]} 1 ${value[2]} ${err_log_path}
+Verify Unrecoverable Callout Handling For CoreFIR
+ [Documentation] Verify unrecoverable callout handling for CoreFIR.
+ [Tags] Verify_Unrecoverable_Callout_Handling_For_CoreFIR
+
+ ${value}= Get From Dictionary ${ERROR_INJECT_DICT} COREFIR_UE
+ ${translated_fir}= Fetch FIR Address Translation Value ${value[0]} EX
+ Disable CPU States Through HOST
+ ${err_log_path}= Catenate ${RAS_LOG_DIR_PATH}corefir_ue
+ Inject Unrecoverable Error Through Host
+ ... ${value[0]} ${value[1]} 1 ${value[2]} ${err_log_path}
+
Verify Recoverable Callout Handling For EQFIR With Threshold 32
[Documentation] Verify recoverable callout handling for L3FIR with
... threshold 32.