Update delete error logs to use "Delete All Error Logs"

We are planning to delete 'Delete Error Logs' and replace with
the "Delete All Error Logs" as its the correct way to purge
existing error logs on the system.

Change-Id: I7d186c46e169ee5a8ba17a3d6c69be0949e845e6
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/extended/code_update/host_code_update.robot b/extended/code_update/host_code_update.robot
index bcc9105..a7d7ea5 100644
--- a/extended/code_update/host_code_update.robot
+++ b/extended/code_update/host_code_update.robot
@@ -65,7 +65,7 @@
 
     Run Keyword If  '${PREV_TEST_STATUS}' == 'FAIL'
     ...  Fail  Code update failed. No need to boot to OS.
-    Delete Error Logs
+    Delete All Error Logs
     REST Power On
     Verify Running Host Image  ${IMAGE_FILE_PATH}
 
@@ -173,7 +173,7 @@
 
     Upload And Activate Image  ${IMAGE_FILE_PATH}
     REST Power On
-    Delete Error Logs
+    Delete All Error Logs
 
     ${version_id}=  Upload And Activate Image  ${ALTERNATE_IMAGE_FILE_PATH}
     ...  wait=${0}
@@ -229,7 +229,7 @@
 
     Run Keyword And Ignore Error  Smart Power Off
     Run Key  Delete All Dumps  ignore=1
-    Run Key  Delete Error Logs  ignore=1
+    Run Key  Delete All Error Logs  ignore=1
     Run Keyword If  'true' == '${DELETE_OLD_PNOR_IMAGES}'
     ...  Delete All PNOR Images
     Run Keyword If  'true' == '${DELETE_OLD_GUARD_FILE}'  BMC Execute Command
diff --git a/lib/openbmc_ffdc.robot b/lib/openbmc_ffdc.robot
index d016522..8b6ce33 100755
--- a/lib/openbmc_ffdc.robot
+++ b/lib/openbmc_ffdc.robot
@@ -53,4 +53,4 @@
 
     # Clean up error logs and BMC dumps.
     Run Keyword If  '${TEST_STATUS}' == 'FAIL'
-    ...  Run Keywords  Delete Error Logs  AND  Delete All Dumps
+    ...  Run Keywords  Delete All Error Logs  AND  Delete All Dumps
diff --git a/tests/test_fans_os.robot b/tests/test_fans_os.robot
index 98fce54..ad150f5 100755
--- a/tests/test_fans_os.robot
+++ b/tests/test_fans_os.robot
@@ -292,7 +292,7 @@
 
     Reset Fans
     Run Key U  Sleep \ 15s
-    Delete Error Logs
+    Delete All Error Logs
     Set System LED State  front_fault  Off
     Set System LED State  rear_fault  Off
 
@@ -303,6 +303,6 @@
     FFDC On Test Case Fail
     Reset Fans
     Run Key U  Sleep \ 15s
-    Delete Error Logs
+    Delete All Error Logs
     Set System LED State  front_fault  Off
     Set System LED State  rear_fault  Off
diff --git a/tests/test_hardware_sensors.robot b/tests/test_hardware_sensors.robot
index eb7cc57..627be91 100644
--- a/tests/test_hardware_sensors.robot
+++ b/tests/test_hardware_sensors.robot
@@ -319,7 +319,7 @@
     # - Close all open SSH connections.
 
     FFDC On Test Case Fail
-    Delete Error Logs
+    Delete All Error Logs
     Close All Connections
 
 Power Redundancy Setting
diff --git a/tests/test_inventory.robot b/tests/test_inventory.robot
index 8895d17..60895ba 100644
--- a/tests/test_inventory.robot
+++ b/tests/test_inventory.robot
@@ -641,11 +641,11 @@
     [Documentation]  Verify inventory list before and after reboot.
 
     REST Power On  stack_mode=skip  quiet=1
-    Delete Error Logs
+    Delete All Error Logs
     ${inventory_before}=  Get URL List  ${HOST_INVENTORY_URI}
     Initiate Host Reboot
     Wait Until Keyword Succeeds  10 min  10 sec  Is OS Booted
-    Delete Error Logs
+    Delete All Error Logs
     ${inventory_after}=  Get URL List  ${HOST_INVENTORY_URI}
     Lists Should Be Equal  ${inventory_before}  ${inventory_after}
 
@@ -654,10 +654,10 @@
     [Documentation]  Verify inventory list before and after BMC reset.
 
     REST Power On  stack_mode=skip  quiet=1
-    Delete Error Logs
+    Delete All Error Logs
     ${inventory_before}=  Get URL List  ${HOST_INVENTORY_URI}
     OBMC Reboot (run)
-    Delete Error Logs
+    Delete All Error Logs
     ${inventory_after}=  Get URL List  ${HOST_INVENTORY_URI}
     Lists Should Be Equal  ${inventory_before}  ${inventory_after}
 
diff --git a/tests/test_soft_boot_sensors.robot b/tests/test_soft_boot_sensors.robot
index aca4055..9e200e0 100644
--- a/tests/test_soft_boot_sensors.robot
+++ b/tests/test_soft_boot_sensors.robot
@@ -283,6 +283,6 @@
    # - Clear all REST sessions.
 
    FFDC On Test Case Fail
-   Delete Error Logs
+   Delete All Error Logs
    Close All Connections