• Home
  • Raw
  • Download

Lines Matching refs:host

68         for host in self.job.hosts:
69 if host.hostname not in self.job.machines:
74 autodir = host.get_autodir()
76 in_use_hosts[host.hostname] = host
81 for host, at, profiler_dir in self.installed_hosts.values():
82 if host.path_exists(profiler_dir):
83 profiler_hosts.add(host.hostname)
87 host.hostname, profiler_dir)
88 del self.installed_hosts[host.hostname]
94 host = in_use_hosts[hostname]
95 tmp_dir = host.get_tmp_dir(parent=PROFILER_TMPDIR)
96 at = autotest.Autotest(host)
98 self.installed_hosts[host.hostname] = (host, at, tmp_dir)
105 def _get_hosts(self, host=None): argument
113 if host is None:
115 if host.hostname in self.installed_hosts:
116 return [self.installed_hosts[host.hostname]]
133 def _get_failure_logs(self, autodir, test, host): argument
140 dir=self._get_local_profilers_dir(test, host.hostname))
142 host.get_file(get_profiler_log_path(autodir), path)
144 self._get_profiler_logs(autodir, test, host)
152 for host, at, autodir in hosts:
153 self._get_failure_logs(autodir, test, host)
156 def _get_profiler_logs(self, autodir, test, host): argument
158 local_dir = self._get_local_profilers_dir(test, host.hostname)
160 self.job.remove_client_log(host.hostname, results_dir, local_dir)
164 host.get_file(results_dir + '/', tempdir)
181 for host, at, autodir in hosts:
183 host.hostname,
189 self._get_failure_logs(autodir, test, host)
194 host.hostname)
195 self.job.add_client_log(host.hostname, remote_results_dir,
206 def before_start(self, test, host=None): argument
210 self._run_clients(test, self._get_hosts(host))
213 def start(self, test, host=None): argument
214 hosts = self._get_hosts(host)
240 def report(self, test, host=None): argument
243 hosts = self._get_hosts(host)
246 if not host:
255 for host, at, autodir in hosts:
256 self._get_profiler_logs(autodir, test, host)
259 def handle_reboot(self, host): argument
269 self.report(test, host)
270 self.before_start(test, host)
271 self.start(test, host)