Steven Sombar | 6b28014 | 2018-02-12 10:45:13 -0600 | [diff] [blame] | 1 | *** Settings *** |
| 2 | |
| 3 | Documentation Fan checks. |
| 4 | |
| 5 | # Test Parameters: |
| 6 | # OPENBMC_HOST The BMC host name or IP address. |
| 7 | # OPENBMC_USERNAME The userID for the BMC login. |
| 8 | # OPENBMC_PASSWORD The password for OPENBMC_USERNAME. |
| 9 | # |
| 10 | # Approximate run time: 15 seconds. |
| 11 | |
| 12 | Resource ../lib/state_manager.robot |
| 13 | Resource ../lib/fan_utils.robot |
| 14 | Resource ../lib/openbmc_ffdc.robot |
| 15 | |
| 16 | Test Teardown FFDC On Test Case Fail |
| 17 | |
| 18 | |
| 19 | *** Test Cases *** |
| 20 | |
| 21 | Fan Base Check Number Of Fans |
| 22 | [Documentation] Verify minimum number of fans. |
| 23 | [Tags] Fan_Base_Check_Number_Of_Fans |
| 24 | |
| 25 | # Determine if system is water cooled. |
| 26 | ${water_coooled}= Is Water Cooled |
| 27 | |
| 28 | Verify Minimum Number Of Fans With Cooling Type ${water_coooled} |
| 29 | |
| 30 | |
| 31 | Fan Base Check Number Of Fan Monitors |
| 32 | [Documentation] Verify number of fan monitor daemons. |
| 33 | [Tags] Fan_Base_Check_Number_Of_Fan_Monitors |
| 34 | |
| 35 | ${power_state}= Get Chassis Power State |
| 36 | Verify Fan Monitors With State ${power_state} |