Re-order IPMI SOL test cases
Because of the IPMI power on other initial test failure, the remaining
use cases simply fails where it is working when executed manually.
Re-ordering will help execute the IPMI test cases faster and better
chance of identifying real failure.
Automation failure for SOL related need to be fix using the bellow
reference openbmc/openbmc-test-automation#895
Change-Id: I7950804388280d007e3e1b91085b59eea3a055a0
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/tests/ipmi/test_sol.robot b/tests/ipmi/test_sol.robot
index a39213f..3e41680 100644
--- a/tests/ipmi/test_sol.robot
+++ b/tests/ipmi/test_sol.robot
@@ -12,68 +12,6 @@
*** Test Cases ***
-Verify SOL During Boot
- [Documentation] Verify SOL during boot.
- [Tags] Verify_SOL_During_Boot
-
- ${current_state}= Get Host State Via External IPMI
- Run Keyword If '${current_state}' == 'on'
- ... Initiate Host PowerOff Via External IPMI
- Initiate Host Boot Via External IPMI wait=${0}
-
- Activate SOL Via IPMI
- Wait Until Keyword Succeeds 10 mins 30 secs
- ... Check IPMI SOL Output Content Petitboot
-
-Verify Deactivate Non Existing SOL
- [Documentation] Verify deactivate non existing SOL session.
- [Tags] Verify_Deactivate_Non_Existing_SOL
-
- ${resp}= Deactivate SOL Via IPMI
- Should Contain ${resp} SOL payload already de-activated
- ... case_insensitive=True
-
-
-Set Valid SOL Retry Count
- # Description of template fields:
- # Setting name Min valid value Max valid value
- retry-count 0 7
- [Documentation] Verify valid SOL's retry count via IPMI.
- [Tags] Set_Valid_SOL_Retry_Count
-
- [Template] Verify SOL Setting
-
-
-Set Valid SOL Retry Interval
- # Description of template fields:
- # Setting name Min valid value Max valid value
- retry-interval 0 255
- [Documentation] Verify valid SOL's retry interval via IPMI.
- [Tags] Set_Valid_SOL_Retry_Interval
-
- [Template] Verify SOL Setting
-
-
-Set Valid SOL Character Accumulate Level
- # Description of template fields:
- # Setting name Min valid value Max valid value
- character-accumulate-level 1 255
- [Documentation] Verify valid SOL's character accumulate level via IPMI.
- [Tags] Set_Valid_SOL_Character_Accumulate_Level
-
- [Template] Verify SOL Setting
-
-
-Set Valid SOL Character Send Threshold
- # Description of template fields:
- # Setting name Min valid value Max valid value
- character-send-threshold 0 255
- [Documentation] Verify valid SOL's character send threshold via IPMI.
- [Tags] Set_Valid_SOL_Character_Send_Threshold
-
- [Template] Verify SOL Setting
-
-
Set SOL Enabled
[Documentation] Verify enabling SOL via IPMI.
[Tags] Set_SOL_Enabled
@@ -177,6 +115,67 @@
Should Contain ${msg} Invalid value ignore_case=True
+Verify SOL During Boot
+ [Documentation] Verify SOL during boot.
+ [Tags] Verify_SOL_During_Boot
+
+ ${current_state}= Get Host State Via External IPMI
+ Run Keyword If '${current_state}' == 'on'
+ ... Initiate Host PowerOff Via External IPMI
+ Initiate Host Boot Via External IPMI wait=${0}
+
+ Activate SOL Via IPMI
+ Wait Until Keyword Succeeds 10 mins 30 secs
+ ... Check IPMI SOL Output Content Petitboot
+
+Verify Deactivate Non Existing SOL
+ [Documentation] Verify deactivate non existing SOL session.
+ [Tags] Verify_Deactivate_Non_Existing_SOL
+
+ ${resp}= Deactivate SOL Via IPMI
+ Should Contain ${resp} SOL payload already de-activated
+ ... case_insensitive=True
+
+
+Set Valid SOL Retry Count
+ # Description of template fields:
+ # Setting name Min valid value Max valid value
+ retry-count 0 7
+ [Documentation] Verify valid SOL's retry count via IPMI.
+ [Tags] Set_Valid_SOL_Retry_Count
+
+ [Template] Verify SOL Setting
+
+
+Set Valid SOL Retry Interval
+ # Description of template fields:
+ # Setting name Min valid value Max valid value
+ retry-interval 0 255
+ [Documentation] Verify valid SOL's retry interval via IPMI.
+ [Tags] Set_Valid_SOL_Retry_Interval
+
+ [Template] Verify SOL Setting
+
+
+Set Valid SOL Character Accumulate Level
+ # Description of template fields:
+ # Setting name Min valid value Max valid value
+ character-accumulate-level 1 255
+ [Documentation] Verify valid SOL's character accumulate level via IPMI.
+ [Tags] Set_Valid_SOL_Character_Accumulate_Level
+
+ [Template] Verify SOL Setting
+
+
+Set Valid SOL Character Send Threshold
+ # Description of template fields:
+ # Setting name Min valid value Max valid value
+ character-send-threshold 0 255
+ [Documentation] Verify valid SOL's character send threshold via IPMI.
+ [Tags] Set_Valid_SOL_Character_Send_Threshold
+
+ [Template] Verify SOL Setting
+
*** Keywords ***
Check IPMI SOL Output Content