[Buildbot-commits] [Buildbot] #1764: buildbot restart command doesn't restart MailNotifier

Buildbot nobody at buildbot.net
Thu Jan 13 20:28:41 UTC 2011


#1764: buildbot restart command doesn't restart MailNotifier
--------------------+----------------------------------------------------
Reporter:  akevan   |      Owner:
    Type:  defect   |     Status:  new
Priority:  minor    |  Milestone:  undecided
 Version:  0.8.3p1  |   Keywords:  MailNotifier  restart messageFormatter
--------------------+----------------------------------------------------
 The 'restart' command doesn't function the same as issuing a stop and
 start command separately. This was noticed with the messageFormatter
 passed into MailNotifier.

 Steps to repro:
 1. Setup a MailNotifier, without a messageFormatter
 2. Start the bot
 3. Force a build
 4. Receive the default mail notification
 5. change master.cfg by adding a mail notifier function, and adding it to
 the MailNotifier c'tor
 6. issue a 'restart' command on the buildbot
 7. Force another build
 8. Receive the same default mail notification :(

 Workaround is to issue 'stop' then 'start' commands separately. The
 MailNotifier then uses the requested message formatter.

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


More information about the Commits mailing list