1*8cca7fb8SGeorge Keishing*** Settings *** 2*8cca7fb8SGeorge KeishingDocumentation Inventory of hardware resources under systems. 3*8cca7fb8SGeorge Keishing 4*8cca7fb8SGeorge KeishingResource ../../../lib/bmc_redfish_resource.robot 5*8cca7fb8SGeorge KeishingResource ../../../lib/bmc_redfish_utils.robot 6*8cca7fb8SGeorge KeishingResource ../../../lib/logging_utils.robot 7*8cca7fb8SGeorge KeishingResource ../../../lib/openbmc_ffdc.robot 8*8cca7fb8SGeorge Keishing 9*8cca7fb8SGeorge KeishingSuite Setup Suite Setup Execution 10*8cca7fb8SGeorge KeishingSuite Teardown Suite Teardown Execution 11*8cca7fb8SGeorge KeishingTest Teardown Test Teardown Execution 12*8cca7fb8SGeorge Keishing 13*8cca7fb8SGeorge Keishing*** Test Cases *** 14*8cca7fb8SGeorge Keishing 15*8cca7fb8SGeorge KeishingEvent Log Check After BMC Reboot 16*8cca7fb8SGeorge Keishing [Documentation] Check event log after BMC rebooted. 17*8cca7fb8SGeorge Keishing [Tags] Event_Log_Check_After_BMC_Reboot 18*8cca7fb8SGeorge Keishing 19*8cca7fb8SGeorge Keishing Redfish Purge Event Log 20*8cca7fb8SGeorge Keishing Event Log Should Not Exist 21*8cca7fb8SGeorge Keishing 22*8cca7fb8SGeorge Keishing Redfish OBMC Reboot (off) 23*8cca7fb8SGeorge Keishing 24*8cca7fb8SGeorge Keishing Redfish.Login 25*8cca7fb8SGeorge Keishing Wait Until Keyword Succeeds 1 mins 15 secs Redfish.Get ${EVENT_LOG_URI}Entries 26*8cca7fb8SGeorge Keishing 27*8cca7fb8SGeorge Keishing Event Log Should Not Exist 28*8cca7fb8SGeorge Keishing 29*8cca7fb8SGeorge Keishing 30*8cca7fb8SGeorge Keishing*** Keywords *** 31*8cca7fb8SGeorge Keishing 32*8cca7fb8SGeorge KeishingSuite Teardown Execution 33*8cca7fb8SGeorge Keishing [Documentation] Do the post suite teardown. 34*8cca7fb8SGeorge Keishing 35*8cca7fb8SGeorge Keishing Redfish.Logout 36*8cca7fb8SGeorge Keishing 37*8cca7fb8SGeorge Keishing 38*8cca7fb8SGeorge KeishingSuite Setup Execution 39*8cca7fb8SGeorge Keishing [Documentation] Do test case setup tasks. 40*8cca7fb8SGeorge Keishing 41*8cca7fb8SGeorge Keishing Redfish.Login 42*8cca7fb8SGeorge Keishing 43*8cca7fb8SGeorge Keishing ${status}= Run Keyword And Return Status Logging Test Binary Exist 44*8cca7fb8SGeorge Keishing Run Keyword If ${status} == ${False} Install Tarball 45*8cca7fb8SGeorge Keishing 46*8cca7fb8SGeorge Keishing 47*8cca7fb8SGeorge KeishingTest Teardown Execution 48*8cca7fb8SGeorge Keishing [Documentation] Do the post test teardown. 49*8cca7fb8SGeorge Keishing 50*8cca7fb8SGeorge Keishing FFDC On Test Case Fail 51*8cca7fb8SGeorge Keishing 52*8cca7fb8SGeorge Keishing 53*8cca7fb8SGeorge KeishingEvent Log Should Not Exist 54*8cca7fb8SGeorge Keishing [Documentation] Event log entries should not exist. 55*8cca7fb8SGeorge Keishing 56*8cca7fb8SGeorge Keishing ${elogs}= Get Event Logs 57*8cca7fb8SGeorge Keishing Should Be Empty ${elogs} msg=System event log entry is not empty. 58