Tweak SOL log checking for IPMI sol testing
Fixes:
- Keyword renamed.
- Split the SOL checking for hostboot message and ISTEP.
There is also a known ipmitool for SOL which impacts the test as well.
Reference bugzilla: https://sourceforge.net/p/ipmitool/bugs/495/
Resolves openbmc/openbmc-test-automation#1158
Change-Id: Id8dfeec878f81f55299c033147752942a08a57fd
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/tests/ipmi/test_sol.robot b/tests/ipmi/test_sol.robot
index cb7b365..404aa5e 100644
--- a/tests/ipmi/test_sol.robot
+++ b/tests/ipmi/test_sol.robot
@@ -6,7 +6,7 @@
Library ../../lib/ipmi_utils.py
Test Setup Start SOL Console Logging
-Test Teardown Post Test Case Execution
+Test Teardown Test Teardown Execution
*** Variables ***
@@ -242,7 +242,10 @@
Activate SOL Via IPMI
Wait Until Keyword Succeeds 10 mins 30 secs
- ... Check IPMI SOL Output Content Petitboot
+ ... Check IPMI SOL Output Content Welcome to Hostboot hostboot
+
+ Wait Until Keyword Succeeds 3 mins 30 secs
+ ... Check IPMI SOL Output Content ISTEP
Get SOL Setting
[Documentation] Returns status for given SOL setting.
@@ -271,7 +274,7 @@
Close All Connections
-Post Test Case Execution
+Test Teardown Execution
[Documentation] Do the post test teardown.
Deactivate SOL Via IPMI