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