Home
last modified time | relevance | path

Searched refs:pidfile_id (Results 1 – 7 of 7) sorted by relevance

/external/autotest/scheduler/
Dmonitor_db_functional_test.py120 pidfile_id = self._last_pidfile_id[pidfile_type]
121 self._set_pidfile_exit_status(pidfile_id, exit_status)
125 pidfile_id = self.pidfile_from_path(working_directory, pidfile_name)
126 self._set_pidfile_exit_status(pidfile_id, 0)
130 for pidfile_id in self.nonfinished_pidfile_ids():
131 if pidfile_id._working_directory.startswith(match):
132 self._set_pidfile_exit_status(pidfile_id, 0)
137 def _set_pidfile_exit_status(self, pidfile_id, exit_status): argument
138 assert pidfile_id is not None
139 contents = self._pidfiles[pidfile_id]
[all …]
Ddrone_manager.py352 def _get_drone_for_pidfile_id(self, pidfile_id): argument
353 pidfile_contents = self.get_pidfile_contents(pidfile_id)
360 for pidfile_id, info in self._registered_pidfile_info.items():
362 logging.warning('dropping leaked pidfile %s', pidfile_id)
363 self.unregister_pidfile(pidfile_id)
407 pidfile_id = PidfileId(pidfile_path)
409 store_in_dict[pidfile_id] = contents
436 for pidfile_id, contents in self._pidfiles.iteritems():
441 info = self._registered_pidfile_info[pidfile_id]
470 pidfile_paths = [pidfile_id.path
[all …]
Dpidfile_monitor.py48 self.pidfile_id = None
70 self.pidfile_id = self._drone_manager.execute_command(
81 self.pidfile_id = self._drone_manager.get_pidfile_id_from(
84 self._drone_manager.declare_process_count(self.pidfile_id, num_processes)
105 assert self.pidfile_id is not None, (
108 self.pidfile_id, use_second_read=use_second_read)
168 logging.warning("%s didn't exit after SIGTERM", self.pidfile_id)
Ddrone_manager_unittest.py279 pidfile_id = self.manager.execute_command(
288 self.assertEquals(pidfile_id.path,
356 pidfile_id = self.manager.get_pidfile_id_from('tag', 'name')
357 self.manager.register_pidfile(pidfile_id)
386 pidfile_id = self.manager.get_pidfile_id_from(tag, name)
387 self.manager.register_pidfile(pidfile_id)
472 monitor.pidfile_id = drone_manager.PidfileId(pidfile_path)
473 self.manager.register_pidfile(monitor.pidfile_id)
481 pidfile_id = pidfiles.keys()[0]
482 pidfile_contents = pidfiles[pidfile_id]
[all …]
Dagent_task.py144 pidfile_id = None variable in AgentTask._NullMonitor
375 paired_with_pidfile=self._paired_with_monitor().pidfile_id,
478 pidfile_id = self._drone_manager.get_pidfile_id_from(
480 self._drone_manager.register_pidfile(pidfile_id)
482 paired_pidfile_id = self._paired_with_monitor().pidfile_id
738 pidfile_id = self._drone_manager.get_pidfile_id_from(
741 self._drone_manager.register_pidfile(pidfile_id)
765 if self.monitor.pidfile_id is not None:
766 self._drone_manager.unregister_pidfile(self.monitor.pidfile_id)
Dmonitor_db_unittest.py535 self.pidfile_id = object()
540 .and_return(self.pidfile_id))
561 self.pidfile_id, use_second_read=use_second_read).and_return(
627 self.pidfile_id, use_second_read=False).and_return(
Dscheduler_models.py690 pidfile_id = _drone_manager.get_pidfile_id_from(
692 _drone_manager.unregister_pidfile(pidfile_id)