Ticket #798 (closed support-request: worksforme)

Opened 3 years ago

Last modified 3 years ago

buildbot email says success but warnings were generated

Reported by: chrb Owned by:
Priority: major Milestone: undecided
Version: 0.8.0 Keywords:
Cc:

Description

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!
"
    elif result == 'warnings':
        text += "Build Had Warnings%s
" % t
    else:
        text += "BUILD FAILED%s
" % 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".

Change History

comment:1 Changed 3 years ago by marcusl

Do you have warnOnWarnings=True for the compile step?

(It isn't set by default, which is weird..)

comment:2 Changed 3 years ago by dustin

  • Status changed from new to closed
  • Type changed from defect to support-request
  • Resolution set to worksforme

I'll assume that was the case..

Note: See TracTickets for help on using tickets.