George Keishing | ef97f3f | 2017-11-15 10:32:59 -0600 | [diff] [blame] | 1 | *** Settings *** |
| 2 | Documentation This suite is for disable field mode if enabled. |
| 3 | |
| 4 | Resource ../lib/code_update_utils.robot |
George Keishing | 97db708 | 2017-12-08 01:31:30 -0600 | [diff] [blame] | 5 | Resource ../lib/openbmc_ffdc.robot |
George Keishing | 91843f9 | 2018-03-26 12:49:36 -0500 | [diff] [blame] | 6 | Resource ../lib/dump_utils.robot |
George Keishing | ef97f3f | 2017-11-15 10:32:59 -0600 | [diff] [blame] | 7 | |
George Keishing | 97db708 | 2017-12-08 01:31:30 -0600 | [diff] [blame] | 8 | Test Teardown FFDC On Test Case Fail |
George Keishing | ef97f3f | 2017-11-15 10:32:59 -0600 | [diff] [blame] | 9 | |
| 10 | *** Test Cases *** |
| 11 | |
| 12 | Verify Field Mode Is Disable |
| 13 | [Documentation] Disable software manager field mode. |
George Keishing | 3659195 | 2018-09-22 11:23:00 -0500 | [diff] [blame] | 14 | [Tags] Verify_Field_Mode_Is_Disable |
George Keishing | ef97f3f | 2017-11-15 10:32:59 -0600 | [diff] [blame] | 15 | |
George Keishing | 97db708 | 2017-12-08 01:31:30 -0600 | [diff] [blame] | 16 | # Field mode is enabled before running CT. |
| 17 | # It is to ensure that the setting is not changed during CT |
| 18 | Field Mode Should Be Enabled |
George Keishing | ef97f3f | 2017-11-15 10:32:59 -0600 | [diff] [blame] | 19 | Disable Field Mode And Verify Unmount |
George Keishing | 91843f9 | 2018-03-26 12:49:36 -0500 | [diff] [blame] | 20 | |
| 21 | |
| 22 | Verify No BMC Dump |
| 23 | [Documentation] Verify no BMC dump exist. |
| 24 | [Tags] Verify_No_BMC_Dump |
| 25 | |
George Keishing | 8d69338 | 2018-12-18 12:15:04 -0600 | [diff] [blame] | 26 | ${resp}= OpenBMC Get Request ${DUMP_ENTRY_URI}list |
George Keishing | 91843f9 | 2018-03-26 12:49:36 -0500 | [diff] [blame] | 27 | Should Be Equal As Strings ${resp.status_code} ${HTTP_NOT_FOUND} |
| 28 | ... msg=BMC dump(s) were not deleted as expected. |