blob: c13a3c178c4fa9cdb4aec410a668777169e5afb1 [file] [log] [blame]
George Keishing3df030f2017-12-09 13:24:41 -06001*** Settings ***
2Documentation Test suite to verify if the Robot setup is ready for use.
3
Sandhya Somashekar839a0c22019-01-31 05:05:43 -06004Resource ../lib/resource.robot
George Keishing3df030f2017-12-09 13:24:41 -06005Resource ../lib/connection_client.robot
6Resource ../lib/ipmi_client.robot
Steven Chod1d7ebd2024-03-29 17:40:55 +08007Resource ../lib/bmc_redfish_resource.robot
George Keishing3df030f2017-12-09 13:24:41 -06008
George Keishing66634a82023-12-12 10:27:25 +05309Force Tags Openbmc_Setup
10
Steven Chod1d7ebd2024-03-29 17:40:55 +080011*** Variables ***
George Keishing66634a82023-12-12 10:27:25 +053012
13${REDFISH_SUPPORT_TRANS_STATE} ${1}
14
George Keishing3df030f2017-12-09 13:24:41 -060015*** Test Cases ***
16
George Keishing998c16c2019-12-11 11:22:58 -060017Test Redfish Setup
18 [Documentation] Verify Redfish works.
George Keishing66634a82023-12-12 10:27:25 +053019 [Tags] Test_Redfish_Setup
George Keishing5ad0b022022-03-10 02:43:30 -060020
George Keishing998c16c2019-12-11 11:22:58 -060021 Redfish.Login
22 Redfish.Get /redfish/v1/
23 Redfish.Logout
24
25
George Keishing998c16c2019-12-11 11:22:58 -060026Test SSH Setup
27 [Documentation] Verify SSH works.
George Keishing66634a82023-12-12 10:27:25 +053028 [Tags] Test_SSH_Setup
George Keishing3df030f2017-12-09 13:24:41 -060029
Utpal Patel9a59df72023-03-21 12:43:58 -040030 ${stdout} ${stderr} ${rc}= BMC Execute Command uname -a print_out=1 print_err=1
31 IF ${rc}
32 Fail BMC SSH login failed.
33 END
George Keishing3df030f2017-12-09 13:24:41 -060034
George Keishing998c16c2019-12-11 11:22:58 -060035
36Test IPMI Setup
37 [Documentation] Verify Out-of-band works.
George Keishing66634a82023-12-12 10:27:25 +053038 [Tags] Test_IPMI_Setup
George Keishing998c16c2019-12-11 11:22:58 -060039
George Keishing3df030f2017-12-09 13:24:41 -060040 ${chassis_status}= Run IPMI Standard Command chassis status
41 Log To Console \n ${chassis_status}