[autotest] Disable _powercycle_to_repair for servo host
Due to bug 336606, servo is not able to be repaired by power cycle through POE.
So remove _powercycle_to_repair from the repair function in servo host for now
until that bug is fixed.
BUG=chromium:345475
TEST=None
Change-Id: I5ca1692f626fa56c1227fb3edba360f6c7fdbc64
Reviewed-on: https://chromium-review.googlesource.com/187318
Tested-by: Dan Shi <dshi@chromium.org>
Reviewed-by: Richard Barnette <jrbarnette@chromium.org>
Commit-Queue: Dan Shi <dshi@chromium.org>
diff --git a/server/hosts/servo_host.py b/server/hosts/servo_host.py
index 1cfafeb..20eaae7 100644
--- a/server/hosts/servo_host.py
+++ b/server/hosts/servo_host.py
@@ -500,8 +500,9 @@
self.hostname)
return
logging.info('Attempting to repair servo host %s.', self.hostname)
- repair_funcs = [self._repair_with_sysrq_reboot,
- self._powercycle_to_repair]
+ # TODO(dshi): add self._powercycle_to_repair back to repair_funcs
+ # after crbug.com/336606 is fixed.
+ repair_funcs = [self._repair_with_sysrq_reboot,]
errors = []
for repair_func in repair_funcs:
counter_prefix = 'servo_host_repair.%s.' % repair_func.__name__