[Toaster] RFC: creating our own build logs

Smith, Elliot elliot.smith at intel.com
Mon Oct 19 10:52:43 PDT 2015


I've done some work on a branch which creates per-build logs for Toaster,
downloadable from the build dashboard:

poky-contrib, elliot/toaster/wrong_log-8373-v2

(to fix https://bugzilla.yoctoproject.org/show_bug.cgi?id=8373)

The basic approach is to create our own log files (called
"build_<timestamp>") in the same directory bitbake uses. Each log file is
opened on BuildStarted and closed on BuildCompleted (or build failure). I
include some config context by looking variables up from the bitbake
server. The output doesn't exactly match bitbake's but is close.

I've tested with command-line and Toaster-triggered builds, and it seems to
be working fine, but I'd like a few other people to test it, as well as
comment on the approach. The commit on the tip of the branch explains what
I've done in more detail.

I will send a formal review request if we're agreed on this approach.

Thanks.
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/20151019/5a2767e2/attachment-0001.html>


More information about the toaster mailing list