/external/autotest/scheduler/ |
D | drones_unittest.py | 11 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 …]
|
D | drone_task_queue_unittest.py | 18 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] ==
|
D | thread_lib_unittest.py | 18 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] ==
|
D | drone_manager_unittest.py | 11 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 …]
|
D | drone_task_queue.py | 28 def execute(self, drones, wait=True): argument 48 for drone in drones:
|
D | drone_manager.py | 13 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,
|
D | site_drone_manager.py | 8 from autotest_lib.scheduler import drones, scheduler_config 71 drone = drones.get_drone(hostname)
|
D | thread_lib.py | 161 def execute(self, drones, wait=True): argument 186 for drone in drones:
|
D | postjob_task.py | 15 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',
|
D | monitor_db_unittest.py | 1116 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/ |
D | README.yo | 10 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.
|
D | lab_deploy_helper.py | 87 master, drones = autotest_scheduler_drones() 95 for server in drones: 107 for server in drones: 119 for server in drones:
|
/external/autotest/server/ |
D | system_utils.py | 26 drones = global_config.global_config.get_config_value( 28 return [hostname.strip() for hostname in drones.split(',')]
|
/external/autotest/tko/ |
D | retrieve_logs.cgi | 115 drones = system_utils.get_drones() 119 tpool_args = _get_tpool_args(drones, job_path, False, host_set)
|
/external/autotest/site_utils/ |
D | setup_dev_autotest.sh | 169 drones: localhost
|
/external/autotest/ |
D | global_config.ini | 37 # 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/ |
D | admin.py | 306 drone_ids_used.update(drone_set.drones.values_list('id', flat=True))
|
D | models.py | 238 drones = dbmodels.ManyToManyField(Drone, db_table='afe_drone_sets_drones') variable in DroneSet 309 return set(self.drones.all().values_list('hostname', flat=True))
|