Bug 6671

Summary: The all builds table must also list failed build requests
Product: [Build System, Metadata & Runtime] Toaster Reporter: Belen Barros Pena <belen.barros.pena>
Component: toasterAssignee: Alexandru Damian <alexandru.damian>
Status: VERIFIED FIXED QA Contact: Mihail Stanciu <stanciux.mihail>
Severity: normal    
Priority: Medium+ CC: alexandru.c.georgescu, alexandru.damian, belen.barros.pena, bluelightning, cristiana.voicu
Version: unspecified   
Target Milestone: 1.8 M2   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Belen Barros Pena 2014-09-02 11:45:50 UTC
With Toaster handling configuration, users need to be able to see builds that fail early because of missing dependencies or because a layer fails to clone. Such builds currently show in the "Recent builds" section of the project page as "failed build requests", but they do not show in the "All builds" page. This is a bit misleading. 

All started builds should show in the "All builds" page, which means that failed build requests should also be listed there.
Comment 1 Alexandru Damian 2014-12-08 12:47:22 UTC
This features brings a change from "interactive mode" - in "managed mode", we need to display "bldcontrol.BuildRequest" items instead of "orm.Build" items.

Technically, this is achieved by implementing the needed design in a "all build requests" page (view buildrequests / template buildrequests.html) and transparently call this view when the builds view is called in managed mode.
Comment 2 Alexandru Damian 2015-01-12 14:59:27 UTC
Posted for review on 

poky-contrib:adamian/20150107-allbuilds-6671
Comment 3 Alexandru Damian 2015-01-20 16:59:34 UTC
Fixed in master.
Comment 4 Mihail Stanciu 2015-02-17 12:35:24 UTC
Verified on master: 6ae933b75c1c34a9d39e1aff0a0cb26a7ce4677f