Exemplo n.º 1
0
 def _look_for_all_crash_logs_in_log_dir(self, newer_than):
     crash_log = CrashLogs(
         self.host,
         self.path_to_crash_logs(),
         crash_logs_to_skip=self._crash_logs_to_skip_for_host.get(
             self.host, []))
     return crash_log.find_all_logs(newer_than=newer_than)
Exemplo n.º 2
0
 def _look_for_all_crash_logs_in_log_dir(self, newer_than):
     log_list = {}
     for device in self.devices():
         crash_log = CrashLogs(
             device,
             self.path_to_crash_logs(),
             crash_logs_to_skip=self._crash_logs_to_skip_for_host.get(
                 device, []))
         log_list.update(crash_log.find_all_logs(newer_than=newer_than))
     return log_list
Exemplo n.º 3
0
 def _look_for_all_crash_logs_in_log_dir(self, newer_than):
     log_list = {}
     for device in self._device_for_worker_number_map():
         crash_log = CrashLogs(
             device,
             self.path_to_crash_logs(),
             crash_logs_to_skip=self._crash_logs_to_skip_for_host.get(
                 device, []))
         log_list.update(
             crash_log.find_all_logs(include_errors=True,
                                     newer_than=newer_than))
     return log_list
Exemplo n.º 4
0
 def _look_for_all_crash_logs_in_log_dir(self, newer_than):
     crash_log = CrashLogs(self.host)
     return crash_log.find_all_logs(include_errors=True, newer_than=newer_than)