Retry IPMI command on failure

Change-Id: Id5362d03bf700206be7ede794acde553cbd28b10
Signed-off-by: Rahul Maheshwari <rahulmaheshwari@in.ibm.com>
diff --git a/ipmi/test_ipmi_mc_id.robot b/ipmi/test_ipmi_mc_id.robot
index 089fe22..2133b25 100644
--- a/ipmi/test_ipmi_mc_id.robot
+++ b/ipmi/test_ipmi_mc_id.robot
@@ -22,7 +22,8 @@
     # Example:
     # Get Management Controller Identifier String: witherspoon
 
-    ${cmd_output}=  Run IPMI Standard Command  dcmi get_mc_id_string
+    ${cmd_output}=  Wait Until Keyword Succeeds  15 sec  5 sec
+    ...  Run IPMI Standard Command  dcmi get_mc_id_string
 
     # Extract management controller ID from cmd_output.
     ${initial_mc_id}=  Fetch From Right  ${cmd_output}  :${SPACE}