Lines Matching full:bmc
3 Documentation Test BMC dump functionality of OpenBMC.
12 Test Setup Redfish Delete All BMC Dumps
22 # Minimum space required for one bmc dump in kilo bytes
30 [Documentation] Delete non existing BMC dump and expect an error.
34 ${dump_id}= Create User Initiated BMC Dump Via Redfish
35 Wait Until Keyword Succeeds 15 sec 5 sec Redfish Delete BMC Dump ${dump_id}
36 Run Keyword And Expect Error ValueError: * Redfish Delete BMC Dump ${dump_id}
39 Verify User Initiated BMC Dump When Host Powered Off
40 [Documentation] Create user initiated BMC dump at host off state and
45 ${dump_id}= Create User Initiated BMC Dump Via Redfish
46 ${dump_entries}= Get BMC Dump Entries
51 Verify User Initiated BMC Dump Size
52 [Documentation] Verify user initiated BMC dump size is under 20 MB.
56 ${dump_id}= Create User Initiated BMC Dump Via Redfish
67 # "Name": "BMC Dump Entry"
73 Verify Internal Failure Initiated BMC Dump Size
74 [Documentation] Verify that the internal failure initiated BMC dump size is under 20 MB.
78 Redfish Delete All BMC Dumps
81 BMC Execute Command ${CMD_INTERNAL_FAILURE}
83 # Wait for BMC dump to get generated after injecting internal failure.
84 Wait Until Keyword Succeeds 2 min 10 sec Is BMC Dump Available
86 # Verify that only one BMC dump is generated after injecting error.
87 ${dump_entries}= Get BMC Dump Entries
97 Verify Multiple BMC Dump Creation
98 [Documentation] Verify that multiple BMC dumps can be created one after
105 Create User Initiated BMC Dump Via Redfish
109 Verify BMC Dump Default Location In BMC
110 [Documentation] Verify that BMC dump is created in its default location of BMC.
114 Redfish Delete All BMC Dumps
115 ${dump_id}= Create User Initiated BMC Dump Via Redfish
116 ${dump_file} ${stderr} ${rc}= BMC Execute Command
122 Verify User Initiated BMC Dump At Host Booting
123 [Documentation] Create and verify user initiated BMC dump during Host is powwering on
128 Redfish Delete All BMC Dumps
134 # Create user initiated BMC dump and verify only one dump is available.
135 Create User Initiated BMC Dump Via Redfish
136 ${dump_entries}= Get BMC Dump Entries
146 Create User Initiated BMC Dump Via Redfish
150 BMC Execute Command systemctl restart xyz.openbmc_project.Dump.Manager.service
151 Sleep 10s reason=Wait for BMC dump service to restart properly
157 Verify Dump Persistency On BMC Reset
158 [Documentation] Create user dump, reset BMC and verify dump persistency.
164 Create User Initiated BMC Dump Via Redfish
167 # Reset BMC.
174 Delete User Initiated BMC Dump And Verify
175 [Documentation] Delete user initiated BMC dump and verify.
179 ${dump_id}= Create User Initiated BMC Dump Via Redfish
180 Wait Until Keyword Succeeds 15 sec 5 sec Redfish Delete BMC Dump ${dump_id}
182 ${dump_entries}= Get BMC Dump Entries
186 Delete All User Initiated BMC Dumps And Verify
187 [Documentation] Delete all user initiated BMC dumps and verify.
193 # Create some BMC dump.
194 Create User Initiated BMC Dump Via Redfish
195 Create User Initiated BMC Dump Via Redfish
197 Redfish Delete All BMC Dumps
198 ${dump_entries}= Get BMC Dump Entries
202 Create Two User Initiated BMC Dumps
203 [Documentation] Create two user initiated BMC dumps.
207 ${dump_id1}= Create User Initiated BMC Dump Via Redfish
208 ${dump_id2}= Create User Initiated BMC Dump Via Redfish
210 ${dump_entries}= Get BMC Dump Entries
216 Create Two User Initiated BMC Dumps And Delete One
221 ${dump_id1}= Create User Initiated BMC Dump Via Redfish
222 ${dump_id2}= Create User Initiated BMC Dump Via Redfish
224 Wait Until Keyword Succeeds 15 sec 5 sec Redfish Delete BMC Dump ${dump_id1}
226 ${dump_entries}= Get BMC Dump Entries
231 Create And Delete User Initiated BMC Dump Multiple Times
232 [Documentation] Create and delete user initiated BMC dump multiple times.
237 ${dump_id}= Create User Initiated BMC Dump Via Redfish
238 Wait Until Keyword Succeeds 15 sec 5 sec Redfish Delete BMC Dump ${dump_id}
242 Verify Maximum BMC Dump Creation
243 [Documentation] Create maximum BMC dump and verify error when dump runs out of space.
245 [Teardown] Redfish Delete All BMC Dumps
247 # Maximum allowed space for dump is 1024 KB. BMC typically hold 8-14 dumps
250 # User can key in the Maximum allowed space for bmc dump and how many iteration.
252 Create User Initiated BMC Dump Via Redfish
263 Verify BMC Core Dump When Host Powered Off
264 [Documentation] Verify BMC core dump after application crash at host powered off state.
270 Redfish Delete All BMC Dumps
273 # Verify that BMC dump is available.
274 Wait Until Keyword Succeeds 2 min 10 sec Is BMC Dump Available
278 [Documentation] Verify BMC core dump size is under 20 MB.
284 Redfish Delete All BMC Dumps
287 # Verify that BMC dump is available.
288 Wait Until Keyword Succeeds 2 min 10 sec Is BMC Dump Available
289 ${dump_entries}= Get BMC Dump Entries
297 Verify Error While Initiating BMC Dump During Dumping State
298 [Documentation] Verify error while initiating BMC dump during dumping state.
302 ${task_id}= Create User Initiated BMC Dump Via Redfish ${1}
304 # Check error while initiating BMC dump while dump in progress.
314 Verify BMC Dump Create Errors While Another BMC Dump In Progress
315 [Documentation] Verify BMC dump creation error until older BMC dump completion.
320 # Initiate a BMC dump that returns without completion.
321 ${task_id}= Create User Initiated BMC Dump Via Redfish ${1}
340 # Remove all available dumps in BMC.
341 Redfish Delete All BMC Dumps
345 ${cmd_output} ${stderr} ${rc}= BMC Execute Command ${cmd_buf}
348 # Verify that BMC dump is available.
349 Wait Until Keyword Succeeds 10 min 10 sec Is BMC Dump Available
352 ${dump_entries}= Get BMC Dump Entries
357 Verify User Initiated BMC Dump Type
358 [Documentation] Download user initiate BMC dump and validates its type.
362 ${dump_id}= Create User Initiated BMC Dump Via Redfish
364 # Download BMC dump and verify its size.
367 # Download BMC dump and verify its size.
368 ${tarfile}= Download BMC Dump ${dump_id}
375 ${extracted_dump_folder}= Extract BMC Dump BMC_dump.tar.gz ${redfish_dump_creation_timestamp}
384 Verify Retrieve Core Initiated BMC Dump
385 [Documentation] Verify retrieval of core initiated BMC dump.
391 Redfish Delete All BMC Dumps
394 # Verify that BMC dump is available.
395 Wait Until Keyword Succeeds 2 min 10 sec Is BMC Dump Available
397 ${dump_entries}= Get BMC Dump Entries
398 # Download BMC dump and verify its size.
399 Download BMC Dump ${dump_entries[0]}
402 Verify Retrieve User Initiated BMC Dump
403 [Documentation] Verify retrieval of user initiated BMC dump.
407 ${dump_id}= Create User Initiated BMC Dump Via Redfish
409 # Download BMC dump.
410 Download BMC Dump ${dump_id}
413 Verify Core Initiated BMC Dump Type
414 [Documentation] Download core initiate BMC dump and validates its type.
420 Redfish Delete All BMC Dumps
423 # Verify that BMC dump is available.
424 Wait Until Keyword Succeeds 2 min 10 sec Is BMC Dump Available
426 ${dump_entries}= Get BMC Dump Entries
428 # Find the timestamp of BMC dump.
432 # Download BMC dump and verify its size.
433 ${tarfile}= Download BMC Dump ${dump_entries[0]}
441 ${extracted_dump_folder}= Extract BMC Dump ${tarfile} ${redfish_dump_creation_timestamp}
450 Verify Core Watchdog Initiated BMC Dump
451 [Documentation] Verify core watchdog timeout initiated BMC dump.
454 Redfish Delete All BMC Dumps
460 # Wait for BMC dump to get generated after injecting watchdog timeout.
461 Wait Until Keyword Succeeds 4 min 20 sec Is BMC Dump Available
463 # Verify that only one BMC dump is available.
464 ${dump_entry_list}= Get BMC Dump Entries
471 Download BMC Dump
472 [Documentation] Download BMC dump and verify its size.
494 Extract BMC Dump
495 [Documentation] Extract BMC dump from the tar file and returns the name of
500 # filename name of BMC dump tar file.
501 # bmc_dump_timestamp timestamp of generated BMC dump.
524 Get BMC Dump Entries
525 [Documentation] Return BMC dump ids list.
538 Is BMC Dump Available
539 [Documentation] Verify if BMC dump is available.
541 ${dump_entries}= Get BMC Dump Entries
543 # Verifying that BMC dump is available.
549 [Documentation] Return disk usage in kilobyte for BMC dumps.
551 ${usage_output} ${stderr} ${rc}= BMC Execute Command du -s ${BMC_DUMP_COLLECTOR_PATH}
553 # Example of output from above BMC cli command.