HomeSort by relevance Sort by last modified time
    Searched full:rdb_utils (Results 1 - 8 of 8) sorted by null

  /external/autotest/scheduler/
rdb_cache_manager.py 86 from autotest_lib.scheduler import rdb_utils namespace
111 except rdb_utils.CacheMiss:
236 autotest_stats.Gauge(rdb_utils.RDB_STATS_KEY).send(
238 autotest_stats.Gauge(rdb_utils.RDB_STATS_KEY).send(
261 @raises rdb_utils.CacheMiss: If the key isn't in the cache.
267 raise rdb_utils.CacheMiss('Key %s not in cache' % (key,))
284 @raises rdb_utils.RDBException:
291 raise rdb_utils.RDBException('Cannot cache leased hosts %s' % line)
300 raise rdb_utils.RDBException('Given key: %s does not match key '
303 raise rdb_utils.RDBException('Cannot override a cache line. It
    [all...]
rdb_requests.py 18 from autotest_lib.scheduler import rdb_utils namespace
57 raise rdb_utils.RDBException('No requests. Call add_requests '
121 raise rdb_utils.RDBException('All fields of a %s must be. '
127 raise rdb_utils.RDBException('Creating %s requires args %s got %s' %
175 raise rdb_utils.RDBException('Creating %s requires args %s got %s' %
210 raise rdb_utils.RDBException('Creating %s requires args %s got %s' %
rdb_hosts_unittest.py 16 from autotest_lib.scheduler import rdb_utils namespace
86 self.assertRaises(rdb_utils.RDBException, server_host.lease)
154 self.assertRaises(rdb_utils.RDBException, client_host.update_field,
156 self.assertRaises(rdb_utils.RDBException, client_host.update_field,
rdb.py 20 from autotest_lib.scheduler import rdb_utils namespace
24 _timer = autotest_stats.Timer(rdb_utils.RDB_STATS_KEY)
83 # Request Handlers: Used in conjunction with requests in rdb_utils, these
116 raise rdb_utils.RDBException('response_map dict can only contain '
121 raise rdb_utils.RDBException('Request %s already has response %s '
143 raise rdb_utils.RDBException(
157 rdb_exceptions = [rdb_utils.RDBException(ex) for ex in exceptions]
217 rdb_utils.BaseHostRequest.
265 except rdb_utils.RDBException as e:
285 raise rdb_utils.RDBException
    [all...]
rdb_unittest.py 17 from autotest_lib.scheduler import rdb_utils namespace
50 rdb_utils.RDBException, self.handler.update_response_map,
55 rdb_utils.RDBException, self.handler.update_response_map,
75 rdb_utils.RDBException, self.handler.get_response)
82 response = [rdb_utils.RDBException(exception_string)]
rdb_hosts.py 27 from autotest_lib.scheduler import rdb_utils namespace
53 raise rdb_utils.RDBException('Creating %s requires %s, got %s '
72 raise rdb_utils.RDBException('Required %s' % e)
103 self.labels = rdb_utils.LabelIterator(host.labels.all())
130 raise rdb_utils.RDBException('Couldn\'t refresh fields %s: %s' %
142 raise rdb_utils.RDBException('Host %s is already leased' %
207 raise rdb_utils.RDBException('Host %s unable to perform update '
rdb_cache_unittests.py 15 from autotest_lib.scheduler import rdb_utils namespace
105 except rdb_utils.RDBException:
251 self.assertRaises(rdb_utils.RDBException, cache.set_line, *(key, None))
259 self.assertRaises(rdb_utils.CacheMiss, cache.get_line, *(key,))
267 rdb_utils.CacheMiss, cache.get_line, *(key,))
282 rdb_utils.CacheMiss, cache.get_line, *(key,))
host_scheduler.py 70 from autotest_lib.scheduler import rdb_utils namespace
235 raise rdb_utils.RDBException('The rdb returned host: %s '

Completed in 83 milliseconds