[Buildbot-commits] [SPAM] [Buildbot] #798: buildbot email says success but warnings were generated

Buildbot buildbot-devel at lists.sourceforge.net
Tue Apr 13 14:36:17 UTC 2010


#798: buildbot email says success but warnings were generated
-------------------+--------------------------------------------------------
Reporter:  chrb    |       Owner:           
    Type:  defect  |      Status:  new      
Priority:  major   |   Milestone:  undecided
 Version:  0.8.0   |    Keywords:           
-------------------+--------------------------------------------------------
 I have a build that generates compile warnings. The emails that buildbot
 sends out should mention this. Instead the emails say "Build succeeded!".

 The relevant bit of code from buildbot/status/mail.py is:

 {{{
     if result == 'success':
         text += "Build succeeded!\n"
     elif result == 'warnings':
         text += "Build Had Warnings%s\n" % t
     else:
         text += "BUILD FAILED%s\n" % t
 }}}

 The web interface clearly shows that the final Compile step had warnings,
 so there is something going wrong somewhere that causes the return status
 to have the value "success" instead of "warnings".

-- 
Ticket URL: <http://buildbot.net/trac/ticket/798>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list