Fix BMC dump Redfish boot loading error during suite execution
Changes:
- Added resources needed to resolve
- skip directive to reboot if already powered off
Change-Id: Ie2c8694ee09953e04e230fc948588d7afcc20cb3
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/redfish/managers/test_bmc_dumps.robot b/redfish/managers/test_bmc_dumps.robot
index 469dcf5..db20671 100644
--- a/redfish/managers/test_bmc_dumps.robot
+++ b/redfish/managers/test_bmc_dumps.robot
@@ -2,8 +2,10 @@
Documentation Test BMC dump functionality of OpenBMC.
-Resource ../../lib/openbmc_ffdc.robot
+Resource ../../lib/bmc_redfish_resource.robot
+Resource ../../lib/boot_utils.robot
Resource ../../lib/dump_utils.robot
+Resource ../../lib/openbmc_ffdc.robot
Suite Setup Redfish.Login
Test Setup Redfish Delete All BMC Dumps
@@ -87,7 +89,7 @@
${dump_entries_before}= redfish_utils.get_member_list /redfish/v1/Managers/bmc/LogServices/Dump/Entries
# Reset BMC.
- OBMC Reboot (off)
+ OBMC Reboot (off) stack_mode=skip
${dump_entries_after}= redfish_utils.get_member_list /redfish/v1/Managers/bmc/LogServices/Dump/Entries
Lists Should Be Equal ${dump_entries_before} ${dump_entries_after}