Searched refs:hosts (Results 126 - 150 of 224) sorted by relevance

123456789

/external/autotest/server/site_tests/provision_AndroidUpdate/
H A Dprovision_AndroidUpdate.py11 from autotest_lib.server.hosts import testbed
/external/autotest/site_utils/
H A Dbalance_pools.py147 during balancing. This is done for the sake of chameleon hosts,
169 @property total_hosts The total number of hosts in pool.
277 def _exchange_labels(dry_run, hosts, target_pool, spare_pool):
280 For all the given hosts, remove all labels associated with
288 @param hosts List of DUTs (AFE hosts) to be reassigned.
289 @param target_pool The `_DUTPool` object from which the hosts
291 @param spare_pool The `_DUTPool` object to which the hosts
295 if not hosts:
298 len(hosts), spare_poo
[all...]
H A Dcloud_console_client.py16 from autotest_lib.server.hosts import moblab_host
H A Dtest_runner_utils_unittest.py180 def __init__(self, suite_control_files, hosts):
182 self._hosts = hosts
186 afe.create_job(control_file, hosts=self._hosts)
H A Dtest_droid.py37 from autotest_lib.server.hosts import adb_host
/external/autotest/site_utils/lib/
H A Dinfra.py11 from autotest_lib.server.hosts import ssh_host
/external/autotest/server/cros/chaos_lib/
H A Dstatic_runner.py15 from autotest_lib.server import hosts namespace
23 from autotest_lib.server.hosts import adb_host
127 hosts.create_host({'hostname' : self._host.hostname,
/external/autotest/server/cros/clique_lib/
H A Dclique_dut_locker.py13 from autotest_lib.server import hosts namespace
186 dut_host = hosts.create_host(host_name)
261 if self.manager.unlock(hosts=[host_name]):
/external/autotest/server/cros/network/
H A Dwifi_test_context_manager.py10 from autotest_lib.server import hosts namespace
202 hosts.create_host(pcap_addr),'pcap')
214 hosts.SSHHost(attenuator_addr, port=22))
H A Dconnection_worker.py12 from autotest_lib.server import hosts namespace
51 work_client_host = hosts.create_host(work_client_machine.hostname)
/external/autotest/site_utils/rpm_control_system/
H A Dfrontend_server.py225 hosts = self._afe.get_hosts(hostname=device_hostname)
226 if not hosts:
231 info = utils.PowerUnitInfo.get_powerunit_info(hosts[0])
/external/autotest/server/
H A Dserver_job.py47 from autotest_lib.server.hosts import abstract_ssh
48 from autotest_lib.server.hosts import afe_store
49 from autotest_lib.server.hosts import factory as host_factory
50 from autotest_lib.server.hosts import host_info
51 from autotest_lib.server.hosts import ssh_multiplex
299 self.hosts = set()
416 to properly clean up self.hosts created in forked subprocesses.
419 self._existing_hosts_on_fork = set(self.hosts)
421 new_hosts = self.hosts - self._existing_hosts_on_fork
554 Provision all hosts t
[all...]
/external/autotest/scheduler/
H A Dmonitor_db_functional_test.py129 match = 'hosts/host%d/' % host_id
225 if working_directory.startswith('hosts/'):
226 # such paths look like hosts/host1/1-verify, we'll grab the end
396 'hosts/host1/1-verify', drone_manager.AUTOSERV_PID_FILE)
570 host = self.hosts[0]
662 job = self._create_job(hosts=[1])
676 job = self._create_job(hosts=[1])
701 job = self._create_job(hosts=[1,2])
729 job = self._create_job(hosts=[1])
903 job = self._create_job(hosts
[all...]
H A Dhost_scheduler_unittests.py26 """Verify scheduler behavior when pending jobs are already given hosts."""
80 """Test that we handle inactive hqes with unleased hosts correctly."""
99 """Test handling of inactive hqes assigned invalid, unleased hosts."""
119 """Test handling of inactive hqes assigned leased hosts."""
170 """Verify scheduler behavior when pending jobs are already given hosts."""
181 """Test that frontend special tasks lock hosts."""
182 # Create multiple tasks with hosts and make sure the hosts get locked.
283 hosts = []
286 hosts
[all...]
H A Drdb_cache_unittests.py19 """Get the cache line with the hosts that match given labels.
21 Confirm that all hosts have matching labels within a line,
45 """Get the hosts for a request matching kwargs from the response map.
119 # All 3 jobs should find hosts, and there should be one host left
146 # Make sure that all the jobs got different hosts, and that
155 hosts = get_hosts_for_request(self.response_map,
157 assert(len(hosts) == 1)
158 host = hosts[0]
168 """Test that the 'no available hosts' condition isn't a cache miss."""
187 raise AssertionError('A request with no hosts doe
[all...]
H A Ddrones_unittest.py13 from autotest_lib.server.hosts import ssh_host
/external/autotest/frontend/afe/
H A Dmodels.py40 An atomic group defines a collection of hosts which must only be scheduled
42 scheduled for a job at the same time as other hosts sharing that label.
72 """Enqueue a job on an associated atomic group of hosts.
514 """Assigns hosts to a shard.
516 For all labels that have been assigned to a shard, all hosts that
529 @param shard: The shard object to assign labels/hosts for.
531 This is used to figure out which hosts should be sent
532 to the shard. If shard_ids were used instead, hosts
535 The number of hosts usually lies in O(100), so the
538 @returns a tuple of (hosts object
920 hosts = dbmodels.ManyToManyField(Host, blank=True, variable in class:AclGroup
[all...]
/external/autotest/server/hosts/
H A Dservo_host.py22 from autotest_lib.client.common_lib import hosts namespace
35 from autotest_lib.server.hosts import servo_repair
36 from autotest_lib.server.hosts import ssh_host
135 raise hosts.AutoservVerifyError(
425 control_type=control_type, hosts=[dut])
630 # For now, assume all servo hosts in the lab have power.
647 raise hosts.AutoservRepairError(
H A Dbase_classes_unittest.py10 from autotest_lib.server.hosts import base_classes
H A Dcros_host.py16 from autotest_lib.client.common_lib import hosts namespace
35 from autotest_lib.server.hosts import abstract_ssh
36 from autotest_lib.server.hosts import base_label
37 from autotest_lib.server.hosts import cros_label
38 from autotest_lib.server.hosts import chameleon_host
39 from autotest_lib.server.hosts import cros_repair
40 from autotest_lib.server.hosts import plankton_host
41 from autotest_lib.server.hosts import servo_host
213 chameleon_args = hosts.CrosHost.get_chameleon_arguments(args_dict)
214 host = hosts
[all...]
H A Dshadowing_store.py11 from autotest_lib.server.hosts import host_info
/external/autotest/client/common_lib/
H A Dbarrier.py162 self._members = [] # List of hosts we expect to find at the barrier.
493 def rendezvous(self, *hosts, **dargs):
497 self._members = list(hosts)
522 def rendezvous_servers(self, masterid, *hosts, **dargs):
526 self._members = list(hosts)
/external/autotest/server/site_tests/factory_InstallVM/
H A Dfactory_InstallVM.py22 from autotest_lib.server.hosts import ssh_host
/external/autotest/server/site_tests/network_StressServoEthernetPlug/
H A Dnetwork_StressServoEthernetPlug.py3 from autotest_lib.server import autotest, test, hosts namespace
/external/autotest/contrib/
H A Dgenerate_rpm_mapping.py397 def generate_mapping(hosts, lab_configs):
400 @param hosts: hosts objects get from AFE.
410 for host in hosts:

Completed in 523 milliseconds

123456789