Properly handle failures in frontend.py. At the moment, we
return job results as good when we fail to get a valid RPC
from the server. Ooops. Make sure we won't take a null set
as valid results
Signed-off-by: Martin Bligh <mbligh@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@3159 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/server/frontend.py b/server/frontend.py
index d5deb60..198ed93 100644
--- a/server/frontend.py
+++ b/server/frontend.py
@@ -496,6 +496,8 @@
True: if all platforms have at least all-but-one machines Good.
"""
self._job_test_results(tko, job, debug)
+ if job.test_status == {}:
+ return None
self._job_results_platform_map(job, debug)
good_platforms = []