Searched refs:pidfile_id (Results 1 – 7 of 7) sorted by relevance
/external/autotest/scheduler/ |
D | monitor_db_functional_test.py | 120 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 …]
|
D | drone_manager.py | 334 def _get_drone_for_pidfile_id(self, pidfile_id): argument 335 pidfile_contents = self.get_pidfile_contents(pidfile_id) 342 for pidfile_id, info in self._registered_pidfile_info.items(): 344 logging.warning('dropping leaked pidfile %s', pidfile_id) 345 self.unregister_pidfile(pidfile_id) 389 pidfile_id = PidfileId(pidfile_path) 391 store_in_dict[pidfile_id] = contents 418 for pidfile_id, contents in self._pidfiles.iteritems(): 423 info = self._registered_pidfile_info[pidfile_id] 452 pidfile_paths = [pidfile_id.path [all …]
|
D | pidfile_monitor.py | 48 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)
|
D | drone_manager_unittest.py | 279 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 …]
|
D | agent_task.py | 141 pidfile_id = None variable in BaseAgentTask._NullMonitor 365 paired_with_pidfile=self._paired_with_monitor().pidfile_id, 468 pidfile_id = self._drone_manager.get_pidfile_id_from( 470 self._drone_manager.register_pidfile(pidfile_id) 472 paired_pidfile_id = self._paired_with_monitor().pidfile_id 720 pidfile_id = self._drone_manager.get_pidfile_id_from( 723 self._drone_manager.register_pidfile(pidfile_id) 747 if self.monitor.pidfile_id is not None: 748 self._drone_manager.unregister_pidfile(self.monitor.pidfile_id)
|
D | monitor_db_unittest.py | 535 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(
|
D | scheduler_models.py | 672 pidfile_id = _drone_manager.get_pidfile_id_from( 674 _drone_manager.unregister_pidfile(pidfile_id)
|