Opened 10 years ago

Last modified 7 years ago

#946 new defect

BzrPoller Unhandled Error

Reported by: Hbot Owned by:
Priority: patches-accepted Milestone: 0.9.+
Version: 0.8.1 Keywords: bzr database docs

Description (last modified by dustin)

buildbot 0.8.1 from git Python 2.7 Bazaar (bzr) 2.2b4 Debian GNU/Linux 5.0.3

from bzr_buildbot import BzrPoller
bzr_poller = BzrPoller(
c['change_source'] = [ bzr_poller ]
2010-07-31 16:34:44+0200 [-] adding 1 new changesources, removing 0
2010-07-31 16:34:44+0200 [-] BzrPoller(bzr+ssh:// starting
2010-07-31 16:34:44+0200 [-] Unhandled Error
        Traceback (most recent call last):
          File "/home/stellarium/lib/python2.7/buildbot/", line 889, in <lambda>
            d.addCallback(lambda res: self.loadConfig_Sources(change_sources))
          File "/home/stellarium/lib/python2.7/buildbot/", line 988, in loadConfig_Sources
          File "/home/stellarium/lib/python2.7/twisted/internet/", line 260, in addCallback
          File "/home/stellarium/lib/python2.7/twisted/internet/", line 249, in addCallbacks
        --- <exception caught here> ---
          File "/home/stellarium/lib/python2.7/twisted/internet/", line 441, in _runCallbacks
            self.result = callback(self.result, *args, **kw)
          File "/home/stellarium/lib/python2.7/buildbot/", line 986, in addNewOnes
            [self.change_svc.addSource(s) for s in added_sources]
          File "/home/stellarium/lib/python2.7/buildbot/changes/", line 91, in addSource
          File "/home/stellarium/lib/python2.7/twisted/application/", line 185, in setServiceParent
          File "/home/stellarium/lib/python2.7/twisted/application/", line 305, in addService
          File "/home/stellarium/buildmaster/", line 243, in startService
            for change in reversed(self.parent.changes):
        exceptions.AttributeError: ChangeManager instance has no attribute 'changes'

Attachments (1)

bzr_buildbot.patch (6.4 KB) - added by tom.prince 9 years ago.
Uniffied diff version

Download all attachments as: .zip

Change History (11)

comment:1 Changed 10 years ago by Hbot

And for python2.5 :

2010-07-31 20:21:42+0200 [-] Unhandled Error
        Traceback (most recent call last):
          File "/usr/lib/python2.5/site-packages/twisted/internet/", line 328, in _runCallbacks
            self.result = callback(self.result, *args, **kw)
          File "/usr/lib/python2.5/site-packages/twisted/internet/", line 757, in gotResult
            _inlineCallbacks(r, g, deferred)
          File "/usr/lib/python2.5/site-packages/twisted/internet/", line 735, in _inlineCallbacks
            result = result.throwExceptionIntoGenerator(g)
          File "/usr/lib/python2.5/site-packages/twisted/python/", line 331, in throwExceptionIntoGenerator
            return g.throw(self.type, self.value, self.tb)
        --- <exception caught here> ---
          File "/home/stellarium/buildmaster/", line 273, in poll
          File "/usr/lib/python2.5/site-packages/twisted/internet/", line 24, in _putResultInDeferred
            result = f(*args, **kwargs)
          File "/home/stellarium/buildmaster/", line 288, in getRawChanges
            branch = bzrlib.branch.Branch.open_containing(self.url)[0]
          File "/usr/lib/python2.5/site-packages/bzrlib/", line 190, in open_containing
          File "/usr/lib/python2.5/site-packages/bzrlib/", line 899, in open_containing
            return BzrDir.open_containing_from_transport(transport)
          File "/usr/lib/python2.5/site-packages/bzrlib/", line 920, in open_containing_from_transport
            result = BzrDir.open_from_transport(a_transport)
          File "/usr/lib/python2.5/site-packages/bzrlib/", line 879, in open_from_transport
            return, _found=True)
          File "/usr/lib/python2.5/site-packages/bzrlib/", line 2065, in open
            return self._open(transport)
          File "/usr/lib/python2.5/site-packages/bzrlib/", line 3294, in _open
            return remote.RemoteBzrDir(transport, self)
          File "/usr/lib/python2.5/site-packages/bzrlib/", line 114, in __init__
            response = self._call('', path)
          File "/usr/lib/python2.5/site-packages/bzrlib/", line 52, in _call
            return, *args)
          File "/usr/lib/python2.5/site-packages/bzrlib/smart/", line 129, in call
            result, protocol = self.call_expecting_body(method, *args)
          File "/usr/lib/python2.5/site-packages/bzrlib/smart/", line 142, in call_expecting_body
            method, args, expect_response_body=True)
          File "/usr/lib/python2.5/site-packages/bzrlib/smart/", line 90, in _call_and_read_response
          File "/usr/lib/python2.5/site-packages/bzrlib/smart/", line 299, in read_response_tuple
          File "/usr/lib/python2.5/site-packages/bzrlib/smart/", line 264, in _wait_for_response_args
          File "/usr/lib/python2.5/site-packages/bzrlib/smart/", line 286, in _read_more
            "Unexpected end of message. "
        bzrlib.errors.ConnectionReset: Connection closed: Unexpected end of message. Please check connectivity and permissions, and report a bug if problems persist. 
Last edited 10 years ago by dustin (previous) (diff)

comment:2 Changed 10 years ago by dustin

  • Description modified (diff)
  • Keywords bzr added; BzrPoller removed

Looks like the needs to get updated to work with the new schedulerdb stuff - changes are no longer available as a simple list. While we're at it, it should get merged into Buildbot proper. And tested. And documented.

comment:3 Changed 10 years ago by dustin

  • Keywords database docs added

I'd like to see this done in 0.8.2, but 0.8.3 is fine if that's what it comes to

comment:4 Changed 10 years ago by dustin

  • Milestone changed from 0.8.2 to 0.8.3

comment:5 Changed 10 years ago by ayust

  • Milestone changed from 0.8.3 to 0.8.+

comment:6 Changed 10 years ago by dustin

c.f. #1755, which has a workaround.

Bzr support is currently orphaned, so this is unlikely to be fixed until a Bzr maintainer steps forward.

Changed 9 years ago by tom.prince

Uniffied diff version

comment:7 Changed 9 years ago by tom.prince

patch originally by hsorby

comment:8 Changed 9 years ago by tom.prince

  • Priority changed from critical to minor

Changing to minor, as we don't have a bzr maintainer.

comment:9 Changed 8 years ago by tom.prince

  • Priority changed from minor to patches-accepted

comment:10 Changed 7 years ago by dustin

  • Milestone changed from 0.8.+ to 0.9.+

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.