blob: 8d3b518a49630ea43b46132ac315258ff539e8fa [file] [log] [blame]
Sridevi Rameshb180c9f2017-08-06 10:27:41 -05001*** Settings ***
2Documentation This suite tests checkstop operations through HOST.
3Resource ../lib/utils.robot
4Resource ../lib/openbmc_ffdc.robot
5Resource ../lib/ras/host_utils.robot
6Resource ../lib/resource.txt
7Resource ../lib/state_manager.robot
8Resource ../lib/openbmc_ffdc_methods.robot
9Resource ../lib/boot_utils.robot
10Variables ../lib/ras/variables.py
11
12Library DateTime
13Library OperatingSystem
Sridevi Ramesh0d88ab32017-09-21 11:07:28 -050014Library random
15Library Collections
Sridevi Rameshb180c9f2017-08-06 10:27:41 -050016
17Suite Setup RAS Suite Setup
18Test Setup RAS Test Setup
19Test Teardown FFDC On Test Case Fail
20Suite Teardown RAS Suite Cleanup
21
Sweta Potthuri18753a72017-10-30 06:01:03 -050022Force Tags Host_RAS
Sridevi Rameshb180c9f2017-08-06 10:27:41 -050023*** Variables ***
24${stack_mode} normal
25
Sridevi Rameshcf4507c2017-10-26 04:13:50 -050026*** Test Cases ***
Sridevi Rameshb180c9f2017-08-06 10:27:41 -050027# Memory channel (MCACALIFIR) related error injection.
28
29Verify Recoverable Callout Handling For MCA With Threshold 1
30 [Documentation] Verify recoverable callout handling for MCACALIFIR with
31 ... threshold 1.
32 [Tags] Verify_Recoverable_Callout_Handling_For_MCA_With_Threshold_1
33
34 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} MCACALIFIR_RECV1
35 ${err_log_path}= Catenate ${RAS_LOG_DIR_PATH}mcacalfir_th1
36 Inject Recoverable Error With Threshold Limit Through Host
37 ... ${value[0]} ${value[1]} 1 ${value[2]} ${err_log_path}
38
Sridevi Rameshcf4507c2017-10-26 04:13:50 -050039
Sridevi Rameshb180c9f2017-08-06 10:27:41 -050040Verify Recoverable Callout Handling For MCA With Threshold 32
41 [Documentation] Verify recoverable callout handling for MCACALIFIR with
42 ... threshold 32.
43 [Tags] Verify_Recoverable_Callout_Handling_For_MCA_With_Threshold_32
44
45 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} MCACALIFIR_RECV32
46 ${err_log_path}= Catenate ${RAS_LOG_DIR_PATH}mcacalfir_th32
47 Inject Recoverable Error With Threshold Limit Through Host
48 ... ${value[0]} ${value[1]} 32 ${value[2]} ${err_log_path}
49
Sridevi Rameshb180c9f2017-08-06 10:27:41 -050050Verify Unrecoverable Callout Handling For MCA
51 [Documentation] Verify unrecoverable callout handling for MCACALIFIR.
52 [Tags] Verify_Unrecoverable_Callout_Handling_For_MCA
53
54 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} MCACALIFIR_UE
55 ${err_log_path}= Catenate ${RAS_LOG_DIR_PATH}mcacalfir
56 Inject Unrecoverable Error Through Host
57 ... ${value[0]} ${value[1]} 1 ${value[2]} ${err_log_path}
58
59# Memory buffer (MCIFIR) related error injection.
60
61Verify Recoverable Callout Handling For MCI With Threshold 1
62 [Documentation] Verify recoverable callout handling for mci with
63 ... threshold 1.
64 [Tags] Verify_Recoverable_Callout_Handling_For_MCI_With_Threshold_1
65
66 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} MCS_RECV1
67 ${err_log_path}= Catenate ${RAS_LOG_DIR_PATH}mcifir_th1
68 Inject Recoverable Error With Threshold Limit Through Host
69 ... ${value[0]} ${value[1]} 1 ${value[2]} ${err_log_path}
70
71Verify Unrecoverable Callout Handling For MCI
72 [Documentation] Verify unrecoverable callout handling for mci.
73 [Tags] Verify_Unrecoverable_Callout_Handling_For_MCI
74
75 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} MCS_UE
76 ${err_log_path}= Catenate ${RAS_LOG_DIR_PATH}mcifir
77 Inject Unrecoverable Error Through Host
78 ... ${value[0]} ${value[1]} 1 ${value[2]} ${err_log_path}
79
Sridevi Rameshb180c9f2017-08-06 10:27:41 -050080# CAPP accelerator (CXAFIR) related error injection.
81
82Verify Recoverable Callout Handling For CXA With Threshold 5
83 [Documentation] Verify recoverable callout handling for CXA with
84 ... threshold 5.
85 [Tags] Verify_Recoverable_Callout_Handling_For_CXA_With_Threshold_5
86
87 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} CXA_RECV5
88 ${err_log_path}= Catenate ${RAS_LOG_DIR_PATH}cxafir_th5
89 Inject Recoverable Error With Threshold Limit Through Host
90 ... ${value[0]} ${value[1]} 5 ${value[2]} ${err_log_path}
91
92Verify Recoverable Callout Handling For CXA With Threshold 32
93 [Documentation] Verify recoverable callout handling for CXA with
94 ... threshold 32.
95 [Tags] Verify_Recoverable_Callout_Handling_For_CXA_With_Threshold_32
96
97 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} CXA_RECV32
98 ${err_log_path}= Catenate ${RAS_LOG_DIR_PATH}cxafir_th32
99 Inject Recoverable Error With Threshold Limit Through Host
100 ... ${value[0]} ${value[1]} 32 ${value[2]} ${err_log_path}
101
Sridevi Rameshb6d7b7e2017-11-07 03:49:52 -0600102Verify Unrecoverable Callout Handling For CXA
103 [Documentation] Verify unrecoverable callout handling for CXAFIR.
104 [Tags] Verify_Unrecoverable_Callout_Handling_For_CXA
105
106 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} CXA_UE
107 ${err_log_path}= Catenate ${RAS_LOG_DIR_PATH}cxafir_ue
108 Inject Unrecoverable Error Through Host
109 ... ${value[0]} ${value[1]} 1 ${value[2]} ${err_log_path}
110
Sridevi Rameshb180c9f2017-08-06 10:27:41 -0500111# OBUSFIR related error injection.
112
113Verify Recoverable Callout Handling For OBUS With Threshold 32
114 [Documentation] Verify recoverable callout handling for OBUS with
115 ... threshold 32.
116 [Tags] Verify_Recoverable_Callout_Handling_For_OBUS_With_Threshold_32
117
118 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} OBUS_RECV32
119 ${err_log_path}= Catenate ${RAS_LOG_DIR_PATH}obusfir_th32
120 Inject Recoverable Error With Threshold Limit Through Host
121 ... ${value[0]} ${value[1]} 32 ${value[2]} ${err_log_path}
122
123# Nvidia graphics processing units (NPU0FIR) related error injection.
124
125Verify Recoverable Callout Handling For NPU0 With Threshold 32
126 [Documentation] Verify recoverable callout handling for NPU0 with
127 ... threshold 32.
128 [Tags] Verify_Recoverable_Callout_Handling_For_NPU0_With_Threshold_32
129
130 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} NPU0_RECV32
131 ${err_log_path}= Catenate ${RAS_LOG_DIR_PATH}npu0fir_th32
132 Inject Recoverable Error With Threshold Limit Through Host
133 ... ${value[0]} ${value[1]} 32 ${value[2]} ${err_log_path}
134
Sridevi Ramesh6bd6b4c2017-10-10 04:38:30 -0500135# Nest accelerator NXDMAENGFIR related error injection.
136
137Verify Recoverable Callout Handling For NXDMAENG With Threshold 1
138 [Documentation] Verify recoverable callout handling for NXDMAENG with
139 ... threshold 1.
140 [Tags] Verify_Recoverable_Callout_Handling_For_NXDMAENG_With_Threshold_1
141
142 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} NX_RECV1
143 ${err_log_path}= Catenate ${RAS_LOG_DIR_PATH}nxfir_th1
144 Inject Recoverable Error With Threshold Limit Through Host
145 ... ${value[0]} ${value[1]} 1 ${value[2]} ${err_log_path}
146
147
148Verify Recoverable Callout Handling For NXDMAENG With Threshold 32
149 [Documentation] Verify recoverable callout handling for NXDMAENG with
150 ... threshold 32.
151 [Tags] Verify_Recoverable_Callout_Handling_For_NXDMAENG_With_Threshold_32
152
153 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} NX_RECV32
154 ${err_log_path}= Catenate ${RAS_LOG_DIR_PATH}nxfir_th32
155 Inject Recoverable Error With Threshold Limit Through Host
156 ... ${value[0]} ${value[1]} 32 ${value[2]} ${err_log_path}
157
158Verify Unrecoverable Callout Handling For NXDMAENG
159 [Documentation] Verify unrecoverable callout handling for NXDMAENG.
160 [Tags] Verify_Unrecoverable_Callout_Handling_For_NXDMAENG
161
162 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} NX_UE
163 ${err_log_path}= Catenate ${RAS_LOG_DIR_PATH}nxfir_ue
164 Inject Unrecoverable Error Through Host
165 ... ${value[0]} ${value[1]} 1 ${value[2]} ${err_log_path}
166
Sridevi Ramesh151fcf02017-10-24 02:08:27 -0500167
168# L2FIR related error injection.
169
170Verify Recoverable Callout Handling For L2FIR With Threshold 1
171 [Documentation] Verify recoverable callout handling for L2FIR with
172 ... threshold 1.
173 [Tags] Verify_Recoverable_Callout_Handling_For_L2FIR_With_Threshold_1
174
175 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} L2FIR_RECV1
Sridevi Rameshcf4507c2017-10-26 04:13:50 -0500176 ${translated_fir}= Fetch FIR Address Translation Value ${value[0]} EX
Sridevi Ramesh151fcf02017-10-24 02:08:27 -0500177 ${err_log_path}= Catenate ${RAS_LOG_DIR_PATH}l2fir_th1
178 Inject Recoverable Error With Threshold Limit Through Host
179 ... ${translated_fir} ${value[1]} 1 ${value[2]} ${err_log_path}
180
Sridevi Rameshb6d7b7e2017-11-07 03:49:52 -0600181Verify Recoverable Callout Handling For L2FIR With Threshold 32
182 [Documentation] Verify recoverable callout handling for L2FIR with
183 ... threshold 32.
184 [Tags] Verify_Recoverable_Callout_Handling_For_L2FIR_With_Threshold_32
185
186 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} L2FIR_RECV32
187 ${translated_fir}= Fetch FIR Address Translation Value ${value[0]} EX
188 ${err_log_path}= Catenate ${RAS_LOG_DIR_PATH}l2fir_th32
189 Inject Recoverable Error With Threshold Limit Through Host
190 ... ${translated_fir} ${value[1]} 32 ${value[2]} ${err_log_path}
191
192Verify Unrecoverable Callout Handling For L2FIR
193 [Documentation] Verify unrecoverable callout handling for L2FIR.
194 [Tags] Verify_Unrecoverable_Callout_Handling_For_L2FIR
195
196 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} L2FIR_UE
197 ${translated_fir}= Fetch FIR Address Translation Value ${value[0]} EX
198 ${err_log_path}= Catenate ${RAS_LOG_DIR_PATH}l2fir_ue
199 Inject Unrecoverable Error Through Host
200 ... ${translated_fir} ${value[1]} 1 ${value[2]} ${err_log_path}
201
Sridevi Ramesh151fcf02017-10-24 02:08:27 -0500202# L3FIR related error injection.
203
204Verify Recoverable Callout Handling For L3FIR With Threshold 1
205 [Documentation] Verify recoverable callout handling for L3FIR with
206 ... threshold 1.
207 [Tags] Verify_Recoverable_Callout_Handling_For_L3FIR_With_Threshold_1
208
209 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} L3FIR_RECV1
Sridevi Rameshcf4507c2017-10-26 04:13:50 -0500210 ${translated_fir}= Fetch FIR Address Translation Value ${value[0]} EX
Sridevi Ramesh151fcf02017-10-24 02:08:27 -0500211 ${err_log_path}= Catenate ${RAS_LOG_DIR_PATH}l3fir_th1
212 Inject Recoverable Error With Threshold Limit Through Host
213 ... ${translated_fir} ${value[1]} 1 ${value[2]} ${err_log_path}
214
215Verify Recoverable Callout Handling For L3FIR With Threshold 32
216 [Documentation] Verify recoverable callout handling for L3FIR with
217 ... threshold 32.
218 [Tags] Verify_Recoverable_Callout_Handling_For_L3FIR_With_Threshold_32
219
220 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} L3FIR_RECV32
Sridevi Rameshcf4507c2017-10-26 04:13:50 -0500221 ${translated_fir}= Fetch FIR Address Translation Value ${value[0]} EX
Sridevi Ramesh151fcf02017-10-24 02:08:27 -0500222 ${err_log_path}= Catenate ${RAS_LOG_DIR_PATH}l3fir_th32
223 Inject Recoverable Error With Threshold Limit Through Host
224 ... ${translated_fir} ${value[1]} 32 ${value[2]} ${err_log_path}
225
Sridevi Rameshb6d7b7e2017-11-07 03:49:52 -0600226Verify Unrecoverable Callout Handling For L3FIR
227 [Documentation] Verify unrecoverable callout handling for L3FIR.
228 [Tags] Verify_Unrecoverable_Callout_Handling_For_L3FIR
229
230 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} L3FIR_UE
231 ${translated_fir}= Fetch FIR Address Translation Value ${value[0]} EX
232 ${err_log_path}= Catenate ${RAS_LOG_DIR_PATH}l3fir_ue
233 Inject Unrecoverable Error Through Host
234 ... ${translated_fir} ${value[1]} 1 ${value[2]} ${err_log_path}
235
Sridevi Ramesh151fcf02017-10-24 02:08:27 -0500236# On chip controller (OCCFIR) related error injection.
237
238Verify Recoverable Callout Handling For OCC With Threshold 1
239 [Documentation] Verify recoverable callout handling for OCCFIR with
240 ... threshold 1.
241 [Tags] Verify_Recoverable_Callout_Handling_For_OCC_With_Threshold_1
242
243 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} OCCFIR_RECV1
244 ${err_log_path}= Catenate ${RAS_LOG_DIR_PATH}occfir_th1
245 Inject Recoverable Error With Threshold Limit Through Host
246 ... ${value[0]} ${value[1]} 1 ${value[2]} ${err_log_path}
247
248# Core management engine (CMEFIR) related error injection.
249
250Verify Recoverable Callout Handling For CMEFIR With Threshold 1
251 [Documentation] Verify recoverable callout handling for CMEFIR with
252 ... threshold 1.
253 [Tags] Verify_Recoverable_Callout_Handling_For_CMEFIR_With_Threshold_1
254
255 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} CMEFIR_RECV1
Sridevi Rameshcf4507c2017-10-26 04:13:50 -0500256 ${translated_fir}= Fetch FIR Address Translation Value ${value[0]} EX
Sridevi Ramesh151fcf02017-10-24 02:08:27 -0500257 ${err_log_path}= Catenate ${RAS_LOG_DIR_PATH}cmefir_th1
258 Inject Recoverable Error With Threshold Limit Through Host
259 ... ${translated_fir} ${value[1]} 1 ${value[2]} ${err_log_path}
260
Sridevi Rameshb6d7b7e2017-11-07 03:49:52 -0600261Verify Recoverable Callout Handling For NCUFIR With Threshold 1
262 [Documentation] Verify recoverable callout handling for NCUFIR with
263 ... threshold 1.
264 [Tags] Verify_Recoverable_Callout_Handling_For_NCUFIR_With_Threshold_1
265
266 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} NCUFIR_RECV1
267 ${translated_fir}= Fetch FIR Address Translation Value ${value[0]} EX
268 ${err_log_path}= Catenate ${RAS_LOG_DIR_PATH}ncufir_th1
269 Inject Recoverable Error With Threshold Limit Through Host
270 ... ${translated_fir} ${value[1]} 1 ${value[2]} ${err_log_path}
Sridevi Ramesh4436af12017-10-30 04:19:41 -0500271
Sridevi Rameshb180c9f2017-08-06 10:27:41 -0500272*** Keywords ***
273
Sridevi Rameshb180c9f2017-08-06 10:27:41 -0500274Verify And Clear Gard Records On HOST
275 [Documentation] Verify And Clear gard records on HOST.
276
Sridevi Rameshb180c9f2017-08-06 10:27:41 -0500277 ${output}= Gard Operations On OS list
Sridevi Rameshb6d7b7e2017-11-07 03:49:52 -0600278 Should Not Contain ${output} No GARD
Sridevi Rameshb180c9f2017-08-06 10:27:41 -0500279 Gard Operations On OS clear all
280
281Verify Error Log Entry
282 [Documentation] Verify error log entry & signature description.
283 [Arguments] ${signature_desc} ${log_prefix}
284 # Description of argument(s):
285 # signature_desc Error log signature description.
286 # log_prefix Log path prefix.
287
288 ${resp}= OpenBMC Get Request ${BMC_LOGGING_ENTRY}/list
289 Should Not Be Equal As Strings ${resp.status_code} ${HTTP_NOT_FOUND}
290
291 Collect eSEL Log ${log_prefix}
292 ${error_log_file_path}= Catenate ${log_prefix}esel.txt
293 ${rc} ${output} = Run and Return RC and Output
Sridevi Ramesh6bd6b4c2017-10-10 04:38:30 -0500294 ... grep -i ${signature_desc} ${error_log_file_path}
Sridevi Rameshb180c9f2017-08-06 10:27:41 -0500295 Should Not Be Empty ${output}
296
297Inject Recoverable Error With Threshold Limit Through Host
298 [Documentation] Inject and verify recoverable error on processor through
299 ... host.
300 ... Test sequence:
301 ... 1. Enable Auto Reboot Setting
302 ... 2. Inject Error on processor/centaur
303 ... 3. Check If HOST is running.
304 ... 4. Verify error log entry & signature description.
305 ... 4. Verify & clear gard records.
Sridevi Ramesh0d88ab32017-09-21 11:07:28 -0500306 [Arguments] ${fir} ${chip_address} ${threshold_limit}
Sridevi Rameshb180c9f2017-08-06 10:27:41 -0500307 ... ${signature_desc} ${log_prefix}
308 # Description of argument(s):
Sridevi Ramesh0d88ab32017-09-21 11:07:28 -0500309 # fir FIR (Fault isolation register) value (e.g. 2011400).
Sridevi Rameshb180c9f2017-08-06 10:27:41 -0500310 # chip_address Chip address (e.g 2000000000000000).
311 # threshold_limit Threshold limit (e.g 1, 5, 32).
312 # signature_desc Error log signature description.
313 # log_prefix Log path prefix.
314
315 Set Auto Reboot 1
Sridevi Ramesh0d88ab32017-09-21 11:07:28 -0500316 Inject Error Through HOST ${fir} ${chip_address} ${threshold_limit}
Sridevi Rameshcf4507c2017-10-26 04:13:50 -0500317 ... ${master_proc_chip}
318
Sridevi Rameshb180c9f2017-08-06 10:27:41 -0500319 Is Host Running
320 ${output}= Gard Operations On OS list
321 Should Contain ${output} No GARD
322 Verify Error Log Entry ${signature_desc} ${log_prefix}
323
324
325Inject Unrecoverable Error Through Host
326 [Documentation] Inject and verify recoverable error on processor through
327 ... host.
328 ... Test sequence:
329 ... 1. Enable Auto Reboot Setting
330 ... 2. Inject Error on processor/centaur
331 ... 3. Check If HOST is rebooted.
332 ... 4. Verify error log entry & signature description.
333 ... 4. Verify & clear gard records.
Sridevi Ramesh0d88ab32017-09-21 11:07:28 -0500334 [Arguments] ${fir} ${chip_address} ${threshold_limit}
Sridevi Rameshb180c9f2017-08-06 10:27:41 -0500335 ... ${signature_desc} ${log_prefix}
336 # Description of argument(s):
Sridevi Ramesh0d88ab32017-09-21 11:07:28 -0500337 # fir FIR (Fault isolation register) value (e.g. 2011400).
Sridevi Rameshb180c9f2017-08-06 10:27:41 -0500338 # chip_address Chip address (e.g 2000000000000000).
339 # threshold_limit Threshold limit (e.g 1, 5, 32).
340 # signature_desc Error Log signature description.
341 # (e.g 'mcs(n0p0c0) (MCFIR[0]) mc internal recoverable')
342 # log_prefix Log path prefix.
343
344 Set Auto Reboot 1
Sridevi Ramesh0d88ab32017-09-21 11:07:28 -0500345 Inject Error Through HOST ${fir} ${chip_address} ${threshold_limit}
Sridevi Rameshcf4507c2017-10-26 04:13:50 -0500346 ... ${master_proc_chip}
Sridevi Rameshb180c9f2017-08-06 10:27:41 -0500347 Wait Until Keyword Succeeds 500 sec 20 sec Is Host Rebooted
348 Wait for OS
349 Verify And Clear Gard Records On HOST
350 Verify Error Log Entry ${signature_desc} ${log_prefix}
351
Sridevi Ramesh0d88ab32017-09-21 11:07:28 -0500352Fetch FIR Address Translation Value
353 [Documentation] Fetch FIR address translation value through HOST.
Sridevi Rameshb6d7b7e2017-11-07 03:49:52 -0600354 [Arguments] ${fir} ${target_type}
Sridevi Ramesh0d88ab32017-09-21 11:07:28 -0500355 # Description of argument(s):
Sridevi Rameshcf4507c2017-10-26 04:13:50 -0500356 # fir FIR (Fault isolation register) value (e.g. 2011400).
357 # core_id Core ID (e.g. 9).
358 # target_type Target type (e.g. 'EX', 'EQ', 'C').
Sridevi Ramesh0d88ab32017-09-21 11:07:28 -0500359
360 Login To OS Host
361 Copy Address Translation Utils To HOST OS
362
Sridevi Rameshcf4507c2017-10-26 04:13:50 -0500363 # Fetch processor chip IDs.
364 ${proc_chip_id}= Get ProcChipId From OS Processor ${master_proc_chip}
365 # Example output:
366 # 00000000
367
368 ${core_ids}= Get Core IDs From OS ${proc_chip_id[-1]}
369 # Example output:
370 #./probe_cpus.sh | grep 'CHIP ID: 0' | cut -c21-22
371 # ['14', '15', '16', '17']
372
Sridevi Ramesh0d88ab32017-09-21 11:07:28 -0500373 # Ignoring master core ID.
374 ${output}= Get Slice From List ${core_ids} 1
375 # Feth random non-master core ID.
376 ${core_ids_sub_list}= Evaluate random.sample(${core_ids}, 1) random
377 ${core_id}= Get From List ${core_ids_sub_list} 0
378 ${translated_fir_addr}= FIR Address Translation Through HOST
379 ... ${fir} ${core_id} ${target_type}
380
381 [Return] ${translated_fir_addr}
Sridevi Rameshb180c9f2017-08-06 10:27:41 -0500382
383RAS Test SetUp
384 [Documentation] Validates input parameters.
385
386 Should Not Be Empty
387 ... ${OS_HOST} msg=You must provide DNS name/IP of the OS host.
388 Should Not Be Empty
389 ... ${OS_USERNAME} msg=You must provide OS host user name.
390 Should Not Be Empty
391 ... ${OS_PASSWORD} msg=You must provide OS host user password.
392
393 # Boot to OS.
Sridevi Ramesh6bd6b4c2017-10-10 04:38:30 -0500394 REST Power On quiet=${1}
Sridevi Ramesh4436af12017-10-30 04:19:41 -0500395 # Adding delay after host bring up.
Sridevi Ramesh0d88ab32017-09-21 11:07:28 -0500396 Sleep 60s
Sridevi Rameshb180c9f2017-08-06 10:27:41 -0500397
398RAS Suite Setup
399 [Documentation] Create RAS log directory to store all RAS test logs.
400
401 ${RAS_LOG_DIR_PATH}= Catenate ${EXECDIR}/RAS_logs/
402 Set Suite Variable ${RAS_LOG_DIR_PATH}
Sridevi Rameshb6d7b7e2017-11-07 03:49:52 -0600403 Set Suite Variable ${master_proc_chip} False
404
Sridevi Rameshb180c9f2017-08-06 10:27:41 -0500405 Create Directory ${RAS_LOG_DIR_PATH}
406 OperatingSystem.Directory Should Exist ${RAS_LOG_DIR_PATH}
407 Empty Directory ${RAS_LOG_DIR_PATH}
408
Sridevi Ramesh4436af12017-10-30 04:19:41 -0500409 # Boot to Os.
410 REST Power On quiet=${1}
411
Sridevi Rameshb180c9f2017-08-06 10:27:41 -0500412RAS Suite Cleanup
413 [Documentation] Perform RAS suite cleanup and verify that host
414 ... boots after test suite run.
415
416 # Boot to OS.
Sridevi Ramesh6bd6b4c2017-10-10 04:38:30 -0500417 REST Power On quiet=${1}
Sridevi Rameshb180c9f2017-08-06 10:27:41 -0500418 Delete Error Logs
Sridevi Rameshb180c9f2017-08-06 10:27:41 -0500419 Gard Operations On OS clear all