Home
last modified time | relevance | path

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

/external/autotest/scheduler/
Ddrones_unittest.py11 from autotest_lib.scheduler import drones
21 self.god.stub_function(drones.drone_utility, 'create_host')
30 drones.drone_utility.create_host.expect_call('fakehost').and_return(
33 self.assertRaises(drones.DroneUnreachable,
34 drones._RemoteDrone, 'fakehost')
38 self.god.stub_with(drones._RemoteDrone, '_drone_utility_path',
40 drones.drone_utility.create_host.expect_call('fakehost').and_return(
50 drone = drones._RemoteDrone('fakehost', timestamp_remote_calls=False)
56 self.god.stub_with(drones._RemoteDrone, '_drone_utility_path',
58 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.py13 from autotest_lib.scheduler import email_manager, drone_utility, drones
212 self._results_drone = drones.get_drone(results_repository_hostname)
246 drone = drones.get_drone(hostname)
469 drones = list(self.get_drones())
470 for drone in drones:
480 self._refresh_task_queue.execute(drones, wait=False)
625 def _least_loaded_drone(self, drones): argument
626 drone_to_use = drones[0]
627 for drone in drones[1:]:
846 base_dir = os.path.join(drones.AUTOTEST_INSTALL_DIR,
Dsite_drone_manager.py8 from autotest_lib.scheduler import drones, scheduler_config
71 drone = drones.get_drone(hostname)
Dthread_lib.py161 def execute(self, drones, wait=True): argument
186 for drone in drones:
Dpostjob_task.py15 from autotest_lib.scheduler import agent_task, drones, drone_manager
21 _parser_path = os.path.join(drones.AUTOTEST_INSTALL_DIR, 'tko', 'parse')
363 os.path.join(drones.AUTOTEST_INSTALL_DIR, 'scheduler',
Dmonitor_db_unittest.py1116 drones = []
1118 drones.append(models.Drone.objects.create(hostname=str(x)))
1121 drone_set_1.drones.add(*drones[0:2])
1123 drone_set_2.drones.add(*drones[2:4])
/external/autotest/site_utils/deploy_autotest/
DREADME.yo10 contains information related to the current active autotest scheduler, drones,
18 lab_deploy.py (sync,restart) (devservers, drones, scheduler)+.
21 lab_deploy.py sync drones scheduler
22 Syncs the source code on all the autotest drones and scheduler.
24 lab_deploy.py restart drones scheduler
25 Restarts all the drones/scheduler.
Dlab_deploy_helper.py87 master, drones = autotest_scheduler_drones()
95 for server in drones:
107 for server in drones:
119 for server in drones:
/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.ini37 # rather than drones or shards.
172 drones: SET IN SHADOW CONFIG key
199 # Otherwise, drones are handled in a single thread.
/external/autotest/frontend/afe/
Dadmin.py306 drone_ids_used.update(drone_set.drones.values_list('id', flat=True))
Dmodels.py238 drones = dbmodels.ManyToManyField(Drone, db_table='afe_drone_sets_drones') variable in DroneSet
309 return set(self.drones.all().values_list('hostname', flat=True))