Closed justin0309 closed 11 months ago
@manashsarma @rahulmah care to respond to this ?
Hello, @justin0309 , 404 is not found. It looks like that, just after generation , the BMC dump got offloaded to HMC (if an HMC is connected) or to Host OS (if Host OS is running). Can you please confirm. Also, can you please send me the testcase code snippet ?
$ curl -k -H "X-Auth-Token: $token" -H "Content-Type: application/json" -X POST -d '{"data" : []}' https://${bmc} /xyz/openbmc_project/dump/bmc/entry/action/DeleteAll
Above testcase does not attempt to delete a bmc dump. It verifies no BMC dump there. Also we are supporting now redfish based URIs.
Thank you @manashsarma ..
@justin0309 Yes the above test is a simple code check that can be used to look up if there are some dumps that have not been deleted and fail if it finds stray dumps left over on your system. So you can use this test to do that only.
If your system is running with Redfish use this parameter in CLI when running it
-v REDFISH_SUPPORT_TRANS_STATE:1
Which will force the test to check via redfish API instead of old legacy REST. You should add this parameter by default if running in Redfish.
@justin0309 I hope all is well. if you have further queries on it, feel free to comment. Thanks
Closing this ticket.