HW_CI: Remove REST dump checking
Changes:
- Remove explicit REST checks for dumps. No longer
required for HW CI test
Tested:
- Ran from sandbox
Change-Id: I40687707bc5a1502ed8cc696d1757387e3642560
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/redfish/test_xit.robot b/redfish/test_xit.robot
index a5675e8..6bcd13a 100644
--- a/redfish/test_xit.robot
+++ b/redfish/test_xit.robot
@@ -31,32 +31,16 @@
... Should Be Equal As Strings ${resp.dict["Members@odata.count"]} 0
... msg=${resp.dict["Members@odata.count"]} dumps exist.
- ${rest_resp}= Run Keyword If '${resp.status}' == '${HTTP_NOT_FOUND}'
- ... Check For REST Dumps
-
Check For Regex In Journald ${ERROR_REGEX} error_check=${0} boot=-b filter_string=${SKIP_ERROR}
*** Keywords ***
-Check For REST Dumps
- [Documentation] Verify no BMC dump via REST path.
-
- ${rest_resp}= Redfish.Get /xyz/openbmc_project/dump/bmc/entry/list
- ... valid_status_codes=[${HTTP_OK}, ${HTTP_NOT_FOUND}]
-
- Log To Console ${rest_resp}
-
- Should Be Equal As Strings ${rest_resp.status} ${HTTP_NOT_FOUND}
- ... msg=1 or more dumps exist.
-
-
Test Teardown Execution
[Documentation] Do test teardown operation.
FFDC On Test Case Fail
# Remove rm command once the BMC dump APIs are working.
Run Keyword And Ignore Error BMC Execute Command rm -rf /var/lib/phosphor-debug-collector/dumps/
- Run Keyword And Ignore Error Delete All BMC Dump
Run Keyword And Ignore Error Redfish Delete All BMC Dumps
Run Keyword And Ignore Error Redfish Delete All System Dumps