summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTyler Baker <tyler.baker@linaro.org>2014-12-12 16:32:15 -0800
committerTyler Baker <tyler.baker@linaro.org>2014-12-12 16:32:15 -0800
commitae246efb1b5ab1e21b2d4575255e809bbeff6f99 (patch)
treec341ccd3954b86bf4ed274d48560d9bde68f9608
parente7710f6845bd6adfef346a8fa9b66f2408cc230a (diff)
kernel-ci: populate boot result description
-rw-r--r--lava-report.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/lava-report.py b/lava-report.py
index 3f6fd6e..5ba3d3d 100644
--- a/lava-report.py
+++ b/lava-report.py
@@ -190,6 +190,10 @@ def boot_report(args):
boot_meta['job'] = kernel_tree
boot_meta['board'] = platform_name
boot_meta['boot_result'] = result
+ if result == 'FAIL':
+ boot_meta['boot_result_description'] = 'platform failed to boot'
+ else:
+ boot_meta['boot_result_description'] = 'platform booted successfully'
boot_meta['boot_time'] = kernel_boot_time
# TODO: Fix this
boot_meta['boot_warnings'] = None