1import logging 2 3from autotest_lib.server import crashcollect 4 5 6def 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 14job.parallel_simple(crashdumps, machines, log=False) 15