Closed Bug 675558 Opened 13 years ago Closed 13 years ago

HgPoller isn't reconfig safe

Categories

(Release Engineering :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: catlee, Assigned: lsblakk)

Details

Attachments

(1 file)

2011-07-31 12:59:41-0700 [HTTPPageGetter,client] Unhandled error in Deferred:
2011-07-31 12:59:41-0700 [HTTPPageGetter,client] Unhandled Error
        Traceback (most recent call last):
          File "/builds/buildbot/build_scheduler/lib/python2.6/site-packages/twisted/internet/defer.py", line 441, in _runCallbacks
            self.result = callback(self.result, *args, **kw)
          File "/builds/buildbot/build_scheduler/lib/python2.6/site-packages/buildbotcustom/changes/hgpoller.py", line 145, in failed
            self.d.errback(fail)
          File "/builds/buildbot/build_scheduler/lib/python2.6/site-packages/twisted/internet/defer.py", line 345, in errback
            self._startRunCallbacks(fail)
          File "/builds/buildbot/build_scheduler/lib/python2.6/site-packages/twisted/internet/defer.py", line 424, in _startRunCallbacks
            self._runCallbacks()
        --- <exception caught here> ---
          File "/builds/buildbot/build_scheduler/lib/python2.6/site-packages/twisted/internet/defer.py", line 441, in _runCallbacks
            self.result = callback(self.result, *args, **kw)
          File "/builds/buildbot/build_scheduler/lib/python2.6/site-packages/buildbotcustom/changes/hgpoller.py", line 261, in dataFailed
            return BasePoller.dataFailed(self, res)
        exceptions.TypeError: unbound method dataFailed() must be called with BasePoller instance as first argument (got HgPoller instance instead)

2011-07-31 12:59:41-0700 [HTTPPageGetter,client] Stopping factory <HTTPClientFactory: http://hg.mozilla.org/try/json-pushes?full=1&fromchange=fd3cbce2349c9608b17287ca9dc2c2e0bf31c0cc&tipsonly=1>

this ended up breaking the try poller for several hours
Assignee: nobody → lsblakk
Status: NEW → ASSIGNED
Attachment #549714 - Flags: review?(catlee)
Attachment #549714 - Flags: review?(catlee) → review+
Comment on attachment 549714 [details] [diff] [review]
set self.super_class to BasePoller in BaseHgPoller

http://hg.mozilla.org/build/buildbotcustom/rev/e71de976e842

on default.
Attachment #549714 - Flags: checked-in+
This is now in production.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: