aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilo Casagrande <milo.casagrande@linaro.org>2015-02-13 09:35:02 +0800
committerMilo Casagrande <milo.casagrande@linaro.org>2015-02-13 09:35:02 +0800
commit08ec740865e130bcf9da9c29a443e27f9ece919e (patch)
tree4a1f32c2a7690dd238226672df1abab59cddcc11
parenta3fe7b74d0e2b765ba2256469c94983290a07b07 (diff)
downloadkernel-ci-backend-08ec740865e130bcf9da9c29a443e27f9ece919e.tar.gz
Move offline platforms after failed.
* In the email boot report, move the offline section after the failed one. Change-Id: I9d127fb5dc461bec490787e22a74ff331c63b408
-rw-r--r--app/utils/report/boot.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/utils/report/boot.py b/app/utils/report/boot.py
index 9c894ee..7a90327 100644
--- a/app/utils/report/boot.py
+++ b/app/utils/report/boot.py
@@ -739,10 +739,6 @@ def _parse_and_write_results(m_string, **kwargs):
(lab, def_get(board)[lab])
)
- if offline_data:
- m_string.write(G_(u"\nOffline Platforms:\n"))
- _traverse_data_struct(offline_data, m_string)
-
if failed_data:
boot_failure_url = u"%(base_url)s/boot/?%(kernel)s&fail" % kwargs
@@ -757,6 +753,10 @@ def _parse_and_write_results(m_string, **kwargs):
)
_traverse_data_struct(failed_data, m_string)
+ if offline_data:
+ m_string.write(G_(u"\nOffline Platforms:\n"))
+ _traverse_data_struct(offline_data, m_string)
+
if conflict_data:
conflict_comment = G_(
u"(These likely are not failures as other labs are reporting "