Skip to content

Improve display of errors and Toaster exceptions

Elliot Smith yocto-toaster 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4toasterui: Record critical errorsbitbake/lib/bb/ui/buildinfohelper.py bitbake/lib/bb/ui/toasterui.py bitbake/lib/toaster/orm/models.py +1 more+25 -130 replies
2/4toaster: Remove Toaster exceptions section of build dashboardbitbake/lib/toaster/orm/models.py bitbake/lib/toaster/toastergui/templates/builddashboard.html+4 -450 replies
3/4toaster: Guard against builds with no targetsbitbake/lib/toaster/toastergui/templates/builddashboard.html+7 -20 replies
4/4toaster: Add tests for error message display on the build dashboardbitbake/lib/toaster/toastergui/tests.py+89 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [review-request][PATCH 0/4] Improve display of errors and Toaster exceptions

Fixes recording of error messages so that CRITICAL errors are properly logged and presented to the user.

Modifies how Toaster exceptions are displayed, so they are treated the same way as other classes of ERROR.

Changes since bc8d1626f3741d09814f844b57d02099481f4468 (toaster-next) are in
git://git.yoctoproject.org/poky-contrib, elliot/toaster/error_display-8320
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=elliot/toaster/error_display-8320

Related bug: https://bugzilla.yoctoproject.org/show_bug.cgi?id=8320

Elliot Smith (4):
toasterui: Record critical errors
toaster: Remove Toaster exceptions section of build dashboard
toaster: Guard against builds with no targets
toaster: Add tests for error message display on the build dashboard

 bitbake/lib/bb/ui/buildinfohelper.py               |  5 +-
 bitbake/lib/bb/ui/toasterui.py                     |  2 +
 bitbake/lib/toaster/orm/models.py                  | 24 +++---
 .../toastergui/templates/builddashboard.html       | 47 ++---------
 bitbake/lib/toaster/toastergui/tests.py            | 91 +++++++++++++++++++++-
 5 files changed, 116 insertions(+), 53 deletions(-)

--
Elliot Smith
Software Engineer
Intel OTC

---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.