Add code to SSHHost.get_crashdumps to collect some basic data:
  - /var/log/messages
  - /var/log/monitor-ssh-reboot
  - dmesg
This modifies the job execution code to only call the crashdump
collection is the job fails (i.e. is aborted somehow). The dumps
will all be put in a crashdumps.hostname directory.

Risk: Medium
Visibility: On job aborts we now wait a while for the host to come up
and then collect crash logs.

Signed-off-by: John Admanski <jadmanski@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2176 592f7852-d20e-0410-864c-8624ca9c26a4
3 files changed