summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/orm
diff options
context:
space:
mode:
authorElliot Smith <elliot.smith@intel.com>2015-10-15 15:45:14 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-10-16 14:13:23 +0100
commit65e8bde9f1e055e4d01dd13b72c9c88c6447dcdb (patch)
tree858b7d39045827fc4ebc3f343aaf5acb90b77f66 /bitbake/lib/toaster/orm
parent93f0b61749155ba600f38dff5604a68da548c486 (diff)
downloadpoky-65e8bde9f1e055e4d01dd13b72c9c88c6447dcdb.tar.gz
bitbake: toaster: Remove Toaster exceptions section of build dashboard
Fatal build errors were displayed as exceptions, and highlighted with less severity than they deserved. Roll back to treating Toaster exceptions as errors by removing the toaster_exceptions member on Build objects and displaying EXCEPTION events in the errors section on the dashboard. [YOCTO #8320] (Bitbake rev: 59197320bdcefddf06084e871f1b5b21b21cbb63) Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/orm')
-rw-r--r--bitbake/lib/toaster/orm/models.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/bitbake/lib/toaster/orm/models.py b/bitbake/lib/toaster/orm/models.py
index 6ca45e0997..a784b1bf7a 100644
--- a/bitbake/lib/toaster/orm/models.py
+++ b/bitbake/lib/toaster/orm/models.py
@@ -348,10 +348,6 @@ class Build(models.Model):
348 return Build.BUILD_OUTCOME[int(self.outcome)][1] 348 return Build.BUILD_OUTCOME[int(self.outcome)][1]
349 349
350 @property 350 @property
351 def toaster_exceptions(self):
352 return self.logmessage_set.filter(level=LogMessage.EXCEPTION)
353
354 @property
355 def errors(self): 351 def errors(self):
356 return (self.logmessage_set.filter(level=LogMessage.ERROR) | 352 return (self.logmessage_set.filter(level=LogMessage.ERROR) |
357 self.logmessage_set.filter(level=LogMessage.EXCEPTION) | 353 self.logmessage_set.filter(level=LogMessage.EXCEPTION) |