Home
last modified time | relevance | path

Searched refs:drone_manager (Results 1 – 11 of 11) sorted by relevance

/external/autotest/scheduler/
Dpidfile_monitor.py15 from autotest_lib.scheduler import drone_manager
45 self._drone_manager = drone_manager.instance()
50 self._state = drone_manager.PidfileContents()
78 pidfile_name=drone_manager.AUTOSERV_PID_FILE,
110 self._state = drone_manager.PidfileContents()
Ddrone_manager_unittest.py11 from autotest_lib.scheduler import drone_manager, drone_utility, drones
12 from autotest_lib.scheduler import scheduler_config, drone_manager
82 self.manager = drone_manager.DroneManager()
98 self.mock_drone_process = drone_manager.Process(self.mock_drone.name, 0)
262 command=['test', drone_manager.WORKING_DIRECTORY],
307 drone_manager.ENABLE_ARCHIVING = True
377 self.manager = drone_manager.DroneManager()
452 self.god.stub_with(drone_manager, '_the_instance', self.manager)
454 monitor.pidfile_id = drone_manager.PidfileId(pidfile_path)
Dmonitor_db_unittest.py16 from autotest_lib.scheduler import monitor_db, drone_manager
121 self.god.stub_with(drone_manager.instance(), '_results_dir',
123 self.god.stub_with(drone_manager.instance(), '_temporary_directory',
125 self.god.stub_with(drone_manager.instance(), 'initialize',
127 self.god.stub_with(drone_manager.instance(), 'execute_actions',
442 self.god.stub_with(drone_manager.DroneManager, 'max_runnable_processes',
509 process = drone_manager.Process('myhost', pid)
515 drone_manager.DroneManager, 'drone_manager')
516 self.god.stub_with(drone_manager, '_the_instance',
525 pidfile_name=drone_manager.AUTOSERV_PID_FILE)
[all …]
Dmonitor_db_cleanup.py272 def __init__(self, db, drone_manager, run_at_initialize=True): argument
281 self.drone_manager = drone_manager
378 self.drone_manager.cleanup_orphaned_containers()
Dmonitor_db_functional_test.py12 from autotest_lib.scheduler import drone_manager, email_manager
37 drone_manager.AUTOSERV_PID_FILE: _PidfileType.JOB,
38 drone_manager.CRASHINFO_PID_FILE: _PidfileType.GATHER,
39 drone_manager.PARSER_PID_FILE: _PidfileType.PARSE,
40 drone_manager.ARCHIVER_PID_FILE: _PidfileType.ARCHIVE,
222 self._pidfiles[pidfile_id] = drone_manager.PidfileContents()
256 return self._pidfiles.get(pidfile_id, drone_manager.PidfileContents())
339 drone_manager._set_instance(self.mock_drone_manager)
402 'hosts/host1/1-verify', drone_manager.AUTOSERV_PID_FILE)
961 'hosts/host3/1-verify', drone_manager.AUTOSERV_PID_FILE)
Dagent_task.py119 from autotest_lib.scheduler import drone_manager
154 self._drone_manager = drone_manager.instance()
347 return drone_manager.AUTOSERV_PID_FILE
656 results_directory=drone_manager.WORKING_DIRECTORY,
744 pidfile_name=drone_manager.AUTOSERV_PID_FILE)
Dpostjob_task.py15 from autotest_lib.scheduler import agent_task, drones, drone_manager
254 return drone_manager.CRASHINFO_PID_FILE
371 return drone_manager.PARSER_PID_FILE
Dprejob_task.py63 from autotest_lib.scheduler import drone_manager
403 results_directory=drone_manager.WORKING_DIRECTORY,
Dmonitor_db.py27 from autotest_lib.scheduler import agent_task, drone_manager
279 _drone_manager = drone_manager.instance()
296 machines, results_directory=drone_manager.WORKING_DIRECTORY,
1029 except drone_manager.DroneManagerError as e:
Dscheduler_models.py35 from autotest_lib.scheduler import drone_manager, email_manager
88 _drone_manager = drone_manager.instance()
696 for pidfile_name in drone_manager.ALL_PIDFILE_NAMES:
Dluciferlib.py16 from autotest_lib.scheduler.drone_manager import PidfileId