/external/autotest/server/site_tests/provision_AndroidUpdate/ |
H A D | provision_AndroidUpdate.py | 11 from autotest_lib.server.hosts import testbed
|
/external/autotest/site_utils/ |
H A D | balance_pools.py | 147 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 D | cloud_console_client.py | 16 from autotest_lib.server.hosts import moblab_host
|
H A D | test_runner_utils_unittest.py | 180 def __init__(self, suite_control_files, hosts): 182 self._hosts = hosts 186 afe.create_job(control_file, hosts=self._hosts)
|
H A D | test_droid.py | 37 from autotest_lib.server.hosts import adb_host
|
/external/autotest/site_utils/lib/ |
H A D | infra.py | 11 from autotest_lib.server.hosts import ssh_host
|
/external/autotest/server/cros/chaos_lib/ |
H A D | static_runner.py | 15 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 D | clique_dut_locker.py | 13 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 D | wifi_test_context_manager.py | 10 from autotest_lib.server import hosts namespace 202 hosts.create_host(pcap_addr),'pcap') 214 hosts.SSHHost(attenuator_addr, port=22))
|
H A D | connection_worker.py | 12 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 D | frontend_server.py | 225 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 D | server_job.py | 47 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 D | monitor_db_functional_test.py | 129 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 D | host_scheduler_unittests.py | 26 """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 D | rdb_cache_unittests.py | 19 """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 D | drones_unittest.py | 13 from autotest_lib.server.hosts import ssh_host
|
/external/autotest/frontend/afe/ |
H A D | models.py | 40 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 D | servo_host.py | 22 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 D | base_classes_unittest.py | 10 from autotest_lib.server.hosts import base_classes
|
H A D | cros_host.py | 16 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 D | shadowing_store.py | 11 from autotest_lib.server.hosts import host_info
|
/external/autotest/client/common_lib/ |
H A D | barrier.py | 162 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 D | factory_InstallVM.py | 22 from autotest_lib.server.hosts import ssh_host
|
/external/autotest/server/site_tests/network_StressServoEthernetPlug/ |
H A D | network_StressServoEthernetPlug.py | 3 from autotest_lib.server import autotest, test, hosts namespace
|
/external/autotest/contrib/ |
H A D | generate_rpm_mapping.py | 397 def generate_mapping(hosts, lab_configs): 400 @param hosts: hosts objects get from AFE. 410 for host in hosts:
|