[Buildbot-devel] PerlModuleTest ignores warnOnFailure

Aran Deltac bluefeet at gmail.com
Tue Apr 7 19:12:44 UTC 2015


I've segregated my company's unit tests into two categories - those that
should always pass, and those that have unstable external dependencies, AKA
the volatile tests.  (eventually we'll get these tests back into the fold,
but the segregation should aid in increasing developer attentiveness to
failing builds)

So I'm running these in two separate PerlModuleTest build steps:

testerFactory.addStep(
    PerlModuleTest(
        name='test-non-volatile',
        command=['bin/buildbot/test-non-volatile'],
    )
)
testerFactory.addStep(
    PerlModuleTest(
        name='test-volatile',
        command=['bin/buildbot/test-volatile'],
        warnOnFailure=True,
    )
)

Even though I've set warnOnFailure=True on the second step it still fails
instead of warns (see attached image below).  Anyone have any suggestions?

Thanks!

Aran
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20150407/be82f306/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Untitled.png
Type: image/png
Size: 30877 bytes
Desc: not available
URL: <http://buildbot.net/pipermail/devel/attachments/20150407/be82f306/attachment.png>


More information about the devel mailing list