Capture console log using port 2200 for debug IPMI SOL failure.
Resolves openbmc/openbmc-test-automation#896
Change-Id: Ieac4278f3430bd9755b0090755114c399de8f8ae
Signed-off-by: Rahul Maheshwari <rahulmaheshwari@in.ibm.com>
diff --git a/tests/ipmi/test_sol.robot b/tests/ipmi/test_sol.robot
index bb512ed..a39213f 100644
--- a/tests/ipmi/test_sol.robot
+++ b/tests/ipmi/test_sol.robot
@@ -5,6 +5,7 @@
Resource ../../lib/openbmc_ffdc.robot
Library ../../lib/ipmi_utils.py
+Test Setup Start SOL Console Logging
Test Teardown Post Test Case Execution
*** Variables ***
@@ -272,5 +273,7 @@
[Documentation] Do the post test teardown.
Deactivate SOL Via IPMI
+ ${sol_log}= Stop SOL Console Logging
+ Log ${sol_log}
FFDC On Test Case Fail
Restore Default SOL Configuration