Log a job-level ABORT into the status log whenever an Autotest client
terminates unexpectedly.
Signed-off-by: John Admanski <jadmanski@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@1358 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/server/autotest.py b/server/autotest.py
index 44db5e7..2672afb 100644
--- a/server/autotest.py
+++ b/server/autotest.py
@@ -355,6 +355,9 @@
self.host.hostname,
BOOT_TIME,))
continue
+ self.host.job.record("ABORT", None, None,
+ "Autotest client terminated " +
+ "unexpectedly")
raise AutotestRunError("Aborting - unknown "
"return code: %s\n" % last)