[Buildbot] #2872: No error is reported when suppressionFile does not exist

Buildbot trac trac at buildbot.net
Mon Feb 15 13:12:45 UTC 2016

#2872: No error is reported when suppressionFile does not exist
Reporter:  wentasah  |       Owner:  MikeLing
    Type:  defect    |      Status:  assigned
Priority:  minor     |   Milestone:  0.8.x
 Version:            |  Resolution:
Keywords:  simple    |

Comment (by MikeLing):

 Hello, I got some progress after I assign this to myself.

 Fist of all, I suppose we need add 'isfile' check around this line
 and return with a 'file doesn't exist' error.

 Then we need add a test for it in
 Is that right?

 But my question is how to init WarningCountingShellCommand if I want to
 add suppression with suppressionFile. Something like " w =
 WarningCountingShellCommand suppressionFile='impossiblefilename.txt')"
 doesn't work because it told me:

 > exceptions.AttributeError: 'NoneType' object has no attribute

 Could you tell me what should I do next? Thank you very much! :)

Ticket URL: <http://trac.buildbot.net/ticket/2872#comment:5>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation

More information about the bugs mailing list