HomeSort by relevance Sort by last modified time
    Searched refs:hosts (Results 51 - 75 of 336) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/autotest/server/site_tests/video_VDAStress/
video_VDAStress.py 9 from autotest_lib.server import hosts
21 host = hosts.create_host(machine)
  /external/libedit/
Android.mk 2 ifeq ($(HOST_OS),linux) # only build on linux hosts
3 ifeq ($(HOST_ARCH),x86) # only build on x86 hosts
37 endif # only build on x86 hosts
38 endif # only build on linux hosts
  /external/autotest/contrib/
haveservo 15 from autotest_lib.server.hosts import servo_host
  /external/autotest/scheduler/
rdb_unittest.py 90 """Test getting hosts.
95 2. The hosts returned are matched up correctly with requests,
97 3. The hosts returned have all the fields needed to create an
109 for request, hosts in self.handler.get_response().iteritems():
110 self.assertTrue(len(hosts) == 1)
111 client_host = rdb_hosts.RDBClientHostWrapper(**hosts[0])
150 """Test same payload for 2 hosts only hits the db once."""
207 """Test finding hosts.
209 Tests that we can only find unleased hosts through the
216 hosts = self.all_hosts_query_manager.find_hosts
    [all...]
rdb_integration_tests.py 37 # Unfortunately the hosts labels are labelnames, not ids.
45 def find_matching_host_for_request(hosts, request):
46 """Find a host from the given list of hosts, matching the request.
48 @param hosts: A list of dictionaries representing host attributes.
53 if not hosts or not request:
55 for host in hosts:
76 hosts = result.get(request)
78 if hosts and len(hosts) == count:
80 # Go through all hosts given to lower priority requests an
    [all...]
monitor_db_cleanup.py 186 (models.AclGroup, 'hosts', models.Host, 'aclgroup_set'),
219 def _choose_subset_of_hosts_to_reverify(self, hosts):
220 """Given hosts needing verification, return a subset to reverify."""
222 if (max_at_once > 0 and len(hosts) > max_at_once):
223 return random.sample(hosts, max_at_once)
224 return sorted(hosts)
232 logging.info('Checking for dead hosts to reverify')
233 hosts = models.Host.objects.filter(
237 hosts = hosts.exclude
    [all...]
scheduler_models_unittest.py 195 hosts = []
198 hosts.append(scheduler_models.Host(row=row, new_record=True))
200 host1 = hosts[expected_order.index('Host1')]
201 host010 = hosts[expected_order.index('HOST010')]
202 host10 = hosts[expected_order.index('host10')]
203 host3 = hosts[expected_order.index('host3')]
204 alice = hosts[expected_order.index('alice')]
218 hosts.sort(cmp=scheduler_models.Host.cmp_for_sort)
219 self.assertEqual(expected_order, [h.hostname for h in hosts])
221 hosts.reverse(
    [all...]
  /external/autotest/server/hosts/
servo_afe_board_map_unittest.py 10 from autotest_lib.server.hosts import servo_host
ssh_multiplex_unittest.py 10 from autotest_lib.server.hosts import ssh_multiplex
cros_firmware.py 42 from autotest_lib.client.common_lib import hosts
146 class FirmwareStatusVerifier(hosts.Verifier):
175 raise hosts.AutoservVerifyError(
186 class FirmwareRepair(hosts.RepairAction):
198 raise hosts.AutoservRepairError(
202 raise hosts.AutoservRepairError(
211 class FirmwareVersionVerifier(hosts.Verifier):
277 raise hosts.AutoservVerifyError(
287 raise hosts.AutoservVerifyError(
317 raise hosts.AutoservVerifyError
    [all...]
factory.py 12 from autotest_lib.server.hosts import adb_host
13 from autotest_lib.server.hosts import cros_host
14 from autotest_lib.server.hosts import emulated_adb_host
15 from autotest_lib.server.hosts import host_info
16 from autotest_lib.server.hosts import jetstream_host
17 from autotest_lib.server.hosts import moblab_host
18 from autotest_lib.server.hosts import gce_host
19 from autotest_lib.server.hosts import sonic_host
20 from autotest_lib.server.hosts import ssh_host
21 from autotest_lib.server.hosts import testbe
    [all...]
afe_store.py 9 from autotest_lib.server.hosts import host_info
41 hosts = self._afe.get_hosts(hostname=self._hostname)
45 if not hosts:
46 raise host_info.StoreError('No hosts founds with hostname: %s' %
49 if len(hosts) > 1:
51 'Found %d hosts with the name %s. Picking the first one.',
52 len(hosts), self._hostname)
53 host = hosts[0]
chameleon_host.py 15 from autotest_lib.server.hosts import ssh_host
110 autotest_lib.client.common_lib.hosts.base_classes.Host.
189 hosts = afe.get_hosts(hostname=dut)
190 if hosts and CHAMELEON_HOST_ATTR in hosts[0].attributes:
192 chameleon_host=hosts[0].attributes[CHAMELEON_HOST_ATTR],
193 chameleon_port=hosts[0].attributes.get(
plankton_host.py 11 from autotest_lib.server.hosts import servo_host
  /external/autotest/server/site_tests/autotest_SyncCount/
autotest_SyncCount.py 8 from autotest_lib.server import hosts
19 raise error.TestFail('Expected %s hosts, got %s' % (2, len(ntuple)))
  /external/autotest/server/site_tests/provision_FactoryImage/
provision_FactoryImage.py 8 from autotest_lib.server.hosts import cros_host
  /external/autotest/site_utils/
add_detected_host_labels.py 7 the known hosts and tries to call get_labels()
30 from autotest_lib.server import hosts
53 host = hosts.create_host(hostname)
84 afe_label.remove_hosts(hosts=[hostname])
85 label.add_hosts(hosts=[hostname])
137 'hosts.', attempts-successes, attempts)
diagnosis_utils.py 30 def __init__(self, board, pool, num_available, num_required, hosts):
37 @param num_available: Number of available hosts.
38 @param num_required: Number of hosts required.
39 @param hosts: Sequence of Host instances for given board and pool.
45 self.hosts = hosts
247 logging.error('No hosts found for board:%s in pool:%s',
298 hosts = self.rpc_interface.get_hosts(
301 if not hosts:
303 'No hosts found for board:%s in pool:%s. The test lab
    [all...]
  /external/boringssl/src/crypto/x509/
x509_vpm.c 99 if (mode == SET_HOST && id->hosts) {
100 string_stack_free(id->hosts);
101 id->hosts = NULL;
110 if (id->hosts == NULL &&
111 (id->hosts = sk_OPENSSL_STRING_new_null()) == NULL) {
116 if (!sk_OPENSSL_STRING_push(id->hosts, copy)) {
118 if (sk_OPENSSL_STRING_num(id->hosts) == 0) {
119 sk_OPENSSL_STRING_free(id->hosts);
120 id->hosts = NULL;
147 if (paramid->hosts) {
    [all...]
  /external/autotest/cli/
host.py 29 from autotest_lib.server import frontend, hosts
30 from autotest_lib.server.hosts import host_info
38 msg_items = '<hosts>'
55 attribute_name='hosts',
93 return self.hosts
103 """atest host list [--mlist <file>|<hosts>] [--label <label>]
111 help='Only list hosts with all these labels '
115 help='Only list hosts with any of these '
119 help='Only list hosts within this ACL')
122 help='Only list hosts available to this user'
    [all...]
  /external/autotest/scheduler/shard/
simple_heartbeat_server.py 88 hosts = models.Host.objects.filter(
90 return hosts[:host_limit] if host_limit is not None else hosts
95 def _create_packet(hosts, jobs):
97 'hosts': [h.serialize() for h in hosts],
123 host_time, hosts = self._get_hosts(board, host_limit)
126 serialize_time, heartbeat_packet = self._create_packet(hosts, jobs)
138 'Hosts: %s\nJobs: %s\n' %
140 len(heartbeat_packet['hosts']),
    [all...]
  /external/autotest/frontend/afe/
models_test.py 30 host1, host2 = self.hosts[1:3]
161 host=self.hosts[0], task=models.SpecialTask.Task.VERIFY,
167 self.assertEquals(task.execution_path(), 'hosts/host1/1-verify')
201 job = self._create_job(hosts=[0])
203 host=self.hosts[0], task=models.SpecialTask.Task.VERIFY,
219 entry = self._create_job(hosts=[1]).hostqueueentry_set.all()[0]
237 self.assertFalse(self.hosts[0].invalid)
238 self.hosts[0].delete()
239 self.assertTrue(self.hosts[0].invalid)
240 self.assertTrue(models.Host.objects.get(id=self.hosts[0].id)
    [all...]
  /external/autotest/frontend/client/src/autotest/afe/
HostDataSource.java 27 * Convert the raw JSONObjects to Hosts.
31 List<JSONObject> hosts = new ArrayList<JSONObject>(); local
35 hosts.add(host);
37 return hosts;
  /external/autotest/server/tests/netperf2/
netperf2.py 1 from autotest_lib.server import autotest, hosts, subcommand, test
13 server = hosts.create_host(pair[0])
14 client = hosts.create_host(pair[1])
  /external/autotest/server/tests/netpipe/
netpipe.py 1 from autotest_lib.server import autotest, hosts, subcommand, test
13 server = hosts.create_host(pair[0])
14 client = hosts.create_host(pair[1])

Completed in 251 milliseconds

1 23 4 5 6 7 8 91011>>