[Python-Dev] Finding buildbot failures
Michael Foord
fuzzyman at voidspace.org.uk
Sat Feb 26 15:53:30 CET 2011
On 26/02/2011 13:46, exarkun at twistedmatrix.com wrote:
> On 01:16 pm, fuzzyman at voidspace.org.uk wrote:
>> On 25/02/2011 19:00, exarkun at twistedmatrix.com wrote:
>>> On 06:47 pm, fuzzyman at voidspace.org.uk wrote:
>>>> On 25/02/2011 18:10, Vinay Sajip wrote:
>>>>> What's the easiest way of finding which tests failed on buildbot
>>>>> builds? I mean,
>>>>> is there anything easier than using the Web interface to browse to
>>>>> failing
>>>>> builds and then looking at the stdio output in a browser?
>>>>
>>>> That's one of the big advantages that Jenkins (nee Hudson) has over
>>>> buildbot - drilling down into individual test failures through the
>>>> web ui. Your test run needs to generate appropriate xml for that to
>>>> work though.
>>>
>>> Buildbot can do this too. It can even do it without xml, although
>>> it does need *some* parseable format, which I think the Python test
>>> suite is a long way from.
>>
>> That would be a great improvement to the Python buildbot
>> infrastructure. (Probably a bit small for a GSOC project on its own.)
>> I've had great success using pyjunitxml to generate Hudson compatible
>> reports from unittest test runs (extremely easy to use), and if
>> buildbot *can* handle junit xml format reports then it may be the
>> path of least resistance:
>>
>> https://launchpad.net/pyjunitxml
>>
>> I tried searching (both google and the buildbot docs) for ways to
>> generate more complete reports or to integrate junitxml with builbot,
>> but failed. Can you point me at anything?
>
> I think this is the relevant pages in the buildbot manual for custom
> reporting:
>
> http://buildbot.net/buildbot/docs/latest/BuildStep-LogFiles.html
> #BuildStep-LogFiles
>
> There's also
> http://buildbot.net/buildbot/docs/latest/SubunitShellCommand.html#SubunitShellCommand
>
>
> which is basically the same idea as junitxml, but not actually
> junitxml itself, so I'd probably go that way. However if you really
> need junitxml for something, there are tools for converting between
> subunit and junitxml.
Thanks Jean-Paul.
Michael
>
> Jean-Paul
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
> http://mail.python.org/mailman/options/python-dev/fuzzyman%40voidspace.org.uk
--
http://www.voidspace.org.uk/
May you do good and not evil
May you find forgiveness for yourself and forgive others
May you share freely, never taking more than you give.
-- the sqlite blessing http://www.sqlite.org/different.html
More information about the Python-Dev
mailing list