[Buildbot-devel] PerlModuleTest ignores warnOnFailure
Jared Grubb
jared.grubb at gmail.com
Wed Apr 8 03:25:51 UTC 2015
I’ve honestly found it hard to remember how these 3 combine, but this is the combination that has worked well for me:
haltOnFailure=False, warnOnFailure=True, flunkOnFailure=False
This will create a step that is a non-fatal warning if it fails.
Jared
> On Apr 7, 2015, at 12:12, Aran Deltac <bluefeet at gmail.com> wrote:
>
> 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
>
> <Untitled.png>
> ------------------------------------------------------------------------------
> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
> Develop your own process in accordance with the BPMN 2 standard
> Learn Process modeling best practices with Bonita BPM through live exercises
> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF_______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
More information about the devel
mailing list