Not to fail "SOL Deactivate" keyword if process termination fails.
Resolves openbmc/openbmc-test-automation#710
Change-Id: I540dc48384b00d5ed002dec024e0f02393f01a81
Signed-off-by: Rahul Maheshwari <rahulmaheshwari@in.ibm.com>
diff --git a/lib/ipmi_client.robot b/lib/ipmi_client.robot
index aab95d1..529dc88 100755
--- a/lib/ipmi_client.robot
+++ b/lib/ipmi_client.robot
@@ -157,7 +157,8 @@
${rc} ${output}= Run and Return RC and Output ${ipmi_cmd}
Run Keyword If ${rc} > 0 Run Keywords
- ... Terminate Process sol_proc AND Return From Keyword ${output}
+ ... Run Keyword And Ignore Error Terminate Process sol_proc
+ ... AND Return From Keyword ${output}
${rc} ${output}= Run and Return RC and Output cat ${file_path}
Should Be Equal ${rc} ${0} msg=${output}