Changes between Initial Version and Version 1 of Ticket #2510


Ignore:


Timestamp:
Jun 22, 2013, 6:51:25 PM (5 years ago)
Author:
dustin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2510

    • Property Milestone changed from undecided to 0.8.+
  • Ticket #2510 – Description

    initial v1  
    11My current mail notification setup is as follows:
    22
     3{{{
    34from buildbot.status.mail import MailNotifier
    45mn = MailNotifier(fromaddr="buildresults@buildserver.com", mode=('problem','change',), extraRecipients=['admin@buildserver.com'])
    56c['status'].append(mn)
     7}}}
    68
    79It results in following messages being sent:
    810
    9 "
     11{{{
    1012Title: buildbot exception in <repo> on <builder>
    1113Content: BUILD FAILED: exception interrupted
    12 "
     14}}}
    1315
    1416(sent when user manually stopped the build)
    1517
    16 
    17 
    18 "
     18{{{
    1919Title: buildbot success in <repo> on <builder>
    2020Content: Build succeeded!
    21 "
     21}}}
    2222
    2323(sent after the build succeeds and previous build was 1) manually stopped, 2) failed on network exception 3) finished in failure)
     
    2525
    2626
    27 "
     27{{{
    2828Title: buildbot failure in <repo> on <builder>
    2929Content: BUILD FAILED: failed
    30 "
     30}}}
    3131
    3232(sent after the build finishes in failure and the previous build was 1) manually stopped, 2) failed on network exception 3) finished in success)
    3333
    34 
    35 
    36 "
     34{{{
    3735Title: buildbot retry in <repo> on <builder>
    3836Content: BUILD FAILED: retry exception slave lost
    39 "
     37}}}
    4038
    4139sent after the slave drops from the network.
     
    4442I would like to hide all retry messages from being sent (no matter what the previous state was), and hide all exception messages (no matter what the previous state was), and I would like neither 'exception slave lost' or 'exception interrupted' to alter the current state of the builder so that the next failure/success wouldn't be triggered as a status change and cause another message. E.g. I see message chains like
    4543
     44{{{
    4645SUCCESS -> SLAVE LOST -> SUCCCESS or
    4746SUCCESS -> MANUALLY ABORTED -> SUCCESS or
    4847FAILURE -> SLAVE LOST -> FAILURE or
    4948FAILURE -> MANUALLY ABORTED -> FAILURE
     49}}}
    5050
    5151which all produce two messages I would like to hide. Also, there is the possibility
    5252
     53{{{
    5354SUCCESS -> SLAVE LOST/MANUALLY ABORTED -> FAILURE or
    5455FAILURE -> SLAVE LOST/MANUALLY ABORTED -> SUCCESS
     56}}}
    5557
    5658which I would hope to get one notification on (success->failure, or failure->success), although if this is tricky to implement, I would rather have no messages at all.