[Buildbot-commits] [Buildbot] #2570: Cannot connect to master from a reactor script: invalid login from unknown user

Buildbot trac trac at buildbot.net
Sat Oct 12 22:55:42 UTC 2013


#2570: Cannot connect to master from a reactor script: invalid login from unknown
user
-----------------------+-------------------
Reporter:  jollyroger  |      Owner:
    Type:  defect      |     Status:  new
Priority:  major       |  Milestone:  0.9.+
 Version:  master      |   Keywords:
-----------------------+-------------------
 This is related to the nine branch. While using custom script based on
 `contrib/git_buildbot.py` to connect to master I get the following error:

 {{{
 ERROR:root:Could not connect to master: [Failure instance: Traceback from
 remote host -- Traceback (most recent call last):
 Failure: twisted.cred.error.UnauthorizedLogin:
 twisted.cred.error.UnauthorizedLogin:
 ]
 }}}

 The following is the relevant part of `twistd.log`:

 {{{
 2013-10-13 01:30:36+0300 [Broker,5,127.0.0.1] invalid login from unknown
 user 'change'
 2013-10-13 01:30:36+0300 [Broker,5,127.0.0.1] Peer will receive following
 PB traceback:
 2013-10-13 01:30:36+0300 [Broker,5,127.0.0.1] Unhandled Error
         Traceback (most recent call last):
         Failure: twisted.cred.error.UnauthorizedLogin:
 }}}

 This is weird, because I have PBChangeSource with mentioned user and
 password in my master.cfg:

 {{{
 from buildbot.changes.pb import PBChangeSource

 c['change_source'] = []
 c['change_source'].append(PBChangeSource(user="change",
 passwd="changepw"))
 }}}

 Minimal script to test the behaviour attached.

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


More information about the Commits mailing list