Lines Matching refs:PEL

2 Documentation   This suite tests Platform Event Log (PEL) functionality of OpenBMC.
27 Create Test PEL Log And Verify
28 [Documentation] Create PEL log using busctl command and verify via peltool.
32 Create Test PEL Log
33 ${pel_id}= Get PEL Log Via BMC CLI
34 Should Not Be Empty ${pel_id} msg=System PEL log entry is empty.
37 Verify PEL Log Details
38 [Documentation] Verify PEL log details via peltool.
44 Create Test PEL Log
71 # Verify if "CompID" and "SRC" fields of PEL has alphanumeric value.
78 # Convert BMC and PEL time to epoch time before comparing.
86 Verify Mandatory Sections Of Error Log PEL
87 [Documentation] Verify mandatory sections of error log PEL.
90 Create Test PEL Log
92 ${pel_ids}= Get PEL Log Via BMC CLI
100 Verify PEL Log Persistence After BMC Reboot
101 [Documentation] Verify PEL log persistence after BMC reboot.
104 Create Test PEL Log
105 ${pel_before_reboot}= Get PEL Log Via BMC CLI
108 ${pel_after_reboot}= Get PEL Log Via BMC CLI
113 Verify PEL ID Numbering
114 [Documentation] Verify PEL ID numbering.
118 Create Test PEL Log
119 Create Test PEL Log
121 ${pel_ids}= Get PEL Log Via BMC CLI
123 # Example of PEL IDs from PEL logs.
124 # [0x50000012]: <--- First PEL ID
134 # [0x50000013]: <--- Second PEL ID
147 [Documentation] Verify machine type model and serial number from PEL.
150 Create Test PEL Log
152 ${pel_ids}= Get PEL Log Via BMC CLI
155 ${pel_serial_number}= Get PEL Field Value ${id} Failing MTMS Serial Number
157 ${pel_machine_type_model}= Get PEL Field Value ${id} Failing MTMS Machine Type Model
160 …xample of "Machine Type Model" and "Serial Number" fields value from "Failing MTMS" section of PEL.
176 …k "Machine Type Model" and "Serial Number" fields value from "Extended User Header" section of PEL.
177 …${pel_machine_type_model}= Get PEL Field Value ${id} Extended User Header Reporting Machine Ty…
179 ${pel_serial_number}= Get PEL Field Value ${id} Extended User Header Reporting Serial Number
186 Verify Host Off State From PEL
187 [Documentation] Verify Host off state from PEL.
191 Create Test PEL Log
193 ${pel_ids}= Get PEL Log Via BMC CLI
195 ${pel_host_state}= Get PEL Field Value ${id} User Data HostState
200 Verify Host On State From PEL
201 [Documentation] Verify Host on state from PEL.
207 Create Test PEL Log
209 ${pel_ids}= Get PEL Log Via BMC CLI
211 ${pel_host_state}= Get PEL Field Value ${id} User Data HostState
216 Verify BMC Version From PEL
217 [Documentation] Verify BMC Version from PEL.
220 Create Test PEL Log
222 ${pel_ids}= Get PEL Log Via BMC CLI
224 ${pel_bmc_version}= Get PEL Field Value ${id} User Data FW Version ID
230 Verify PEL Log After Host Poweron
231 [Documentation] Verify PEL log generation while booting host.
238 ${pel_informational_error}= Get PEL Log IDs User Header Event Severity Informational Event
239 ${pel_bmc_created_error}= Get PEL Log IDs Private Header Creator Subsystem BMC
248 [Documentation] Verify BMC Event Log ID from PEL.
252 Create Test PEL Log
254 ${pel_ids}= Get PEL Log Via BMC CLI
255 ${pel_bmc_event_log_id}= Get PEL Field Value ${pel_ids[0]} Private Header BMC Event Log Id
257 # Example "BMC Event Log Id" field value from "Private Header" section of PEL.
294 [Documentation] Verify FRU callout entries from PEL log.
299 Create Test PEL Log FRU Callout
301 ${pel_ids}= Get PEL Log Via BMC CLI
303 ${pel_callout_section}= Get PEL Field Value ${id} Primary SRC Callout Section
305 # Example of PEL Callout Section from "peltool -i <id>" command.
320 # Verify Location Code field of PEL callout with motherboard's Location Code.
325 # TODO: Compare CCIN and part number fields of PEL callout with Redfish or busctl output.
329 # Verify Serial Number field of PEL callout with motherboard's Serial Number.
337 [Documentation] Verify procedure and symbolic FRU callout from PEL log.
340 Create Test PEL Log Procedure And Symbolic FRU Callout
342 ${pel_ids}= Get PEL Log Via BMC CLI
344 ${pel_callout_section}= Get PEL Field Value ${id} Primary SRC Callout Section
346 # Example of PEL Callout Section from "peltool -i <id>" command.
364 # Verify if "Procedure Number" field of PEL has an alphanumeric value.
375 Verify PEL Log Entry For Event Log
376 [Documentation] Create an event log and verify PEL log entry in BMC for the same.
382 Create Test PEL Log Unrecoverable Error
417 # Verify that both Redfish event and PEL has log entry for internal error with same time stamp.
425 Verify Delete All PEL
426 [Documentation] Verify deleting all PEL logs.
429 Create Test PEL Log
430 Create Test PEL Log
433 ${pel_ids}= Get PEL Log Via BMC CLI
487 ${pel_ids}= Get PEL Log Via BMC CLI
514 ${pel_ids}= Get PEL Log Via BMC CLI
586 ${pel_ids}= Get PEL Log Via BMC CLI
599 Should Contain ${output} PEL not found
603 Should Not Contain ${output} PEL not found
606 Verify Reverse Order Of PEL Logs
607 [Documentation] Verify PEL command to output PEL logs in reverse order.
616 … # Using peltool -lr, recent PELs appear first. Hence the ID of first PEL is greater than the next.
635 Verify Total PEL Count
636 [Documentation] Verify total PEL count returned by peltool command.
650 # Check PEL log count via peltool command and compare it with actual generated log count.
677 Verify PEL Delete
678 [Documentation] Verify that peltool command can delete PEL log based on id.
682 ${pel_ids}= Get PEL Log Via BMC CLI
685 Run Keyword and Expect Error *PEL not found* Peltool -i ${id}
695 ${pel_ids}= Get PEL Log Via BMC CLI
724 Verify PEL Log Offloaded To Host
725 [Documentation] Verify host transmission state of offloaded PEL logs.
727 [Template] Verify PEL Transmission To Host
735 Verify PEL Log Not Offloaded To Host
736 [Documentation] Verify host transmission state of not offloaded PEL logs.
738 [Template] Verify PEL Transmission To Host
794 # Check PEL log count via peltool command and compare it with actual generated log count.
840 Get PEL Log IDs
841 [Documentation] Returns the list of PEL log IDs which contains given field's value.
845 # pel_section The section of PEL (e.g. Private Header, User Header).
846 # pel_field The PEL field (e.g. Event Severity, Event Type).
847 # pel_field_value The list of PEL's field value (e.g. Unrecoverable Error).
849 ${pel_ids}= Get PEL Log Via BMC CLI
854 # Example of PEL output from "peltool -i <id>" command.
887 Get PEL Log Via BMC CLI
888 [Documentation] Returns the list of PEL IDs using BMC CLI.
897 Get PEL Field Value
898 [Documentation] Returns the value of given PEL's field.
902 # pel_id The ID of PEL (e.g. 0x5000002D, 0x5000002E).
903 # pel_section The section of PEL (e.g. Private Header, User Header)
904 # pel_field The PEL field (e.g. Event Severity, Event Type).
908 # Example of PEL output from "peltool -i <id>" command.
938 Verify PEL Transmission To Host
939 [Documentation] Inject PEL log of given type and verify its host transmission state.
945 # expected_transmission_state Expected host transmission state of PEL log.
968 # Check host transmission state for the cases where PEL is
972 ... Check If PEL Transmission State Is Expected ${pel_id} Acked
974 # Adding delay before checking host transmission for the cases where PEL is
978 ... Check If PEL Transmission State Is Expected ${pel_id} Not sent
981 Check If PEL Transmission State Is Expected
982 [Documentation] Check if PEL's host transmission state is matching expected state.
986 # expected_transmission_state Expected transmission state of PEL log.
989 ${host_transmission}= Get PEL Field Value ${pel_id} User Header Host Transmission