Lines Matching full:hosts
19 from autotest_lib.client.common_lib import hosts
31 from autotest_lib.server.hosts import cros_constants
32 from autotest_lib.server.hosts import cros_firmware
33 from autotest_lib.server.hosts import repair_utils
130 class ACPowerVerifier(hosts.Verifier):
150 raise hosts.AutoservVerifyError(
158 raise hosts.AutoservVerifyError(
161 raise hosts.AutoservVerifyError(
222 raise hosts.AutoservVerifyError(
236 class ProvisioningLabelsVerifier(hosts.Verifier):
265 raise hosts.AutoservVerifyError('ChromeOS image on the host'
278 raise hosts.AutoservVerifyError('ChromeOS image on the host'
288 class WritableVerifier(hosts.Verifier):
320 raise hosts.AutoservVerifyError(msg)
328 class EXT4fsErrorVerifier(hosts.Verifier):
345 raise hosts.AutoservVerifyError(message)
351 raise hosts.AutoservVerifyError(message)
361 class UpdateSuccessVerifier(hosts.Verifier):
381 raise hosts.AutoservVerifyError(
390 class TPMStatusVerifier(hosts.Verifier):
404 except hosts.AutoservVerifyError:
410 raise hosts.AutoservVerifyError(
413 raise hosts.AutoservVerifyError('Cannot load the TPM SRK')
424 class PythonVerifier(hosts.Verifier):
439 raise hosts.AutoservVerifyError(message)
447 class DevModeVerifier(hosts.Verifier):
461 raise hosts.AutoservVerifyError('The host is in dev mode')
469 class DevDefaultBootVerifier(hosts.Verifier):
478 raise hosts.AutoservVerifyError(
488 class HWIDVerifier(hosts.Verifier):
513 raise hosts.AutoservVerifyError(
577 class EnrollmentStateVerifier(hosts.Verifier):
610 raise hosts.AutoservNonCriticalVerifyError('The device is enrolled,'
638 class FirmwareTpmVerifier(hosts.Verifier):
658 raise hosts.AutoservNonCriticalVerifyError(
661 raise hosts.AutoservNonCriticalVerifyError(
676 class JetstreamTpmVerifier(hosts.Verifier):
686 raise hosts.AutoservVerifyError('TPM is not enabled')
688 raise hosts.AutoservVerifyError('TPM is not owned')
690 raise hosts.AutoservVerifyError('TPM cannot load SRK')
692 raise hosts.AutoservVerifyError('TPM cannot load SRK pubkey')
698 raise hosts.AutoservVerifyError('TPM is not ready')
700 raise hosts.AutoservVerifyError(
709 class JetstreamAttestationVerifier(hosts.Verifier):
720 raise hosts.AutoservVerifyError(
725 raise hosts.AutoservVerifyError(
728 raise hosts.AutoservVerifyError(
737 class JetstreamServicesVerifier(hosts.Verifier):
748 raise hosts.AutoservVerifyError(
757 class StopStartUIVerifier(hosts.Verifier):
771 raise hosts.AutoservVerifyError(
779 class GscToolPresentVerifier(hosts.Verifier):
793 raise hosts.AutoservNonCriticalVerifyError(
809 class ServoUSBDriveVerifier(hosts.Verifier):
822 except hosts.AutoservRepairError as e:
830 raise hosts.AutoservNonCriticalVerifyError(
841 # raise hosts.AutoservNonCriticalVerifyError(
860 class DUTStorageVerifier(hosts.Verifier):
875 raise hosts.AutoservNonCriticalVerifyError(
886 class AuditBattery(hosts.Verifier):
904 raise hosts.AutoservNonCriticalVerifyError(
923 class ServoKeyboardMapVerifier(hosts.Verifier):
937 raise hosts.AutoservNonCriticalVerifyError(
950 class ServoMacAddressVerifier(hosts.Verifier):
964 raise hosts.AutoservNonCriticalVerifyError(
977 class _ResetRepairAction(hosts.RepairAction):
991 if host.get_verifier_state('ssh') == hosts.VERIFY_SUCCESS:
1007 raise hosts.AutoservRepairError(
1032 raise hosts.AutoservRepairError(
1098 class DevDefaultBootRepair(hosts.RepairAction):
1132 class ProvisioningLabelsRepair(hosts.RepairAction):
1149 class EnrollmentCleanupRepair(hosts.RepairAction):
1172 class ProvisionRepair(hosts.RepairAction):
1219 class ServoInstallRepair(hosts.RepairAction):
1474 raise hosts.AutoservRepairError(
1491 raise hosts.AutoservRepairError(
1518 class JetstreamTpmRepair(hosts.RepairAction):
1537 class JetstreamServiceRepair(hosts.RepairAction):
1765 return hosts.RepairStrategy(verify_dag, repair_actions, 'cros')
1812 return hosts.RepairStrategy(verify_dag, repair_actions, 'moblab')
1859 return hosts.RepairStrategy(verify_dag, repair_actions, 'jetstream')
1867 @param host: a hosts.Host object.
1907 @param host: a hosts.Host object.
1911 @raises hosts.AutoservRunError: if the cryptohome command failed.
1929 raise hosts.AutoservVerifyError('TPM status is missing')
1932 raise hosts.AutoservVerifyError('Unable to parse cryptohome status')