Lines Matching full:hosts
18 from autotest_lib.client.common_lib import hosts
21 from autotest_lib.server.hosts import cros_constants
22 from autotest_lib.server.hosts import repair_utils
23 from autotest_lib.server.hosts import servo_constants
57 class _UpdateVerifier(hosts.Verifier):
84 six.reraise(hosts.AutoservNonCriticalVerifyError,
85 hosts.AutoservNonCriticalVerifyError(e),
100 class _StartServodVerifier(hosts.Verifier):
121 class _RootServoPresentVerifier(hosts.Verifier):
151 raise hosts.AutoservVerifyError('Serial mismatch detected')
155 raise hosts.AutoservVerifyError('Root servo not found!')
172 class _RootServoV3PresentVerifier(hosts.Verifier):
183 raise hosts.AutoservVerifyError('Servo board not found!')
187 raise hosts.AutoservVerifyError('Fail to find servo board!')
205 class _ServoFwVerifier(hosts.Verifier):
212 raise hosts.AutoservVerifyError(
237 class _ConfigVerifier(hosts.Verifier):
281 raise hosts.AutoservVerifyError(
285 raise hosts.AutoservVerifyError(
325 # Not all servo hosts will have a servo serial so don't verify if it's
332 raise hosts.AutoservVerifyError(
371 raise hosts.AutoservVerifyError(msg)
377 class _ServodJobVerifier(hosts.Verifier):
389 raise hosts.AutoservVerifyError(
398 class _ServodEchoVerifier(hosts.Verifier):
416 raise hosts.AutoservVerifyError(
425 raise hosts.AutoservVerifyError(
434 class _DiskSpaceVerifier(hosts.Verifier):
455 class _ServodConnectionVerifier(hosts.Verifier):
473 class _ServodControlVerifier(hosts.Verifier):
491 six.reraise(hosts.AutoservNonCriticalVerifyError,
492 hosts.AutoservNonCriticalVerifyError(e),
500 class _Cr50ConsoleVerifier(hosts.Verifier):
522 six.reraise(hosts.AutoservNonCriticalVerifyError,
523 hosts.AutoservNonCriticalVerifyError(e),
536 class _CCDTestlabVerifier(hosts.Verifier):
549 raise hosts.AutoservVerifyError(
562 raise hosts.AutoservNonCriticalVerifyError(
575 class _CCDPowerDeliveryVerifier(hosts.Verifier):
590 raise hosts.AutoservNonCriticalVerifyError(
606 class _BaseDUTConnectionVerifier(hosts.Verifier):
708 raise hosts.AutoservVerifyError(
713 raise hosts.AutoservVerifyError(
717 raise hosts.AutoservVerifyError(
738 raise hosts.AutoservVerifyError(
820 raise hosts.AutoservVerifyError(
842 raise hosts.AutoservVerifyError(
851 class _TopologyVerifier(hosts.Verifier):
868 six.reraise(hosts.AutoservVerifyError,
869 hosts.AutoservVerifyError(e),
888 class _PowerButtonVerifier(hosts.Verifier):
908 six.reraise(hosts.AutoservNonCriticalVerifyError,
909 hosts.AutoservNonCriticalVerifyError(e),
913 raise hosts.AutoservNonCriticalVerifyError(
924 class _BatteryVerifier(hosts.Verifier):
981 class _LidVerifier(hosts.Verifier):
992 six.reraise(hosts.AutoservNonCriticalVerifyError,
993 hosts.AutoservNonCriticalVerifyError(e),
997 raise hosts.AutoservNonCriticalVerifyError(
1005 class ECConsoleVerifier(hosts.Verifier):
1034 raise hosts.AutoservNonCriticalVerifyError(
1043 class ServodDutControllerMissingVerifier(hosts.Verifier):
1057 raise hosts.AutoservVerifyError('Servod is missing dut controller')
1093 class _RestartServod(hosts.RepairAction):
1101 raise hosts.AutoservRepairError(
1146 class _ToggleCCLineRepair(hosts.RepairAction):
1204 class _FakedisconnectRepair(hosts.RepairAction):
1259 class _PowerDeliveryRepair(hosts.RepairAction):
1288 raise hosts.AutoservNonCriticalVerifyError(
1304 class _ECRebootRepair(hosts.RepairAction):
1321 class _DutRebootRepair(hosts.RepairAction):
1336 raise hosts.AutoservVerifyError(
1344 class _DiskCleanupRepair(hosts.RepairAction):
1375 class _ServoFwUpdateRepair(hosts.RepairAction):
1391 raise hosts.AutoservVerifyError('ServoUpdater issue detected')
1402 class _ServoMicroFlashRepair(hosts.RepairAction):
1411 raise hosts.AutoservRepairError(
1427 raise hosts.AutoservVerifyError(
1551 return hosts.RepairStrategy(_servo_verifier_actions(),