Lines Matching +full:watchdog +full:- +full:timeout +full:- +full:ms

3 Documentation    Module to test out of band IPMI watchdog functionality.
21 Test IPMI Watchdog Timer Does Not Log Bit
22 [Documentation] Execute out of band set/get do not log bit for watchdog timer.
27 ${IPMI_RAW_CMD['Watchdog']['Set'][0]} ${IPMI_RAW_CMD['Watchdog']['Get'][0]}
28 ... ${IPMI_RAW_CMD['Watchdog']['Get'][1]}
29 ${IPMI_RAW_CMD['Watchdog']['Set'][3]} ${IPMI_RAW_CMD['Watchdog']['Get'][0]}
30 ... ${IPMI_RAW_CMD['Watchdog']['Get'][3]}
32 Test IPMI Watchdog Timer Stop Bit
33 [Documentation] Execute out of band set/get stop/resume timer stop bit for watchdog timer.
35 [Template] Execute IPMI Raw Command And Verify Response Data After Watchdog Expires
38 ${IPMI_RAW_CMD['Watchdog']['Set'][6]} ${IPMI_RAW_CMD['Watchdog']['Get'][0]}
39 ... ${IPMI_RAW_CMD['Watchdog']['Get'][5]}
40 ${IPMI_RAW_CMD['Watchdog']['Set'][9]} ${IPMI_RAW_CMD['Watchdog']['Get'][0]}
41 ... ${IPMI_RAW_CMD['Watchdog']['Get'][7]}
43 Test IPMI Watchdog Timer Use Bits
44 [Documentation] Execute out of band set/get timer use bits for watchdog timer.
49 ${IPMI_RAW_CMD['Watchdog']['Set'][12]} ${IPMI_RAW_CMD['Watchdog']['Get'][0]}
50 ... ${IPMI_RAW_CMD['Watchdog']['Get'][9]}
51 ${IPMI_RAW_CMD['Watchdog']['Set'][15]} ${IPMI_RAW_CMD['Watchdog']['Get'][0]}
52 ... ${IPMI_RAW_CMD['Watchdog']['Get'][11]}
53 ${IPMI_RAW_CMD['Watchdog']['Set'][18]} ${IPMI_RAW_CMD['Watchdog']['Get'][0]}
54 ... ${IPMI_RAW_CMD['Watchdog']['Get'][13]}
55 ${IPMI_RAW_CMD['Watchdog']['Set'][21]} ${IPMI_RAW_CMD['Watchdog']['Get'][0]}
56 ... ${IPMI_RAW_CMD['Watchdog']['Get'][15]}
57 ${IPMI_RAW_CMD['Watchdog']['Set'][24]} ${IPMI_RAW_CMD['Watchdog']['Get'][0]}
58 ... ${IPMI_RAW_CMD['Watchdog']['Get'][17]}
60 Test IPMI Watchdog Timer Pre-Timeout Interrupt Bits
61 [Documentation] Execute out of band set/get pre-timeout interrupt bits for watchdog timer.
62 [Tags] Test_IPMI_Watchdog_Timer_Pre-Timeout_Interrupt_Bits
66 ${IPMI_RAW_CMD['Watchdog']['Set'][27]} ${IPMI_RAW_CMD['Watchdog']['Get'][0]}
67 ... ${IPMI_RAW_CMD['Watchdog']['Get'][19]}
68 ${IPMI_RAW_CMD['Watchdog']['Set'][30]} ${IPMI_RAW_CMD['Watchdog']['Get'][0]}
69 ... ${IPMI_RAW_CMD['Watchdog']['Get'][21]}
71 Test IPMI Watchdog Timer Timeout Action Bits
72 [Documentation] Execute out of band set/get timer timeout bits for watchdog timer.
77 ${IPMI_RAW_CMD['Watchdog']['Set'][33]} ${IPMI_RAW_CMD['Watchdog']['Get'][0]}
78 ... ${IPMI_RAW_CMD['Watchdog']['Get'][23]}
79 ${IPMI_RAW_CMD['Watchdog']['Set'][36]} ${IPMI_RAW_CMD['Watchdog']['Get'][0]}
80 ... ${IPMI_RAW_CMD['Watchdog']['Get'][25]}
81 ${IPMI_RAW_CMD['Watchdog']['Set'][39]} ${IPMI_RAW_CMD['Watchdog']['Get'][0]}
82 ... ${IPMI_RAW_CMD['Watchdog']['Get'][27]}
83 ${IPMI_RAW_CMD['Watchdog']['Set'][42]} ${IPMI_RAW_CMD['Watchdog']['Get'][0]}
84 ... ${IPMI_RAW_CMD['Watchdog']['Get'][29]}
86 Test IPMI Watchdog Timer Timeout Flag Bits
87 [Documentation] Execute out of band set/get timer timeout flag bits for watchdog timer.
92 ${IPMI_RAW_CMD['Watchdog']['Set'][45]} ${IPMI_RAW_CMD['Watchdog']['Get'][0]}
93 ... ${IPMI_RAW_CMD['Watchdog']['Get'][31]}
94 ${IPMI_RAW_CMD['Watchdog']['Set'][48]} ${IPMI_RAW_CMD['Watchdog']['Get'][0]}
95 ... ${IPMI_RAW_CMD['Watchdog']['Get'][33]}
96 ${IPMI_RAW_CMD['Watchdog']['Set'][51]} ${IPMI_RAW_CMD['Watchdog']['Get'][0]}
97 ... ${IPMI_RAW_CMD['Watchdog']['Get'][35]}
98 ${IPMI_RAW_CMD['Watchdog']['Set'][54]} ${IPMI_RAW_CMD['Watchdog']['Get'][0]}
99 ... ${IPMI_RAW_CMD['Watchdog']['Get'][37]}
100 ${IPMI_RAW_CMD['Watchdog']['Set'][57]} ${IPMI_RAW_CMD['Watchdog']['Get'][0]}
101 ... ${IPMI_RAW_CMD['Watchdog']['Get'][39]}
105 [Documentation] Set Watchdog via IPMI raw command and verify timer actions.
107 [Template] Validate Watchdog Timer Actions And SEL Events
110 ${IPMI_RAW_CMD['Watchdog']['Set'][60]} ['off'] Power down
111 ${IPMI_RAW_CMD['Watchdog']['Set'][63]} ['on'] Hard reset
112 ${IPMI_RAW_CMD['Watchdog']['Set'][66]} ['on'] Power cycle
113 ${IPMI_RAW_CMD['Watchdog']['Set'][69]} ['on'] Timer expired
117 [Documentation] Set Watchdog via IPMI raw command and verify Reset Timer functions as expected.
123 # Set Watchdog Timer initCount(0x3530).
124 Run IPMI Command ${IPMI_RAW_CMD['Watchdog']['Set'][72]}
126 # Get Watchdog Timer.
127 ${resp}= Run IPMI Command ${IPMI_RAW_CMD['Watchdog']['Get'][0]}
128 Should Contain ${resp} ${IPMI_RAW_CMD['Watchdog']['Get'][41]}
133 # Example: Get watchdog response is 0x06 0x24 0x05 0x00 0x64 0x00 0x64 0x00.
134 # Start_timer_value is bits 6 - 7; set to 0x64 0x00 (100 ms decimal).
135 # Reverse bits 6 - 7 due to BMC being little endian; new value is 0x00 0x64.
145 # Get Watchdog Timer before reset watchdog timer.
146 ${resp}= Run IPMI Command ${IPMI_RAW_CMD['Watchdog']['Get'][0]}
147 Should Contain ${resp} ${IPMI_RAW_CMD['Watchdog']['Get'][41]}
151 # Reset Watchdog Timer.
152 Run IPMI Command ${IPMI_RAW_CMD['Watchdog']['Reset'][0]}
155 Get Watchdog Timer And Compare To Start Value ${start_timer_integer}
160 Verify Pre-timeout Values
161 … [Documentation] Set Watchdog Pre-timeout via IPMI raw command and verify via Get Watchdog Timer.
162 [Tags] Verify_Pre-timeout_Values
163 [Template] Validate Watchdog Pre-timeout
166 ${IPMI_RAW_CMD['Watchdog']['Set'][75]} ${EMPTY}
167 ${IPMI_RAW_CMD['Watchdog']['Set'][81]} ${EMPTY}
168 ${IPMI_RAW_CMD['Watchdog']['Get'][0]} ${IPMI_RAW_CMD['Watchdog']['Get'][43]}
170 Verify Failure For Pre-Timeout Interval Greater Than Initial Count
171 … [Documentation] Set Watchdog Pre-timeout via IPMI raw command and verify via Get Watchdog Timer.
172 [Tags] Verify_Failure_For_Pre-Timeout_Interval_Greater_Than_Initial_Count
174 # Expected to fail: pre-timeout interval (4000) > initial count (1000).
176 ... Run IPMI Command ${IPMI_RAW_CMD['Watchdog']['Set'][78]}
179 [Documentation] Set Watchdog via IPMI raw command and verify via Get Watchdog Timer.
181 [Template] Watchdog Invalid Request Data Length
184 ${IPMI_RAW_CMD['Watchdog']['Set'][84]}
185 ${IPMI_RAW_CMD['Watchdog']['Set'][87]}
186 ${IPMI_RAW_CMD['Watchdog']['Get'][45]}
189 [Documentation] Set Watchdog via IPMI raw command and verify via Get Watchdog Timer.
192 # Reset Watchdog Timer with one extra byte.
194 ... Run IPMI Command ${IPMI_RAW_CMD['Watchdog']['Reset'][3]}
197 Run IPMI Standard Command mc reset cold -N 10 -R 1
201 # Reset Watchdog Timer without initialized watchdog.
203 ... Run IPMI Command ${IPMI_RAW_CMD['Watchdog']['Reset'][6]}
207 Execute IPMI Raw Command And Verify Response Data After Watchdog Expires
208 …[Documentation] Execute out of band IPMI raw command and verify response data after watchdog expi…
216 Run IPMI Command ${IPMI_RAW_CMD['Watchdog']['Reset'][0]}
245 Run IPMI Command ${IPMI_RAW_CMD['Watchdog']['Reset'][0]}
249 Validate Watchdog Timer Actions And SEL Events
250 [Documentation] Verify the watchdog timer actions and the associated SEL events.
254 # set_raw_cmd The set timeout action request bytes for the command.
264 # Set watchdog timer action to perform action.
267 # Reset Watchdog Timer.
268 Run IPMI Command ${IPMI_RAW_CMD['Watchdog']['Reset'][0]}
286 Verify Watchdog Timer Action SEL Event ${sel_event}
299 Verify Watchdog Timer Action SEL Event
307 ${power_status}= Get Lines Containing String ${resp} Watchdog
317 Watchdog Invalid Request Data Length
318 [Documentation] Verify invalid request bytes for set watchdog returns correct error.
322 # watchdog_command The raw watchdog IPMI command request bytes.
327 Validate Watchdog Pre-timeout
328 [Documentation] Verify watchdog pre-timeout valid request bytes.
332 # watchdog_command The raw watchdog IPMI command request bytes.
338 Get Watchdog Timer And Compare To Start Value
339 [Documentation] Get watchdog value, convert to integer, and compare to original start value.
343 # start_timer_integer The initial value for the watchdog timer.
345 # Get Watchdog Timer.
346 ${resp}= Run IPMI Command ${IPMI_RAW_CMD['Watchdog']['Get'][0]}
350 # Example: Get watchdog response is 0x06 0x24 0x05 0x00 0x64 0x00 0x64 0x00.
351 # Start_timer_value is bits 6 - 7; set to 0x64 0x00 (100 ms decimal).
352 # Reverse bits 6 - 7 due to BMC being little endian; new value is 0x00 0x64.