[Buildbot] #3221: eight: category/tag filtering on MailNotifier not functioning as expected

Buildbot trac trac at buildbot.net
Wed Mar 4 21:12:38 UTC 2015


#3221: eight: category/tag filtering on MailNotifier not functioning as expected
----------------------+------------------------
Reporter:  cody       |      Owner:
    Type:  undecided  |     Status:  new
Priority:  major      |  Milestone:  0.8.x
 Version:  0.8.10     |   Keywords:  eight mail
----------------------+------------------------
 Here's a sanitized excerpt from my master.cfg:

 {{{

 c['status'].append(mail.MailNotifier(
                 fromaddr="buildbot at localhost",
                 lookup="foo.com",
                 sendToInterestedUsers=True,
                 mode='warnings',
                 categories= ['stable']))

 c['builders'].append({
     'name':      'foo-stable',
     'slavenames': foo_slave_names,
     'builddir':  "foo-stable",
     'factory':   f_foo(),
     'category' : 'stable'
 })

 c['builders'].append({
     'name':      'foo-unstable',
     'slavenames': foo_slave_names,
     'builddir':  "foo-unstable",
     'factory':   f_foo_unstable(),
 })

 c['builders'].append({
     'name':      'foo-bad',
     'slavenames': foo_slave_names,
     'builddir':  "foo-really-bad",
     'factory':   f_foo_bad(),
     'category': 'unstable'
 })

 }}}

 On 0.8.10, this worked as expected (no emails for foo-unstable). On
 d4bdf212b7b53e8dc7c0590d70f8ca54714c005c (eight as of today) at least the
 builds marked as 'unstable' are also sending out emails.

 I haven't checked whether un-categorized builds are resulting in mail
 being sent.

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


More information about the bugs mailing list