Home
last modified time | relevance | path

Searched refs:drones (Results 1 – 16 of 16) sorted by relevance

/external/autotest/scheduler/
Ddrones_unittest.py12 from autotest_lib.scheduler import drones
22 self.god.stub_function(drones.drone_utility, 'create_host')
31 drones.drone_utility.create_host.expect_call('fakehost').and_return(
34 self.assertRaises(drones.DroneUnreachable,
35 drones._RemoteDrone, 'fakehost')
39 self.god.stub_with(drones._RemoteDrone, '_drone_utility_path',
41 drones.drone_utility.create_host.expect_call('fakehost').and_return(
51 drone = drones._RemoteDrone('fakehost', timestamp_remote_calls=False)
57 self.god.stub_with(drones._RemoteDrone, '_drone_utility_path',
59 drones.drone_utility.create_host.expect_call('fakehost').and_return(
[all …]
Ddrone_task_queue_unittest.py18 from autotest_lib.scheduler import drones
32 drones.drone_utility.create_host.expect_call(hostname).and_return(
35 return drones._RemoteDrone(hostname, timestamp_remote_calls=False)
42 self.god.stub_function(drones.drone_utility, 'create_host')
46 self.god.stub_with(drones._RemoteDrone, '_drone_utility_path',
71 drones = [drone1, drone2, drone3]
72 for drone in drones:
82 task_queue.execute(drones, wait=False)
83 self.assertTrue(set(task_queue.results.keys()) == set(drones))
97 self.assertTrue(task_queue.execute(drones, wait=True)[drone1] ==
Dthread_lib_unittest.py18 from autotest_lib.scheduler import drones
33 drones.drone_utility.create_host.expect_call(hostname).and_return(
36 return drones._RemoteDrone(hostname, timestamp_remote_calls=False)
43 self.god.stub_function(drones.drone_utility, 'create_host')
47 self.god.stub_with(drones._RemoteDrone, '_drone_utility_path',
195 drones = [drone1, drone2, drone3]
196 for drone in drones:
206 task_queue.execute(drones, wait=False)
207 self.assertTrue(set(task_queue.drone_threads.keys()) == set(drones))
224 self.assertTrue(task_queue.execute(drones, wait=True)[drone1] ==
Ddrone_manager_unittest.py11 from autotest_lib.scheduler import drone_manager, drone_utility, drones
18 class MockDrone(drones._AbstractDrone):
81 self.god.stub_with(drones, 'AUTOTEST_INSTALL_DIR',
87 self.god.stub_function(drones, 'get_drone')
256 (drones.get_drone.expect_call(self.mock_drone.name)
261 drones.get_drone.expect_call(results_hostname).and_return(results_drone)
366 _DRONE_CLASS = drones._RemoteDrone
377 self.god.stub_function(drones.drone_utility, 'create_host')
378 drones.drone_utility.create_host.expect_call(drone_hostname).and_return(
393 self.god.stub_with(drones, 'AUTOTEST_INSTALL_DIR',
[all …]
Ddrone_task_queue.py28 def execute(self, drones, wait=True): argument
48 for drone in drones:
Ddrone_manager.py11 from autotest_lib.scheduler import drones
218 self._results_drone = drones.get_drone(results_repository_hostname)
265 drone = drones.get_drone(hostname)
472 drones = list(self.get_drones())
473 for drone in drones:
484 self._refresh_task_queue.execute(drones, wait=False)
628 def _least_loaded_drone(self, drones): argument
629 drone_to_use = drones[0]
630 for drone in drones[1:]:
849 base_dir = os.path.join(drones.AUTOTEST_INSTALL_DIR,
Dthread_lib.py127 def execute(self, drones, wait=True): argument
151 for drone in drones:
Dpostjob_task.py15 from autotest_lib.scheduler import agent_task, drones, drone_manager
26 _parser_path = os.path.join(drones.AUTOTEST_INSTALL_DIR, 'tko', 'parse')
Dmonitor_db_unittest.py901 drones = []
903 drones.append(models.Drone.objects.create(hostname=str(x)))
906 drone_set_1.drones.add(*drones[0:2])
908 drone_set_2.drones.add(*drones[2:4])
/external/autotest/server/
Dsystem_utils.py26 drones = global_config.global_config.get_config_value(
28 return [hostname.strip() for hostname in drones.split(',')]
/external/autotest/tko/
Dretrieve_logs.cgi115 drones = system_utils.get_drones()
119 tpool_args = _get_tpool_args(drones, job_path, False, host_set)
/external/autotest/site_utils/
Dsetup_dev_autotest.sh169 drones: localhost
/external/autotest/
Dglobal_config.ini36 # rather than drones or shards.
209 drones: SET IN SHADOW CONFIG key
236 # Otherwise, drones are handled in a single thread.
/external/autotest/frontend/afe/
Dadmin.py303 drone_ids_used.update(drone_set.drones.values_list('id', flat=True))
Dmodels.py235 drones = dbmodels.ManyToManyField(Drone, db_table='afe_drone_sets_drones') variable in DroneSet
306 return set(self.drones.all().values_list('hostname', flat=True))
/external/jline/src/src/test/resources/jline/example/
Denglish.gz