Lines Matching +full:run +full:- +full:control
74 Run Keyword If
80 [Documentation] Set the fan state, either functional or non-functional.
85 # fan_state The state to set, 1 for functional, 2 for non-functional.
114 ${max_target}= Run Keyword If ${target_speed} > ${max_target}
122 ... fan's clockwise blade, and the speed of the counter-clockwise blade.
123 # Each fan unit has two counter-rotating fan blades
137 # Get the counter-clockwise blade speed.
156 ${blade_speed}= Run Keyword If
164 [Documentation] Set the state of the fan control service.
171 ${cmd}= Catenate systemctl ${state} phosphor-fan-control@0.service
195 Run Keyword If ${water_cooled} == 1 and ${num_fans} < ${min_fans_water}
200 Run Keyword If ${water_cooled} == 0 and ${num_fans} < ${min_fans_air}
215 ${cmd}= Catenate systemctl list-units | grep phosphor-fan | wc -l
221 Run Keyword If '${power_state}' == 'On' and ${num_fan_daemons} == 0
222 ... Fail msg=No phosphor-fan monitors found at power on.
225 Run Keyword If '${power_state}' == 'Off' and ${num_fan_daemons} != 0
226 ... Fail msg=Phosphor-fan monitors found at power off.
277 ${min_limit}= Evaluate ${target_speed}-${tolerance_value}
278 Run Keyword If
283 Verify Direct Fan Control
284 [Documentation] Verify direct control of fans.
289 # Turn off BMC's fan control daemon, then test to confirm
316 Run Key U Sleep \ 60s
320 Run Keyword If
329 ... grep -ir max31785a /sys/class/hwmon/hwmon* | grep name
337 # Run the BMC command which gets fan speeds from the file system.
348 ${count}= Run Keyword If ${speed} > ${min_speed}
351 # equual to 2*${number_of_fans}. On water-cooled systems some
355 ${fail_test}= Evaluate (2*${number_of_fans})-${count}
357 # Re-enable the fan daemon
360 Run Keyword If ${fail_test} > ${0} Fail
363 # Wait for the daemon to take control and gracefully set fan speeds
368 Run Key U Sleep \ ${minutes_to_stabilize}m
374 # A non-functional fan should cause an error log and
394 ${expect_increase}= Run Keyword If
400 Run Key U Sleep \ ${system_response_time}
402 # A heavily loaded system may have powered-off.
405 Run Keyword If 'Running' != '${host_state}' Pass Execution
413 Run Keyword If
428 # Set fans to be non-functional.
433 # System should notice the non-functional fans and power-off.
434 # The Wait For PowerOff keyword will time-out and report