blob: 2f02a262003399ea4da26edf56f5ec1d919f2389 [file] [log] [blame]
jadmanski96b78072009-05-21 22:21:04 +00001from autotest_lib.server import crashcollect
Dan Shif103b662016-01-08 10:44:46 -08002from autotest_lib.server import utils
jadmanski96b78072009-05-21 22:21:04 +00003
4
mbligh084bc172008-10-18 14:02:45 +00005def crashinfo(machine):
Dan Shif103b662016-01-08 10:44:46 -08006 if utils.machine_is_testbed(machine):
7 logging.info('testbed does not need to get crash info.')
8 return
9
Eric Li861b2d52011-02-04 14:50:35 -080010 host = hosts.create_host(machine, initialize=False, auto_monitor=False)
jadmanski96b78072009-05-21 22:21:04 +000011 crashcollect.get_crashinfo(host, test_start_time)
mbligh084bc172008-10-18 14:02:45 +000012
mbligh54931292008-11-23 14:35:51 +000013
mbligh084bc172008-10-18 14:02:45 +000014job.parallel_simple(crashinfo, machines, log=False)