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 | |
Charles Paul Hofer | e09408d | 2017-10-02 14:42:38 -0500 | [diff] [blame] | 10 | Test Setup Test Setup Execution |
Charles Paul Hofer | e0e1780 | 2017-09-21 09:19:33 -0500 | [diff] [blame] | 11 | Test Teardown FFDC On Test Case Fail |
| 12 | |
| 13 | *** Variables *** |
Charles Paul Hofer | e09408d | 2017-10-02 14:42:38 -0500 | [diff] [blame] | 14 | |
Charles Paul Hofer | e0e1780 | 2017-09-21 09:19:33 -0500 | [diff] [blame] | 15 | ${QUIET} ${1} |
| 16 | ${IMAGE_FILE_PATH} ${EMPTY} |
| 17 | |
| 18 | *** Test Cases *** |
| 19 | |
| 20 | Reset Network During Host Code Update |
| 21 | [Documentation] Disable and re-enable the network while doing a PNOR |
| 22 | ... code update. |
| 23 | [Tags] Reset_Network_During_Host_Code_Update |
Charles Paul Hofer | 6cd4d89 | 2017-10-12 15:13:36 -0500 | [diff] [blame] | 24 | [Template] Reset Network Interface During Code Update |
Charles Paul Hofer | e0e1780 | 2017-09-21 09:19:33 -0500 | [diff] [blame] | 25 | |
| 26 | # Image File Path Reboot |
| 27 | ${IMAGE_FILE_PATH} ${FALSE} |
| 28 | |
| 29 | |
Charles Paul Hofer | e09408d | 2017-10-02 14:42:38 -0500 | [diff] [blame] | 30 | Reboot BMC During Host Code Update |
| 31 | [Documentation] Attempt to reboot the BMC while an image is activating, |
| 32 | ... checking that the reboot has no effect. |
| 33 | [Tags] Reboot_BMC_During_Host_Code_Update |
| 34 | |
| 35 | Attempt To Reboot BMC During Image Activation ${IMAGE_FILE_PATH} |
| 36 | OBMC Reboot (off) |
| 37 | |
| 38 | |
Charles Paul Hofer | e0e1780 | 2017-09-21 09:19:33 -0500 | [diff] [blame] | 39 | *** Keywords *** |
| 40 | |
| 41 | Suite Setup Execution |
| 42 | [Documentation] Do setup tasks for recoverable errors. |
| 43 | |
| 44 | Should Not Be Empty ${IMAGE_FILE_PATH} |
| 45 | ... msg=IMAGE_FILE_PATH should be set. |
| 46 | Should Not Be Empty ${OPENBMC_SERIAL_HOST} |
| 47 | ... msg=OPENBMC_SERIAL_HOST should be set. |
| 48 | Should Not Be Empty ${OPENBMC_SERIAL_PORT} |
| 49 | ... msg=OPENBMC_SERIAL_PORT should be set. |
Charles Paul Hofer | e09408d | 2017-10-02 14:42:38 -0500 | [diff] [blame] | 50 | |
| 51 | |
| 52 | Test Setup Execution |
| 53 | [Documentation] Do setup tasks for every test case. |
| 54 | |
| 55 | Delete All PNOR Images |