blob: 7e3a168ed857a0f3e0811bed94c1e4e4de543d8d [file] [log] [blame]
Sweta Potthuri025e0122017-02-21 00:42:48 -06001*** Settings ***
2Documentation Basic BMC Linux kernel stability test.
3
4Resource ../lib/utils.robot
5Resource ../lib/connection_client.robot
6Resource ../lib/openbmc_ffdc.robot
7Resource ../lib/state_manager.robot
8
9Suite Setup Open Connection And Log In
10Suite Teardown Close All Connections
11
12# TODO: Collect proc data from system as part of FFDC
13# Refer openbmc/openbmc-test-automation#353
14Test Teardown FFDC On Test Case Fail
15
16*** Variables ***
17
18
19*** Test Cases ***
20
21Verify 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
Rahul Maheshwaria8f2b5e2017-08-23 04:38:43 -050027 Wait Until Keyword Succeeds 10 min 10 sec Is BMC Ready
28
Sweta Potthuri025e0122017-02-21 00:42:48 -060029 ${boot_count}= Get BMC Boot Count
30 Should Be Equal ${boot_count} ${1}
31 ... msg=Boot count is not incremented.