Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id CE48EE00A49; Thu, 15 Oct 2015 01:01:34 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [134.134.136.24 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id A77E2E006D5 for ; Thu, 15 Oct 2015 01:01:29 -0700 (PDT) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP; 15 Oct 2015 01:01:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,684,1437462000"; d="scan'208";a="581183387" Received: from scotter-mobl1.ger.corp.intel.com (HELO lp.ger.corp.intel.com) ([10.252.22.76]) by FMSMGA003.fm.intel.com with ESMTP; 15 Oct 2015 01:01:27 -0700 From: Elliot Smith To: toaster@yoctoproject.org Date: Thu, 15 Oct 2015 09:01:20 +0100 Message-Id: <1444896084-9521-1-git-send-email-elliot.smith@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [review-request][PATCH 0/4] Improve display of errors and Toaster exceptions X-BeenThere: toaster@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Web based interface for BitBake List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Oct 2015 08:01:34 -0000 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.