Lines Matching full:dump

2 Documentation  This module provides general keywords for dump.
11 Create User Initiated Dump
12 [Documentation] Generate user initiated dump and return
13 ... the dump id number (e.g., "5"). Optionally return EMPTY
14 ... if out of dump space.
18 # check_out_of_space If ${False}, a dump will be created and
22 # returned if out of dump space was
23 # detected when creating the dump.
27 Set Global Variable ${REST_DUMP_URI} /xyz/openbmc_project/dump/
35 Run Keyword And Return Get The Dump Id ${resp}
40 Get The Dump Id
41 [Documentation] Wait for the dump to be created. Return the
42 ... dump id number (e.g., "5").
46 # resp Response object from action/Create Dump attempt.
53 # The "data" field conveys the id number of the created dump.
58 Fail Dump id returned null.
63 Wait Until Keyword Succeeds 3 min 15 sec Check Dump Existence
70 [Documentation] Return the dump_id number, or return ${EMPTY} if dump
75 # resp Response object from action/Create Dump attempt.
79 # "description": "xyz.openbmc_project.Dump.Create.Error.QuotaExceeded"
81 # "message": "Dump not captured due to a cap.",
85 # If dump was created normally, return the dump_id number.
87 Run Keyword And Return Get The Dump Id ${resp}
91 ${at_capacity}= Set Variable Dump not captured due to a cap
102 Verify No Dump In Progress
103 [Documentation] Verify no dump in progress.
109 Check Dump Existence
110 [Documentation] Verify if given dump exist.
114 # dump_id An integer value that identifies a particular dump
119 Set Global Variable ${DUMP_ENTRY_URI} /xyz/openbmc_project/dump/entry/
126 Delete BMC Dump
127 [Documentation] Deletes a given bmc dump.
131 # dump_id An integer value that identifies a particular dump (e.g. 1, 3).
135 Set Global Variable ${DUMP_ENTRY_URI} /xyz/openbmc_project/dump/entry/
149 Set Global Variable ${DUMP_ENTRY_URI} /xyz/openbmc_project/dump/entry/
152 # Check if dump entries exist, if not return.
156 # Get the list of dump entries and delete them all.
160 Delete BMC Dump ${dump_id}
164 Redfish Delete BMC Dump
165 [Documentation] Deletes a given BMC dump via Redfish.
169 # dump_id An integer value that identifies a particular dump (e.g. 1, 3).
171 Redfish.Delete /redfish/v1/Managers/${MANAGER_ID}/LogServices/Dump/Entries/${dump_id}
177 # Check if dump entries exist, if not return.
178 ${resp}= Redfish.Get /redfish/v1/Managers/${MANAGER_ID}/LogServices/Dump/Entries
181 Redfish.Post /redfish/v1/Managers/${MANAGER_ID}/LogServices/Dump/Actions/LogService.ClearLog
185 [Documentation] Get the system dump log entries.
192 Get Redfish BMC Dump Log Entries
193 [Documentation] Get the BMC dump log entries.
203 Redfish.Post /redfish/v1/Systems/${SYSTEM_ID}/LogServices/Dump/Actions/LogService.ClearLog
206 Redfish BMC Dump Should Not Exist
207 [Documentation] Verify that there is no BMC dump at dump URI.
209 # Verify no dump exists.
210 ${dump_entries}= Get Redfish BMC Dump Log Entries
214 Redfish BMC Dump Should Exist
215 [Documentation] Check if BMC dump is generated.
217 ${dump_entries}= Get Redfish BMC Dump Log Entries
218 Should Be True ${dump_entries['Members@odata.count']} >= 1 msg=No BMC dump generated.
221 Delete All BMC Dump
222 [Documentation] Delete all BMC dump entries using "DeleteAll" interface.
226 Set Global Variable ${REST_DUMP_URI} /xyz/openbmc_project/dump/
233 Dump Should Not Exist
238 Set Global Variable ${DUMP_ENTRY_URI} /xyz/openbmc_project/dump/entry/
244 Check Existence Of BMC Dump File
245 [Documentation] Verify existence of BMC dump file.
249 # dump_id BMC dump identifier
254 # Output of sample BMC Execute command with '2' as dump id is as follows
259 Should End With ${file_there} tar.xz msg=BMC dump file not found.
261 Get Dump Entries
262 [Documentation] Return dump entries list.
266 Set Global Variable ${DUMP_ENTRY_URI} /xyz/openbmc_project/dump/entry/
272 Trigger Core Dump
273 [Documentation] Trigger core dump.
284 Initiate BMC Dump Using Redfish And Return Task Id
285 [Documentation] Initiate BMC dump via Redfish and return its task ID.
289 … ... /redfish/v1/Managers/${MANAGER_ID}/LogServices/Dump/Actions/LogService.CollectDiagnosticData
301 Create User Initiated BMC Dump Via Redfish
302 …[Documentation] Generate user initiated BMC dump via Redfish and return the dump id number (e.g.,…
307 # keyword will waiting for BMC dump to
308 # complete and returns the dump id.
310 # initiating BMC dump and returns dump task id.
313 …${resp}= Redfish.Post /redfish/v1/Managers/${MANAGER_ID}/LogServices/Dump/Actions/LogService.Col…
337 # "Location: /redfish/v1/Managers/${MANAGER_ID}/LogServices/Dump/Entries/2"]
341 …# "TargetUri": "/redfish/v1/Managers/${MANAGER_ID}/LogServices/Dump/Actions/LogService.Collect…
346 Auto Generate BMC Dump
347 [Documentation] Auto generate BMC dump.
349 ${cmd}= Catenate busctl --verbose call xyz.openbmc_project.Dump.Manager
350 ... /xyz/openbmc_project/dump/bmc xyz.openbmc_project.Dump.Create CreateDump a{sv} 0
355 Get Dump Size
356 [Documentation] Get dump size.
360 # dump_uri Dump URI
361 # (Eg. /xyz/openbmc_project/dump/bmc/entry/1).
363 # Example of Dump entry.
381 Get Dump ID
382 [Documentation] Return dump ID.
396 # "Location: /redfish/v1/Managers/${MANAGER_ID}/LogServices/Dump/Entries/2"]
401 # "/redfish/v1/Managers/${MANAGER_ID}/LogServices/Dump/Actions/LogService.CollectDiagnosticData"
429 Get Dump ID And Status
430 [Documentation] Return dump ID and status.
437 ${dump_id}= Get Dump ID ${task_id}
441 Create BMC User Dump
442 [Documentation] Generate user initiated BMC dump via Redfish and return
446 …${resp}= Redfish.Post /redfish/v1/Managers/${MANAGER_ID}/LogServices/Dump/Actions/LogService.Col…
490 Get Dump Status In BMC
491 [Documentation] Get dump status from BMC using busctl method.
495 # dump_uri Dump URI E.g: /xyz/openbmc_project/dump/bmc/entry/7.
497 ${cmd}= Catenate busctl get-property xyz.openbmc_project.Dump.Manager
508 Verify Dump Status In BMC
509 [Documentation] Verify Dump Status in BMC.
513 # dump_uri Dump URI E.g: /xyz/openbmc_project/dump/bmc/entry/7.
514 # expected_dump_status Expected Dump Status (Completed or Failed etc).
516 ${dump_status}= Get Dump Status In BMC ${dump_uri}