Reboot host to start boot in test suite setup

We ran into a situation where the previous tests powered on but didn't
boot the host successfully. To protect this test execution from such
bad state, issue reboot host to re-power on clean.

Resolves  openbmc/openbmc-test-automation#772

Change-Id: I13e5a49a46e871e7708f9cc56b2b292574b13738
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/tests/test_inventory.robot b/tests/test_inventory.robot
index f35c97d..5403767 100644
--- a/tests/test_inventory.robot
+++ b/tests/test_inventory.robot
@@ -249,9 +249,12 @@
 
 Test Suite Setup
     [Documentation]  Do the initial suite setup.
+
+    # Reboot host to re-power on clean if host is not "off".
     ${current_state}=  Get Host State
     Run Keyword If  '${current_state}' == 'Off'
     ...  Initiate Host Boot
+    ...  ELSE  Initiate Host Reboot
 
     Wait Until Keyword Succeeds
     ...  10 min  10 sec  Is OS Starting