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 | |
George Keishing | df11bfd | 2017-09-05 01:15:38 -0500 | [diff] [blame] | 21 | File System Read Only |
| 22 | [Documentation] Verify that file system is read-only. |
| 23 | [Tags] File_System_Read_Only |
| 24 | ${output} ${stderr} ${rc}= |
| 25 | ... BMC Execute Command touch cold-play.txt ignore_err=${1} |
| 26 | Should Contain ${stderr} Read-only file system |
| 27 | |
| 28 | |
Sweta Potthuri | 025e012 | 2017-02-21 00:42:48 -0600 | [diff] [blame] | 29 | Verify Boot Count After BMC Reboot |
| 30 | [Documentation] Verify boot count increments on BMC reboot. |
| 31 | [Tags] Verify_Boot_Count_After_BMC_Reboot |
| 32 | |
| 33 | Set BMC Boot Count ${0} |
| 34 | Initiate BMC Reboot |
Rahul Maheshwari | a8f2b5e | 2017-08-23 04:38:43 -0500 | [diff] [blame] | 35 | Wait Until Keyword Succeeds 10 min 10 sec Is BMC Ready |
| 36 | |
Sweta Potthuri | 025e012 | 2017-02-21 00:42:48 -0600 | [diff] [blame] | 37 | ${boot_count}= Get BMC Boot Count |
| 38 | Should Be Equal ${boot_count} ${1} |
| 39 | ... msg=Boot count is not incremented. |