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