Remove Ignore Error on Console Logging in htx_hardbootme
Remove Ignore Error and add loop_count
Change-Id: I400d4240cc8b6467e3eff677569e5796341d7133
Signed-off-by: Steven Sombar <ssombar@us.ibm.com>
diff --git a/systest/htx_hardbootme_test.robot b/systest/htx_hardbootme_test.robot
index 66fcfcb..343ffef 100755
--- a/systest/htx_hardbootme_test.robot
+++ b/systest/htx_hardbootme_test.robot
@@ -39,8 +39,7 @@
Library ../syslib/utils_keywords.py
Library ../lib/utils_files.py
-
-Suite Setup Run Keyword And Ignore Error Start SOL Console Logging
+Suite Setup Run Keyword Start SOL Console Logging
Test Setup Pre Test Case Execution
Test Teardown Post Test Case Execution
@@ -77,12 +76,14 @@
Set Suite Variable ${last_inventory_file_path} children=true
Set Suite Variable ${INV_IGNORE_LIST} children=true
+ Set Suite Variable ${iteration} ${0} children=true
Repeat Keyword ${HTX_LOOP} times Run HTX Exerciser
*** Keywords ***
+
Run HTX Exerciser
[Documentation] Run HTX exerciser.
# Test Flow:
@@ -97,6 +98,10 @@
# previous inventory run.
# - Power off.
+ Set Suite Variable ${iteration} ${iteration + 1}
+ ${loop_count}= Catenate Starting iteration: ${iteration}
+ Rpvars loop_count
+
Boot To OS
# Post Power off and on, the OS SSH session needs to be established.
@@ -127,6 +132,9 @@
Rprint Timen HTX Test ran for: ${HTX_DURATION}
+ ${loop_count}= Catenate Ending iteration: ${iteration}
+ Rpvars loop_count
+
Do Inventory And Compare
[Documentation] Do inventory and compare.