Searched refs:repair (Results 1 - 25 of 27) sorted by relevance

12

/external/autotest/client/common_lib/hosts/
H A D__init__.py11 from repair import *
H A Drepair.py6 Framework for host verification and repair in Autotest.
9 and `Host.repair()` used in Verify and Repair special tasks.
13 * `RepairAction`: A class representing a repair operation that can fix
18 Individual operations during verification and repair are handled by
115 Instances of this exception can be raised when a `repair()`
125 Both repair and verify operations have the notion of dependencies
356 repair actions. If two different failures can require two
380 Abstract class embodying one repair procedure.
385 Each repair action includes one or more verifier triggers that
386 determine when the repair actio
482 def repair(self, host): member in class:RepairAction
688 def repair(self, host, silent=False): member in class:RepairStrategy
[all...]
H A Drepair_unittest.py5 """Unit tests for the `repair` module."""
13 from autotest_lib.client.common_lib.hosts import repair namespace
80 @property _fail_count The number of repair attempts required
142 """Exception to be raised by `_StubRepairAction.repair()`."""
150 designed to allow calling unit tests control over whether repair
153 The behavior of `repair()` depends on the `_success` property of a
154 `_StubRepairAction`. When the property is true, repair will call
156 property is false, repair reports failure.
159 `repair()` method.
160 @property message If repair fail
189 def repair(self, host): member in class:_StubRepairAction
[all...]
H A Dbase_classes.py60 # the number of hardware repair requests that need to happen before we
61 # actually send machines to hardware repair
397 def repair(self): member in class:Host
/external/autotest/server/hosts/
H A Dcros_repair_unittest.py11 from autotest_lib.server.hosts import repair namespace
15 (repair.SshVerifier, 'ssh', ()),
25 (repair.LegacyHostVerifier, 'cros', ('ssh',)),
29 (repair.RPMCycleRepair, 'rpm', (), ('ssh', 'power',)),
52 (repair.SshVerifier, 'ssh', ()),
56 (repair.LegacyHostVerifier, 'cros', ('ssh',)),
60 (repair.RPMCycleRepair, 'rpm', (), ('ssh', 'power',)),
66 (repair.SshVerifier, 'ssh', ()),
76 (repair.LegacyHostVerifier, 'cros', ('ssh',)),
81 (repair
[all...]
H A Dcros_repair.py17 from autotest_lib.server.hosts import repair namespace
39 # Triggers for the 'au', 'powerwash', and 'usb' repair actions.
40 # These are also used as dependencies in the `CrosHost` repair
59 # reinstall repair actions, too.
61 # TODO(jrbarnette): AU repair can't fix all problems reported by
76 # ignoring failures. The repair triggers believe that this
333 def repair(self, host): member in class:ServoSysRqRepair
367 def repair(self, host): member in class:ServoResetRepair
387 class CrosRebootRepair(repair.RebootRepair):
390 def repair(sel member in class:CrosRebootRepair
410 def repair(self, host): member in class:AutoUpdateRepair
426 def repair(self, host): member in class:PowerWashRepair
445 def repair(self, host): member in class:ServoInstallRepair
459 def repair(self, host): member in class:JetstreamRepair
[all...]
H A Drepair.py51 repair and verify framework.
67 def repair(self, host): member in class:RebootRepair
85 repair procedures.
88 def repair(self, host): member in class:RPMCycleRepair
H A Dservo_repair.py11 from autotest_lib.server.hosts import repair namespace
262 def repair(self, host): member in class:_RestartServod
298 class _ServoRebootRepair(repair.RebootRepair):
300 Reboot repair action that also waits for an update.
308 def repair(self, host): member in class:_ServoRebootRepair
318 super(_ServoRebootRepair, self).repair(host)
331 (repair.SshVerifier, 'servo_ssh', []),
351 (repair.RPMCycleRepair, 'rpm', [], ['servo_ssh']),
H A Dcros_firmware.py8 This contains the repair actions and verifiers need to find problems
32 from all of the verification and repair code in this module.
63 Check if a host supports firmware repair.
140 This repair function attempts to use servo to install the DUT's
143 This repair method only applies to DUTs used for FAFT.
146 def repair(self, host): member in class:FirmwareRepair
149 'Firmware repair is not applicable to host %s.' %
187 * The reason we distinguish repair from verify is to allow
188 rescheduling work immediately while the expensive repair happens
190 once, so it's pointless to pass the buck to repair
[all...]
H A Dservo_host.py9 """This file provides core logic for servo verify/repair process."""
615 def repair(self, silent=False): member in class:ServoHost
616 """Attempt to repair servo host.
621 self._repair_strategy.repair(self, silent)
782 This function attempts to create and verify or repair a `ServoHost`
786 host must be created, and must be checked with `repair()`.
790 check it with `repair()`.
794 In cases where `servo_args` was not `None`, repair failure
799 repair not write to `status.log`, so as to avoid polluting test
828 `repair()` instea
[all...]
H A Dtestbed.py140 def repair(self): member in class:TestBed
141 """Run through repair on all the devices."""
142 # board name is needed for adb_host to repair as the adb_host objects
155 adb_device.repair(board=board, os=info.os)
166 logging.error('Failed to repair device with serial %s, '
169 'Fail to repair %d devices: %s' %
H A Demulated_adb_host.py250 def repair(self): member in class:EmulatedADBHost
251 """No-op. No repair procedures for emulated devices.
H A Dcros_host.py288 with `repair()` rather than `verify()`.
342 raise error.AutoservError('Cannot obtain repair image name. '
706 local_devserver=False, repair=False,
719 @param repair: Forces update to repair image. Implies force_update.
734 if repair:
841 local_devserver=False, repair=False,
856 If update_url is None and repair is True we will install the
864 @param repair: Forces update to repair imag
1212 def repair(self): member in class:CrosHost
[all...]
H A Dadb_host.py466 # creating the host to do a repair job, the device maybe inaccesible
916 def repair(self, board=None, os=None): member in class:ADBHost
922 repair call.
925 be passed in from the testbed repair call.
929 'repair.')
931 # Force to do a reinstall in repair first. The reason is that it
933 # If repair tries to switch the device back to adb mode, one will
940 repair=True, board=board, os=os, subdir_tag=subdir_tag):
942 'Unable to repair the device.')
/external/autotest/server/site_tests/provision_TestbedUpdate/
H A Dprovision_TestbedUpdate.py35 repair=False):
49 @param repair: not used by initialize.
54 if not (value or repair):
58 def run_once(self, host, value=None, force=False, repair=False):
70 @param repair: Not yet supported for testbeds.
76 if not value and not repair:
77 raise error.TestFail('No build provided and this is not a repair '
/external/autotest/server/site_tests/provision_AndroidUpdate/
H A Dprovision_AndroidUpdate.py25 repair=False):
37 @param repair: not used by initialize.
42 if not (value or repair):
46 def run_once(self, host, value=None, force=False, repair=False, board=None,
57 @param repair: If True, we are doing a repair provision, therefore the
63 repair call.
66 be passed in from the testbed repair call.
71 if not value and not repair:
72 raise error.TestFail('No build provided and this is not a repair '
[all...]
/external/autotest/server/
H A Dautoserv.py400 repair = parser.options.repair
431 is_special_task = (verify or repair or cleanup or collect_crashinfo or
442 # We have a control file unless it's just a verify/repair/cleanup job
483 if repair:
486 job.repair(job_labels)
535 if results and (repair or verify or reset or cleanup or provision):
571 'provision': s.PROVISIONING, 'repair': s.REPAIRING,
711 is_task = (parser.options.verify or parser.options.repair or
H A Dautoserv400 repair = parser.options.repair
431 is_special_task = (verify or repair or cleanup or collect_crashinfo or
442 # We have a control file unless it's just a verify/repair/cleanup job
483 if repair:
486 job.repair(job_labels)
535 if results and (repair or verify or reset or cleanup or provision):
571 'provision': s.PROVISIONING, 'repair': s.REPAIRING,
711 is_task = (parser.options.verify or parser.options.repair or
H A Dserver_job.py78 REPAIR_CONTROL_FILE = _control_segment_path('repair')
536 def repair(self, labels): member in class:server_job
543 raise error.AutoservError('No machines specified to repair')
/external/gptfdisk/
H A Dcurrent.spec1 Summary: GPT partitioning and MBR repair software
14 Partitioning software for GPT disks and to repair MBR disks. The gdisk,
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
H A DProfileInfo.h170 void repair(const FType *F);
/external/vulkan-validation-layers/
H A DCONTRIBUTING.md40 * Please base your fixes on the master branch. SDK branches are generally not updated except for critical fixes needed to repair an SDK release.
/external/vboot_reference/tests/
H A Drun_cgpt_tests.sh279 $CGPT repair $MTD ${DEV} 2>/dev/null && error
/external/swiftshader/third_party/LLVM/lib/Analysis/
H A DProfileInfo.cpp635 void ProfileInfoT<Function,BasicBlock>::repair(const Function *F) { function in class:llvm::ProfileInfoT
990 errs() << "ASSERT: could not repair function";
991 assert(0 && "could not repair function");
/external/guice/extensions/struts2/lib/
H A Dcore-3.1.1.jarMETA-INF/ org/ org/eclipse/ org/eclipse/jdt/ org/eclipse/jdt/core/ org/eclipse/jdt/core/compiler/ org/ ...

Completed in 607 milliseconds

12