Charles Paul Hofer | e0e1780 | 2017-09-21 09:19:33 -0500 | [diff] [blame^] | 1 | *** Settings *** |
| 2 | Documentation Test errors and changes in the environment that BMC code |
| 3 | ... update should recover from or not be effected by. |
| 4 | |
| 5 | Resource ../../lib/code_update_utils.robot |
| 6 | Resource ../../lib/openbmc_ffdc.robot |
| 7 | |
| 8 | Suite Setup Suite Setup Execution |
| 9 | |
| 10 | Test Teardown FFDC On Test Case Fail |
| 11 | |
| 12 | *** Variables *** |
| 13 | ${QUIET} ${1} |
| 14 | ${IMAGE_FILE_PATH} ${EMPTY} |
| 15 | |
| 16 | *** Test Cases *** |
| 17 | |
| 18 | Reset Network During Host Code Update |
| 19 | [Documentation] Disable and re-enable the network while doing a PNOR |
| 20 | ... code update. |
| 21 | [Tags] Reset_Network_During_Host_Code_Update |
| 22 | [Template] Reset Network During Code Update |
| 23 | |
| 24 | # Image File Path Reboot |
| 25 | ${IMAGE_FILE_PATH} ${FALSE} |
| 26 | |
| 27 | |
| 28 | *** Keywords *** |
| 29 | |
| 30 | Suite 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. |