Home | History | Annotate | Download | only in control_segments
      1 from autotest_lib.server import crashcollect
      2 from autotest_lib.server import utils
      3 
      4 
      5 def crashinfo(machine):
      6     host = hosts.create_host(machine)
      7     if has_failed_tests:
      8         crashcollect.get_crashinfo(host, test_start_time)
      9     else:
     10         crashcollect.report_crashdumps(host)
     11         crashcollect.fetch_orphaned_crashdumps(
     12                 host, crashcollect.get_host_infodir(host))
     13 
     14 job.parallel_simple(crashinfo, machines, log=False)
     15