Home
last modified time | relevance | path

Searched refs:timeout_min (Results 1 – 25 of 44) sorted by relevance

12

/external/autotest/server/cros/dynamic_suite/
Dfrontend_wrappers.py31 def convert_timeout_to_retry(backoff, timeout_min, delay_sec): argument
45 total_sleep = timeout_min * 60
56 def __init__(self, timeout_min=30, delay_sec=10, **dargs): argument
62 self.timeout_min = timeout_min
67 def set_timeout(self, timeout_min): argument
72 self.timeout_min = timeout_min
90 max_retry = convert_timeout_to_retry(backoff, self.timeout_min,
111 @retry.retry(Exception, timeout_min=self.timeout_min,
129 with timeout_util.Timeout(self.timeout_min * 60):
150 def __init__(self, timeout_min=30, delay_sec=10, **dargs): argument
[all …]
Dfrontend_wrappers_unittest.py23 timeout_min = 10
27 timeout_min,
61 timeout_min = 0.01
65 timeout_min,
76 timeout_min = 30
80 timeout_min,
Ddynamic_suite.py448 afe = frontend_wrappers.RetryingAFE(timeout_min=30, delay_sec=10,
450 tko = frontend_wrappers.RetryingTKO(timeout_min=30, delay_sec=10,
508 afe = frontend_wrappers.RetryingAFE(timeout_min=30, delay_sec=10,
510 tko = frontend_wrappers.RetryingTKO(timeout_min=30, delay_sec=10,
/external/autotest/server/cros/
Dgoofy_client.py34 def retry_goofy_rpc(exception_tuple, timeout_min=30): argument
64 @retry.retry(exception_tuple, timeout_min=timeout_min)
82 goofy_proxy._create_client_proxy(timeout_min=timeout_min)
133 self._create_client_proxy(timeout_min=self.BASE_RPC_TIMEOUT)
136 def _create_client_proxy(self, timeout_min=30): argument
147 self._host.ping_wait_up(timeout_min)
154 timeout_min=BASE_RPC_TIMEOUT)
172 timeout_min=BASE_RPC_TIMEOUT)
180 def _wait_for_goofy(self, timeout_min=BASE_RPC_TIMEOUT*2): argument
186 timeout_secs = timeout_min * 60
[all …]
Dsonic_client_utils.py88 @retry.retry(RPC_EXCEPTIONS, timeout_min=BASE_REQUEST_TIMEOUT)
110 @retry.retry(RPC_EXCEPTIONS, timeout_min=BASE_REQUEST_TIMEOUT)
123 @retry.retry(RPC_EXCEPTIONS, timeout_min=BASE_REQUEST_TIMEOUT)
138 @retry.retry(RPC_EXCEPTIONS + (error.TestError,), timeout_min=30)
/external/autotest/server/hosts/
Dmoblab_host.py73 def _initialize_frontend_rpcs(self, timeout_min): argument
84 self.afe = frontend_wrappers.RetryingAFE(timeout_min=timeout_min,
88 self.tko = frontend_wrappers.RetryingTKO(timeout_min=self.timeout_min,
99 self.timeout_min = dargs.get('rpc_timeout_min', 1)
100 self._initialize_frontend_rpcs(self.timeout_min)
156 def wait_afe_up(self, timeout_min=5): argument
170 self._initialize_frontend_rpcs(timeout_min)
174 self.afe.set_timeout(self.timeout_min)
239 @retry.retry(error.AutoservError, timeout_min=timeout_m, delay_sec=10)
Dcros_repair.py325 @retry.retry(error.AutoservError, timeout_min=2, delay_sec=10)
357 @retry.retry(error.AutoservError, timeout_min=2, delay_sec=10)
385 @retry.retry(error.AutoservError, timeout_min=1, delay_sec=10)
Dteststation_host.py138 @retry.retry(error.GenericHostRunError, timeout_min=10)
Dchameleon_host.py188 afe = frontend_wrappers.RetryingAFE(timeout_min=5, delay_sec=10)
/external/autotest/client/common_lib/cros/
Dretry.py142 def retry(ExceptionToCheck, timeout_min=1.0, delay_sec=3, blacklist=None, argument
199 remaining_time = timeout_min * 60
211 (details, timeout_min * 60))
238 remaining_time = int(timeout_min * 60 -
243 remaining_time = int(timeout_min * 60 -
Dretry_unittest.py90 @retry.retry(Exception, timeout_min=0.02, delay_sec=0.1)
99 @retry.retry(Exception, timeout_min=0.02, delay_sec=0.1)
113 @retry.retry(Exception, timeout_min=0.05, delay_sec=0.1)
138 @retry.retry(Exception, timeout_min=0.06, delay_sec=0.1)
Ddev_server.py349 def remote_devserver_call(timeout_min=DEVSERVER_IS_STAGING_RETRY_MIN, argument
364 timeout_min=timeout_min,
503 load = cls.get_devserver_load(devserver, timeout_min=timeout_sec/60.0)
511 timeout_min=DEVSERVER_SSH_TIMEOUT_MINS): argument
522 @remote_devserver_call(timeout_min=timeout_min)
525 return cls.run_call(call, timeout=timeout_min*60)
531 ' Error: %s', call, timeout_min * 60, e)
581 timeout_min=DEVSERVER_SSH_TIMEOUT_MINS): argument
594 load = cls.get_devserver_load(devserver, timeout_min=timeout_min)
1573 @remote_devserver_call(timeout_min=DEVSERVER_SSH_TIMEOUT_MINS)
/external/autotest/site_utils/lxc/
Dlxc.py83 timeout_min=3*2,
95 timeout_min=(constants.DEVSERVER_CALL_TIMEOUT *
163 @retry.retry(error.CmdError, timeout_min=30)
236 @retry.retry(error.CmdError, timeout_min=20)
255 @retry.retry(error.CmdError, timeout_min=20)
Dshared_host_dir.py105 @retry.retry(error.CmdError, timeout_min=timeout/60.0,
124 @retry.retry(error.CmdError, timeout_min=timeout/60.0,
/external/autotest/server/cros/power/
Dservo_charger.py146 @retry.retry(error.TestError, timeout_min=_TIMEOUT_MIN,
157 @retry.retry(error.TestError, timeout_min=_TIMEOUT_MIN,
178 @retry.retry(error.TestError, timeout_min=_TIMEOUT_MIN,
/external/autotest/site_utils/
Ddump_suite_report.py48 afe = frontend_wrappers.RetryingAFE(timeout_min=5, delay_sec=10,
50 tko = frontend_wrappers.RetryingTKO(timeout_min=5, delay_sec=10)
Dtest_push.py56 AFE = frontend_wrappers.RetryingAFE(timeout_min=0.5, delay_sec=2)
57 TKO = frontend_wrappers.RetryingTKO(timeout_min=0.1, delay_sec=10)
102 @retry.retry(TestPushException, timeout_min=5, delay_sec=30)
287 end = time.time() + arguments.timeout_min * 60
296 arguments.timeout_min)
Dsync_cloudsql_access.py63 @retry.retry(error.CmdError, timeout_min=3)
/external/autotest/server/site_tests/power_Monitoring/
Dpower_Monitoring.py185 @retry.retry(error.TestFail, timeout_min=GET_CHARGE_TIMEOUT_MIN,
191 @retry.retry(error.TestFail, timeout_min=GET_CHARGE_WITH_RESET_TIMEOUT_MIN,
247 @retry.retry(error.TestFail, timeout_min=VERIFY_DUT_PINGABLE_TIMEOUT_MIN,
/external/autotest/contrib/
Dabortjob13 afe = frontend_wrappers.RetryingAFE(timeout_min=5, delay_sec=10)
/external/autotest/client/cros/multimedia/
Dfacade_resource.py23 timeout_min=_FLAKY_CALL_RETRY_TIMEOUT_SEC / 60.0,
39 timeout_min=_FLAKY_CHROME_START_RETRY_TIMEOUT_SEC / 60.0,
/external/autotest/client/site_tests/policy_VirtualMachinesAllowed/
Dpolicy_VirtualMachinesAllowed.py24 @retry.retry(TimeoutException, timeout_min=5, delay_sec=10)
/external/autotest/client/site_tests/policy_DeviceEphemeralUsersEnabled/
Dpolicy_DeviceEphemeralUsersEnabled.py30 @retry.retry(TimeoutException, timeout_min=5, delay_sec=10)
/external/autotest/server/site_tests/brillo_PingTest/
Dbrillo_PingTest.py50 @retry.retry(error.GenericHostRunError, timeout_min=1.5, delay_sec=3)
/external/autotest/client/site_tests/policy_DeviceWilcoDtcAllowed/
Dpolicy_DeviceWilcoDtcAllowed.py27 @retry.retry(TimeoutException, timeout_min=5, delay_sec=10)

12