Lines Matching +full:host +full:- +full:id

47     ${pel_records}=  Peltool  -l
49 # Example output from 'Peltool -l':
62 ${id}= Get From List ${ids} 0
66 Valid Value pel_records['${id}']['${field}'] ['${PEL_DETAILS['${field}']}']
69 Valid Value pel_records['${id}']['PLID'] ['${id}']
72 Should Match Regexp ${pel_records['${id}']['CompID']} [a-zA-Z0-9]
73 Should Match Regexp ${pel_records['${id}']['SRC']} [a-zA-Z0-9]
75 ${pel_date_time}= Convert Date ${pel_records['${id}']['Commit Time']}
93 ${pel_id}= Get From List ${pel_ids} -1
94 ${pel_output}= Peltool -i ${pel_id}
113 Verify PEL ID Numbering
114 [Documentation] Verify PEL ID numbering.
124 # [0x50000012]: <--- First PEL ID
134 # [0x50000013]: <--- Second PEL ID
153 ${id}= Get From List ${pel_ids} -1
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
163 # [Machine Type Model]: 1234-ABC <---- Machine type
165 # [Serial Number]: ABCDEFG <---- Serial number
166 # [Sub-section type]: 0
177 ${pel_machine_type_model}= Get PEL Field Value ${id} Extended User Header Reporting Machine Type
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.
194 ${id}= Get From List ${pel_ids} -1
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.
210 ${id}= Get From List ${pel_ids} -1
211 ${pel_host_state}= Get PEL Field Value ${id} User Data HostState
223 ${id}= Get From List ${pel_ids} -1
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.
241 # Get BMC created non-infomational error.
244 Should Be Empty ${pel_bmc_error} msg=Unexpected error log generated during Host poweron.
247 Verify BMC Event Log ID
248 [Documentation] Verify BMC Event Log ID from PEL.
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.
261 # [Sub-section type]: 0
262 # [Entry Id]: 0x50000BB7
263 # [Platform Log Id]: 0x8200061D
267 # [BMC Event Log Id]: 341 <---- BMC event log id value
274 # [@odata.id]: /redfish/v1/Systems/system/LogServices/EventLog/Entries
281 # [@odata.id]: /redfish/v1/Systems/system/LogServices/EventLog/Entries/235
285 # [Created]: 2020-04-02T07:25:13+00:00
287 # [Id]: 235 <----- Event log ID
290 Valid Value pel_bmc_event_log_id ['${redfish_event_logs['Members'][0]['Id']}']
302 ${id}= Get From List ${pel_ids} -1
303 ${pel_callout_section}= Get PEL Field Value ${id} Primary SRC Callout Section
305 # Example of PEL Callout Section from "peltool -i <id>" command.
310 # [Location Code]: U78DA.ND1.1234567-P0
326 Should Match Regexp ${pel_callout_section['Callouts'][0]['CCIN']} [a-zA-Z0-9]
327 Should Match Regexp ${pel_callout_section['Callouts'][0]['Part Number']} [a-zA-Z0-9]
343 ${id}= Get From List ${pel_ids} -1
344 ${pel_callout_section}= Get PEL Field Value ${id} Primary SRC Callout Section
346 # Example of PEL Callout Section from "peltool -i <id>" command.
365 Should Match Regexp ${pel_callout_section['Callouts'][0]['Procedure']} [a-zA-Z0-9]
372 Should Match Regexp ${pel_callout_section['Callouts'][1]['Part Number']} [a-zA-Z0-9]
389 # [Created]: 2023-05-08T10:19:30.412+00:00
390 # [Id]: 1
391 # [@odata.id]: /redfish/v1/Systems/system/LogServices/EventLog/Entries/1
399 ${pel_records}= Peltool -l
400 # Example output from 'Peltool -l':
413 ${id}= Get From List ${ids} 0
414 ${pel_log_time}= Convert Date ${pel_records['${id}']['Commit Time']} epoch
418 Should Contain Any ${pel_records['${id}']['Message']} test error ignore_case=True
420 ... ${pel_records['${id}']['SRC']} ignore_case=True
431 Peltool --delete-all parse_json=False
444 ${pel_records}= Peltool -lfh
461 ${id}= Get From List ${ids} 0
462 Should Contain ${pel_records['${id}']['Sev']} Informational
471 ${pel_records}= Peltool -l
488 ${id}= Get From List ${pel_ids} -1
489 Should Contain ${pel_records['${id}']['Sev']} Predictive
498 ${pel_records}= Peltool -l
515 ${id}= Get From List ${pel_ids} -1
516 Should Contain ${pel_records['${id}']['Sev']} Unrecoverable
544 Verify Error Logging Rotation Policy With HOST Error Logs
554 Informational HOST 3000 15
555 Unrecoverable HOST 3000 30
556 Informational HOST 1500, Informational BMC 1500 30
557 Informational HOST 1500, Unrecoverable BMC 1500 45
558 Unrecoverable HOST 1500, Informational BMC 1500 45
559 Unrecoverable HOST 1500, Predictive BMC 1500 60
562 Verify Error Logging Rotation Policy With Unrecoverable HOST And BMC Error Logs
563 [Documentation] Verify error logging rotation policy with unrecoverable HOST and BMC error logs.
571 Unrecoverable HOST 1500, Unrecoverable BMC 1500 60
597 ${status} ${output}= Run Keyword And Ignore Error Peltool -i ${1st_id}
601 ${status} ${output}= Run Keyword And Ignore Error Peltool -i ${3000th_id}
616 # Using peltool -lr, recent PELs appear first. Hence the ID of first PEL is greater than the next.
617 ${pel_records}= peltool -lr
642 # Generate a random number between 1-20.
651 ${pel_records}= peltool -n
657 [Documentation] Verify that information error logs can only be listed using -lfh option of peltool.
665 ${pel_records}= peltool -l
669 # Verify that information logs get listed using peltool's list command with -lfh option.
670 ${pel_records}= peltool -lfh
673 ${id}= Get From List ${ids} 0
674 Should Contain ${pel_records['${id}']['Sev']} Informational
678 [Documentation] Verify that peltool command can delete PEL log based on id.
683 ${id}= Get From List ${pel_ids} -1
684 Peltool -d ${id} parse_json=False
685 Run Keyword and Expect Error *PEL not found* Peltool -i ${id}
696 ${pel_id}= Get From List ${pel_ids} -1
697 ${pel_output}= Peltool -i ${pel_id}
710 ${pel_records}= Peltool -lfh
713 ${pel_id}= Get From List ${ids} -1
714 ${pel_output}= Peltool -i ${pel_id}
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
786 ${percent_diff}= Evaluate ${disk_usage_percentage} - ${max_allocated_space_percentage}
795 ${pel_records}= peltool -n
810 # error_creator Name of error log's creator(E.g BMC, Host Boot)
816 ... '${error_severity}' == 'Informational' and '${error_creator}' == 'HOST' ${CMD_INFORMATIONAL_HOST_ERROR}
819 ... '${error_severity}' == 'Unrecoverable' and '${error_creator}' == 'HOST' ${CMD_UNRECOVERABLE_HOST_ERROR}
827 ${usage_output} ${stderr} ${rc}= BMC Execute Command du /var/lib/phosphor-logging/errors
852 FOR ${id} IN @{pel_ids}
853 ${pel_output}= Peltool -i ${id}
854 # Example of PEL output from "peltool -i <id>" command.
858 # [Sub-section type]: 0
859 # [Entry Id]: 0x50000BB7
860 # [Platform Log Id]: 0x8200061D
864 # [BMC Event Log Id]: 341
872 # [Sub-section type]: 0
875 # [Host Transmission]: Not Sent
880 Run Keyword If '${pel_field_output}' in @{pel_field_value} Append To List ${pel_id_list} ${id}
890 ${pel_records}= Peltool -l
902 # pel_id The ID of PEL (e.g. 0x5000002D, 0x5000002E).
906 ${pel_output}= Peltool -i ${pel_id}
908 # Example of PEL output from "peltool -i <id>" command.
912 # [Sub-section type]: 0
913 # [Entry Id]: 0x50000BB7
914 # [Platform Log Id]: 0x8200061D
918 # [BMC Event Log Id]: 341
926 # [Sub-section type]: 0
929 # [Host Transmission]: Not Sent
938 Verify PEL Transmission To Host
939 [Documentation] Inject PEL log of given type and verify its host transmission state.
944 # host_state Host state which is required before error log injection.
945 # expected_transmission_state Expected host transmission state of PEL log.
952 ... Wait For Host To Ping ${OS_HOST} 5 min 10 sec
966 ${pel_id}= Get From List ${ids} -1
968 # Check host transmission state for the cases where PEL is
969 # expected to be offloaded to HOST.
974 # Adding delay before checking host transmission for the cases where PEL is
975 # not expected to be offloaded to HOST.
982 [Documentation] Check if PEL's host transmission state is matching expected state.
989 ${host_transmission}= Get PEL Field Value ${pel_id} User Header Host Transmission