blob: 4c39ab0900aab6f438f7e87d2fea5f2504cd55d6 [file] [log] [blame]
George Keishingef97f3f2017-11-15 10:32:59 -06001*** Settings ***
2Documentation This suite is for disable field mode if enabled.
3
4Resource ../lib/code_update_utils.robot
George Keishing97db7082017-12-08 01:31:30 -06005Resource ../lib/openbmc_ffdc.robot
George Keishing91843f92018-03-26 12:49:36 -05006Resource ../lib/dump_utils.robot
George Keishingef97f3f2017-11-15 10:32:59 -06007
George Keishing97db7082017-12-08 01:31:30 -06008Test Teardown FFDC On Test Case Fail
George Keishingef97f3f2017-11-15 10:32:59 -06009
10*** Test Cases ***
11
12Verify Field Mode Is Disable
13 [Documentation] Disable software manager field mode.
George Keishing36591952018-09-22 11:23:00 -050014 [Tags] Verify_Field_Mode_Is_Disable
George Keishingef97f3f2017-11-15 10:32:59 -060015
George Keishing97db7082017-12-08 01:31:30 -060016 # 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 Keishingef97f3f2017-11-15 10:32:59 -060019 Disable Field Mode And Verify Unmount
George Keishing91843f92018-03-26 12:49:36 -050020
21
22Verify No BMC Dump
23 [Documentation] Verify no BMC dump exist.
24 [Tags] Verify_No_BMC_Dump
25
George Keishing8d693382018-12-18 12:15:04 -060026 ${resp}= OpenBMC Get Request ${DUMP_ENTRY_URI}list
George Keishing91843f92018-03-26 12:49:36 -050027 Should Be Equal As Strings ${resp.status_code} ${HTTP_NOT_FOUND}
28 ... msg=BMC dump(s) were not deleted as expected.