Code update and AES pruning journal log
This needs to be in a strategic location. For now Code update and
AES BMC standby test are the candidate for pruning log.
Resolves openbmc/openbmc-test-automation#242
Change-Id: I443259b2587e83d4bf6852212283004b96b38bd8
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/extended/standby_bmc.robot b/extended/standby_bmc.robot
index 798e0de..efc40d0 100644
--- a/extended/standby_bmc.robot
+++ b/extended/standby_bmc.robot
@@ -8,6 +8,7 @@
... - BMC state is "BMC_READY" or "HOST_POWERED_OFF"
... - Boot policy is "RESTORE_LAST_STATE"
... Power cycle system via PDU if specified
+... Prune archived journal logs
Resource ../lib/boot/boot_resource_master.robot
Resource ../lib/utils.robot
@@ -47,6 +48,8 @@
Run Keyword If '${l_ready}' == '${False}'
... Initiate Power Off
+ Prune Journal Log
+
Run Keyword And Ignore Error
... Update Policy Setting RESTORE_LAST_STATE