[Toaster] RFC: capturing failed builds earlier (8440)
Smith, Elliot
elliot.smith at intel.com
Mon Feb 15 10:22:01 PST 2016
I've been working on bug 8440, making Toaster better at capturing builds
which fail early on the command line.
The branch is at:
contrib/elliot/toaster/failed_builds-8440-v5
To test, try the following on the command line:
1. Set an invalid MACHINE in conf/local.conf and do a build of a valid
target, e.g. bitbake zlib.
2. Set an invalid DISTRO in conf/local.conf and do a build of a valid
target, e.g. bitbake zlib.
3. Try to build an invalid target, e.g. bitbake zzz.
In all cases, the "all builds" pages should show the failed command line
builds. Note that bug 8443 will improve how we show these early failed
builds.
I will do a formal review request when I get back on Friday, but I'm
sending this as a stopgap so people can have a look at whether it covers
the bug sufficiently.
The only slightly controversial aspect of this is that I'm firing an event
from the XMLRPC server when it receives the buildTargets() command from the
client (as suggested by Brian). This is what lets us catch the early
failures. The event name may need consideration.
Elliot
--
Elliot Smith
Software Engineer
Intel Open Source Technology Centre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/toaster/attachments/20160215/fafb75c1/attachment.html>
More information about the toaster
mailing list