Poll for BMC errors
Test procedure:
- Boot Host
- Delete errors
- Poll every 10 seconds for 48 hours
- Check if error exists and fail on error
Resolves openbmc/openbmc-test-automation#791
Change-Id: Ie73e62392e17039a6b0a33ff6502158e75ce0fec
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/openbmc_ffdc_utils.robot b/lib/openbmc_ffdc_utils.robot
index 556555b..1779959 100644
--- a/lib/openbmc_ffdc_utils.robot
+++ b/lib/openbmc_ffdc_utils.robot
@@ -112,3 +112,10 @@
Write Data To File OPENBMC HOST \t: ${OPENBMC_HOST}${\n}
${model_name}= Get BMC System Model
Write Data To File SYSTEM TYPE \t: ${model_name}
+
+
+Error Logs Should Not Exist
+ [Documentation] Verify that error logs do not exist.
+
+ ${resp}= OpenBMC Get Request ${BMC_LOGGING_ENTRY}/list quiet=${1}
+ Should Be Equal As Strings ${resp.status_code} ${HTTP_NOT_FOUND}