1*** Settings *** 2Documentation This suite is to run some test at the end of execution. 3 4Resource ../lib/openbmc_ffdc.robot 5 6Test Teardown FFDC On Test Case Fail 7 8 9*** Variables *** 10 11# Error strings to check from journald. 12${ERROR_REGEX} SEGV|core-dump|FAILURE|Failed to start 13 14 15*** Test Cases *** 16 17Verify No BMC Dump And Application Failures In BMC 18 [Documentation] Verify no BMC dump and application failure exists in BMC. 19 [Tags] Verify_No_BMC_Dump_And_Application_Failures_In_BMC 20 21 # Check dump entry based on Redfish API availability. 22 ${redfish_resp}= OpenBMC Get Request /redfish/v1/Systems/system/LogServices/Dump 23 24 ${resp}= Run Keyword If '${redfish_resp.status_code}' == '${HTTP_NOT_FOUND}' 25 ... OpenBMC Get Request /xyz/openbmc_project/dump/entry/list 26 ... ELSE Redfish.Get Properties /redfish/v1/Managers/bmc/LogServices/Dump/Entries 27 28 Run Keyword If '${redfish_resp.status_code}' == '${HTTP_NOT_FOUND}' 29 ... Should Be Equal As Strings ${resp.status_code} ${HTTP_NOT_FOUND} 30 ... ELSE Should Be Equal As Strings ${resp["Members@odata.count"]} 0 31 32 Check For Regex In Journald ${ERROR_REGEX} error_check=${0} boot=-b 33