Searched refs:pidfile_id (Results 1 – 7 of 7) sorted by relevance
/external/autotest/scheduler/ |
D | monitor_db_functional_test.py | 141 pidfile_id = self._last_pidfile_id[pidfile_type] 142 self._set_pidfile_exit_status(pidfile_id, exit_status) 146 pidfile_id = self.pidfile_from_path(working_directory, pidfile_name) 147 self._set_pidfile_exit_status(pidfile_id, 0) 150 def _set_pidfile_exit_status(self, pidfile_id, exit_status): argument 151 assert pidfile_id is not None 152 contents = self._pidfiles[pidfile_id] 158 pidfile_id = self._last_pidfile_id[pidfile_type] 159 return sigs == self._pids_to_signals_received[pidfile_id] 163 return [pidfile_id for pidfile_id, pidfile_contents [all …]
|
D | drone_manager.py | 328 def _get_drone_for_pidfile_id(self, pidfile_id): argument 329 pidfile_contents = self.get_pidfile_contents(pidfile_id) 336 for pidfile_id, info in self._registered_pidfile_info.items(): 338 logging.warning('dropping leaked pidfile %s', pidfile_id) 339 self.unregister_pidfile(pidfile_id) 392 pidfile_id = PidfileId(pidfile_path) 394 store_in_dict[pidfile_id] = contents 421 for pidfile_id, contents in self._pidfiles.iteritems(): 426 info = self._registered_pidfile_info[pidfile_id] 467 pidfile_paths = [pidfile_id.path [all …]
|
D | pidfile_monitor.py | 40 self.pidfile_id = None 62 self.pidfile_id = self._drone_manager.execute_command( 73 self.pidfile_id = self._drone_manager.get_pidfile_id_from( 76 self._drone_manager.declare_process_count(self.pidfile_id, num_processes) 97 assert self.pidfile_id is not None, ( 100 self.pidfile_id, use_second_read=use_second_read) 111 'pidfile_id': str(self.pidfile_id)} 158 message = 'No pid found at %s' % self.pidfile_id 167 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 | 136 pidfile_id = None variable in BaseAgentTask._NullMonitor 341 'pidfile_id': str(self._paired_with_monitor().pidfile_id)} 364 paired_with_pidfile=self._paired_with_monitor().pidfile_id, 467 pidfile_id = self._drone_manager.get_pidfile_id_from( 469 self._drone_manager.register_pidfile(pidfile_id) 471 paired_pidfile_id = self._paired_with_monitor().pidfile_id 685 pidfile_id = self._drone_manager.get_pidfile_id_from( 688 self._drone_manager.register_pidfile(pidfile_id) 712 if self.monitor.pidfile_id is not None: 713 self._drone_manager.unregister_pidfile(self.monitor.pidfile_id)
|
D | monitor_db_unittest.py | 568 self.pidfile_id = object() 573 .and_return(self.pidfile_id)) 594 self.pidfile_id, use_second_read=use_second_read).and_return( 660 self.pidfile_id, use_second_read=False).and_return(
|
D | scheduler_models.py | 671 pidfile_id = _drone_manager.get_pidfile_id_from( 673 _drone_manager.unregister_pidfile(pidfile_id)
|