[Buildbot-devel] Should Try_Userpass interact well with MailNotifier in buildbot 0.8.4p2?

Philippe McLean philippe.mclean at gmail.com
Fri Aug 12 17:02:49 UTC 2011


looks like an error on the mail server end: the mail server needs to know
about the recipients

On Fri, Aug 12, 2011 at 8:16 AM, Dan Kegel <dank at kegel.com> wrote:

> I turned the tutorial into a shell script,
> http://winezeug.googlecode.com/svn/trunk/buildbot/buildbot-tutorial.sh
> which also adds the bits needed for a try server and email notification.
>
> Try works, but email notification doesn't, even if I switch to using
> buildbot 0.8.4p2 instead of the default.
>
> master/twistd.log shows
>
> 2011-08-11 19:14:04-0700 [-] sending mail (3200 bytes) to []
> <------ shouldn't this include the --who arg from --try?
> 2011-08-11 19:14:04-0700 [-] Starting factory
> <twisted.mail.smtp.ESMTPSenderFactory instance at 0xa3f966c>
> ...
> 2011-08-11 19:14:05-0700 [ESMTPSender,client] Unhandled error in Deferred:
> 2011-08-11 19:14:05-0700 [ESMTPSender,client] Unhandled Error
>        Traceback (most recent call last):
>        Failure: twisted.mail.smtp.SMTPDeliveryError: No recipients accepted
>        >>> MAIL FROM:<dank at kegel.com>
>        <<< 250 2.1.0 Ok
>
> The script creates a master.cfg which is the same as the sample one,
> but with a felines appended:
>
> ###### One more scheduler ########
> # Enable 'buildbot try' and set allowed usernames/passwords and port number
> # You could also use Try_Jobdir, which uses ssh authentication; see
> # http://buildbot.net/buildbot/docs/latest/Try-Schedulers.html
> from buildbot.scheduler import Try_Userpass
> c['schedulers'].append(Try_Userpass(
>                            name='try',
>                            builderNames=['runtests'],
>                            port=5555,
> userpass=[('sampletryuser','sampletrypassword')]))
>
> ###### One more status target ########
> from buildbot.status.mail import MailNotifier
> mn = MailNotifier(
>    fromaddr='dank at kohl.kegel.com',
>    lookup="example-unused-if-try-users-are-email-addresses.com")
> c['status'].append(mn)
>
>
> ------------------------------------------------------------------------------
> Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
> user administration capabilities and model configuration. Take
> the hassle out of deploying and managing Subversion and the
> tools developers use with it.
> http://p.sf.net/sfu/wandisco-dev2dev
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20110812/274310a1/attachment.html>


More information about the devel mailing list