[OpenAFS-devel] Buildbot suggestions: gerrit messages, stdio

Benjamin Kaduk kaduk@MIT.EDU
Fri, 20 Aug 2010 00:45:16 -0400 (EDT)


On Thu, 19 Aug 2010, Jason Edgecombe wrote:

> On 08/19/2010 12:26 PM, Andrew Deason wrote:
>>   - The 'stdio' output for the compilation step tends to be huge, and for
>>     most failed builds I'm only interested in the last bit of it. Can the
>>     buildbot web interface gain the ability to only show me the last N
>>     lines? Or is there another way of getting this output?
>>
>> 
> Originally, I thought about putting the last twenty lines of the build into 
> gerrit, but that will take a while because I'm new to both python and 
> buildbot.

Twenty feels a bit small -- I would be a bit more generous with the 
history.
FreeBSD's tinderbox setup (http://wiki.freebsd.org/Tinderbox) has a very 
nice script/parser that summarizes where in the build the error occurred 
and gives a reasonable amount of context.  It appears to be a perl script 
(two links away from the one above), but I haven't looked at it much and 
don't know how closely it is tied to our 'buildworld' structure.  Anyway, 
it might provide some inspiration.

-Ben Kaduk