blob: 5cd08adf81fa431ad19d0661a77c1914e0214e52 [file] [log] [blame]
Charles Paul Hofere0e17802017-09-21 09:19:33 -05001*** Settings ***
2Documentation Test errors and changes in the environment that BMC code
3... update should recover from or not be effected by.
4
5Resource ../../lib/code_update_utils.robot
6Resource ../../lib/openbmc_ffdc.robot
7
8Suite Setup Suite Setup Execution
9
10Test Teardown FFDC On Test Case Fail
11
12*** Variables ***
13${QUIET} ${1}
14${IMAGE_FILE_PATH} ${EMPTY}
15
16*** Test Cases ***
17
18Reset Network During BMC Code Update
19 [Documentation] Disable and re-enable the network while doing a BMC
20 ... code update.
21 [Tags] Reset_Network_During_BMC_Code_Update
Charles Paul Hofer6cd4d892017-10-12 15:13:36 -050022 [Template] Reset Network Interface During Code Update
Charles Paul Hofere0e17802017-09-21 09:19:33 -050023
24 # Image File Path Reboot
25 ${IMAGE_FILE_PATH} ${TRUE}
26
27
28*** Keywords ***
29
30Suite Setup Execution
31 [Documentation] Do setup tasks for recoverable errors.
32
33 Should Not Be Empty ${IMAGE_FILE_PATH}
34 ... msg=IMAGE_FILE_PATH should be set.
35 Should Not Be Empty ${OPENBMC_SERIAL_HOST}
36 ... msg=OPENBMC_SERIAL_HOST should be set.
37 Should Not Be Empty ${OPENBMC_SERIAL_PORT}
38 ... msg=OPENBMC_SERIAL_PORT should be set.