Added test to verify BMC dump creation during HOST booting
Changes:
- Added a new automation test case to verify BMC dump creation
when ipl or booting is on progress.
Tested:
- Ran the testcase successfully from sandbox.
Change-Id: I2345c40959f1956b92946faf7ab10f63934ffa2b
Signed-off-by: manashsarma <manashsarma@in.ibm.com>
diff --git a/redfish/managers/test_bmc_dumps.robot b/redfish/managers/test_bmc_dumps.robot
index 21afc31..ed8d947 100644
--- a/redfish/managers/test_bmc_dumps.robot
+++ b/redfish/managers/test_bmc_dumps.robot
@@ -125,6 +125,23 @@
List Should Contain Value ${dump_entries} ${dump_id}
+Verify User Initiated BMC Dump At Host Booting
+ [Documentation] Create and verify user initiated BMC dump during Host is powwering on
+ ... or when host booting is in progress.
+ [Tags] Verify_User_Initiated_BMC_Dump_At_Host_Booting
+
+ Redfish Delete All BMC Dumps
+
+ # Initiate power on.
+ Redfish Power Operation On
+ Wait Until Keyword Succeeds 2 min 5 sec Is Boot Progress Changed
+
+ # Create user initiated BMC dump and verify only one dump is available.
+ Create User Initiated BMC Dump Via Redfish
+ ${dump_entries}= Get BMC Dump Entries
+ Length Should Be ${dump_entries} 1
+
+
Verify Dump Persistency On Dump Service Restart
[Documentation] Create user dump, restart dump manager service and verify dump
... persistency.