Lines Matching full:sel
3 Documentation Module to test IPMI SEL functionality.
20 # Based on 13th byte of add SEL entry command as per IPMI spec
22 ${sel_no_entry_msg} SEL has no entries
28 Verify IPMI SEL Version
29 [Documentation] Verify IPMI SEL's version info.
31 ${version_info}= Get IPMI SEL Setting Version
39 Verify Empty SEL
40 [Documentation] Verify IPMI sel clear command clears the SEL entry.
47 ${resp}= Run IPMI Standard Command sel elist last 1
51 ... msg=Add SEL Entry failed.
53 # Send SEL clear command and verify if it really clears up the SEL entry.
54 Run IPMI Standard Command sel clear
56 # Added a delay for IPMI SEL to clear completely.
59 ${resp}= Run IPMI Standard Command sel list
61 # After executing the IPMI SEL clear command, there will be an informational
62 # SEL entry in the IPMI SEL. Therefore, checking if the IPMI SEL count is 1
63 # after clearing SEL.
69 Verify Add SEL Entry
70 [Documentation] Verify add SEL entry.
72 [Teardown] Run Keywords FFDC On Test Case Fail AND Run IPMI Standard Command sel clear
75 # Our aim is to check if the SEL command is listed in IPMI or not.
76 # Original keyword "Create User Defined SEL" for reference
79 # Get last SEL entry.
80 ${resp}= Run IPMI Standard Command sel elist last 1
84 ... Should Contain ${resp} Asserted msg=Add SEL Entry failed.
87 Verify Add SEL Entry For Any Random Sensor
88 [Documentation] Create SEL entry and verify for any given random sensor.
90 [Teardown] Run Keywords FFDC On Test Case Fail AND Run IPMI Standard Command sel clear
103 # Add SEL Entry.
105 ${sel_create_resp}= Create SEL ${sensor_type_id} ${sensor_number}
108 # Get last SEL entry.
109 ${resp}= Run IPMI Standard Command sel elist
112 # Output of the Sel elist.
119 Should Contain ${sel_entry} ${event_dir} msg=Add SEL Entry failed.
121 # Get SEL Entry IPMI Raw Command.
122 ${entry}= Get SEL Entry Via IPMI ${sel_entry_id[0]} ${sel_entry_id[1]}
124 # Compare SEL Record ID.
135 Verify Reserve SEL
136 [Documentation] Verify reserve SEL.
143 # Execute clear SEL raw command with Reservation ID.
148 # Check SEL list.
149 ${resp}= Run IPMI Standard Command sel list
150 Should Contain ${resp} SEL has no entries case_insensitive=True
153 Verify IPMI SEL Most Recent Addition Timestamp
154 [Documentation] Verify most recent addition timestamp in SEL info.
157 # Get Most Recent Addition Timestamp from SEL Info.
158 ${addition_timestamp}= Get Most Recent Addition Timestamp From SEL Info
164 # Get SEL List last 1 entry date and time and convert to epoch timestamp.
165 ${sel_epoch_time}= Get SEL Elist Last Entry Date In Epoch
167 # Compare epoch of sel entry timestamp and last addition timestamp.
183 # Add SEL Entry.
184 ${sel_create_resp}= Create SEL ${sensor_type_id} ${sensor_number}
186 # Get SEL List last 1 entry date and time and convert to epoch timestamp.
187 ${sel_epoch_time}= Get SEL Elist Last Entry Date In Epoch
189 # Get Most Recent Addition Timestamp from SEL Info.
190 ${addition}= Get Most Recent Addition Timestamp From SEL Info
193 # Compare epoch of sel entry timestamp and last addition timestamp.
199 Verify IPMI SEL Most Recent Erase Timestamp
200 [Documentation] Verify Most Recent Erase Timestamp In SEL Info with current
207 # Get Most Recent Addition Timestamp from SEL Info.
208 ${addition_timestamp}= Get Most Recent Addition Timestamp From SEL Info
211 # Get Most Recent Erase Timestamp from SEL Info.
212 ${erase_timestamp}= Get Most Recent Erase Timestamp From SEL Info
220 Verify Clear SEL With Invalid Reservation ID
221 [Documentation] Verify clear SEL After generating another reserve ID.
224 # Reserve Sel command - 1.
229 # Reserve Sel command - 2.
236 # Clear SEL command.
243 …[Documentation] Verify Erasure status by clearing SEL with Reserve ID and verify the response byt…
244 ... whether erasure status is updated in clear sel command response data using new Reserve ID.
255 # Execute clear SEL raw command with Reservation ID.
267 # Check the Erasure status of Clear SEL.
274 Verify Clear SEL After Cold Reset
275 [Documentation] Verify Clear SEL for a reserve SEL ID after Cold Reset.
278 # Reserve Sel command.
289 # Clear SEL command.
296 Delete Non Existing SEL Event Entry
297 [Documentation] Delete non existing SEL event entry.
301 ... Run IPMI Standard Command sel delete 100
306 Delete Invalid SEL Event Entry
307 [Documentation] Delete invalid SEL event entry.
311 ... Run IPMI Standard Command sel delete abc
312 Should Contain ${sel_delete} Given SEL ID 'abc' is invalid
316 Verify IPMI SEL Event Last Add Time
317 [Documentation] Verify IPMI SEL's last added timestamp.
322 ${sel_time}= Run IPMI Standard Command sel time get
326 ${sel_last_add_time}= Get IPMI SEL Setting Last Add Time
333 # Verify if the delay in current time check and last add SEL time
338 Verify IPMI SEL Event Entries
339 [Documentation] Verify IPMI SEL's entries info.
343 # Clear all SEL entries using IPMI command.
344 Run IPMI Standard Command sel clear
346 # Added a delay for IPMI SEL to clear completely.
353 ${sel_entries_count}= Get IPMI SEL Setting Entries
355 # After issuing the IPMI SEL clear command.
356 # There will be one informational SEL entry in the IPMI SEL.
357 # So comparing the IPMI SEL count with this additional single entry.
363 Create User Defined SEL
364 [Documentation] Create a user defined tempearature sensor SEL.
366 # Create a SEL.
373 Get SEL Entry Via IPMI
374 [Documentation] Get SEL Entry Via IPMI raw command.
381 …# For example, when a first sel entry is added with IPMI raw command, the response will be "01 00".
387 # Get SEL Entry Raw command.
394 Get Most Recent Addition Timestamp From SEL Info
395 [Documentation] Get Most recent addition timestamp From SEL Info.
397 # Get SEL Info raw command.
398 ${sel_info}= Get SEL Info Via IPMI
408 Get Most Recent Erase Timestamp From SEL Info
409 [Documentation] Get Most recent erase timestamp From SEL Info.
411 # Get SEL Info Raw command.
412 ${sel_info}= Get SEL Info Via IPMI
422 Get SEL Elist Last Entry Date In Epoch
423 [Documentation] Get the time from SEL elist last entry and returns epoch time.
425 # Get SEL list last entry.
426 ${resp}= Run IPMI Standard Command sel elist last 1
428 # Get date from the sel entry and convert to epoch timestamp.
429 ${sel_entry_date}= Fetch Added SEL Date ${resp}
456 Run IPMI Standard Command sel clear