Home | History | Annotate | Download | only in control_segments
      1 import logging
      2 
      3 from autotest_lib.server import crashcollect
      4 
      5 
      6 def crashdumps(machine):
      7     host = hosts.create_target_machine(machine, initialize=False,
      8                                        auto_monitor=False)
      9     try:
     10         crashcollect.get_crashdumps(host, test_start_time)
     11     except Exception as e:
     12         logging.error('Crash collection failed with %s', e)
     13 
     14 job.parallel_simple(crashdumps, machines, log=False)
     15