Add ignore check to clearing error log for backward compatibility
Add ignore check to clearing error log for backward compatibility

The idea of the setup here is to clear logs if avaialble. This is
a canditate for future HW CI code update for upstream. If it works,
good enough else continue with update.

Change-Id: I10a53927e2b9c26095380cb08d731eca2ef7799b
Signed-off-by: George Keishing <bef0a9ecac45fb57611777c8270153994e13fd2e@in.ibm.com>

openbmc/openbmc-test-automation,openbmc/openbmc-test-automation