Add eSEL whitelist to BMC error polling test

Move the whitelist checking keyword from htx_hardbootme_test
to esel_utils.  Call the keyword from htx_hardbootme_test
and test_bmc_poll_errors.

Resolves openbmc/openbmc-test-automation#1945

Signed-off-by: Steven Sombar <ssombar@us.ibm.com>
Change-Id: Iebcc1e099704965727c8af2730863ef2bae77a45
diff --git a/systest/test_bmc_poll_errors.robot b/systest/test_bmc_poll_errors.robot
index 33631b2..fca158f 100755
--- a/systest/test_bmc_poll_errors.robot
+++ b/systest/test_bmc_poll_errors.robot
@@ -7,6 +7,7 @@
 Resource          ../lib/boot_utils.robot
 Resource          ../lib/boot_utils.robot
 Resource          ../lib/bmc_redfish_resource.robot
+Resource          ../lib/esel_utils.robot
 
 Suite Setup      Suite Setup Execution
 Test Teardown    Post Test Case Execution
@@ -17,6 +18,11 @@
 ${POLL_DURATION}  48 hours
 ${POLL_INTERVAL}  10 second
 
+# Error log Severities to ignore when checking Error Logs.
+@{ESEL_WHITELIST}
+...  xyz.openbmc_project.Logging.Entry.Level.Informational
+
+
 *** Test Cases ***
 
 Poll BMC For Errors
@@ -36,7 +42,7 @@
 
     Redfish.Get  /redfish/v1/Chassis/chassis/Sensors
 
-    Error Logs Should Not Exist
+    Check For Error Logs  ${ESEL_WHITELIST}
 
 
 Suite Setup Execution
@@ -49,8 +55,8 @@
     Should Not Be Empty
     ...  ${OS_PASSWORD}  msg=You must provide OS host user password.
 
+    Redfish Power On  stack_mode=skip
     Redfish.Login
-    Redfish Power On
 
     Delete Error Logs
     Error Logs Should Not Exist