Sweta Potthuri | 025e012 | 2017-02-21 00:42:48 -0600 | [diff] [blame] | 1 | *** Settings *** |
| 2 | Documentation Basic BMC Linux kernel stability test. |
| 3 | |
| 4 | Resource ../lib/utils.robot |
| 5 | Resource ../lib/connection_client.robot |
| 6 | Resource ../lib/openbmc_ffdc.robot |
| 7 | Resource ../lib/state_manager.robot |
| 8 | |
| 9 | Suite Setup Open Connection And Log In |
| 10 | Suite Teardown Close All Connections |
| 11 | |
| 12 | # TODO: Collect proc data from system as part of FFDC |
| 13 | # Refer openbmc/openbmc-test-automation#353 |
| 14 | Test Teardown FFDC On Test Case Fail |
| 15 | |
| 16 | *** Variables *** |
| 17 | |
| 18 | |
| 19 | *** Test Cases *** |
| 20 | |
| 21 | Verify Boot Count After BMC Reboot |
| 22 | [Documentation] Verify boot count increments on BMC reboot. |
| 23 | [Tags] Verify_Boot_Count_After_BMC_Reboot |
| 24 | |
| 25 | Set BMC Boot Count ${0} |
| 26 | Initiate BMC Reboot |
| 27 | ${boot_count}= Get BMC Boot Count |
| 28 | Should Be Equal ${boot_count} ${1} |
| 29 | ... msg=Boot count is not incremented. |